Здравствуйте!

Запускаю k3b и вижу табличку:

DMA disabled on device PIONEER - DVD-RW DVR-116D
With most modern CD/DVD devices enabling DMA highly increases read/write
performance. If you experience very low writing speeds this is probably
the cause.
Solution: Enable DMA temporarily as root with 'hdparm -d 1 /dev/hdd'.

Делаю, как сказано

# hdparm -d 1 /dev/hdd

/dev/hdd:
setting using_dma to 1 (on)
using_dma     =  1 (on)

Потом проверяю:

# hdparm /dev/hdd

/dev/hdd:
IO_support    =  0 (default) 
unmaskirq     =  1 (on)
using_dma     =  1 (on)
keepsettings  =  0 (off)
readonly      =  0 (off)
readahead     = 256 (on)
HDIO_GETGEO failed: Inappropriate ioctl for device

Но после перезапуска dma снова выключена:

# hdparm /dev/hdd

/dev/hdd:
IO_support    =  0 (default) 
unmaskirq     =  1 (on)
using_dma     =  0 (off)
keepsettings  =  0 (off)
readonly      =  0 (off)
readahead     = 256 (on)
HDIO_GETGEO failed: Inappropriate ioctl for device

Смотрю сообщения ядра:

# dmesg | grep hdd
[    9.586382] hdd: PIONEER DVD-RW DVR-116D, ATAPI CD/DVD-ROM drive
[    9.642397] hdd: host max PIO4 wanted PIO255(auto-tune) selected PIO4
[    9.642617] hdd: UDMA/66 mode selected
[   10.094266] hdd: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2000kB Cache
[ 2735.824435] hdd: ide_cd_check_ireason: wrong transfer direction!
[14339.462401] hdd: ide_cd_check_ireason: wrong transfer direction!
[15769.724647] hdd: DMA timeout retry
[15769.724655] hdd: timeout waiting for DMA
[15777.489715] hdd: DMA timeout retry
[15777.489722] hdd: timeout waiting for DMA
[15785.050820] hdd: DMA timeout retry
[15785.050826] hdd: timeout waiting for DMA
[15792.691199] hdd: DMA timeout retry
[15792.691207] hdd: timeout waiting for DMA
[16457.172707] hdd: UDMA/66 mode selected
[16489.584670] hdd: DMA timeout retry
[16489.584677] hdd: timeout waiting for DMA
[16563.481541] hdd: UDMA/66 mode selected
[16604.857371] hdd: DMA timeout retry
[16604.857380] hdd: timeout waiting for DMA
[16852.789064] hdd: packet command error: status=0xd0 { Busy }
[17236.095700] hdd: task_in_intr: status=0x51 { DriveReady SeekComplete
Error }
[17236.095700] hdd: task_in_intr: error=0x04 { AbortedCommand }

Помнится, было такое и с предыдущим дисководом, да возиться было
недосуг. А этот-то дисковод, что странно - новый, относительно недавно
заменил. Поддерживает mdma и udma:

# hdparm -iI /dev/hdd

/dev/hdd:

 Model=PIONEER DVD-RW DVR-116D, FwRev=1.09, SerialNo=
 Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
 RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=13395, BuffSize=64kB, MaxMultSect=0
 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
 IORDY=on/off, tPIO={min:240,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 udma3 *udma4 
 AdvancedPM=no
 Drive conforms to: unknown:  ATA/ATAPI-2,3,4,5,6,7

 * signifies the current active mode


ATAPI CD-ROM, with removable media
        Model Number:       PIONEER DVD-RW  DVR-116D                
        Serial Number:      HJDP661623WL       
        Firmware Revision:  1.09    
Standards:
        Likely used CD-ROM ATAPI-1
Configuration:
        DRQ response: 50us.
        Packet size: 12 bytes
Capabilities:
        LBA, IORDY(can be disabled)
        Buffer size: 64.0kB
        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=240ns  IORDY flow control=120ns
Commands/features:
        Enabled Supported:
           *    Power Management feature set
           *    PACKET command feature set
           *    DEVICE_RESET command
HW reset results:
        CBLID- above Vih
        Device num = 1 determined by CSEL

В чем может быть дело?

-- 
С уважением,
Алексей Мишустин
---
Требования к кандидату:
-Вниамтельность...


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Ответить