Hi,

I'm using Intel Server Board SE7520BD2S with 3 disks, 2xSATA WDC WD1200JD-00H (sda & sdb) and 1xATA133 Seagate ST3120026A (hda). SATA disks seem to work fine (though they show some warnings during tests), but I can't enable DMA on /dev/hda.


foobar ~ # hdparm -d1 /dev/hda

/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma    =  0 (off)


I know its common problem with motherbord drivers in kernel, but I can't find anything what would seem to fit here.
I have CONFIG_BLK_DEV_PIIX compiled in with some other casual options.
I tried some other options too, but nothing helped.
'Intel(R) Technical Support' blow me off since they don't support Gentoo ;> (waste of time) All disks belongs to an software RAID5 array, so the slow hda lowers overall efficiency very much:


foobar ~ # hdparm -tT /dev/hda

/dev/hda:
 Timing cached reads:   2908 MB in  2.00 seconds = 1452.04 MB/sec
 Timing buffered disk reads:   12 MB in  3.53 seconds =   3.40 MB/sec

foobar ~ # hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   2976 MB in  2.00 seconds = 1486.74 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
 Timing buffered disk reads:  164 MB in  3.03 seconds =  54.15 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device

foobar ~ # hdparm -tT /dev/sdb

/dev/sdb:
 Timing cached reads:   2948 MB in  2.00 seconds = 1472.75 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
 Timing buffered disk reads:  164 MB in  3.00 seconds =  54.60 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device

foobar ~ # hdparm -tT /dev/md0

/dev/md0:
 Timing cached reads:   2936 MB in  2.00 seconds = 1468.22 MB/sec
 Timing buffered disk reads:   12 MB in  3.45 seconds =   3.48 MB/sec


Maybe someone knows what HDIO_DRIVE_CMD means?
Maybe this will be usefull...

foobar ~ # lspci | grep IDE
0000:00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)


I'll be very greatfull for any help.

--
Jaroslaw Kapica
--
gentoo-user@gentoo.org mailing list

Reply via email to