* Re: 2.6.27-rc7 no init found on the root partition? [not found] <20080924192227.GC31582@ics.muni.cz> @ 2008-09-24 23:03 ` Dave Chinner 2008-09-25 11:12 ` Lukas Hejtmanek 0 siblings, 1 reply; 5+ messages in thread From: Dave Chinner @ 2008-09-24 23:03 UTC (permalink / raw) To: Lukas Hejtmanek; +Cc: linux-kernel, xfs On Wed, Sep 24, 2008 at 09:22:27PM +0200, Lukas Hejtmanek wrote: > Hello, > > I have a box that has XFS root partition, I have kernel 2.6.26.3 that boots > pretty well on that box. Today, I've tried 2.6.27-rc7 (so that I can test > NFSv4 over IPv6), but the kernel is unable to boot. It says that root > partition is mounted, XFS file system but no init found. Can you paste the error messages or send pointers to screen shots of the error? If you go back to 2.6.26.3, does the kernel boot ok? Cheers, Dave. -- Dave Chinner david@fromorbit.com ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.27-rc7 no init found on the root partition? 2008-09-24 23:03 ` 2.6.27-rc7 no init found on the root partition? Dave Chinner @ 2008-09-25 11:12 ` Lukas Hejtmanek 2008-09-25 13:48 ` Eric Sandeen 2008-09-25 23:41 ` Dave Chinner 0 siblings, 2 replies; 5+ messages in thread From: Lukas Hejtmanek @ 2008-09-25 11:12 UTC (permalink / raw) To: linux-kernel, xfs On Thu, Sep 25, 2008 at 09:03:26AM +1000, Dave Chinner wrote: > On Wed, Sep 24, 2008 at 09:22:27PM +0200, Lukas Hejtmanek wrote: > > Hello, > > > > I have a box that has XFS root partition, I have kernel 2.6.26.3 that boots > > pretty well on that box. Today, I've tried 2.6.27-rc7 (so that I can test > > NFSv4 over IPv6), but the kernel is unable to boot. It says that root > > partition is mounted, XFS file system but no init found. > > Can you paste the error messages or send pointers to screen shots of > the error? http://undomiel.ics.muni.cz/tmp/IMG_2962.JPG this one is if I pass init=/bin/bash http://undomiel.ics.muni.cz/tmp/IMG_2961.JPG > If you go back to 2.6.26.3, does the kernel boot ok? indeed. this is a grub record: title Linux 2.6.26.3 root (hd0,0) kernel /boot/vmlinuz-2.6.26.3 root=/dev/sda1 ro console=tty0 title Linux 2.6.27-rc7 root (hd0,0) kernel /boot/vmlinuz-2.6.27-rc7 root=/dev/sda1 ro -- Lukáš Hejtmánek ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.27-rc7 no init found on the root partition? 2008-09-25 11:12 ` Lukas Hejtmanek @ 2008-09-25 13:48 ` Eric Sandeen 2008-09-25 16:30 ` Lukas Hejtmanek 2008-09-25 23:41 ` Dave Chinner 1 sibling, 1 reply; 5+ messages in thread From: Eric Sandeen @ 2008-09-25 13:48 UTC (permalink / raw) To: Lukas Hejtmanek; +Cc: linux-kernel, xfs Lukas Hejtmanek wrote: > this is a grub record: > > title Linux 2.6.26.3 > root (hd0,0) > kernel /boot/vmlinuz-2.6.26.3 root=/dev/sda1 ro console=tty0 > > title Linux 2.6.27-rc7 > root (hd0,0) > kernel /boot/vmlinuz-2.6.27-rc7 root=/dev/sda1 ro Is it possible that device ordering has changed? what if you do: > title Linux 2.6.27-rc7 > root (hd0,0) > kernel /boot/vmlinuz-2.6.27-rc7 root=LABEL=$WHATEVER ro and try mounting root by label? (or UUID ...) -Eric ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.27-rc7 no init found on the root partition? 2008-09-25 13:48 ` Eric Sandeen @ 2008-09-25 16:30 ` Lukas Hejtmanek 0 siblings, 0 replies; 5+ messages in thread From: Lukas Hejtmanek @ 2008-09-25 16:30 UTC (permalink / raw) To: Eric Sandeen; +Cc: linux-kernel, xfs On Thu, Sep 25, 2008 at 08:48:40AM -0500, Eric Sandeen wrote: > Is it possible that device ordering has changed? what if you do: no, using printk's I found that search_binary_handler is the one that fails. Dunno why. -- Lukáš Hejtmánek ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.27-rc7 no init found on the root partition? 2008-09-25 11:12 ` Lukas Hejtmanek 2008-09-25 13:48 ` Eric Sandeen @ 2008-09-25 23:41 ` Dave Chinner 1 sibling, 0 replies; 5+ messages in thread From: Dave Chinner @ 2008-09-25 23:41 UTC (permalink / raw) To: Lukas Hejtmanek; +Cc: linux-kernel, xfs On Thu, Sep 25, 2008 at 01:12:40PM +0200, Lukas Hejtmanek wrote: > On Thu, Sep 25, 2008 at 09:03:26AM +1000, Dave Chinner wrote: > > On Wed, Sep 24, 2008 at 09:22:27PM +0200, Lukas Hejtmanek wrote: > > > Hello, > > > > > > I have a box that has XFS root partition, I have kernel > > > 2.6.26.3 that boots pretty well on that box. Today, I've tried > > > 2.6.27-rc7 (so that I can test NFSv4 over IPv6), but the > > > kernel is unable to boot. It says that root partition is > > > mounted, XFS file system but no init found. > > > > Can you paste the error messages or send pointers to screen > > shots of the error? > > http://undomiel.ics.muni.cz/tmp/IMG_2962.JPG Hmmm - the filesystem mounted without errors, but init was not found. Strange. > this one is if I pass init=/bin/bash > http://undomiel.ics.muni.cz/tmp/IMG_2961.JPG Same again, it's unable to run the init process. Of course, kernel_execve() throws away any error that might have occurred, so without hacking the init code we can't find out why it failed. > > If you go back to 2.6.26.3, does the kernel boot ok? > > indeed. Ok, is the 2.6.27 kernel based on the same config as the 2.6.26 kernel? > this is a grub record: > > title Linux 2.6.26.3 root (hd0,0) kernel /boot/vmlinuz-2.6.26.3 > root=/dev/sda1 ro console=tty0 > > title Linux 2.6.27-rc7 root (hd0,0) kernel > /boot/vmlinuz-2.6.27-rc7 root=/dev/sda1 ro Does it boot if you take away the "ro" option? Cheers, Dave. > > > -- Lukáš Hejtmánek > > > -- Dave Chinner david@fromorbit.com ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-09-25 23:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20080924192227.GC31582@ics.muni.cz>
2008-09-24 23:03 ` 2.6.27-rc7 no init found on the root partition? Dave Chinner
2008-09-25 11:12 ` Lukas Hejtmanek
2008-09-25 13:48 ` Eric Sandeen
2008-09-25 16:30 ` Lukas Hejtmanek
2008-09-25 23:41 ` Dave Chinner
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox