public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: dhk <dhkuhl@optonline.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] kernel panic on manually built kernel
Date: Mon, 08 Nov 2010 05:48:56 -0500	[thread overview]
Message-ID: <4CD7D598.5030205@optonline.net> (raw)
In-Reply-To: <4CD7D0BB.50606@waagmeester.co.za>

On 11/08/2010 05:28 AM, Coert Waagmeester wrote:
> Volker Armin Hemmann wrote:
>> On Thursday 04 November 2010, dhk wrote:
>>> I've always used the genkernel, but now am trying to make a manual one.
>>>  I think the kernel is alright since all the default setting seemed
>>> reasonable and the build was easy enough.  However, when I boot to it I
>>> get a kernel panic and it complains about the root device /dev/hda3. So
>>> I think the problem has to do with my parameters or syntax in grub.conf.
>>>  Below are three grub menu options.  The first two have the problem and
>>> the third is the genkernel that works fine.  Is there something wrong
>>> with the way the first two are?  Thanks.
>>>
>>> # This is a Manually built kernel with default settings.  kernel panic
>>> title Gentoo Linux x86 2.6.34-r12
>>> root (hd0,0)
>>> kernel /boot/kernel-2.6.34-gentoo-r12 root=/dev/hda3
>>>
>>> # This is a Manually built kernel with default settings.  kernel panic
>>> title Gentoo Linux x86 2.6.34-r12
>>> root (hd0,0)
>>> kernel /boot/kernel-2.6.34-gentoo-r12 root=/dev/hda3 vga=791
>>> splash=verbose video=vesafb:mtrr,ywrap udev
>>> # From Documentation: video=uvesafb:mtrr:3,ywrap,1024x768-32@85
>>>
>>> # This a genkernel and works
>>> title Gentoo Linux x86 2.6.34-r6
>>> root (hd0,0)
>>> kernel /boot/kernel-genkernel-x86_64-2.6.34-gentoo-r6 init=/linuxrc
>>> ramdisk=8192 real_root=/dev/hda3 vga=791 splash=verbose
>>> video=vesafb:mtrr,ywrap udev
>>> initrd /boot/initramfs-genkernel-x86_64-2.6.34-gentoo-r6
>>>
>>> --dhk
>>
>> grub must point to sda3 not hda3
>>
>>
> 
> Yes, I had a similar problem.
> The device names are different on my machine between genkernel and my
> own kernel.
> Make sure to change that in your /etc/fstab as well.
> 
> Dont know if this is always the case though.
> 
> Regards,
> Coert Waagmeester
> 
> 

I'm booting to an IDE hard disk.  Are you say the device name should
change from /dev/hda3 to /dev/sda3?  If I change it in /etc/fstab and it
doesn't work, I'll have problems, I'll probably have to boot to the livecd.

Thanks,

--dhk



  reply	other threads:[~2010-11-08 10:52 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-04 16:34 [gentoo-user] kernel panic on manually built kernel dhk
2010-11-04 16:45 ` Dale
2010-11-04 18:12   ` covici
2010-11-04 18:19     ` dhk
2010-11-04 18:36       ` Yohan Pereira
2010-11-04 18:39       ` covici
2010-11-04 16:52 ` Alan McKinnon
2010-11-04 17:00   ` dhk
2010-11-04 17:08     ` Neil Bothwick
2010-11-04 17:36       ` dhk
2010-11-04 19:25         ` Alan McKinnon
2010-11-05  9:29           ` dhk
2010-11-05  9:43             ` Alan McKinnon
2010-11-04 19:51         ` Neil Bothwick
2010-11-05  9:47           ` dhk
2010-11-05 10:30             ` Alan McKinnon
2010-11-05 10:33             ` Neil Bothwick
2010-11-05 11:36               ` dhk
2010-11-05 19:31                 ` [gentoo-user] " walt
2010-11-04 20:41         ` [gentoo-user] " Stroller
2010-11-04 19:24     ` Alan McKinnon
2010-11-05 15:52 ` Volker Armin Hemmann
2010-11-08 10:28   ` Coert Waagmeester
2010-11-08 10:48     ` dhk [this message]
2010-11-08 11:05       ` Coert Waagmeester
2010-11-08 17:56         ` Dale
2010-11-08 21:15           ` Stroller
2010-11-08 21:34             ` Dale
2010-11-08 21:43               ` Stroller
2010-11-08 22:34                 ` Dale
2010-11-08 22:39               ` Neil Bothwick
2010-11-08 22:47                 ` Dale
2010-11-09  0:05                 ` Stroller
2010-11-08 15:50       ` Volker Armin Hemmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CD7D598.5030205@optonline.net \
    --to=dhkuhl@optonline.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox