Re: DMA timeout hang with 2.2.9+

Andre M. Hedrick (hedrick@Astro.Dyer.Vanderbilt.Edu)
Fri, 25 Jun 1999 00:48:17 -0500 (CDT)


> Nitty gritty of the hardware:
> Motherboard is a SuperMicro P6DBE with two PII/300 chips. I use both
> the on-board piix4 IDE controller, and an offboard Promise Ultra33
> controller. While the crashes usually happen on hda, the only linux
> files on hda are the ftp and http documents. The IDE devices are as
> follows:
> hda: Maxtor 8.4 GB UltraATA/DMA drive (purchased August 1998)
> hdb: Panasonic 24x CD-ROM (same purchase time)
> hdc: Seagate Travan tape drive (STT-8000A, I believe)
> hdd: Sony CDU-928E CD-R
> hde: MAxtor 8.4 GB UltraATA/DMA drive (purchased January 1999)

First thing to do is restructure your hardware layout.
Second is get the latest back code patch for 2.3.x to 2.2.x.
Move thae drives to this location only after to stub out you append of all
the ide-scsi calls. Remove the one for your tape and cd also; however,
the cd-r may still require this parameter.
Recompile kernel and enable offboard option.
Make a bzdisk for general precautions, also.

Promise Ultra33
ide0/hda == hda: Maxtor 8.4 GB UltraATA/DMA drive (purchased August 1998)
ide1/hdc == hde: MAxtor 8.4 GB UltraATA/DMA drive (purchased January 1999)

PIIX4
ide2/hde == hdd: Sony CDU-928E CD-R
ide2/hdf == ??? ide-floppy??
ide3/hdg == hdb: Panasonic 24x CD-ROM (same purchase time
ide3/hdh == hdc: Seagate Travan tape drive (STT-8000A, I believe)

You will need to call "pci=reverse" to invert the pci-device scan order.
Promise card needs to be in the highest PCI slot.

Disable the PIIX4 in the beginning to allow the mainboard to boot off the
Ultra33. Once you get a boot with Promise hard-disk with hda/hdc, call
the pci=reverse via lilo+append line. Reboot and the IDE scan order will
list in reverse like this ::

PDC20246: IDE controller on PCI bus 00 dev a0
PDC20246: not 100% native mode: will probe irqs later
PDC20246: ROM enabled at 0xfebe0000
PDC20246: (U)DMA Burst Bit ENABLED Primary PCI Mode Secondary PCI Mode.
ide0: BM-DMA at 0xef80-0xef87, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xef88-0xef8f, BIOS settings: hdc:pio, hdd:pio
PIIX3: IDE controller on PCI bus 00 dev 39
PIIX3: not 100% native mode: will probe irqs later
ide2: BM-DMA at 0xffa0-0xffa7, BIOS settings: hde:pio, hdf:pio
hda: Maxtor 91303D6, ATA DISK drive
hdb: Maxtor 72004 AP, ATA DISK drive
hde: HP COLORADO 5GB, ATAPI TAPE drive
hdf: IOMEGA ZIP 100 ATAPI, ATAPI FLOPPY drive
ide0 at 0xeff0-0xeff7,0xefe6 on irq 19
ide2 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: Maxtor 91303D6, 12427MB w/512kB Cache, CHS=25249/16/63, UDMA(33)
hdb: Maxtor 72004 AP, 1916MB w/128kB Cache, CHS=3893/16/63, DMA
ide-tape: hde: overriding capabilities->speed (assuming 650KB/sec)
ide-tape: hde: overriding capabilities->max_speed (assuming 650KB/sec)
ide-tape: hde <-> ht0, 650KBps, 16*32kB buffer, 3200kB pipeline, 400ms tDSC, DMA
hdf: 98304kB, 32/64/96 CHS, 4096 kBps, 512 sector size, 2941 rpm
hdf: The drive reports both 100663296 and 0 bytes as its capacity

Will answer more questions if you consider this option.

Andre Hedrick
The Linux IDE guy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/