On Mon, 16 Oct 2006 10:48:37 +0200, Franck Bui-Huu <vagabon.xyz@xxxxxxxxx> wrote: > thanks but it doesn't explain anything either...Anyways what about this > patch on top of the previous one ? > + initrd_header = __va(PAGE_ALIGN(__pa_symbol(&_end) + sizeof(u32) * 2 + 1)); This breaks the addinitrd. You mean this perhaps? initrd_header = __va(PAGE_ALIGN(__pa_symbol(&_end) + sizeof(u32) * 2)) - sizeof(u32) * 2; BTW, I'm a bit uncomfortable with current automatic initrd detection. Now we have rd_start= option. If I enabled BLK_DEV_INITRD and did pass nfsroot= instead of rd_start= option, I want kernel do not search initrd_header at all. Note that in this case current kernel might misdetect initrd_header from garbage beyond "_end". I think something like CONFIG_INITRD_AUTODETECT to control this behaviour is useful. What do you think? --- Atsushi Nemoto