HDIO_SET_DMA failed: Operation not permitted
Hi, habe hier das ich einem IDE CDRom kein DMA beibringen kann. Das CD-Rom hängt als hda als einziges am Bus. Im BIOS wird das CDRom auch als UDMA-2 detektiert. Allerdings funktioniert das setzten des DMA-Modus nicht: kieken:/data/home/thl# hdparm -d1 /dev/hda /dev/hda: setting using_dma to 1 (on) HDIO_SET_DMA failed: Operation not permitted using_dma = 0 (off) kieken:/data/home/thl# Infos zum Device: kieken:/data/home/thl# hdparm -c1 -d1 /dev/hda /dev/hda: setting 32-bit IO_support flag to 1 setting using_dma to 1 (on) HDIO_SET_DMA failed: Operation not permitted IO_support = 1 (32-bit) using_dma = 0 (off) kieken:/data/home/thl# hdparm -d1 /dev/hda /dev/hda: setting using_dma to 1 (on) HDIO_SET_DMA failed: Operation not permitted using_dma = 0 (off) kieken:/data/home/thl# hdparm -I /dev/hda /dev/hda: ATAPI CD-ROM, with removable media Model Number: TSSTcorpCD/DVDW SH-S182D Serial Number: Firmware Revision: SB02 Standards: Likely used CD-ROM ATAPI-1 Configuration: DRQ response: 50us. Packet size: 12 bytes Capabilities: LBA, IORDY(can 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 Commands/features: Enabled Supported: HW reset results: CBLID- below Vih Device num = 0 kieken:/data/home/thl# Die Performance sieht ja so erst mal gut aus: kieken:/data/home/thl# hdparm -tT /dev/hda /dev/hda: Timing cached reads: 1928 MB in 2.00 seconds = 963.59 MB/sec BLKFLSBUF failed: Function not implemented Timing buffered disk reads: 34 MB in 3.04 seconds = 11.20 MB/sec BLKFLSBUF failed: Function not implemented kieken:/data/home/thl# Allerdings habe ich Probleme wenn ich z.B. eine DVD abspiele. Dann ruckelt es im Ton. Wenn ich die DVD erst auf die Platte kopiere, kann ich die DVD locker abspielen. Das kopieren an sich dauert wieder ewig. kieken:/data/home/thl# lspci -vvv [...] 0000:00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01) (prog-if 8a [Master SecP PriP]) Subsystem: ASRock Incorporation: Unknown device 27df Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 Interrupt: pin A routed to IRQ 15 Region 0: I/O ports at <unassigned> Region 1: I/O ports at <unassigned> Region 2: I/O ports at <ignored> Region 3: I/O ports at <ignored> Region 4: I/O ports at ffa0 [size=16] 0000:00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controllers cc=IDE (rev 01) (prog-if 8f [Master SecP SecO PriP PriO]) Subsystem: ASRock Incorporation: Unknown device 27c0 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 Interrupt: pin B routed to IRQ 11 Region 0: I/O ports at e880 [size=8] Region 1: I/O ports at e800 [size=4] Region 2: I/O ports at e480 [size=8] Region 3: I/O ports at e400 [size=4] Region 4: I/O ports at e080 [size=16] Capabilities: [70] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- [...] Den dmesg-Output habe ich mal unter http://www.schmu.net/dmesg-20070710.log abgelegt. Kabel habe ich auch schon gewechselt. Hat einer noch 'nen Tipp! Gruß Thomas
Teilnehmer (3)
-
hawkeye@t-harding.de
-
Jan 'RedBully' Seiffert
-
Thomas Laubrock