Summary:
- F9 kernels don't boot on the XO from an SD card -- even if we get the initrd to have the right modules, the initrd loads the modules, creates the device nodes, and yet fails to mount /dev/root --
- dsd has a nice "fixup F9 for XO" script described here http://www.reactivated.net/weblog/archives/2008/08/regular-linux-desktops-on...
The script builds a custom 2.6.25 which I think pulls in a few additional patches (sound, etc), but most importantly, it builds the mmc related drivers statically. It also sets up an initrd.
If we try to boot with the initd, it fails. But if we skip the initrd, the system boots.
So there are two avenues
- Figuring out what is wrong with the initrds, and fix mkinitrd. Help would be welcome here from people who know more about debugging initrds :-) (is there a way to get dumped into a nash shell when it all breaks?)
- Build a kernel exactly like Fedora 9 kernels, but with the mmc drivers built statically. This is what I am am doing right now, following the nice guide at http://fedoraproject.org/wiki/Docs/CustomKernel
cheers,
martin
On Wed, Apr 15, 2009 at 8:20 AM, Martin Langhoff martin.langhoff@gmail.com wrote:
Summary:
- F9 kernels don't boot on the XO from an SD card -- even if we get the initrd to have the right modules, the initrd loads the modules, creates the device nodes, and yet fails to mount /dev/root --
Why are you focusing on F9? There was a large push to get F10 working on the XO, which mostly succeeded. There is an even more focused pushed to get F11 working on the XO, and I believe Chris Ball has daily images that can be used.
josh
On Wed, Apr 15, 2009 at 3:10 PM, Josh Boyer jwboyer@gmail.com wrote:
Why are you focusing on F9? There was a large push to get F10 working
Sorry! I mis-addressed the email, was supposed to be to fedora-olpc-list.
Your question is a valid, and a bit of a FAQ - reply here: http://lists.laptop.org/pipermail/server-devel/2009-April/003223.html
cheers,
m
2009/4/15 Martin Langhoff martin.langhoff@gmail.com:
- dsd has a nice "fixup F9 for XO" script described here http://www.reactivated.net/weblog/archives/2008/08/regular-linux-desktops-on...
The script builds a custom 2.6.25 which I think pulls in a few additional patches (sound, etc), but most importantly, it builds the mmc related drivers statically. It also sets up an initrd.
If we try to boot with the initd, it fails. But if we skip the initrd, the system boots.
What's the problem? My custom initramfs definitely boots on my XO. Also the stock F9 one did too, but it landed a lot of errors during boot (which took several seconds to enumerate).
- Build a kernel exactly like Fedora 9 kernels, but with the mmc drivers built statically. This is what I am am doing right now, following the nice guide at http://fedoraproject.org/wiki/Docs/CustomKernel
And boot without an initramfs? When I did this IIRC boot would fail approximately 1 in 5 attempts with sdhci errors. Never got a chance to figure out why, but putting in the initramfs hid the problem nicely.
Daniel
On Wed, Apr 15, 2009 at 6:14 PM, Daniel Drake dsd@laptop.org wrote:
What's the problem? My custom initramfs definitely boots on my XO. Also the stock F9 one did too, but it landed a lot of errors during boot (which took several seconds to enumerate).
I don't doubt it boots in yours, but it doesn't boot with my F9-based XS image. Weird.
And boot without an initramfs? When I did this IIRC boot would fail approximately 1 in 5 attempts with sdhci errors. Never got a chance to figure out why, but putting in the initramfs hid the problem nicely.
rootdelay=5 seems to hide it for me. Except that I forgot to disable SMP so we oops when trying to mount it. Rebuilding the rpms once more...
m
On Wed, 2009-04-15 at 12:14 -0400, Daniel Drake wrote:
2009/4/15 Martin Langhoff martin.langhoff@gmail.com:
- dsd has a nice "fixup F9 for XO" script described here
http://www.reactivated.net/weblog/archives/2008/08/regular-linux-desktops-on...
The script builds a custom 2.6.25 which I think pulls in a few additional patches (sound, etc), but most importantly, it builds the mmc related drivers statically. It also sets up an initrd.
If we try to boot with the initd, it fails. But if we skip the initrd, the system boots.
What's the problem?
Think we need to be little clearer here.. Martin was building an ext3 image of an XS server for use on the XO. I added some bits to /etc/sysconfig/mkinitrd and called mkinitrd in %post of the kickstart file. This initrd doesn't play nice when booting F9's 2.6.27 kernel. Remaking the initrd on the XO doesn't help, using the hints from: http://lists.laptop.org/pipermail/server-devel/2009-April/003212.html
My custom initramfs definitely boots on my XO. Also the stock F9 one did too, but it landed a lot of errors during boot (which took several seconds to enumerate).
I have anaconda running on the XO, installs to usbkeys/booting from are fine with F9. F11's anaconda runs straight away, but opps when installing the rpms to the MMC card.
- Build a kernel exactly like Fedora 9 kernels, but with the mmc
drivers built statically. This is what I am am doing right now, following the nice guide at http://fedoraproject.org/wiki/Docs/CustomKernel
Martin: what kernel version?
And boot without an initramfs? When I did this IIRC boot would fail approximately 1 in 5 attempts with sdhci errors. Never got a chance to figure out why, but putting in the initramfs hid the problem nicely.
I just d/l'ed http://dev.laptop.org/~cjb/rawhide-xo/f11-beta/20090403.bootable.gz this kernel opps for me also when booting from the MMC card. Bad mmc card on my part maybe?
Jerry
On Thu, Apr 16, 2009 at 1:06 AM, Jerry Vonau jvonau@shaw.ca wrote:
- Build a kernel exactly like Fedora 9 kernels, but with the mmc drivers built statically. This is what I am am doing right now, following the nice guide at http://fedoraproject.org/wiki/Docs/CustomKernel
Martin: what kernel version?
I was working on kernel-2.6.27.21-78.2.41.fc9.src.rpm and editing the config file to bring in MMC stuff, ext3, and disable SMP. It still oops on himem32 (I initially understood that oops to be an SMP problem).
cheers,
m
I have anaconda running on the XO, installs to usbkeys/booting from are fine with F9. F11's anaconda runs straight away, but opps when installing the rpms to the MMC card.
I think the issue your seeing with F11 should be fixed in the next rawhide push (anaconda-11.5.0.45-1), I've been seeing the same issues.
Peter