LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* Re: 2.6.0-test10 kernel panic with INVALID GEOMETRY
@ 2003-11-26 0:22 Andries.Brouwer
0 siblings, 0 replies; only message in thread
From: Andries.Brouwer @ 2003-11-26 0:22 UTC (permalink / raw)
To: Andries.Brouwer, jdinardo; +Cc: B.Zolnierkiewicz, linux-kernel
> disk works fine with 2.3.21.
> doesn't work but is ignored with 2.4.22.
> causes a panic with 2.6.0-test9,test10
> hdd: ,ATA DISK drive
> hdd: 0 sectors (0MB), CHS=0/0/0
> hdd: INVALID GEOMETRY: 0 PHYSICAL HEADS
> ide-default: hdd: Failed to register with ide.c
> Kernel panic: ide: default attach failed
> In the working case the model is
> hdd: ICBSL040AVVA07-0, ATA ...
> In the non-working case all identify data is zero.
OK. So this is not a geometry problem but an I/O problem:
the identify data is not read correctly. When 2.4 sees all
zeros it just ignores this disk. When 2.6 sees all zeros
it panics in ide.c:ata_attach.
You can change the "panic" in
panic("ide: default attach failed");
(in ide.c:ata_attach) to "printk" and see how far your boot gets.
Do you know why the identify data is not read correctly?
(Or under what circumstances it is read correctly?)
Probably the panic is too strong a reaction, since it can happen.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-11-26 0:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-26 0:22 2.6.0-test10 kernel panic with INVALID GEOMETRY Andries.Brouwer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).