Re: [Sugar-devel] New SoaS-on-XO-1 build done: soasxo57
Thanks for the info, Martin. I hadn't realized that both your effort (Soas-on-XO-1) and - I presume - Fedora11-on-XO, are optionally complete OS replacements for Sugar on the XO-1. I also assume that (an updated) Sugar is included in both these system upgrades, and that we might well expect ongoing upgrades. (I know - no guarantees.) Art Hunkins - Original Message - From: Martin Dengler mar...@martindengler.com To: sugar-devel@lists.sugarlabs.org Sent: Thursday, August 20, 2009 12:57 PM Subject: [Sugar-devel] New SoaS-on-XO-1 build done: soasxo57 ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] New SoaS-on-XO-1 build done: soasxo57
On Fri, Aug 21, 2009 at 12:19:35PM +0530, Joshua N Pritikin wrote: I downloaded soasxo57.tree.tar.lzma This image does not have /boot/vmlinuz or /vmlinuz. There is only /boot/vmlinuz-2.6.30.5-28.rc2.fc11.i586 Fixed in soasxo58. Two kernel packages are being installed by kickstart/anaconda: OLPC's and stock Fedora's. OLPC's olpc-bootanim does not provide /sbin/plymouth, which some standard dracut module(s) require. The stock kernel is installed second, so when its %post scripts try to create /boot/{vmlinuz,initrd.img}, they fail. The /boot symlinks are left nonexistent. For now I have worked around this by installing the OLPC kernel _again_ in kickstart/anaconda's %post, but that's a nasty kludge. Also, there is no initrd or olpcrd (that I could find). Fixed in soasxo58 - same problem as above. Thanks for trying it out. I would like to rig up a virtual machine and some automated tests so that you don't have to find this out the hard way. Martin pgpK3JWPnHpHJ.pgp Description: PGP signature ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] New SoaS-on-XO-1 build done: soasxo57
martin wrote: soasxo57.removable.img.tar.lzma - for: cat soasxo57.removable.tar.lzma | lzma -dc - | tar xf - -O - /dev/sdX the above command is incorrect. the last hyphen is extraneous. (it tells tar to try and extract a file named '-' from the archive. but it does all the work of reading, and looks like it's doing something, and if you miss or ignore the error message, you won't realize anything's wrong until you figure out that the reason you can't boot the card is because nothing has been written to it. i'll never make that mistake three times again. :-) (btw, it's in README.txt too.) paul =- paul fox, p...@laptop.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] New SoaS-on-XO-1 build done: soasxo57
On Fri, Aug 21, 2009 at 08:51:12AM -0400, Paul Fox wrote: martin wrote: soasxo57.removable.img.tar.lzma - for: cat soasxo57.removable.tar.lzma | lzma -dc - | tar xf - -O - /dev/sdX the above command is incorrect. the last hyphen is extraneous. Oops - corrected. It was correctly absent from my local shell script :). paul Martin pgpwqc2Mb39XT.pgp Description: PGP signature ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] New SoaS-on-XO-1 build done: soasxo57
On Fri, Aug 21, 2009 at 05:06:50PM -0400, Paul Fox wrote: martin wrote: - Power management is disabled (XO is configured not to sleep since rtcwake never wakes up) the failure of suspend/release in this distro seems to be directly related to the absence of a getty on the serial console. if the getty is present, everything works normally. if the getty is absent, the system won't resume. Confirmed. Thanks very much for finding this out. paul Martin pgp6vdaA3e7Vh.pgp Description: PGP signature ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] New SoaS-on-XO-1 build done: soasxo57
Hi Martin, On 20 Aug 2009, at 17:57, Martin Dengler wrote: A new SoaS-on-XO-1 build soasxo57 is available. NAND size / change in size: 629.50M / 15888K / ext3 size / change in size: 1289.43M / 15164K / Package changes: --- soasxo56.tree.packages.txt 2009-08-20 00:04:07.0 + +++ soasxo57.tree.packages.txt 2009-08-20 15:20:38.0 + PolicyKit-gnome-libs-0.9.2-3.fc11.i586 +PolicyKit-olpc-1.2-2.fc11.noarch SDL-1.2.13-9.fc11.i586 Download from http://people.sugarlabs.org/~mtd/soas-xo1 Caveats/Known Issues: - Camera doesn't work https://bugzilla.redhat.com/show_bug.cgi?id=498900 - SD boots sometimes fail (mount: unknown filesystem type: 'jffs2') https://bugzilla.redhat.com/show_bug.cgi?id=500196 - Power management is disabled (XO is configured not to sleep since rtcwake never wakes up) Please reply or comment on the Fedora/Redhat bug report if you see any of these. Before reporting bugs, it'd be nice if one could search the fedora bugzilla; start with this bug: https://bugzilla.redhat.com/show_bug.cgi?id=461806 Installation instructions: http://people.sugarlabs.org/~mtd/soas-xo1/README.txt Files: soasxo57.iso - iso9990 file system (for use with livecd-iso-to-disk) soasxo57.tree.tar.lzma - for hacking soasxo57.img - for ... soasxo57.crc - ... copy-nand'ing soasxo57.plc - ... NANDblast'ing soasxo57.removable.img.tar.lzma - for: cat soasxo57.removable.tar.lzma | lzma -dc - | tar xf - -O - /dev/ sdX Build date: Thu Aug 20 16:24:25 UTC 2009 Some quick feedback. Just downloaded: http://people.sugarlabs.org/~mtd/soas-xo1/soasxo57.crc http://people.sugarlabs.org/~mtd/soas-xo1/soasxo57.img ...and ran OF copy-nand u:\ soasxo57.img to erase and install onto XO NAND. Typed boot, and get the error: Boot device: \pci\nandfl...@c:\boot\vmlinuz Arguments: ro root=mtd0 rootfstype=jffs2 console=ttyS0,115200 console=tty0 fbcon=font:SUN12x22 buf...@ffb69098:36: Can't open boot device Same error on power cycle. I'm just downloading the last F11_for_XO-1 (os-5) to try a re-flash with that. Regards, --Gary ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] New SoaS-on-XO-1 build done: soasxo57
Hi Gary, On Thu, Aug 20, 2009 at 10:47:23PM +0100, Gary C Martin wrote: Hi Martin, On 20 Aug 2009, at 17:57, Martin Dengler wrote: A new SoaS-on-XO-1 build soasxo57 is available. get the error: Boot device: \pci\nandfl...@c:\boot\vmlinuz Arguments: ro root=mtd0 rootfstype=jffs2 console=ttyS0,115200 console=tty0 fbcon=font:SUN12x22 buf...@ffb69098:36: Can't open boot device Same error on power cycle. boot device is actually the initrd - there's a cut paste bug in my olpc.fth that does ${DN}${PN}\olpcrd.img to ramdisk ...instead of ${DN}${PN}\initrd.img to ramdisk I've fixed this in git and will publish a new build overnight. But this error should not prevent boot for NAND installs, as the kernel has jffs2 compiled in. So I'm not sure why you're seeing a hang. I've been booting from a USB drive (not NAND), and usb drivers are modular so the initrd is really required. In the forthcoming build I've also added rootwait so that the LABEL=OLPCRoot argument can be used effectively in this case. I will also test the SD behaviour later but would appreciate any feedback on that. Thanks for trying this out. Regards, --Gary Martin pgp5eeGmTxTq0.pgp Description: PGP signature ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel