* 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
* Re: 2.5.22 ide disk hang on boot
2002-06-21 14:16 2.5.22 ide disk hang on boot Martin Devera
@ 2002-06-21 14:18 ` Martin Dalecki
2002-06-21 15:12 ` devik
0 siblings, 1 reply; 9+ messages in thread
From: Martin Dalecki @ 2002-06-21 14:18 UTC (permalink / raw)
To: Martin Devera; +Cc: leif, linux-kernel
Użytkownik Martin Devera napisał:
> 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
>
>
Please go ahead to 2.5.24, it could help it.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: 2.5.22 ide disk hang on boot
2002-06-21 14:18 ` Martin Dalecki
@ 2002-06-21 15:12 ` devik
0 siblings, 0 replies; 9+ messages in thread
From: devik @ 2002-06-21 15:12 UTC (permalink / raw)
To: Martin Dalecki; +Cc: linux-kernel
Huh, how fast .. I even didn't notice there is 2.5.24 :)
Now it seems to work. Thanks. Only in case it is interesting
to you the "Use old disk-only driver on primary interface"
seeting is not working. When I user it the kernel hung up
just after Freeing unused kernel memory: 192k freed
message.
regards,
devik
On Fri, 21 Jun 2002, Martin Dalecki wrote:
> > Please can you tell me where to find the ide-clean-92.diff ?
> >
> Please go ahead to 2.5.24, it could help it.
^ 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-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 6:12 leif
@ 2002-06-19 7:45 ` Martin Dalecki
0 siblings, 0 replies; 9+ messages in thread
From: Martin Dalecki @ 2002-06-19 7:45 UTC (permalink / raw)
To: leif; +Cc: linux-kernel, arnd
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 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...
^ permalink raw reply [flat|nested] 9+ messages in thread
* 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-17 23:41 Arnd Bergmann
@ 2002-06-18 6:31 ` Martin Dalecki
2002-06-19 1:32 ` Arnd Bergmann
0 siblings, 1 reply; 9+ messages in thread
From: Martin Dalecki @ 2002-06-18 6:31 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: linux-kernel, Arnd Bergmann
Użytkownik Arnd Bergmann napisał:
> 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>
I assume that the system in question isn't:
1. Isn't setting up the drive in BIOS for DMA operation?
2. Isn't showring the hda: hda1.... partition layout?
As one can see from the above the problem is caused by PIO
read getting worser. I know the problem and am working on it.
As a band plase apply patch -p1 -R < ide-clean-92.diff.
I hope I can provide the proper solution soon.
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: 2.5.22 ide disk hang on boot
2002-06-18 6:31 ` Martin Dalecki
@ 2002-06-19 1:32 ` Arnd Bergmann
0 siblings, 0 replies; 9+ messages in thread
From: Arnd Bergmann @ 2002-06-19 1:32 UTC (permalink / raw)
To: Martin Dalecki; +Cc: linux-kernel, Arnd Bergmann
On Tuesday 18 June 2002 08:31, you wrote:
> I assume that the system in question isn't:
>
> 1. Isn't setting up the drive in BIOS for DMA operation?
Don't know. The BIOS setup does not have a config option for
this. 'hdparm -d /dev/hda' says it's not using DMA usually.
Compiling the kernel with or without 'Generic PCI bus-master
DMA support' did not change the problem.
> 2. Isn't showring the hda: hda1.... partition layout?
The strange thing is that the primary partition table
appears to be read proberly, but not the extended one at
the beginning of hda3, i.e. it is showing
p1 p2 p3 <hda: status error:
at the place where I usually get
p1 p2 p3 < p5 p6 p7 p8 p9 p10 >
If the drive could not be read at all, it would not show the
first three entries either.
> As one can see from the above the problem is caused by PIO
> read getting worser. I know the problem and am working on it.
ok.
> As a band plase apply patch -p1 -R < ide-clean-92.diff.
As I wanted to say in the original mail: I tried that but
was too lazy to clean up the rejects. Fortunately, it's not
urgent for me, so I can just wait for the next release.
Just tell me if you want me to try your fix.
Arnd <><
^ 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-21 14:16 2.5.22 ide disk hang on boot Martin Devera
2002-06-21 14:18 ` Martin Dalecki
2002-06-21 15:12 ` devik
-- strict thread matches above, loose matches on Subject: below --
2002-06-19 17:01 Leif Sawyer
2002-06-19 6:12 leif
2002-06-19 7:45 ` Martin Dalecki
2002-06-17 23:41 Arnd Bergmann
2002-06-18 6:31 ` Martin Dalecki
2002-06-19 1:32 ` Arnd Bergmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox