Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#14821 - [kernel26] DMA not working

Attached to Project: Arch Linux
Opened by Gajo Petrovic (gajop) - Monday, 25 May 2009, 10:49 GMT
Last edited by Roman Kyrylych (Romashka) - Sunday, 26 July 2009, 17:30 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
DMA doesn't seem to work on my hard disk.
I've got a PATA 200GB disk, DMA isn't set by default and it can't be set by the "/sbin/hdparm -d1 /dev/sda" command.

Additional info:
* package version(s) :
kernel26 2.6.29.4-1
* config and/or log files etc.
output of :
/sbin/hdparm -d1 /dev/sda

/dev/sda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Inappropriate ioctl for device
HDIO_GET_DMA failed: Inappropriate ioctl for device

output of :
/sbin/hdparm /dev/sda

/dev/sda:
multcount = 0 (off)
IO_support = 0 (default)
readonly = 0 (off)
readahead = 256 (on)
geometry = 24321/255/63, sectors = 390721968, start = 0

I'm using a P965 Neo motherboard, I've previously had some problems with it (http://bbs.archlinux.org/viewtopic.php?id=47039) and this disk, but that has been solved upstream. I'm guessing DMA issue hasn't been (it has been here for as long as I've been using linux at least, 2 years or so).
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Sunday, 26 July 2009, 17:30 GMT
Reason for closing:  Not a bug
Additional comments about closing:  No responses in 3 months.
Assuming the situation is as described in Thomas' comment.
Please report to upstream if the problem persist with the recent kernel/hdparm.
Comment by Gajo Petrovic (gajop) - Monday, 25 May 2009, 10:52 GMT
dmesg output
   out (29.9 KiB)
Comment by Thomas Bächler (brain0) - Thursday, 28 May 2009, 07:06 GMT
From dmesg it appears that DMA is actually enabled.

It seems that there is simply no DMA option exported to hdparm - probably because you cannot disable it and it is always enabled. Note, I also get the same error message, although this is an SATA disk. I am going for "Not a bug" here.

Loading...