DMA mode unavailable
From: Alejandro Luque (btpa16_at_btp5x36.phy.uni-bayreuth.de)
Date: 09/30/03
- Next message: gamalt: "boot problems"
- Previous message: David Goodenough: "Re: Diskless Workstation, hardware"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Sep 2003 16:07:48 +0200
Hi everybody. I'm new in this group so first of all i want to give
thanks in advance for any help.
My problem is related with DMA access to a SAMSUNG COMBO CDRW/DVD
SM-352B with motherboard ASUS P4P800 installed and SuSE 8.2. The
COMBO is acting as Master in the secondary IDE chanel and connected
with a 40-pin ribbon cable. I want to set up the udma2 mode.
I am able to configure everything as desired (for example with
YaST2). And after reboot everything seems to be normal; this is what
hdparm produces:
#hdparm -i /dev/hdc
/dev/hdc:
Model=SAMSUNG CDRW/DVD SM-352B, FwRev=T806, SerialNo=
Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
IORDY=yes, tPIO={min:227,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 *udma2
AdvancedPM=no
#hdparm -I /dev/hdc
/dev/hdc:
ATAPI CD-ROM, with removable media
Model Number: SAMSUNG CDRW/DVD SM-352B
Serial Number:
Firmware Revision: T806
Standards:
Likely used CD-ROM ATAPI-1
Configuration:
DRQ response: 50us.
Packet size: 12 bytes
Capabilities:
LBA, IORDY(cannot be disabled)
DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=227ns IORDY flow control=120ns
However the following errors appear in the log:
#dmesg |tail -n 4
hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hdc: drive_cmd: error=0x04Aborted Command
hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hdc: drive_cmd: error=0x04Aborted Command
Then when i try to mount /media/cdrom (or /media/dvd or
/media/cdrecorder) it takes quite a long time (around 1 minute or so)
and finally the driver is mounted but these errors appear in the log:
Sep 30 14:57:29 linux kernel: hdc: status timeout: status=0xd0 { Busy }
Sep 30 14:57:29 linux kernel: hdc: status timeout: error=0x00
Sep 30 14:57:29 linux kernel: hdc: drive not ready for command
Sep 30 14:57:29 linux kernel: hdc: ATAPI reset complete
Sep 30 14:57:39 linux kernel: hdc: timeout waiting for DMA
Sep 30 14:57:39 linux kernel: hdc: timeout waiting for DMA
Sep 30 14:57:39 linux kernel: hdc: (__ide_dma_test_irq) called while
not waiting
[...REPEATED 3 TIMES...]
If i check now, the CD works properly but DMA mode has been
disabled. What can i do? I have tried lots of things and
searched in manuals and in the internet but i have not yet set DMA to
work properly. Any help will be welcomed. Thank you for your time
and best regards,
A. Luque.
-- ---- Alejandro Luque Universitaet Bayreuth Theoretische Physik IV 95440 Bayreuth (Germany) Tel. +49-(0)921/55-3328 e-mail: <alejandro DOT luque AT uni-bayreuth DOT de>
- Next message: gamalt: "boot problems"
- Previous message: David Goodenough: "Re: Diskless Workstation, hardware"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|