[lkml]   [2003]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.6.0-test10 kernel panic with INVALID GEOMETRY
> 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
> 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.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:58    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean