Red Hat Bugzilla – Bug 59349
ATAPI resets with DMA enabled on cdrom for OSB4/CSB5 system
Last modified: 2007-04-18 12:39:48 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.3-xfs-101 i686)
Description of problem:
If I enable DMA for my Teac CD-W24E the drive won't mount. It retries a few
times and eventually causes an ATAPI reset. If I turn off DMA, it works fine.
The same thing happens if I try to dd the cdrom image to the hard disk, except
that Linux will try to disable DMA automatically. But for some reason, the
controller doesn't think DMA is disabled.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. try to mount a cd (/dev/cdrom -> /dev/hdd): # mount /dev/cdrom
2. or try to copy the CD image to a hard disk: # dd if=/dev/cdrom
Actual Results: The system takes about 30-60 seconds to mount a CD if at all.
Trying to dd the image will fail with "I/O Error".
Expected Results: The system should have mounted the CD...
or the image should have been copied to the local disk without an I/O error.
I'm using the RedHat 7.2 errata kernel (2.4.9-21). The drive is not on the
ide/ide-dma.c blacklist. I have also consistently repeated it on a Mitsumi
SR242S. The IDE controller is a Serverworks CSB5, but I can also reproduce this
problem on the OSB4.
Created attachment 44637 [details]
Created attachment 44638 [details]
lspci -v -v of IDE controller
Created attachment 44639 [details]
IDE excerpt of dmesg
Created attachment 44640 [details]
excerpt of /var/log/messages
cdrom drive added to the "not ATAPI compliant" blacklist; should appear in