Disabling DMA on ide1

Marco Colombo (marco@esiway.net)
Mon, 17 Feb 1997 13:45:15 +0100 (MET)


Hi!
I've got a little problem with my linux box.
It seems that i can't get DMA to work correctly
with the second ide controller (both are integrated).

I've tried and played al little with my BIOS setup, but the behaviour
is the same.

The same FIREBALL, alone on the first controller, used to work
very well (and fast). The problem showed up when i bought the 2 new disks;
upgrading to 2.0.27 changed nothing.

Should i upgrade to 2.0.29 or some 2.1.xx?

Thank you in advance.

BTW, the disk seems to work properly, no fsck problems, it's just much
slower. Removing the CDROM from the ide bus doesn't help.

Here is a piece of my syslog (i'll provide more info on my configuration
if needed, of course; i just don't have papers and boxed handy right now):

Feb 5 11:45:36 Gandalf kernel: Console: 16 point font, 400 scans
Feb 5 11:45:36 Gandalf kernel: Console: colour VGA+ 80x25, 1 virtual console (max 63)
Feb 5 11:45:36 Gandalf kernel: pcibios_init : BIOS32 Service Directory structure at 0x000fabe0
Feb 5 11:45:36 Gandalf kernel: pcibios_init : BIOS32 Service Directory entry at 0xfb0a0
Feb 5 11:45:36 Gandalf kernel: pcibios_init : PCI BIOS revision 2.10 entry at 0xfb0d0
Feb 5 11:45:36 Gandalf kernel: Probing PCI hardware.
Feb 5 11:45:36 Gandalf kernel: Calibrating delay loop.. ok - 200.29 BogoMIPS
Feb 5 11:45:36 Gandalf kernel: Memory: 30976k/32768k available (620k kernel code, 384k reserved, 788k data)
Feb 5 11:45:36 Gandalf kernel: Swansea University Computer Society TCP/IP for NET3.034
Feb 5 11:45:36 Gandalf kernel: IP Protocols: IGMP, ICMP, UDP, TCP
Feb 5 11:45:36 Gandalf kernel: Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Feb 5 11:45:36 Gandalf kernel: Checking 'hlt' instruction... Ok.
Feb 5 11:45:36 Gandalf kernel: Linux version 2.0.27 (root@Gandalf) (gcc version 2.7.2) #23 Wed Dec 4 17:30:28 MET 1996
Feb 5 11:45:36 Gandalf kernel: Real Time Clock Driver v1.07
Feb 5 11:45:36 Gandalf kernel: ide: i82371 PIIX (Triton) on PCI bus 0 function 57
Feb 5 11:45:36 Gandalf kernel: ide0: BM-DMA at 0x3000-0x3007
Feb 5 11:45:36 Gandalf kernel: ide1: BM-DMA at 0x3008-0x300f
Feb 5 11:45:36 Gandalf kernel: hda: QUANTUM SIROCCO1700A, 1628MB w/75kB Cache, LBA, CHS=827/64/63, DMA
Feb 5 11:45:36 Gandalf kernel: hdb: Maxtor 72577 AP, 2458MB w/128kB Cache, LBA, CHS=624/128/63, DMA
Feb 5 11:45:36 Gandalf kernel: hdc: QUANTUM FIREBALL1280A, 1222MB w/83kB Cache, LBA, CHS=2484/16/63, DMA
Feb 5 11:45:36 Gandalf kernel: hdd: GCD-R540C, ATAPI CDROM drive
Feb 5 11:45:36 Gandalf kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Feb 5 11:45:36 Gandalf kernel: ide1 at 0x170-0x177,0x376 on irq 15
Feb 5 11:45:36 Gandalf kernel: Started kswapd v 1.4.2.2
Feb 5 11:45:36 Gandalf kernel: md driver 0.35 MAX_MD_DEV=4, MAX_REAL=8
Feb 5 11:45:36 Gandalf kernel: eth0: 3c509 at 0x300 tag 1, BNC port, address 00 a0 24 5f 2f 1f, IRQ 10.
Feb 5 11:45:36 Gandalf kernel: 3c509.c:1.07 6/15/95 becker@cesdis.gsfc.nasa.gov
Feb 5 11:45:36 Gandalf kernel: Partition check:
Feb 5 11:45:36 Gandalf kernel: hda: hda1 < hda5 hda6 hda7 hda8 hda9 >
Feb 5 11:45:36 Gandalf kernel: hdb: hdb1
Feb 5 11:45:36 Gandalf kernel: hdc:hdc: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
Feb 5 11:45:36 Gandalf kernel: hdc: disabled DMA
Feb 5 11:45:36 Gandalf kernel: ide1: reset: success
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Feb 5 11:45:36 Gandalf kernel: hdc1 hdc2 < hdc5 hdc6 hdc7 hdc8 hdc9 > hdc3 hdc4
Feb 5 11:45:36 Gandalf kernel: VFS: Mounted root (ext2 filesystem) readonly.
Feb 5 11:45:36 Gandalf kernel: Adding Swap: 100764k swap-space
Feb 5 11:45:36 Gandalf kernel: eth0: Setting Rx mode to 1 addresses.

-- 
      ____/  ____/   /
     /      /       /			Marco Colombo
    ___/  ___  /   /		      Technical Manager
   /          /   /			E.S.I. s.r.l.
 _____/ _____/  _/		       Colombo@ESI.it