Subject: Re: Athlon + VIA (was: Re: gzip: stdin: invalid compressed data--crc error)
To: None <port-i386@netbsd.org>
From: Douglas Brebner <douglas+list@fang.demon.co.uk>
List: port-i386
Date: 05/08/2001 16:53:21
On Monday 07 May 2001 09:16, you wrote:
> On Mon, May 07, 2001 at 01:54:36AM -0400, Thor Lancelot Simon wrote:
> > This leaves me wondering if the actual bug that's corrupting data
> > here is not in the IDE controller at all, but perhaps in VIA's
> > north bridge (memory controller, &c.).  Has anyone else had problems
> > with a motherboard with a 686B but an AMD or other (e.g. Samsung)
> > north bridge on it?
>
> The problem is (as far as it has been diagnosed) in PCI DMA, not
> in the IDE part of the chip. It's just that the IDE controller
> is the most likely candidate to do busmastering DMA in the
> most usual system configurations.

I'm pretty sure it is in PCI DMA. I had exactly the same errors with my  
Triones/Highpoint HPT366/370 controller as with the built in one.

> Also, some motherboards seem to exhibit the problem, while others
> are very stable. I do not think that it's only the 686B, this is
> just the revision that has been widely publicized lately. I have
> seen reports of problems (like system lockups when trying to use
> a tv card) on earlier revisions of the chipset.

My FIC PA-2013 board showed problems with the 586 south bridge.


Aug 26 02:04:02 aoife /netbsd: NetBSD 1.5_ALPHA2 (AOIFE.1.5) #0: Mon Aug 21 
18:51:32 BST 2000
Aug 26 02:04:02 aoife /netbsd:     
douglas@aoife.home:/home/eros/1.5/usr/src/sys/arch/i386/compile/AOIFE.1.5
Aug 26 02:04:02 aoife /netbsd: cpu0: AMD K6-2 (586-class)
Aug 26 02:04:02 aoife /netbsd: total memory = 191 MB
Aug 26 02:04:02 aoife /netbsd: avail memory = 174 MB
Aug 26 02:04:02 aoife /netbsd: using 2477 buffers containing 9908 KB of memory
Aug 26 02:04:02 aoife /netbsd: BIOS32 rev. 0 found at 0xfb460
Aug 26 02:04:03 aoife /netbsd: mainbus0 (root)
Aug 26 02:04:03 aoife /netbsd: pci0 at mainbus0 bus 0: configuration mode 1
Aug 26 02:04:03 aoife /netbsd: pci0: i/o space, memory space enabled
Aug 26 02:04:03 aoife /netbsd: pchb0 at pci0 dev 0 function 0
Aug 26 02:04:03 aoife /netbsd: pchb0: VIA Technologies VT82C597 (Apollo VP3) 
Host-PCI Bridge (rev. 0x04)
Aug 26 02:04:03 aoife /netbsd: ppb0 at pci0 dev 1 function 0: VIA 
Technologies VT82C598 (Apollo MVP3) PCI-AGP (rev. 0x00)
Aug 26 02:04:03 aoife /netbsd: pci1 at ppb0 bus 1
Aug 26 02:04:03 aoife /netbsd: pci1: i/o space, memory space enabled
Aug 26 02:04:03 aoife /netbsd: vga1 at pci1 dev 0 function 0: Matrox MGA G200 
AGP (rev. 0x01)
Aug 26 02:04:04 aoife /netbsd: wsdisplay0 at vga1: console (80x25, vt100 
emulation)
Aug 26 02:04:04 aoife /netbsd: wsdisplay0: screen 1 added (80x25, vt100 
emulation)
Aug 26 02:04:04 aoife /netbsd: pcib0 at pci0 dev 7 function 0
Aug 26 02:04:04 aoife /netbsd: pcib0: VIA Technologies VT82C586 (Apollo VP) 
PCI-ISA Bridge (rev. 0x41)
Aug 26 02:04:04 aoife /netbsd: pciide0 at pci0 dev 7 function 1: VIA Tech 
VT82C586A IDE Controller (rev. 0x06)
Aug 26 02:04:04 aoife /netbsd: pciide0: bus-master DMA support present
Aug 26 02:04:04 aoife /netbsd: pciide0: primary channel configured to 
compatibility mode
Aug 26 02:04:04 aoife /netbsd: atapibus0 at pciide0 channel 0
Aug 26 02:04:04 aoife /netbsd: cd0 at atapibus0 drive 0: <CREATIVECD3630E, , 
AC101> type 5 cdrom removable
Aug 26 02:04:05 aoife /netbsd: cd0: 32-bit data port
Aug 26 02:04:05 aoife /netbsd: cd0: drive supports PIO mode 4, DMA mode 2
Aug 26 02:04:05 aoife /netbsd: pciide0: primary channel interrupting at irq 14
Aug 26 02:04:05 aoife /netbsd: cd0(pciide0:0:0): using PIO mode 4, DMA mode 2 
(using DMA data transfers)
Aug 26 02:04:05 aoife /netbsd: pciide0: secondary channel configured to 
compatibility mode
Aug 26 02:04:05 aoife /netbsd: atapibus1 at pciide0 channel 1
Aug 26 02:04:05 aoife /netbsd: sd0 at atapibus1 drive 0: <IOMEGA  ZIP 100     
  ATAPI       Flopp, , 14.A> type 0 direct removable
Aug 26 02:04:05 aoife /netbsd: sd0: 98288 KB, 96 cyl, 64 head, 32 sec, 512 
bytes/sect x 196576 sectors
Aug 26 02:04:06 aoife /netbsd: sd0: 32-bit data port
Aug 26 02:04:06 aoife /netbsd: pciide0: secondary channel interrupting at irq 
15
Aug 26 02:04:06 aoife /netbsd: sd0(pciide0:1:0): using PIO mode 3
Aug 26 02:04:06 aoife /netbsd: uhci0 at pci0 dev 7 function 2: VIA 
Technologies VT83C572 USB Controller (rev. 0x02)
Aug 26 02:04:06 aoife /netbsd: uhci0: interrupting at irq 9
Aug 26 02:04:06 aoife /netbsd: usb0 at uhci0: USB revision 1.0
Aug 26 02:04:06 aoife /netbsd: uhub0 at usb0
Aug 26 02:04:06 aoife /netbsd: uhub0: VIA Technologie UHCI root hub, class 
9/0, rev 1.00/1.00, addr 1
Aug 26 02:04:07 aoife /netbsd: uhub0: 2 ports with 2 removable, self powered
Aug 26 02:04:07 aoife /netbsd: VIA Technologies VT82C586 (Apollo VP) Power 
Management Controller (miscellaneous bridge, revision 0x10) at pci0 dev 7 
function 3 not configured
Aug 26 02:04:07 aoife /netbsd: pciide1 at pci0 dev 9 function 0: 
Triones/Highpoint HPT366/370 IDE Controller (rev. 0x01)
Aug 26 02:04:07 aoife /netbsd: pciide1: bus-master DMA support present
Aug 26 02:04:07 aoife /netbsd: pciide1: primary channel wired to native-PCI 
mode
Aug 26 02:04:07 aoife /netbsd: pciide1: using irq 10 for native-PCI interrupt
Aug 26 02:04:07 aoife /netbsd: wd0 at pciide1 channel 0 drive 0: <ST34321A>
Aug 26 02:04:07 aoife /netbsd: wd0: drive supports 32-sector pio transfers, 
lba addressing
Aug 26 02:04:07 aoife /netbsd: wd0: 4103 MB, 8894 cyl, 15 head, 63 sec, 512 
bytes/sect x 8404830 sectors
Aug 26 02:04:07 aoife /netbsd: wd0: 32-bit data port
Aug 26 02:04:07 aoife /netbsd: wd0: drive supports PIO mode 4, DMA mode 2, 
Ultra-DMA mode 2
Aug 26 02:04:07 aoife /netbsd: wd0(pciide1:0:0): using PIO mode 4, DMA mode 
2, Ultra-DMA mode 2 (using DMA data transfers)
Aug 26 02:04:08 aoife /netbsd: pciide2 at pci0 dev 9 function 1: 
Triones/Highpoint HPT366/370 IDE Controller (rev. 0x01)
Aug 26 02:04:08 aoife /netbsd: pciide2: bus-master DMA support present
Aug 26 02:04:08 aoife /netbsd: pciide2: primary channel wired to native-PCI 
mode
Aug 26 02:04:08 aoife /netbsd: pciide2: using irq 10 for native-PCI interrupt
Aug 26 02:04:08 aoife /netbsd: wd1 at pciide2 channel 0 drive 0: 
<IBM-DJNA-352500>
Aug 26 02:04:08 aoife /netbsd: wd1: drive supports 16-sector pio transfers, 
lba addressing
Aug 26 02:04:08 aoife /netbsd: wd1: 24405 MB, 16383 cyl, 16 head, 63 sec, 512 
bytes/sect x 49981680 sectors
Aug 26 02:04:08 aoife /netbsd: wd1: 32-bit data port
Aug 26 02:04:08 aoife /netbsd: wd1: drive supports PIO mode 4, DMA mode 2, 
Ultra-DMA mode 4
Aug 26 02:04:08 aoife /netbsd: wd1(pciide2:0:0): using PIO mode 4, DMA mode 
2, Ultra-DMA mode 4 (using DMA data transfers)
Aug 26 02:04:08 aoife /netbsd: tlp0 at pci0 dev 11 function 0: Winbond 
89C840F Ethernet, pass 0.0
Aug 26 02:04:09 aoife /netbsd: tlp0: interrupting at irq 11
Aug 26 02:04:09 aoife /netbsd: tlp0: Ethernet address 00:00:e8:22:25:0f
Aug 26 02:04:09 aoife /netbsd: isa0 at pcib0
Aug 26 02:04:09 aoife /netbsd: com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, 
working fifo
Aug 26 02:04:09 aoife /netbsd: com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, 
working fifo
Aug 26 02:04:09 aoife /netbsd: pckbc0 at isa0 port 0x60-0x64
Aug 26 02:04:09 aoife /netbsd: pckbd0 at pckbc0 (kbd slot)
Aug 26 02:04:09 aoife /netbsd: pckbc0: using irq 1 for kbd slot
Aug 26 02:04:09 aoife /netbsd: wskbd0 at pckbd0: console keyboard, using 
wsdisplay0
Aug 26 02:04:09 aoife /netbsd: pms0 at pckbc0 (aux slot)
Aug 26 02:04:10 aoife /netbsd: pckbc0: using irq 12 for aux slot
Aug 26 02:04:10 aoife /netbsd: wsmouse0 at pms0 mux 0
Aug 26 02:04:10 aoife /netbsd: lpt0 at isa0 port 0x378-0x37b irq 7
Aug 26 02:04:10 aoife /netbsd: pcppi0 at isa0 port 0x61
Aug 26 02:04:10 aoife /netbsd: sysbeep0 at pcppi0
Aug 26 02:04:10 aoife /netbsd: isapnp0 at isa0 port 0x279: ISA Plug 'n Play 
device support
Aug 26 02:04:10 aoife /netbsd: npx0 at isa0 port 0xf0-0xff: using exception 16
Aug 26 02:04:10 aoife /netbsd: fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
Aug 26 02:04:10 aoife /netbsd: fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 
18 sec
Aug 26 02:04:11 aoife /netbsd: isapnp0: read port 0x203
Aug 26 02:04:11 aoife /netbsd: isapnp0: No current device for tag, card 1
Aug 26 02:04:11 aoife /netbsd: sb1 at isapnp0 port 0x220/16,0x330/2,0x388/4 
irq 5 drq 1,5
Aug 26 02:04:11 aoife /netbsd: sb1: Creative SB AWE64 PnP Audio: dsp v4.16
Aug 26 02:04:11 aoife /netbsd: audio0 at sb1: full duplex, mmap, independent
Aug 26 02:04:11 aoife /netbsd: mpu0 at sb1
Aug 26 02:04:11 aoife /netbsd: midi at mpu0 not configured
Aug 26 02:04:11 aoife /netbsd: opl0 at sb1: model OPL3
Aug 26 02:04:12 aoife /netbsd: midi0 at opl0: SB Yamaha OPL3
Aug 26 02:04:12 aoife /netbsd: joy0 at isapnp0 port 0x200/8
Aug 26 02:04:12 aoife /netbsd: joy0: Creative SB AWE64 PnP Game
Aug 26 02:04:12 aoife /netbsd: joy0: joystick not connected
Aug 26 02:04:12 aoife /netbsd: isapnp0: <Creative SB AWE64 PnP, CTL0022, , 
WaveTable> port 0x620/4 not configured
Aug 26 02:04:12 aoife /netbsd: apm0 at mainbus0: Power Management spec V1.2 
(slowidle)
Aug 26 02:04:12 aoife /netbsd: biomask e745 netmask ef45 ttymask ffc7
Aug 26 02:04:12 aoife /netbsd: boot device: wd0
Aug 26 02:04:12 aoife /netbsd: root on wd0a dumps on wd0b
Aug 26 02:04:12 aoife /netbsd: root file system type: ffs
Aug 26 02:04:13 aoife /netbsd: IP Filter: v3.4.6 initialized.  Default = pass 
all, Logging = enabled
Aug 26 02:04:13 aoife /netbsd: wsdisplay0: screen 2 added (80x25, vt100 
emulation)
Aug 26 02:04:13 aoife /netbsd: wsdisplay0: screen 3 added (80x25, vt100 
emulation)
Aug 26 02:04:13 aoife /netbsd: wsdisplay0: screen 4 added (80x25, vt100 
emulation)
Aug 26 02:04:13 aoife /netbsd: wsdisplay0: screen 5 added (80x25, vt100 
emulation)
Aug 26 02:04:13 aoife /netbsd: wsdisplay0: screen 6 added (80x25, vt100 
emulation)
Aug 26 02:04:13 aoife /netbsd: wsmux1: connecting to wsdisplay0


Aug 26 02:48:44 aoife /netbsd: wd0g: DMA error reading fsbn 968964 of 
968964-968965 (wd0 bn 4981434; cn 5271 tn 5 sn 24), retrying
Aug 26 02:48:45 aoife /netbsd: wd0: soft error (corrected)


-- 
Douglas