From: linchuan@cse.ogi.edu (Chuan-kai Lin)
To: linux-kernel@vger.kernel.org
Subject: Re: PROBLEM: ide-cs kernel panic on ThinkPad X30
Date: Wed, 7 Apr 2004 18:10:50 +0000 (UTC) [thread overview]
Message-ID: <c51g78$st3$1@sea.gmane.org> (raw)
In-Reply-To: 20030911151915.GA816@rho
Chuan-kai Lin <b86506063@ntu.edu.tw> wrote:
> Aug 31 19:14:17 rho kernel: hde: Transcend, CFA DISK drive
> Aug 31 19:14:17 rho kernel: PM: Adding info for No Bus:ide2
> Aug 31 19:14:17 rho kernel: hdf: probing with STATUS(0x50)
> instead of ALTSTATUS(0x0a)
> Aug 31 19:14:17 rho kernel: hdf: H, ATA DISK drive
> Aug 31 19:14:17 rho kernel: ide2 at 0x100-0x107,0x10e on irq 3
> Aug 31 19:14:17 rho kernel: PM: Adding info for ide:2.0
> Aug 31 19:14:17 rho kernel: PM: Adding info for ide:2.1
> Aug 31 19:14:17 rho kernel: hde: max request size: 128KiB
> Aug 31 19:14:17 rho kernel: hde: 1006992 sectors (515 MB) w/0KiB Cache,
> CHS=999/16/63
> Aug 31 19:14:17 rho kernel: /dev/ide/host2/bus0/target0/lun0: p1
> Aug 31 19:14:17 rho kernel: hdf: max request size: 128KiB
> Aug 31 19:14:17 rho kernel: hdf: 0 sectors (0 MB) w/9216KiB Cache,
> CHS=18432/0/0
> Aug 31 19:14:17 rho kernel: hdf: INVALID GEOMETRY: 0 PHYSICAL HEADS?
> Aug 31 19:14:17 rho kernel: ide-default: hdf: Failed to register the
> driver with ide.c
> Aug 31 19:14:17 rho kernel: Kernel panic: ide: default attach failed
>
> And the machine promptly froze. The problem, obviously, is that hdf
> does not exist at all, so naturally the IDE driver had problem
> extracting any reasonable information concerned about it. I have tried
> using both hdf=noprobe or hdf=none at the LILO prompt, but neither seems
> to have any effect on this problem.
I finally managed to track down the problem. In 2.6.5, ide-probe.c
line 291 there is this piece of code:
if ((a ^ s) & ~INDEX_STAT) {
printk(KERN_INFO "%s: probing with STATUS(0x%02x) instead of "
"ALTSTATUS(0x%02x)\n", drive->name, s, a);
/* ancient Seagate drives, broken interfaces */
hd_status = IDE_STATUS_REG;
This alternative probing mechanism caused the kernel to conclude that
the device hdf does exist, and disabling this ancient Seagate drive
probing functionality fixed my problem (but obviously breaks the
probing of the said ancient drives).
What would be a good way to resolve this problem?
--
Chuan-kai Lin
http://www.cse.ogi.edu/~linchuan/
prev parent reply other threads:[~2004-04-07 18:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-11 15:19 PROBLEM: ide-cs kernel panic on ThinkPad X30 Chuan-kai Lin
2004-04-07 18:10 ` Chuan-kai Lin [this message]
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='c51g78$st3$1@sea.gmane.org' \
--to=linchuan@cse.ogi.edu \
--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