Home | Bug Tracker | Wiki | Mailing Lists | Forums    
   Username:  Password:  Signup
   
   Main Menu
· Home
· Search
· Site Stats
   Donate to Parsix
Help us to move faster and make a better system for you. Donations are highly appreciated.

Donations Sum: $ 400,00
   Search
   Download
· SF.Net Mirrors
   Bug Report
Help us to fix problems and defects. Please report bugs here.
   Online Users
Admin
No Online Admins
Members:Online
Members:Members:0
Guests:Guests:14
Total:Total:14
Online Members
No online members
   Sponsored Links



Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
mandog
Post subject: DMA  PostPosted: Feb 24, 2008 - 07:22 AM
Forum Moderator
Forum Moderator


Joined: Jan 25, 2008
Posts: 213
Location: UK
Can you please tell me how-to check if DMA is Switched on in Parsix. If I use
root@desktop:/home/kelvin# sudo hdparm -X -d1 --verbose /dev/sda

/dev/sda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Inappropriate ioctl for device
setting xfermode to 0 (default PIO mode)
outgoing cdb: 85 06 20 00 03 00 00 00 00 00 00 00 00 40 ef 00
SG_IO: ATA_16 status=0x2, host_status=0x0, driver_status=0x8
SG_IO: bad/missing ATA_16 sense data:: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
HDIO_DRIVE_CMD(setxfermode) failed: Input/output error
root@desktop:/home/kelvin#
If I use this

root@desktop:/home/kelvin# sudo hdparm -tT /dev/sda

/dev/sda:
Timing cached reads: 994 MB in 2.00 seconds = 496.67 MB/sec
Timing buffered disk reads: 142 MB in 3.01 seconds = 47.17 MB/sec
root@desktop:/home/kelvin#

If I use this

root@desktop:/home/kelvin# sudo hdparm -i /dev/sda

/dev/sda:

Model=WDC WD1200JB-00DUA3 , FwRev=75.13B75, SerialNo=WD-WMACM1762675
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=74
BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=?16?
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=234441648
IORDY=on/off, tPIO={min:120,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: Unspecified: ATA/ATAPI-1,2,3,4,5,6

* signifies the current active mode

root@desktop:/home/kelvin#

Finally this

root@desktop:/home/kelvin# dmesg |grep ata
BIOS-e820: 000000007fff3000 - 0000000080000000 (ACPI data)
Memory: 2067772k/2097088k available (2247k kernel code, 28056k reserved, 798k data, 252k init, 1179584k highmem)
.data : 0xc0431e36 - 0xc04f96e4 ( 798 kB)
libata version 2.21 loaded.
pata_amd 0000:00:09.0: version 0.3.9
scsi0 : pata_amd
scsi1 : pata_amd
ata1: PATA max UDMA/133 cmd 0x000101f0 ctl 0x000103f6 bmdma 0x0001f000 irq 14
ata2: PATA max UDMA/133 cmd 0x00010170 ctl 0x00010376 bmdma 0x0001f008 irq 15
ata1.00: ATA-6: WDC WD1200JB-00DUA3, 75.13B75, max UDMA/100
ata1.00: 234441648 sectors, multi 16: LBA48
ata1.01: ATA-7: WDC WD2500JB-55REA0, 20.00K20, max UDMA/100
ata1.01: 488397168 sectors, multi 16: LBA48
ata1.00: configured for UDMA/100
ata1.01: configured for UDMA/100
ata2.00: ATAPI: DVDR PX-750A, 1.03, max UDMA/66
ata2.01: ATAPI: LITE-ON DVD SOHD-16P9SV, F$02, max UDMA/33
ata2.00: configured for UDMA/66
ata2.01: configured for UDMA/33
root@desktop:/home/kelvin#

I'm pretty sure it is but their must be a better way to check I use ata Not Sata hdrives I think this is where the confusion is Ubuntu lists the disks as /dev/hda parsix and most others /dev/sda. the first test in Ubuntu says DMA on the next 2 are similar, but will not perform dmesg |grep ata
 
 View user's profile Send private message Send e-mail ICQ Number 
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 3.5 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Copyright© 2005-2007 Parsix Project
Contact: webmaster AT parsix DOT org