All of lore.kernel.org
 help / color / mirror / Atom feed
* Panic booting 2.6.30
@ 2009-06-19 19:23 David Ronis
  2009-06-19 19:32 ` Michael Tokarev
  2009-06-20  4:43 ` Robert Hancock
  0 siblings, 2 replies; 12+ messages in thread
From: David Ronis @ 2009-06-19 19:23 UTC (permalink / raw)
  To: linux-kernel

I've just upgraded an older machine (a P3 running slackware 11.0) from
2.6.26.5 to 2.6.30; the build was uneventful.  However, on reboot (using
lilo) I get:

VSF:  Cannot open root device "hda2" or unknown-block(0,0)
Please append a correct root= boot option; here are the available
partions:     <====== nothing shows here...
Kernel-Panic - not syncing.

I had rebooted with and without root=hda2.   The old kernel is still
usable.

Lilo.conf looks like:

boot = /dev/hda
lba32
message = /boot/boot_message.txt
prompt
timeout = 300
vga = normal
# Linux bootable partition config begins
image = /bzImage-2.6.30
  root = /dev/hda2
  label = Linux-2.6.30
  read-only
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /bzImage-2.6.26.5
  root = /dev/hda2
  label = Linux-2.6.26.5
  read-only
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /memtest86
  root = /dev/hda2
  label = memtest86
  read-only
# Linux bootable partition config ends

Any ideas?  Please CC me directly.

Thanks in advance

David


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Panic booting 2.6.30
  2009-06-19 19:23 Panic booting 2.6.30 David Ronis
@ 2009-06-19 19:32 ` Michael Tokarev
  2009-06-19 19:55   ` Justin Mattock
  2009-06-19 20:19   ` David Ronis
  2009-06-20  4:43 ` Robert Hancock
  1 sibling, 2 replies; 12+ messages in thread
From: Michael Tokarev @ 2009-06-19 19:32 UTC (permalink / raw)
  To: ronis; +Cc: linux-kernel

David Ronis wrote:
> I've just upgraded an older machine (a P3 running slackware 11.0) from
> 2.6.26.5 to 2.6.30; the build was uneventful.  However, on reboot (using
> lilo) I get:
> 
> VSF:  Cannot open root device "hda2" or unknown-block(0,0)
> Please append a correct root= boot option; here are the available
> partions:     <====== nothing shows here...
> Kernel-Panic - not syncing.
> 
> I had rebooted with and without root=hda2.   The old kernel is still
> usable.
> 
> Lilo.conf looks like:

Add large-memory option to lilo.conf

/mjt

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Panic booting 2.6.30
  2009-06-19 19:32 ` Michael Tokarev
@ 2009-06-19 19:55   ` Justin Mattock
  2009-06-19 20:20     ` Michael Tokarev
  2009-06-19 20:20     ` David Ronis
  2009-06-19 20:19   ` David Ronis
  1 sibling, 2 replies; 12+ messages in thread
From: Justin Mattock @ 2009-06-19 19:55 UTC (permalink / raw)
  To: Michael Tokarev; +Cc: ronis, linux-kernel

On Fri, Jun 19, 2009 at 12:32 PM, Michael Tokarev<mjt@tls.msk.ru> wrote:
> David Ronis wrote:
>>
>> I've just upgraded an older machine (a P3 running slackware 11.0) from
>> 2.6.26.5 to 2.6.30; the build was uneventful.  However, on reboot (using
>> lilo) I get:
>>
>> VSF:  Cannot open root device "hda2" or unknown-block(0,0)
>> Please append a correct root= boot option; here are the available
>> partions:     <====== nothing shows here...
>> Kernel-Panic - not syncing.
>>
>> I had rebooted with and without root=hda2.   The old kernel is still
>> usable.
>>
>> Lilo.conf looks like:
>
> Add large-memory option to lilo.conf
>
> /mjt
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>

check  /dev/hda*  to see
if it renamed itself to /dev/sda*
(noticed this a few months ago with
2.6.17(I think) to 2.6.24)

-- 
Justin P. Mattock

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Panic booting 2.6.30
  2009-06-19 19:32 ` Michael Tokarev
  2009-06-19 19:55   ` Justin Mattock
@ 2009-06-19 20:19   ` David Ronis
  2009-06-19 20:31     ` Michael Tokarev
  1 sibling, 1 reply; 12+ messages in thread
From: David Ronis @ 2009-06-19 20:19 UTC (permalink / raw)
  To: Michael Tokarev; +Cc: linux-kernel

Thanks for the reply.  I added large-memory to lilo.conf, reran lilo,
and rebooted.  I get the same problem, except now the unknown-block was
3,2. when I boot without specifying root=hda2, with root=hda2 I get the
same behavior.

David

On Fri, 2009-06-19 at 23:32 +0400, Michael Tokarev wrote:
> David Ronis wrote:
> > I've just upgraded an older machine (a P3 running slackware 11.0) from
> > 2.6.26.5 to 2.6.30; the build was uneventful.  However, on reboot (using
> > lilo) I get:
> > 
> > VSF:  Cannot open root device "hda2" or unknown-block(0,0)
> > Please append a correct root= boot option; here are the available
> > partions:     <====== nothing shows here...
> > Kernel-Panic - not syncing.
> > 
> > I had rebooted with and without root=hda2.   The old kernel is still
> > usable.
> > 
> > Lilo.conf looks like:
> 
> Add large-memory option to lilo.conf
> 
> /mjt
> 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Panic booting 2.6.30
  2009-06-19 19:55   ` Justin Mattock
@ 2009-06-19 20:20     ` Michael Tokarev
  2009-06-19 20:55       ` Justin Mattock
  2009-06-19 20:20     ` David Ronis
  1 sibling, 1 reply; 12+ messages in thread
From: Michael Tokarev @ 2009-06-19 20:20 UTC (permalink / raw)
  To: Justin Mattock; +Cc: ronis, linux-kernel

Justin Mattock wrote:
> On Fri, Jun 19, 2009 at 12:32 PM, Michael Tokarev<mjt@tls.msk.ru> wrote:
>> David Ronis wrote:
>>> I've just upgraded an older machine (a P3 running slackware 11.0) from
>>> 2.6.26.5 to 2.6.30; the build was uneventful.  However, on reboot (using
>>> lilo) I get:
>>>
>>> VSF:  Cannot open root device "hda2" or unknown-block(0,0)
>>> Please append a correct root= boot option; here are the available
>>> partions:     <====== nothing shows here...
>>> Kernel-Panic - not syncing.
>>>
>>> I had rebooted with and without root=hda2.   The old kernel is still
>>> usable.
>>>
>>> Lilo.conf looks like:
>> Add large-memory option to lilo.conf
> 
> check  /dev/hda*  to see
> if it renamed itself to /dev/sda*

It cant "rename itself".

The difference between sd* and hd* is different driver for the
controller - either old good ide code (like piix) - that's hd*,
or libata-based code (ata_piix).  Which one is compiled into
your kernel or gets loaded by initrd is controlled by you, not
by kernel or drivers.

/mjt

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Panic booting 2.6.30
  2009-06-19 19:55   ` Justin Mattock
  2009-06-19 20:20     ` Michael Tokarev
@ 2009-06-19 20:20     ` David Ronis
  1 sibling, 0 replies; 12+ messages in thread
From: David Ronis @ 2009-06-19 20:20 UTC (permalink / raw)
  To: Justin Mattock; +Cc: linux-kernel

Thanks for the reply.

I don't know how to do this with the crashed kernel, but in 2.6.26.5
the expected /dev/hda? entries are there, while /dev/sda? aren't.

David

On Fri, 2009-06-19 at 12:55 -0700, Justin Mattock wrote:
> On Fri, Jun 19, 2009 at 12:32 PM, Michael Tokarev<mjt@tls.msk.ru> wrote:
> > David Ronis wrote:
> >>
> >> I've just upgraded an older machine (a P3 running slackware 11.0) from
> >> 2.6.26.5 to 2.6.30; the build was uneventful.  However, on reboot (using
> >> lilo) I get:
> >>
> >> VSF:  Cannot open root device "hda2" or unknown-block(0,0)
> >> Please append a correct root= boot option; here are the available
> >> partions:     <====== nothing shows here...
> >> Kernel-Panic - not syncing.
> >>
> >> I had rebooted with and without root=hda2.   The old kernel is still
> >> usable.
> >>
> >> Lilo.conf looks like:
> >
> > Add large-memory option to lilo.conf
> >
> > /mjt
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at  http://www.tux.org/lkml/
> >
> 
> check  /dev/hda*  to see
> if it renamed itself to /dev/sda*
> (noticed this a few months ago with
> 2.6.17(I think) to 2.6.24)
> 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Panic booting 2.6.30
  2009-06-19 20:19   ` David Ronis
@ 2009-06-19 20:31     ` Michael Tokarev
  2009-06-19 20:49       ` David Ronis
  0 siblings, 1 reply; 12+ messages in thread
From: Michael Tokarev @ 2009-06-19 20:31 UTC (permalink / raw)
  To: ronis; +Cc: linux-kernel

David Ronis wrote:
> Thanks for the reply.  I added large-memory to lilo.conf, reran lilo,
> and rebooted.  I get the same problem, except now the unknown-block was
> 3,2. when I boot without specifying root=hda2, with root=hda2 I get the
> same behavior.

In that case you'll have to provide much more details.  Boot log probably
using netconsole.  Check config differences.

I suggested large-memory lilo option because your lilo.conf didn't have
it and 2.6.30 is known to outgrow default lilo assumptions.  So it wasn't
your case, it has to be in config change or in something failing during
boot.

Examine boot log (you can try adding vga=ask and choosing the largest
resolution offered, and also try loglevel=4 or loglevel=5 this will
reduce printk noise printed on the console) and config changes.

And please don't top-post.

/mjt

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Panic booting 2.6.30
  2009-06-19 20:31     ` Michael Tokarev
@ 2009-06-19 20:49       ` David Ronis
  2009-06-19 20:55         ` Michael Tokarev
  0 siblings, 1 reply; 12+ messages in thread
From: David Ronis @ 2009-06-19 20:49 UTC (permalink / raw)
  To: Michael Tokarev; +Cc: linux-kernel



On Sat, 2009-06-20 at 00:31 +0400, Michael Tokarev wrote:

> it and 2.6.30 is known to outgrow default lilo assumptions.  So it wasn't
> your case, it has to be in config change or in something failing during
> boot.

> And please don't top-post.
> 
> /mjt

I diffed the .config files for the 2 kernels.  The result is at

                       http://pastebin.ca/1466767

David

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Panic booting 2.6.30
  2009-06-19 20:20     ` Michael Tokarev
@ 2009-06-19 20:55       ` Justin Mattock
  0 siblings, 0 replies; 12+ messages in thread
From: Justin Mattock @ 2009-06-19 20:55 UTC (permalink / raw)
  To: Michael Tokarev; +Cc: ronis, linux-kernel

On Fri, Jun 19, 2009 at 1:20 PM, Michael Tokarev<mjt@tls.msk.ru> wrote:
> Justin Mattock wrote:
>>
>> On Fri, Jun 19, 2009 at 12:32 PM, Michael Tokarev<mjt@tls.msk.ru> wrote:
>>>
>>> David Ronis wrote:
>>>>
>>>> I've just upgraded an older machine (a P3 running slackware 11.0) from
>>>> 2.6.26.5 to 2.6.30; the build was uneventful.  However, on reboot (using
>>>> lilo) I get:
>>>>
>>>> VSF:  Cannot open root device "hda2" or unknown-block(0,0)
>>>> Please append a correct root= boot option; here are the available
>>>> partions:     <====== nothing shows here...
>>>> Kernel-Panic - not syncing.
>>>>
>>>> I had rebooted with and without root=hda2.   The old kernel is still
>>>> usable.
>>>>
>>>> Lilo.conf looks like:
>>>
>>> Add large-memory option to lilo.conf
>>
>> check  /dev/hda*  to see
>> if it renamed itself to /dev/sda*
>
> It cant "rename itself".
>
> The difference between sd* and hd* is different driver for the
> controller - either old good ide code (like piix) - that's hd*,
> or libata-based code (ata_piix).  Which one is compiled into
> your kernel or gets loaded by initrd is controlled by you, not
> by kernel or drivers.
>
> /mjt
>

ahh.. that's what I did then
had old, then changed to new,
but didn't realize.
Thanks for clearing that up.

-- 
Justin P. Mattock

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Panic booting 2.6.30
  2009-06-19 20:49       ` David Ronis
@ 2009-06-19 20:55         ` Michael Tokarev
  0 siblings, 0 replies; 12+ messages in thread
From: Michael Tokarev @ 2009-06-19 20:55 UTC (permalink / raw)
  To: ronis; +Cc: linux-kernel

David Ronis wrote:
[]
> I diffed the .config files for the 2 kernels.  The result is at
> 
>                        http://pastebin.ca/1466767

And?

BTW, it's difficult to read plain diff.  I guess I see what did you
miss, but if you're building your own kernel you'd better find it
yourself.

/mjt

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Panic booting 2.6.30
  2009-06-19 19:23 Panic booting 2.6.30 David Ronis
  2009-06-19 19:32 ` Michael Tokarev
@ 2009-06-20  4:43 ` Robert Hancock
  2009-06-23 15:17   ` David Ronis
  1 sibling, 1 reply; 12+ messages in thread
From: Robert Hancock @ 2009-06-20  4:43 UTC (permalink / raw)
  To: ronis; +Cc: linux-kernel

On 06/19/2009 01:23 PM, David Ronis wrote:
> I've just upgraded an older machine (a P3 running slackware 11.0) from
> 2.6.26.5 to 2.6.30; the build was uneventful.  However, on reboot (using
> lilo) I get:
>
> VSF:  Cannot open root device "hda2" or unknown-block(0,0)
> Please append a correct root= boot option; here are the available
> partions:<====== nothing shows here...
> Kernel-Panic - not syncing.
>
> I had rebooted with and without root=hda2.   The old kernel is still
> usable.

Make sure you configured in the proper IDE driver for your chipset. 
Previously I believe the IDE driver would attach to unknown chipsets in 
a crappy generic fashion, but I don't think it does anymore.

If that doesn't help, please post your kernel config and lspci output.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Panic booting 2.6.30
  2009-06-20  4:43 ` Robert Hancock
@ 2009-06-23 15:17   ` David Ronis
  0 siblings, 0 replies; 12+ messages in thread
From: David Ronis @ 2009-06-23 15:17 UTC (permalink / raw)
  To: Robert Hancock; +Cc: linux-kernel

Hi Robert,

That was it.  Including the appropriate driver in the kernel build
worked like a charm.

Thanks for your help--Short and correct!

David

On Fri, 2009-06-19 at 22:43 -0600, Robert Hancock wrote:
> On 06/19/2009 01:23 PM, David Ronis wrote:
> > I've just upgraded an older machine (a P3 running slackware 11.0) from
> > 2.6.26.5 to 2.6.30; the build was uneventful.  However, on reboot (using
> > lilo) I get:
> >
> > VSF:  Cannot open root device "hda2" or unknown-block(0,0)
> > Please append a correct root= boot option; here are the available
> > partions:<====== nothing shows here...
> > Kernel-Panic - not syncing.
> >
> > I had rebooted with and without root=hda2.   The old kernel is still
> > usable.
> 
> Make sure you configured in the proper IDE driver for your chipset. 
> Previously I believe the IDE driver would attach to unknown chipsets in 
> a crappy generic fashion, but I don't think it does anymore.
> 
> If that doesn't help, please post your kernel config and lspci output.
> 

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-06-23 15:17 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-19 19:23 Panic booting 2.6.30 David Ronis
2009-06-19 19:32 ` Michael Tokarev
2009-06-19 19:55   ` Justin Mattock
2009-06-19 20:20     ` Michael Tokarev
2009-06-19 20:55       ` Justin Mattock
2009-06-19 20:20     ` David Ronis
2009-06-19 20:19   ` David Ronis
2009-06-19 20:31     ` Michael Tokarev
2009-06-19 20:49       ` David Ronis
2009-06-19 20:55         ` Michael Tokarev
2009-06-20  4:43 ` Robert Hancock
2009-06-23 15:17   ` David Ronis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.