|
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)? yInstalling (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? |
|
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. |
|
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. |
|
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). |
|
Hi,
Regards |
|
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. |