LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   HDDs DMA modes (https://www.linuxquestions.org/questions/linux-hardware-18/hdds-dma-modes-64067/)

Radicalm16 06-06-2003 03:50 PM

HDDs DMA modes
 
The system log says this:
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:DMA

So, I could say that my disks are using a DMA mode (at least I guess so), now how can i find out which mode is using each disk???

I read the ide.txt text file which comes with the kernel documentation, but certainly ,i couldn't find which "idebus" value i gotta use to set my disks to the appropiate ATA mode.

System:
MSI K7T Pro-2 266MHz (Chipset VIA)
ide0
Seagate Barracuda II 30 Gb UATA 100 (Master)
Maxtor DiamonMax 20 VL 10Gb UATA 66 (Slave)
ide1
Pionner 16X DVD (Master)
Plextor 12/10/32A (Slave)


Radicalm16.

Radicalm16 06-06-2003 03:51 PM

the grinning face (:D) means ': D'

Aussie 06-06-2003 07:50 PM

The command "hdparm -i /dev/hda" (as root) will display what DMA mode your primary master device is using, eg;
Code:

bern@grendel bern$ su -c 'hdparm -i /dev/hda'
Password:

/dev/hda:

 Model=ST380021A, FwRev=3.19, SerialNo=3HV4050F
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=unknown, BuffSize=2048kB, MaxMultSect=16, MultSect=1
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=156301488
 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 *udma5
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: device does not report version:  1 2 3 4 5

The * in *udma5 means that my drive is using ATA100, do "man hdparm" for all the options.

PS: You can disable smilies by checking the "Disable Smilies in This Post" box in the "Options:" section of the reply page.

Radicalm16 06-06-2003 08:13 PM

Thnx for both tips.

Aussie 06-06-2003 08:34 PM

Your welcome :-)


All times are GMT -5. The time now is 02:10 AM.