PIIX4 problem

PIIX4 problem

Post by Holger Lubit » Wed, 02 Oct 2002 17:00:40



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

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

PIIX4 problem

Post by Holger Lubit » Wed, 02 Oct 2002 17:00:56


sorry, first dmesg output was from a boot with dma disabled in the bios.
drives are set to mdma2 (disk) and mdma0 (cd) in this case. with udma
enabled in the bios the output is

hda: 78177792 sectors (40027 MB) w/1819KiB Cache, CHS=4866/255/63, UDMA(33)
hdb: ATAPI 52X CD-ROM drive, 120kB Cache, UDMA(33)

and the non working output had this as a copy and paste error. in fact,
the kernel with piix support _always_ detects the disk as UDMA(33)
regardless of what I try to disable DMA (bootparameters, bios) and then
the errors follow.

Holger

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. [2.5.63] New IDE changes cause data corruption on PIIX4 AND additional problems

Booting 2.5.63 I ran into several problems:

1. With full kernel debugging on, sleeping contexts loop forever, Adam Belay
has a fix that worked for me - Still testing

2. When booting over serial console if i get a buffer overrun error, I loose
total access to the machine. I can't ssh in or use direct console. This did
not happen in .62.

3. Data corruption with PIIX4:  While vi'ing /etc/lilo.conf exiting, then
vi'ing /etc/inittab saving a change. I ran init q. The moment I ran it i got
a strange panic from bash and a *__timers function. When I rebooted inittab
was corrupt and oddly /etc/inittab became lilo.conf! (it had the same
contents, acrossed inode somehow?).

/me looks at Alan with evil eyes IDE was working so well ;-(

--
Shawn Starr
UNIX Systems Administrator, Operations
Datawire Communication Networks Inc.
10 Carlson Court, Suite 300
Toronto, ON, M9W 6L2
T: 416-213-2001 ext 179  F: 416-213-2008

"The power to Transact" - http://www.datawire.net

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. wampes-921019.tar.Z on ucsd.edu

3. PROBLEM: Kernel 2.4.18 PCI PIIX4 resource collisions with E7500 chipset

4. Burning Cds

5. 2.4.2-ac16 PIIX4 ACPI getting wrong IRQ?

6. Great Opportunities for Sr. Security Specialists in Toronto, Canada

7. UDMA 100 / PIIX4 question

8. ATI Rage Mobility 128 ?

9. PIIX4 not in native mode

10. PIIX4 IDE still broken in pre7-ac2

11. PIIX4: IDE trouble

12. 32-bit DMA addressability with Intel PIIX4 ?

13. es1869 onboard PIIX4 >> SB Live!