Gentoo Archives: gentoo-user

From: "Jarosław Kapica" <jaroslawkapica@××.pl>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Enabling DMA on SE7520BD2S
Date: Mon, 12 Sep 2005 14:46:18
Message-Id: 432592FB.5010305@o2.pl
1 Hi,
2
3 I'm using Intel Server Board SE7520BD2S with 3 disks, 2xSATA WDC
4 WD1200JD-00H (sda & sdb) and 1xATA133 Seagate ST3120026A (hda).
5 SATA disks seem to work fine (though they show some warnings during
6 tests), but I can't enable DMA on /dev/hda.
7
8
9 foobar ~ # hdparm -d1 /dev/hda
10
11 /dev/hda:
12 setting using_dma to 1 (on)
13 HDIO_SET_DMA failed: Operation not permitted
14 using_dma = 0 (off)
15
16
17 I know its common problem with motherbord drivers in kernel, but I can't
18 find anything what would seem to fit here.
19 I have CONFIG_BLK_DEV_PIIX compiled in with some other casual options.
20 I tried some other options too, but nothing helped.
21 'Intel(R) Technical Support' blow me off since they don't support Gentoo
22 ;> (waste of time)
23 All disks belongs to an software RAID5 array, so the slow hda lowers
24 overall efficiency very much:
25
26
27 foobar ~ # hdparm -tT /dev/hda
28
29 /dev/hda:
30 Timing cached reads: 2908 MB in 2.00 seconds = 1452.04 MB/sec
31 Timing buffered disk reads: 12 MB in 3.53 seconds = 3.40 MB/sec
32
33 foobar ~ # hdparm -tT /dev/sda
34
35 /dev/sda:
36 Timing cached reads: 2976 MB in 2.00 seconds = 1486.74 MB/sec
37 HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate
38 ioctl for device
39 Timing buffered disk reads: 164 MB in 3.03 seconds = 54.15 MB/sec
40 HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate
41 ioctl for device
42
43 foobar ~ # hdparm -tT /dev/sdb
44
45 /dev/sdb:
46 Timing cached reads: 2948 MB in 2.00 seconds = 1472.75 MB/sec
47 HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate
48 ioctl for device
49 Timing buffered disk reads: 164 MB in 3.00 seconds = 54.60 MB/sec
50 HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate
51 ioctl for device
52
53 foobar ~ # hdparm -tT /dev/md0
54
55 /dev/md0:
56 Timing cached reads: 2936 MB in 2.00 seconds = 1468.22 MB/sec
57 Timing buffered disk reads: 12 MB in 3.45 seconds = 3.48 MB/sec
58
59
60 Maybe someone knows what HDIO_DRIVE_CMD means?
61 Maybe this will be usefull...
62
63 foobar ~ # lspci | grep IDE
64 0000:00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA
65 Controller (rev 02)
66
67
68 I'll be very greatfull for any help.
69
70 --
71 Jaroslaw Kapica
72 --
73 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Enabling DMA on SE7520BD2S maxim wexler <blissfix@×××××.com>