[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

hdparm on iBook G4



Hi,

today I read a cd with only treble speed. I run hdparm and saw it runs on
mdma2. Is this more than udma2? I tried to set the later, but since this
all accesses to the cdrom hang and never returned.

# hdparm /dev/cdrom 

/dev/cdrom:
 IO_support   =  0 (default 16-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)
 HDIO_GETGEO failed: Invalid argument
# hdparm -i /dev/cdrom 

/dev/cdrom:

 Model=MATSHITACD-RW CW-8123, FwRev=CA0T, 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=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 *mdma2 
 UDMA modes: udma0 udma1 udma2 
 AdvancedPM=no
 Drive conforms to: device does not report version: 

 * signifies the current active mode

Have anyone different configuration? How fast can you read cds?

The manpage of hdparm says about the switch -X: you'll need to prepare
the chipset for UltraDMA before setting dma mode. How to prepare the
chipset? Is this necessary?

Wheter or not I run hdparm -X udma2 /dev/cdrom, I see the above
configuration.

While we talk about hdparm: How to disable the write cache of the disk?
-W0 doesn't work.

Jörg.

-- 
Der Wille, und nicht die Gabe macht den Geber.



Reply to: