On Sun, 01 Dec 2002 17:05, Randy Kramer wrote:
> On Saturday 30 November 2002 05:18 pm, Anne Wilson wrote:
> > On Saturday 30 Nov 2002 9:00 pm, Randy Kramer wrote:
> > > hdparm will let you set a slower speed for the cdrom.  See
> > > http://twiki.org/cgi-bin/view/Wikilearn/Hdparm.
> > >
> > > Unfortunately, hdparm did not seem to be installed "by default" in
> > > my Mandrake 8.2 or 9.0 installations, but I'm assuming it's
> > > available somewhere on the installation CDRoms (or from somewhere
> > > else).
> >
> > It's on both sets.
>
> Thanks!
>
> Randy Kramer
>
> > Anne

After installing and a run through "man hdparm" i used it to display current 
settings. Looks like DMA is enabled and UDMA2 is set (see below). My 
experimenting with the speed setting "hdparm -E8 /dev/hdb" did not alter the 
initial CD recognition phase at all. Still having to eject then remount the 
disk a random number of times before it is recognised. Once recognised it 
will read anything from the disk as long as the drive motor spins.

My next question is where too from here? If i turn off DMA (it can be done in 
BIOS) do i also have to set the UDMA setting to something else? Any other 
suggestions short of a replacement drive? Any and all help accepted if i 
havent allienated all those that tried last week.

To show that i haven't been totally sitting on my tod on this task.
http://linux-sxs.org/hdptune.html
http://www.zepa.net/hypermail/elug/hardware/2001/04/0008.html
http://www.mail-archive.com/[email protected]/msg105402.html
Thus my poor NEWBIE brain is mush and this made to go Linux box still doesn't.

The following were obtained while the inserted disk was recognised. 
Apparently the -tT test should be done in single user mode with as few 
processes as possible running (not in init5 with KDE running as done here)
------------------
[root@localhost admin]# hdparm -v /dev/hdb

/dev/hdb:
 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    =  8 (on)
 HDIO_GETGEO failed: Invalid argument
[root@localhost admin]# hdparm -Tt /dev/hdb

/dev/hdb:
 Timing buffer-cache reads:   128 MB in  1.18 seconds =108.47 MB/sec
 Timing buffered disk reads:  64 MB in 22.21 seconds =  2.88 MB/sec
[root@localhost admin]# hdparm -i /dev/hdb

/dev/hdb:

 Model=ATAPI CDROM, FwRev=V14AM, 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:150}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 *udma2
 AdvancedPM=no

[root@localhost admin]# hdparm -I /dev/hdb

/dev/hdb:

ATAPI CD-ROM, with removable media
        Model Number:       ATAPI CDROM
        Serial Number:
        Firmware Revision:  V14AM
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=150ns
        PIO: pio0 pio1 pio2 pio3 pio4
             Cycle time: no flow control=227ns  IORDY flow control=120ns

-- 
Michael

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to