All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Meelis Roos <mroos@linux.ee>
Cc: Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: Re: readcd hangs in blk_execute_rq
Date: Thu, 21 Oct 2004 17:41:22 +0200	[thread overview]
Message-ID: <20041021154122.GC32465@suse.de> (raw)
In-Reply-To: <Pine.GSO.4.44.0410211805010.25972-100000@math.ut.ee>

On Thu, Oct 21 2004, Meelis Roos wrote:
> 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

Did it previously work reliably with dma (which kernel)? Does it now
work reliably without dma now? Do send your entire dmesg after a boot
too, btw.

-- 
Jens Axboe


  reply	other threads:[~2004-10-21 15:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-21 15:11 readcd hangs in blk_execute_rq Meelis Roos
2004-10-21 15:41 ` Jens Axboe [this message]
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

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=20041021154122.GC32465@suse.de \
    --to=axboe@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mroos@linux.ee \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.