On Thursday 22 Jan 2004 04:05, Mark Knecht wrote:
> QUESTION: how do I test these devices (cdrw and dvdr drives) to
> ensure DMA is still enabled? I cannot figure out yet what parameters
> to give hdparm -I /dev/WHAT?
>
> Wizard root # hdparm -I /dev/cdroms/cdrom0
> /dev/cdroms/cdrom0 not supported by hdparm

If you're using ide-scsi those devices are not supported by hdparm.  
(Someone tell me if I'm wrong).

Since moving over to ATAPI yesterday I get:

# hdparm -I /dev/cdroms/cdrom0

/dev/cdroms/cdrom0:

ATAPI CD-ROM, with removable media
        Model Number:       PIONEER DVD-RW  DVR-105
        Serial Number:      CEDC434146WL
        Firmware Revision:  1.30
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
             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:
           *    DEVICE RESET cmd
           *    PACKET command feature set
           *    Power Management feature set
HW reset results:
        CBLID- below Vih
        Device num = 1 determined by the jumper

# hdparm  /dev/cdroms/cdrom0

/dev/cdroms/cdrom0:
 HDIO_GET_MULTCOUNT failed: Invalid argument
 IO_support   =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  1 (on)
 readahead    = 256 (on)
 HDIO_GETGEO failed: Invalid argument

Peter
-- 
======================================================================
Gentoo Linux: Portage 2.0.49-r20        kernel-2.6.1-gentoo-w4l
i686 AMD Athlon(tm) XP 3200+    KDE: 3.1.5 Qt: 3.2.3 gcc(GCC): 3.2.3
======================================================================


--
[EMAIL PROTECTED] mailing list

Reply via email to