login about faq

Hello.

I'm trying to put Linaro Ubuntu on my SD card. I would like to get it working on my pandaboard hardware. Unfortunately every time I'm getting this error:

Are you 100% sure, on selecting [/dev/sdb] (y/n)? y

Installing (linaro-hwpack-install) hwpack_linaro-lt-panda-x11-base_20120129-0_armel_supported.tar.gz in target rootfs.

Unpacking hardware pack ...Done

Updating apt package lists ...

/bin/sh: cannot create /dev/null: Permission denied

Ign file: ./ InRelease

Ign file: ./ Release.gpg

Ign file: ./ Release

Ign file: ./ Translation-en

Ign http://ppa.launchpad.net oneiric InRelease

Ign http://ports.ubuntu.com oneiric InRelease

FATAL -> Could not set non-blocking flag Bad file descriptor

E: Method http has died unexpectedly!

E: Sub-process http returned an error code (100)

Cleaning up .../bin/sh: cannot create /dev/null: Permission denied

FATAL -> Could not set non-blocking flag Bad file descriptor

E: Method http has died unexpectedly!

E: Sub-process http returned an error code (100)

proc umounted

Traceback (most recent call last):

File "./image_tools/linaro-image-tools-2012.01/linaro-media-create", line 163, in <module> verified_files, *hwpacks)

File "/tmp/hdd/linario/image_tools/linaro-image-tools-2012.01/linaro_image_tools/media_create/chroot_utils.py", line 79, in install_hwpacks install_hwpack(chroot_dir, hwpack_file, hwpack_force_yes or hwpack_verified)

File "/tmp/hdd/linario/image_tools/linaro-image-tools-2012.01/linaro_image_tools/media_create/chroot_utils.py", line 100, in install_hwpack cmd_runner.run(args, as_root=True, chroot=chroot_dir).wait()

File "/tmp/hdd/linario/image_tools/linaro-image-tools-2012.01/linaro_image_tools/cmd_runner.py", line 100, in wait raise SubcommandNonZeroReturnValue(self._my_args, returncode) linaro_image_tools.cmd_runner.SubcommandNonZeroReturnValue: Sub process "['chroot', '/tmp/hdd/linario/tmp/binary/boot/filesystem.dir', 'linaro-hwpack-install', '/hwpack_linaro-lt-panda-x11-base_20120129-0_armel_supported.tar.gz']" returned a non-zero value: 100

Because I'm running live cd Ubuntu 11.04, I modified linaro-media-create to do not use /tmp only /tmp/hdd/.... because there will be not enough space in /tmp and hdd is mounted partition from HDD.

At the moment I ran out of ideas why I can get this problem (there is existing bin/bash file and I have installed qemu). Any ideas where I'm doing something wrong?

asked 05 Feb, 16:31

kazek3018's gravatar image

kazek3018
1113
accept rate: 0%

edited 04 Apr, 01:55

Michael%20Opdenacker's gravatar image

Michael Opde... ♦♦
440139


Hi,

Thanks for these details!

If you want to investigate this any further, I'd recommend to find out why something fails with '/bin/sh: cannot create /dev/null: Permission denied' (probably inside a chroot).

By the way, in case the image you build is indeed broken, you can also grab one of our prebuilt images: http://releases.linaro.org/images/12.01/

These are much easier to use!

Cheers,

Michael.

link

answered 13 Feb, 08:52

Michael%20Opdenacker's gravatar image

Michael Opde... ♦♦
440139
accept rate: 5%

Hi,

Could you share your linaro-media-create command line? Are you sure you are running it with "sudo"?

If this still fails, you should definitely try with a real Ubuntu install. You won't regret it. This is a very nice distro that's worth using on the desktop too. Chances are you won't regret the OS you used before (fast boot time, no viruses, no spyware, and the freedom to improve any part of the system, and use it for any purpose...).

Cheers,

Michael.

link

answered 07 Feb, 17:27

Michael%20Opdenacker's gravatar image

Michael Opde... ♦♦
440139
accept rate: 5%

Hi

My command line: sudo ./image_tools/linaro-image-tools-2012.01/linaro-media-create --mmc /dev/sdb --dev panda --hwpack ./hwpack_linaro-lt-panda-x11-base_20120129-0_armel_supported.tar.gz --binary ./linaro-o-ubuntu-desktop-tar-20120129-0.tar.gz

I don't have space on HDD for Ubuntu and I'm very happy user of Slackware, so this is the reason why I tried live CD.

I though that rights are not been passed somewhere, so I call:

sudo /bin/bash

and call script from root shell, but the same result. Fortunately I found a *.img image (I'm new in Linaro) and written to SD card.

But now I have to press S2 button, otherwise MLO not seeing SD card (despite MLO was read out from the same card by microcode). 80% booting fails because MLO can't read from SD card (even if I press S2 switch).

link

answered 08 Feb, 16:00

kazek3018's gravatar image

kazek3018
1113
accept rate: 0%

edited 08 Feb, 16:01

Thanks

Indeed images are much easier and don't require all the extra software. Unfortunately SPL want work with my board, at the moment I have to spent some more time on boot loader.

Regards Kazek

link

answered 13 Feb, 16:01

kazek3018's gravatar image

kazek3018
1113
accept rate: 0%

Hi,

Maybe you can do a wget http://releases.linaro.org/12.01/ubuntu/leb-panda/panda-ubuntu-desktop.img.gz
then 
gunzip panda-ubuntu-desktop.img.gz
dd if=panda-ubuntu-desktop.img of=/dev/sdb bs=4M

like explained here :

https://wiki.ubuntu.com/ARM/OMAPMaverickInstall

Regards

link

answered 13 Feb, 17:44

Arnal's gravatar image

Arnal
113
accept rate: 0%

Hi

I'm afraid it's a bigger problem, yesterday went to u-boot mainline patch that aim to solve "mmc timed out" problem on Pandaboards. Unfortunately it's not working in my case. Microcode from chip reading out SPL, but SPL can't read out boot loader from card.

Anyway it's discussion for another thread, it's not correlated with main topic.

Many tanks Kazek.

link

answered 14 Feb, 00:29

kazek3018's gravatar image

kazek3018
1113
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×16

Asked: 05 Feb, 16:31

Seen: 364 times

Last updated: 04 Apr, 01:55