Re: SATA Conflict with PATA DMA

From: Alistair John Strachan
Date: Sat Apr 15 2006 - 23:49:37 EST


On Saturday 15 April 2006 19:38, Bill Waddington wrote:
> On Sat, 15 Apr 2006 16:42:22 UTC, in fa.linux.kernel you wrote:
> >Esben Stien wrote:
> >> 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.
> >
> >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...

--
Cheers,
Alistair.

'No sense being pessimistic, it probably wouldn't work anyway.'
Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/