Re: Grub causing kernel panic? - ThinkPad T40 - new install

"Greg Morin" <[email protected]> Fri, 3 Nov 2006 18:45:07 -0500
Newsgroups gmane.linux.gentoo.installer
Message-ID <[email protected]>
------=_Part_22845_3097149.1162597507005
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

All: thank-you for the help so far. I have posted this on gentoo-user as
well, and will continue to work with folks individually here or publically
on that list.

The responses so far have helped - Bigfish (Richard), I may respond directly
to your RFI as you may be able to pinpoint the driver(s) I'm missing. I have
added driver support in newly compiled kernels and gotten different errors -
but I think I'm close.

Again all - thanks. I'll pursue on gentoo-user...

Gpm

On 11/3/06, Ladislav Laska <[email protected]> wrote:
>
> Andrew is right, this is wrong list. Anyway, you should check that
> modules for your IDE controller are loaded in initrd (or compiled into
> kernel).
>
> You can do this by selecting the second choice in grub (rescue). It
> will boot into busybox (a very basic shell) and you should be (un)able
> to mount filesystems. I don't know what exactly will busybox do for
> your, but maybe you will need to create device node by hand.
>
> For more informations, please write to gentoo-user list, or contact me
> personally (but NOT this list, unless this is gentoo-installer's
> problem).
>
> On 11/3/06, Greg Morin <[email protected]> wrote:
> > Good day,
> >
> >  I've installed (several times) on a ThinkPad T-40, trying both manual
> > kernel config and genkernel. I followed the online manual explicitly (I
> > think). The machine is currently loaded with the manual config. Either
> way,
> > the results are similar.
> >
> >  Grub shows the two boot options, then begins loading the OS.
> >
> >  The machine begins to boot, starts loading modules, then kernel panics:
> >     VFS:Cannot open root device "hda3" or unknown-block(0,0)
> >     Please append a correct "root=" boot option
> >     Kernel panic - not syncing: VFS: Unable to mount root fs on
> > unknown-block(0,0)
> >
> >  There is a single fixed disk:
> >     Device        Boot
> Size    System          Filesystem        Mount
> > point
> >     =======   ====    ===== =========   =========      =========
> >     /dev/hda1       *        32M    Linux             ext2
> > /boot
> >     /dev/hda2                3G      Linux swap     none
> > none
> >     /dev/hda3                ~71G  Linux              ext3
> > /
> >
> >  I am able to mount and use these partitions after booting from CD.
> > /etc/fstab (/mnt/gentoo/etc/fstab when booted from disk) looks good.
> >
> >  Filesystems ext2 and ext3 are compiled into the kernel.
> >
> >  Grub details:
> >     device.map
> >          (hd0)   /dev/hda
> >     grub.conf
> >          default   0
> >          timeout   5
> >          splashimage=(hd0,0)/boot/grub/spash.xpm.gz
> >
> >          title=Gentoo Linux 2.6.17-r8
> >          root (hd0,0)
> >          kernel /boot/kernel-2.6.17-gentoo-r8 root=/dev/hda3
> >
> >          title=Gentoo Linux 2.6.17-r8 (rescue)
> >          root(hd0,0)
> >          kernel /boot/kernel-2.6.17-gentoo-r8 root=/dev/hda3
> init=/bin/bb
> >
> >     I used grub-install /dev/hda with no errors. I've played around with
> the
> > "root=" entry, but to no avail - not sure I'm understanding this one...
> >
> >  The kernel image appears to be valid, with no typos in filename/grub
> > entries.
> >
> >  Any ideas? Seems that the kernel begins to load, but can't mount the
> root
> > filesystem?
> >
> >  Thank-you for any pointers.
> >
> >
> > --
> >
> > Gpm
> > The Morins of Plantsville
>
>
> --
> Regards Ladislav Laska
> S pozdravem Ladislav Laska
> --
> [email protected] mailing list
>
>


-- 

Gpm
The Morins of Plantsville

------=_Part_22845_3097149.1162597507005
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

All: thank-you for the help so far. I have posted this on gentoo-user as well, and will continue to work with folks individually here or publically on that list.<br><br>The responses so far have helped - Bigfish (Richard), I may respond directly to your RFI as you may be able to pinpoint the driver(s) I'm missing. I have added driver support in newly compiled kernels and gotten different errors - but I think I'm close.
<br><br>Again all - thanks. I'll pursue on gentoo-user...<br><br>Gpm<br><br><div><span class="gmail_quote">On 11/3/06, <b class="gmail_sendername">Ladislav Laska</b> &lt;<a href="mailto:[email protected]">[email protected]
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Andrew is right, this is wrong list. Anyway, you should check that<br>
modules for your IDE controller are loaded in initrd (or compiled into<br>kernel).<br><br>You can do this by selecting the second choice in grub (rescue). It<br>will boot into busybox (a very basic shell) and you should be (un)able
<br>to mount filesystems. I don't know what exactly will busybox do for<br>your, but maybe you will need to create device node by hand.<br><br>For more informations, please write to gentoo-user list, or contact me<br>personally (but NOT this list, unless this is gentoo-installer's
<br>problem).<br><br>On 11/3/06, Greg Morin &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; wrote:<br>&gt; Good day,<br>&gt;<br>&gt;&nbsp;&nbsp;I've installed (several times) on a ThinkPad T-40, trying both manual<br>
&gt; kernel config and genkernel. I followed the online manual explicitly (I<br>&gt; think). The machine is currently loaded with the manual config. Either way,<br>&gt; the results are similar.<br>&gt;<br>&gt;&nbsp;&nbsp;Grub shows the two boot options, then begins loading the OS.
<br>&gt;<br>&gt;&nbsp;&nbsp;The machine begins to boot, starts loading modules, then kernel panics:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; VFS:Cannot open root device &quot;hda3&quot; or unknown-block(0,0)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Please append a correct &quot;root=&quot; boot option
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Kernel panic - not syncing: VFS: Unable to mount root fs on<br>&gt; unknown-block(0,0)<br>&gt;<br>&gt;&nbsp;&nbsp;There is a single fixed disk:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Device&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Boot&nbsp;&nbsp;&nbsp;&nbsp; Size&nbsp;&nbsp;&nbsp;&nbsp;System&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Filesystem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mount
<br>&gt; point<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; =======&nbsp;&nbsp; ====&nbsp;&nbsp;&nbsp;&nbsp;===== =========&nbsp;&nbsp; =========&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=========<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; /dev/hda1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;32M&nbsp;&nbsp;&nbsp;&nbsp;Linux&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ext2<br>&gt; /boot<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; /dev/hda2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3G&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Linux swap&nbsp;&nbsp;&nbsp;&nbsp; none
<br>&gt; none<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; /dev/hda3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;~71G&nbsp;&nbsp;Linux&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ext3<br>&gt; /<br>&gt;<br>&gt;&nbsp;&nbsp;I am able to mount and use these partitions after booting from CD.<br>&gt; /etc/fstab (/mnt/gentoo/etc/fstab when booted from disk) looks good.
<br>&gt;<br>&gt;&nbsp;&nbsp;Filesystems ext2 and ext3 are compiled into the kernel.<br>&gt;<br>&gt;&nbsp;&nbsp;Grub details:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; device.map<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(hd0)&nbsp;&nbsp; /dev/hda<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; grub.conf<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;default&nbsp;&nbsp; 0<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;timeout&nbsp;&nbsp; 5
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;splashimage=(hd0,0)/boot/grub/spash.xpm.gz<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;title=Gentoo Linux 2.6.17-r8<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;root (hd0,0)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;kernel /boot/kernel-2.6.17-gentoo-r8 root=/dev/hda3<br>&gt;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;title=Gentoo Linux 2.6.17-r8 (rescue)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;root(hd0,0)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;kernel /boot/kernel-2.6.17-gentoo-r8 root=/dev/hda3 init=/bin/bb<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; I used grub-install /dev/hda with no errors. I've played around with the
<br>&gt; &quot;root=&quot; entry, but to no avail - not sure I'm understanding this one...<br>&gt;<br>&gt;&nbsp;&nbsp;The kernel image appears to be valid, with no typos in filename/grub<br>&gt; entries.<br>&gt;<br>&gt;&nbsp;&nbsp;Any ideas? Seems that the kernel begins to load, but can't mount the root
<br>&gt; filesystem?<br>&gt;<br>&gt;&nbsp;&nbsp;Thank-you for any pointers.<br>&gt;<br>&gt;<br>&gt; --<br>&gt;<br>&gt; Gpm<br>&gt; The Morins of Plantsville<br><br><br>--<br>Regards Ladislav Laska<br>S pozdravem Ladislav Laska<br>--
<br><a href="mailto:[email protected]">[email protected]</a> mailing list<br><br></blockquote></div><br><br clear="all"><br>-- <br><br>Gpm<br>The Morins of Plantsville

------=_Part_22845_3097149.1162597507005--
-- 
[email protected] mailing list