PIIX4 problem

From: Holger Lubitz (holger@lubitz.org)
Date: Tue Oct 01 2002 - 07:03:51 EST


Hi,

I have the following weird problem with a BX-based Board (Asus P3B-F, P3
500 MHz (Katmai) Intel BX with PIIX4, latest BIOS 1008-004):

Kernel 2.2 (Debian Woody) works.
Kernel 2.4 (Redhat 7.3, 8.0) doesn't work.
Selfcompiled 2.4.19, 2.4.20-pre8: only work if I do _not_ compile PIIX4
support in.

dmesg on successful boot with selfcompiled 2.4.20-pre8 without PIIX support:

Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller on PCI bus 00 dev 21
PIIX4: detected chipset, but driver not compiled in!
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
     ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:DMA, hdb:DMA
     ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:pio, hdd:pio
hda: MAXTOR 6L040J2, ATA DISK drive
hdb: LTN526, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
blk: queue c02d69e4, I/O limit 4095Mb (mask 0xffffffff)
hda: 78177792 sectors (40027 MB) w/1819KiB Cache, CHS=4866/255/63, (U)DMA
hdb: ATAPI 52X CD-ROM drive, 120kB Cache
Uniform CD-ROM driver Revision: 3.12
Partition check:
  hda: hda1 hda2 hda3 < hda5 hda6 hda7 hda8 >

Apart from the warning about the driver not being compiled in everything
runs fine. hdparm -I even tells me that both drives are running in UDMA
mode.

This is the dmesg output for an unsuccessful boot with RedHat 8.0
(written down by hand, excuse the errors). Unsuccessful boots with
selfcompiled kernels with PIIX support look nearly identical except for
the blk: lines.

Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller on PCI bus 00 dev 21
PIIX4: detected chipset, but driver not compiled in!
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
     ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:DMA, hdb:DMA
     ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:pio, hdd:pio
hda: MAXTOR 6L040J2, ATA DISK drive
hdb: LTN526, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
blk: queue c02e7ce4, I/O limit 4095Mb (mask 0xffffffff)
hda: set_drive_speed_status: status = 0xff { Busy }
blk: queue c02e7ce4, I/O limit 4095Mb (mask 0xffffffff)
hda: status timeout
hda: drive not ready for command
hda: 78177792 sectors (40027 MB) w/1819KiB Cache, CHS=4866/255/63, (U)DMA
hda: status timeout: status = 0xff { Busy }
hda: drive not ready for command
hdb: status timeout: status = 0xff { Busy }
hdb: drive not ready for command
hdb: ATAPI reset timed-out, status: 0xff
hda: DMA disabled
ide0: reset timed-out, status = 0xff
hdb: status timeout: status = 0xff { Busy }
hdb: drive not ready for command
hdb: ATAPI reset timed-out, status = 0xff
ide0: reset timed-out, status = 0xff
end_request: I/O-error dev 0b:40 (hdb) sector 0
hdb: ATAPI CD-ROM drive, 0kB Cache

I tried all combinations of nodma,notune,noautotune (is it notune or
noautotune? conflicting documentation there...) for both ide0 and ide1
and even for individual drives (hdb=nodma etc.), the kernel ignored me.
Even disabling DMA in the BIOS still gave me

PIIX4: not 100% native mode: will probe irqs later
     ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:DMA, hdb:DMA
     ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:pio, hdd:pio

Again - the strange thing is that it works just fine if I leave out
PIIX4 support and select only generic PCI busmaster DMA support.
However, I cannot use distribution kernels which have PIIX compiled in.

Is there a boot option to disable PIIX support?

Thanks for any help,
Holger

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



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:00:25 EST