SATA Conflict with PATA DMA
I'm having problems enabling DMA for my PATA HD.
hdparm -d1 /dev/hdb reports:HDIO_SET_DMA failed: Operation not permitted
Of course, I'm super user. Nothing is printed in dmesg.
I'm on linux-2.6.16 and motherboard is Fujitsu Siemens D1561 with an ICH5. I also have a SATA hd in the computer and this only happens when the SATA hd is there. If I remove the SATA HD, then I can enable DMA for the PATA hd.
Both the SATA and the PATA are very new.
# zcat /proc/config.gz |grep -i dma CONFIG_GENERIC_ISA_DMA=y CONFIG_ISA_DMA_API=y CONFIG_BLK_DEV_IDEDMA_PCI=y # CONFIG_BLK_DEV_IDEDMA_FORCED is not set CONFIG_IDEDMA_PCI_AUTO=y # CONFIG_IDEDMA_ONLYDISK is not set CONFIG_BLK_DEV_IDEDMA=y # CONFIG_IDEDMA_IVB is not set CONFIG_IDEDMA_AUTO=y # CONFIG_SCSI_PDC_ADMA is not set
Any pointers as to what I can try?
Signature · 5 lines
Esben Stien is b0ef@e s a
http://www. s t n m
irc://irc. b - i . e/%23contact
[sip|iax]: e e
jid:b0ef@ n nQuoted 10 lines · Esben Stien
I'm having problems enabling DMA for my PATA HD.
hdparm -d1
/dev/hdbreports:HDIO_SET_DMAfailed: Operation not permittedOf course, I'm super user. Nothing is printed in dmesg.
I'm on linux-2.6.16 and motherboard is Fujitsu Siemens D1561 with an ICH5. I also have a SATA hd in the computer and this only happens when the SATA hd is there. If I remove the SATA HD, then I can enable DMA for the PATA hd.
Disabled combined mode in BIOS.
Jeff
Quoted 1 line · Jeff Garzik
Disabled combined mode in BIOS.
There is no such option in my BIOS. Does it maybe go by another name?.
Phoenix BIOS 4.06 Rev. 1.09.1561
Signature · 5 lines
Esben Stien is b0ef@e s a
http://www. s t n m
irc://irc. b - i . e/%23contact
[sip|iax]: e e
jid:b0ef@ n nQuoted 2 lines · Esben Stien
There is no such option in my BIOS. Does it maybe go by another name?.
Sorry, I see some replies where sent to this thread from MUAs' with broken headers, so I didn't catch them.
It seems it will be fixed in 2.6.17
Signature · 5 lines
Esben Stien is b0ef@e s a
http://www. s t n m
irc://irc. b - i . e/%23contact
[sip|iax]: e e
jid:b0ef@ n nQuoted 1 line · Esben Stien
It seems it will be fixed in 2.6.17
Hmm, I'm still seeing this with 2.6.17-rc6-rt3.
Signature · 5 lines
Esben Stien is b0ef@e s a
http://www. s t n m
irc://irc. b - i . e/%23contact
sip:b0ef@ e e
jid:b0ef@ n nQuoted 1 line · Esben Stien
It seems it will be fixed in 2.6.17
I ran 2.6.17-rc6-rt3 with combined_mode=libata and this worked to make the hd work at full speed, but something weird is happening:
It lists both hd's as the same device:
#df -h/dev/sda1 276G 276G 727M 100% //dev/sda1 73G 1,1G 72G 2% /mnt/fs1
#ls /
bck-sys-20051017 boot etc-2006-02-16 lib nfs root src tmp var bin dev etc-2006-02-17 media opt sbin srv udev blfs etc home mnt proc share sys usr
#ls /mnt/fs1
b0ef bacula
This must clearly be a bug.
Signature · 5 lines
Esben Stien is b0ef@e s a
http://www. s t n m
irc://irc. b - i . e/%23contact
sip:b0ef@ e e
jid:b0ef@ n nA message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 6 lines · in fa.linux.kernel you
Quoted 5 lines · Esben Stien
I'm having problems enabling DMA for my PATA HD.
hdparm -d1
/dev/hdbreports:HDIO_SET_DMAfailed: Operation not permitted
Quoted 8 lines
Quoted 6 lines
Of course, I'm super user. Nothing is printed in dmesg.
I'm on linux-2.6.16 and motherboard is Fujitsu Siemens D1561 with an ICH5. I also have a SATA hd in the computer and this only happens when the SATA hd is there. If I remove the SATA HD, then I can enable DMA for the PATA hd.
Disabled combined mode in BIOS.
If only that was possible on my fscking T43. *sigh*
Bill
Signature · 4 lines
William D Waddington [email protected] "Even bugs...are unexpected signposts on the long road of creativity..." - Ken Burtch
Quoted 9 lines · Bill Waddington
Quoted 8 lines · in fa.linux.kernel you
Quoted 7 lines · Esben Stien
I'm having problems enabling DMA for my PATA HD.
hdparm -d1
/dev/hdbreports:HDIO_SET_DMAfailed: Operation not permittedOf course, I'm super user. Nothing is printed in dmesg.
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
I'm on linux-2.6.16 and motherboard is Fujitsu Siemens D1561 with an ICH5. I also have a SATA hd in the computer and this only happens when the SATA hd is there. If I remove the SATA HD, then I can enable DMA for the PATA hd.
Disabled combined mode in BIOS.
If only that was possible on my fscking T43. *sigh*
Not sure if this is universal, but if Linux doesn't claim the PATA interface, the SATA seems to drive optical drives on (presumably) the other channel (ICH7 here, on a Dell laptop with a similar BIOS limitation).
Try CONFIG_IDE=n and boot with libata.atapi_enable=1 and see what happens...
Signature · 6 lines
Cheers, Alistair. 'No sense being pessimistic, it probably wouldn't work anyway.' Third year Computer Science undergraduate. 1F2 55 South Clerk Street, Edinburgh, UK.
Quoted 17 lines · On Sun, 16 Apr 2006 04:48:47 +0100 Alistair John Strachan wrote:
Quoted 16 lines · Bill Waddington
Quoted 14 lines · in fa.linux.kernel you
Quoted 11 lines · Esben Stien
I'm having problems enabling DMA for my PATA HD.
hdparm -d1
/dev/hdbreports:HDIO_SET_DMAfailed: Operation not permittedOf course, I'm super user. Nothing is printed in dmesg.
I'm on linux-2.6.16 and motherboard is Fujitsu Siemens D1561 with an ICH5. I also have a SATA hd in the computer and this only happens when the SATA hd is there. If I remove the SATA HD, then I can enable DMA for the PATA hd.
Disabled combined mode in BIOS.
Quoted 7 lines
Quoted 1 line
If only that was possible on my fscking T43. *sigh*
Not sure if this is universal, but if Linux doesn't claim the PATA interface, the SATA seems to drive optical drives on (presumably) the other channel (ICH7 here, on a Dell laptop with a similar BIOS limitation).
Try
CONFIG_IDE=nand boot with libata.atapi_enable=1 and see what happens...
make that libata.atapi_enabled=1
---
~Randy
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 11 lines · in fa.linux.kernel you
Quoted 7 lines · in fa.linux.kernel you
Quoted 4 lines · Esben Stien
I'm having problems enabling DMA for my PATA HD.
hdparm -d1
/dev/hdbreports:HDIO_SET_DMAfailed: Operation not permittedDisabled combined mode in BIOS.
If only that was possible on my fscking T43. *sigh*
(for others struggling with this) Per the fix reported at
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=163418
Updating my T43/FC5 to kernel 2.6.16-1.2122_FC5 and booting with "combined_mode=libata" gets the DVD drive running at speed as /dev/scd0 (although there doesn't seem to be any explicit "dma enabled" indication).
Thanks Jeff et al.
Bill
Signature · 4 lines
William D Waddington [email protected] "Even bugs...are unexpected signposts on the long road of creativity..." - Ken Burtch