> > Does Linux support the "Hot Rod 66" IDE UDMA PCI controller (ABIT
> > HA66 chipset)?
> Look here:
> http://www.csie.ntu.edu.tw/~b6506063/hpt366/
Thanks. With this infromation, I now got Linux to recognize the
contoller and the harddrive (an IBM-DJNA-351520), but it still
doesn't work as I'd like it to...
To explain my problem: I've got a motherboard with an onboard IDE
controller, but it has the VIA VP2 chipset -- the only chipset the
kernel config help warns about using CONFIG_IDEDMA_AUTO on. And
indeed, when I enable DMA on that controller, heavy disk access
makes the system hang.
OTOH, I want to use my sound blaster, and heavy disk operation
without DMA enabled interrupts the sound card's DMA. This is
annoying when playing sound, and unacceptable when recording.
First, I thought that unmasking the IRQ (hdparm -u1) would help, but
it didn't change anything.
So, I thought that an add-on UDMA controller would be the
solution...
Well, without using hdparm, it seems to work mostly the same as the
onboard controller, interrupting the sound (also with -u1).
I tried -X66 -d1 and -X68 -d1 (UDMA modes 2 and 4 -- in the
controller's BIOS, UDMA 4 is selected). Both cause the DMA flag to
be reset after a short time. So I added -k1, but this made the
process that accesses the HD hang (at least not the whole system
this time ;-), while the syslog was showing messages like the
following:
Dec 14 03:51:47 goedel kernel: hde: status error: status=0x58 { DriveReady SeekComplete DataRequest }
Dec 14 03:51:47 goedel kernel: hde: drive not ready for command
Dec 14 03:51:47 goedel kernel: ide2: reset: success
Dec 14 03:51:57 goedel kernel: hde: timeout waiting for DMA
Dec 14 03:51:57 goedel kernel: hde: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
Dec 14 03:51:57 goedel kernel: ide2: reset: success
Am I doing something wrong, or is there anything else I could try?
Or is the problem of the VIA VP2 in the DMA controller rather than
the onboard IDE controller, so I can't get reliable DMA operation
with this motherboard at all? In that case, is there a way to kludge
the kernel to make a short pause after a certain amount of IDE
access, in order to give the sound card time to do its transfers?
Somewhat confused,
Frank
--
PGP and GPG keys: http://fjf.gnu.de/plan
Pascal code, BP CRT bugfix: http://fjf.gnu.de/programs.html
Free GNU Pascal Compiler: http://home.pages.de/~GNU-Pascal/