public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.5.22 ide disk hang on boot
@ 2002-06-17 23:41 Arnd Bergmann
  2002-06-18  6:31 ` Martin Dalecki
  0 siblings, 1 reply; 9+ messages in thread
From: Arnd Bergmann @ 2002-06-17 23:41 UTC (permalink / raw)
  To: linux-kernel; +Cc: Arnd Bergmann, Martin Dalecki

Hi,

In 2.5.22, I get during the partition detection (2.5.21 was ok):

...
/dev/ide/host0/bus0/target0/lun0: [PTBC] (6201/240/63) p1 p2 p3 <hda: status
error: status = 0x58 [drive ready seek complete data request]
hda: recalibrating

After that, I have to reboot. The machine is an IBM thinkpad A30p, the
ide controller is an ICH3 ("Intel Corp. 82801CAM IDE U100 (rev 1)") and
the drive says it is "IC25T048ATDA05-0".
I tried reverting the last IDE patches but got too many rejects.

After replacing the ata_error that came last with BUG(), I got the
backtrace below (assuming I copied every address correctly from the
screen).

	Arnd <><

Trace; c01f9242 <ata_status_poll+92/c8>
Trace; c01fb2d1 <start_request+c5/17c>
Trace; c01eb38a <__elv_next_request+a/10>
Trace; c01fb64e <queue_commands+126/160>
Trace; c01fb6c8 <do_request+40/68>
Trace; c01fb700 <do_ide_request+10/14>
Trace; c01ec2d7 <generic_unplug_device+3b/48>
Trace; c01ec3c0 <blk_run_queues+6c/7c>
Trace; c0137ea9 <block_sync_page+5/8>
Trace; c01273fa <__lock_page+96/c4>
Trace; c012743c <lock_page+14/18>
Trace; c01289e0 <read_cache_page+a8/100>
Trace; c01526fa <read_dev_sector+32/a4>
Trace; c01397d0 <blkdev_readpage+0/14>
Trace; c0152953 <extended_partition+a7/1ec>
Trace; c01175d7 <printk+ff/114>
Trace; c0152dd5 <msdos_partition+179/2c4>
Trace; c01fd0e0 <ata_get_queue+0/2c>
Trace; c01521d4 <check_partition+1b4/230>
Trace; c0139b35 <bdput+8d/94>
Trace; c0152698 <grok_partitions+e4/114>
Trace; c0150300 <statm_pgd_range+15c/1a8>
Trace; c01f9c31 <ata_revalidate+c9/f0>
Trace; c0200c1c <idedisk_attach+d0/e4>
Trace; c01fa358 <subdriver_match+58/68>
Trace; c01fa67f <register_ata_driver+2f/48>
Trace; c0105023 <init+7/124>
Trace; c010701c <kernel_thread+28/38>


^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: 2.5.22 ide disk hang on boot
@ 2002-06-19  6:12 leif
  2002-06-19  7:45 ` Martin Dalecki
  0 siblings, 1 reply; 9+ messages in thread
From: leif @ 2002-06-19  6:12 UTC (permalink / raw)
  To: linux-kernel; +Cc: dalecki, arnd

I'm having exactly the same issue, with both 2.5.22 and 2.5.23.

I've downloaded the ide-clean-92.diff and applied it against 2.5.23.  There were some fuzzy offsets, but no rejects.

My system is:  FIC SD-11, Athlon 850, 256Mb ram, 20G Maxtor 52049U4 drive (80-pin cable)

IDE controler is VT82c686a UDMA66 (onboard)

The kernel is built SMP, but running UP for testing.

After rebuilding the kernel and rebooting, I'm able to get past the point where it was previously hanging.

Without this patch it hangs, just as Arnd reported.

Thanks.



___________________________________
NOCC, http://nocc.sourceforge.net





^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: 2.5.22 ide disk hang on boot
@ 2002-06-19 17:01 Leif Sawyer
  0 siblings, 0 replies; 9+ messages in thread
From: Leif Sawyer @ 2002-06-19 17:01 UTC (permalink / raw)
  To: Martin Dalecki; +Cc: linux-kernel

Martin Dalecki scribed:
> Użytkownik leif@denali.net napisał:
> > I'm having exactly the same issue, with both 2.5.22 and 2.5.23.
> > 
> > I've downloaded the ide-clean-92.diff and applied it 
> > against 2.5.23.  There were some fuzzy offsets, but no rejects.
> >
> You mean you have reverse applied it with the patch -R 
> command of course.

Yes of course. :-)

> Yes 92 is the culprit. I have put it in the change log that
> the unification of the PIO read handlers is dangerous and 
> well indeed it is...

I did have one issue, not sure what it's related to:

My first test was against an SMP compiled kernel running on UP,
as I stated previously.  When re-compiling the kernel, my machine
locked up solid during IDE access.  Unfortunately no magic-keys
were available and I needed to hard-reset and downgrade.

I recompiled for UP, rebooted, and was able to perform multiple
kernel compilations with no hanging.

I didn't perform a stress-test last night, but tonight if i'm able i'll
run some bonnie against it to see if it's stable, if you like.

Leif

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: 2.5.22 ide disk hang on boot
@ 2002-06-21 14:16 Martin Devera
  2002-06-21 14:18 ` Martin Dalecki
  0 siblings, 1 reply; 9+ messages in thread
From: Martin Devera @ 2002-06-21 14:16 UTC (permalink / raw)
  To: dalecki; +Cc: leif, linux-kernel

I just read about IDE PIO related hangup in 2.5.22/3.
I'm having the same problem. Also I can't compile as
UP because compile crashes then :(
Please can you tell me where to find the ide-clean-92.diff ?

I'd like to test it. I debug USB bug and it was recommended
to me to test 2.5.23 but it is hard when I can't boot it :-\
Thanks, devik


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

end of thread, other threads:[~2002-06-21 16:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-17 23:41 2.5.22 ide disk hang on boot Arnd Bergmann
2002-06-18  6:31 ` Martin Dalecki
2002-06-19  1:32   ` Arnd Bergmann
  -- strict thread matches above, loose matches on Subject: below --
2002-06-19  6:12 leif
2002-06-19  7:45 ` Martin Dalecki
2002-06-19 17:01 Leif Sawyer
2002-06-21 14:16 Martin Devera
2002-06-21 14:18 ` Martin Dalecki
2002-06-21 15:12   ` devik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox