From: Andries.Brouwer@cwi.nl
To: Andries.Brouwer@cwi.nl, jdinardo@nycap.rr.com
Cc: B.Zolnierkiewicz@elka.pw.edu.pl, linux-kernel@vger.kernel.org
Subject: Re: 2.6.0-test10 kernel panic with INVALID GEOMETRY
Date: Wed, 26 Nov 2003 01:22:33 +0100 (MET) [thread overview]
Message-ID: <UTC200311260022.hAQ0MXB01287.aeb@smtp.cwi.nl> (raw)
> 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?)
Andries
Probably the panic is too strong a reaction, since it can happen.
reply other threads:[~2003-11-26 0:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=UTC200311260022.hAQ0MXB01287.aeb@smtp.cwi.nl \
--to=andries.brouwer@cwi.nl \
--cc=B.Zolnierkiewicz@elka.pw.edu.pl \
--cc=jdinardo@nycap.rr.com \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®