All of lore.kernel.org
 help / color / mirror / Atom feed
From: Con Kolivas <kernel@kolivas.org>
To: Dave Jones <davej@redhat.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: IDE CD problems in 2.6.13rc6
Date: Sun, 14 Aug 2005 10:26:10 +1000	[thread overview]
Message-ID: <200508141026.10734.kernel@kolivas.org> (raw)
In-Reply-To: <20050813232957.GE3172@redhat.com>

On Sun, 14 Aug 2005 09:29, Dave Jones wrote:
> I've noticed this week whilst trying to encode a bunch
> of audio CDs to oggs that my boxes running the latest
> kernels are having serious issues, whereas 2.6.12 seems
> to cope just fine.
>
> The symptoms vary. On some of my machines just inserting
> an audio CD makes the box instantly lock up.
> If I boot with the same CD in the drive, sound-juicer
> can read it just fine. When I get to the next CD, I have
> to reboot again, or it locks up.
>
> On another box, it gets stuck in a loop where it
> just prints out..
>
> hdc: irq timeout: status=0xd0 { Busy }    (This line sometimes has
> status=0xc0) ide: failed opcode was: unknown
>
> The net result is that I've not got a single box that
> will read audio CDs without doing something bad, and I've
> tried it on several quite diverse systems.
>
>
> I'll try and narrow down over the next few days when this
> started happening, but IDE / CD folks may have some better
> ideas about which changes were suspicious.

Ok I just started noticing unusual things on my IDE DVD-RW as well, presumably 
related, on 2.6.13-rc6. Putting in a cd and trying to read it will cause huge 
delays and then error out with:

ide-cd: cmd 0x28 timed out
hdc: DMA timeout retry
hdc: timeout waiting for DMA
hdc: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdc: drive not ready for command
hdc: ATAPI reset complete

then it will read fine. If I start another read it goes through the same 
cycle. Forcing dma *off* with hdparm fixes the problem and all subsequent 
accesses don't have this pause, however this was never an issue on previous 
kernels with dma working fine.


relevant lspci:
00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB 
UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB 
UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB 
UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI 
Controller (rev 02)


hdparm info of hdc:
/dev/hdc:

ATAPI CD-ROM, with removable media
        Model Number:       LITE-ON DVDRW SOHW-1653S
        Serial Number:
        Firmware Revision:  CS02
Standards:
        Used: ATAPI for CD-ROMs, SFF-8020i, r2.5
        Supported: CD-ROM ATAPI-2
Configuration:
        DRQ response: 50us.
        Packet size: 12 bytes
Capabilities:
        LBA, IORDY(cannot be disabled)
        DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4
             Cycle time: no flow control=227ns  IORDY flow control=120ns

relevant config=y info:
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECD=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_PIIX=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_IDEDMA_IVB=y
CONFIG_IDEDMA_AUTO=y


Cheers,
Con

  reply	other threads:[~2005-08-14  2:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-13 23:29 IDE CD problems in 2.6.13rc6 Dave Jones
2005-08-14  0:26 ` Con Kolivas [this message]
2005-08-14  0:30   ` Con Kolivas
2005-08-14 13:53     ` Alan Cox
2005-08-14 11:35 ` Bartlomiej Zolnierkiewicz
2005-08-14 13:46   ` Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
2005-08-14 17:43 Voluspa
2005-08-14 19:30 Voluspa
2005-08-14 19:55 Nick Warne
2005-08-14 20:10 Nick Warne
2005-08-14 22:51 Voluspa
2005-08-15  0:37 ` Alan Cox
2005-08-15  0:53   ` Voluspa
2005-08-15 18:30 Nick Warne

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=200508141026.10734.kernel@kolivas.org \
    --to=kernel@kolivas.org \
    --cc=davej@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    /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.