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: Thu, 04 Nov 2010 13:00:21 -0400	[thread overview]
Message-ID: <4CD2E6A5.5050502@optonline.net> (raw)
In-Reply-To: <201011041852.51375.alan.mckinnon@gmail.com>

On 11/04/2010 12:52 PM, Alan McKinnon wrote:
> Apparently, though unproven, at 18:34 on Thursday 04 November 2010, dhk did 
> opine thusly:
> 
>> 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.
> 
> Why did you think it a good idea to NOT post the *actual* error? 
> 
> Your grub entries are correct.
> 
> I'll bet money that you built one or more of your chipset drivers, libata, or 
> root filesystem driver as a module.
> 
> These must not be modules, they must be built-in (otherwise you need an 
> initrd)
> 
> 
> 
>>
>> # 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
> 

Thanks all, I check those suggestions and get back to you.

The reason I didn't include the exact error is that I can't capture it.
 I'd have to write it on paper and then reboot to the working kernel.
By then it doesn't seem to be in any of the logs.  I'll see what I can
do about that.

Thanks again.

--dhk



  reply	other threads:[~2010-11-04 17:02 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 [this message]
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
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=4CD2E6A5.5050502@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