lsh0211 发表于 2008-9-20 11:35:56

硬盘 dma打不开怎么办?

我这边有一台机器,p4 双核(32bit) 2.6GHz
芯片使用的是intelich5,由于硬盘的dma打不开,速度很慢,使用 hdparm -t /dev/hdb 测试速度才 5M左右!

使用下面命令
hdparm -d1 /dev/hdb
出现错误:
/dev/hdb:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma   =0 (off)

使用 lspci 显示如下:
lspci

00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
01:02.0 Ethernet controller: VIA Technologies, Inc. VT6105

12543122 发表于 2008-9-20 23:59:46

SATA硬盘? 你的sata驱动有问题

PS:sata本来就打不开DMA

jiangtao9999 发表于 2008-9-21 00:37:00

硬盘接口识别有问题?
SATA 硬盘应该是 /dev/sdax 方式。

lsh0211 发表于 2008-9-26 18:02:34

是ide硬盘啊!
不是sata的
页: [1]
查看完整版本: 硬盘 dma打不开怎么办?