Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S270728AbUJUPMg (ORCPT ); Thu, 21 Oct 2004 11:12:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S270718AbUJUPMY (ORCPT ); Thu, 21 Oct 2004 11:12:24 -0400 Received: from math.ut.ee ([193.40.5.125]:484 "EHLO math.ut.ee") by vger.kernel.org with ESMTP id S270748AbUJUPLP (ORCPT ); Thu, 21 Oct 2004 11:11:15 -0400 Date: Thu, 21 Oct 2004 18:11:12 +0300 (EEST) From: Meelis Roos To: Linux Kernel list Subject: readcd hangs in blk_execute_rq Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1615 Lines: 51 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) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/