on my media box i moved from Debian to CentOS 4 for several reasons, but once again i am plagued with the lack of DMA on that system. it seems that even more modern distros do not like the chipset on that motherboard.
it has some kind of intel (want to say 810, but not 100%, thus this thread) chipset and i need some help with a few things.
1. how do i get the information to help you help me.
2. once i have that information, how do i modify the kernel so that it will load the proper module so i can gain access to the DMA again.
Code:
uname -a
Linux media.ssmahome.local 2.6.9-22.0.1.EL #1 Thu Oct 27 12:26:11 CDT 2005 i686athlon i386 GNU/Linux
Code:
cat /proc/ide/hda/settings
name value min max mode
---- ----- --- --- ----
acoustic 0 0 254 rw
address 0 0 2 rw
bios_cyl 65535 0 65535 rw
bios_head 16 0 255 rw
bios_sect 63 0 63 rw
bswap 0 0 1 r
current_speed 69 0 70 rw
failures 0 0 65535 rw
init_speed 69 0 70 rw
io_32bit 0 0 3 rw
keepsettings 0 0 1 rw
lun 0 0 7 rw
max_failures 1 0 65535 rw
multcount 16 0 16 rw
nice1 1 0 1 rw
nowerr 0 0 1 rw
number 0 0 3 rw
pio_mode write-only 0 255 w
unmaskirq 0 0 1 rw
using_dma 1 0 1 rw
wcache 1 0 1 rw
Code:
hdparm -i /dev/hda
/dev/hda:
Model=WDC WD400BB-00AUA1, FwRev=18.20D18, SerialNo=WD-WMA6R1975528
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=40
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=78165360
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: device does not report version:
* signifies the current active mode
what i really need the DMA for is the DVD player:
Code:
hdparm -d1 /media/cdrom
/media/cdrom:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Inappropriate ioctl for device
[root@media ~]# hdparm -d1 /media/cdrom1
/media/cdrom1:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Inappropriate ioctl for device
at this point neither of laser drives have any media in them so do not know if that will matter or not, but i really could use DMA to just run on them both so i can get the performance from them.
many thanks.