public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* readcd hangs in blk_execute_rq
@ 2004-10-21 15:11 Meelis Roos
  2004-10-21 15:41 ` Jens Axboe
  0 siblings, 1 reply; 11+ messages in thread
From: Meelis Roos @ 2004-10-21 15:11 UTC (permalink / raw)
  To: Linux Kernel list

I'm trying to readcd a cd, in 2.6.9+todays BK snapshot.

I got an error the first time so I started it (readcd dev=/dev/hdc)
the second time and chose c2scan. This resulted in the messages
...
end:    328460
C2 in sector: 1864 first at byte: 2256 (0xF0) total:   72 errors
C2 in sector: 1865 first at byte:   12 (0x0F) total: 2335 errors
addr:     2499 cnt: 49

And here it hangs. ps shows readcd is in D state, in blk_execute_rq.
dmesg shows lines of

hdc: lost interrupt

every no and then.

This a IDE CD on Intel ICH2 ide controller:

ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH2: IDE controller at PCI slot 0000:00:1f.1
ICH2: chipset revision 2
ICH2: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio

hdc: CDU5211, ATAPI CD/DVD-ROM drive
hdc: ATAPI 52X CD-ROM drive, 120kB Cache, UDMA(33)

And after every boot it gets DMA timeout on first read and switches to
PIO mode and works fine there reading data cd-s (even browsing the same
CD):

ide-cd: cmd 0x28 timed out
hdc: DMA interrupt recovery
hdc: lost interrupt
hdc: status timeout: status=0xd0 { Busy }
hdc: status timeout: error=0x00
hdc: DMA disabled
hdc: drive not ready for command
hdc: ATAPI reset complete


-- 
Meelis Roos (mroos@linux.ee)


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

end of thread, other threads:[~2004-10-25 17:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-21 15:11 readcd hangs in blk_execute_rq Meelis Roos
2004-10-21 15:41 ` Jens Axboe
2004-10-21 15:47   ` Meelis Roos
2004-10-21 16:11     ` Jens Axboe
2004-10-21 16:19       ` Meelis Roos
2004-10-21 16:22         ` Jens Axboe
2004-10-21 17:16       ` Meelis Roos
2004-10-21 20:15         ` Jens Axboe
2004-10-22  7:53           ` Meelis Roos
2004-10-25 16:55           ` Meelis Roos
2004-10-25 16:58             ` Jens Axboe

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