hard disk DMA not enabled on newly built kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi, folks:
I've just built a kernel from vanilla linux-2.6.26.3 source code, with no third-party patches.
But according to hdparm, the DMA mode of my hard disk is disabled. And when I tried to enable DMA for the hard disk with hdparm, I got a "Operation not permitted" error. And hdparm benchmark data for the hard disk is quite low, "Timing buffered disk reads" only 2~3 MB/s (normally, it should be 25~30 MB/s).

I noticed that in dmesg output, there are warning messages like:
pata_via 0000:00:0f.1: no available native port
pata_acpi 0000:00:0f.1: no available native port
I found a post in LKML archive http://lkml.org/lkml/2007/8/24/381 saying that this is a bug in IDE legacy mode code. So is it possible to circumvent this problem in my kernel config? Currently I compile all device drivers into the kernel binary rather than separate modules.

The IDE interface is
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
as appeared in the lspci listing.

Thanks!
--
宋浩
Song, Hao
Institute for Theoretical Computer Science
Tsinghua University, Beijing, P.R.China

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux