Subject: VIA chipset problems - what is recommended solution / workaround?
To: None <port-i386@netbsd.org>
From: Ingolf Steinbach <ingolf@jellonet.de>
List: port-i386
Date: 05/03/2001 21:22:18
Hi,

with the computer I bought recently (before I was aware of the VIA chipset
problems) I too get the "pciide0:0:0: lost interrupt" behaviour. See the
part from my dmesg output below.

What is the recommended solution or workaround for this? If I turn off
UDMA via the bios, everything seems to work (but of course it's unnecessary
slow). Is it possible to downgrade wd0 to an UDMA mode less than 5 via
config(8)?

TIA
    Ingolf

This is the initial part of the dmesg output. Note that I have turned off UDMA
at the moment (see the "wd0(pciide0:0:0):" line).

NetBSD 1.5.1_BETA (HELIOS) #0: Wed May  2 17:30:29 CEST 2001
    ingolf@helios:/usr/obj/sys/arch/i386/compile/HELIOS
cpu0: AMD Duron (686-class), 797.34 MHz
total memory = 255 MB
avail memory = 233 MB
using 3296 buffers containing 13184 KB of memory
BIOS32 rev. 0 found at 0xfb350
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: VIA Technologies product 0x0305 (rev. 0x03)
ppb0 at pci0 dev 1 function 0: VIA Technologies product 0x8305 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 0 function 0: ATI Technologies product 0x5046 (rev. 0x00)
wsdisplay0 at vga0: console (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0
pcib0: VIA Technologies VT82C686A (Apollo KX133) PCI-ISA Bridge (rev. 0x40) 
pciide0 at pci0 dev 7 function 1: VIA Tech VT82C586A IDE Controller (rev. 
0x06)
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
wd0 at pciide0 channel 0 drive 0: <ST320413A>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 19092 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 39102336 
sectorswd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
pciide0: secondary channel configured to compatibility mode
atapibus0 at pciide0 channel 1
cd0 at atapibus0 drive 0: <LG      CD-ROM CRD-8521B, , 1.02> type 5 cdrom 
removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
cd1 at atapibus0 drive 1: <LG CD-RW CED-8080B, 2000/07/27, 1.06> type 5 cdrom 
removable
cd1: 32-bit data port
cd1: drive supports PIO mode 4, DMA mode 2
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
cd1(pciide0:1:1): using PIO mode 4, DMA mode 2 (using DMA data transfers)