VIA MVP3 Chipset Problems with Busmastering

From: Deti Fliegl (deti@fliegl.de)
Date: Sat Jan 08 2000 - 04:59:16 EST


Hi

yesterday I tested our USB stuff on a VIA MVP3 Motherboard, 64Mbyte
SDRAM (8ns), K6-II 400 (see pci.txt for further details). The machine is
equipped with a 2nd USB controller as PCI card (VIA cipset too). I am
running linux 2.3.37.

Everthing worked ok until I enabled DMA operation for the harddisk
(primary master, FUJITSU MPB3043ATU) (see via.txt for furthe details).

Whenever the harddisk is accessed the USB controller produces data
buffer errors which are described in the UHCI specification:

Data Buffer Error. Set to a 1 by the Host Controller during status
update to indicate that the
Host Controller is unable to keep up with the reception of incoming data
(overrun) or is unable
to supply data fast enough during transmission (underrun). When this
occurs, the actual
length and Max Length field of the TD will not match. In the case of an
underrun, the Host
Controller will transmit an incorrect CRC (thus invalidating the data at
the endpoint) and leave
the TD active (unless error count reached zero). If a overrun condition
occurs, the Host
Controller will force a timeout condition on the USB, invalidating the
transaction at the source.

In my case the reading of an isochronous data stream produced overruns -
i.e. the USB controller was not able to transfer its fifo contents fast
enough to the system memory. It does not make any difference if the
internal USB controller or the PCI card is used. The problem is not
spurious - it happens all the time and if I am increasing the transfers
by a ´find /´ the kernel log is flooded with error messages.

My conclusion is that there might be a problem with the chipset settings
which causes these massive errors. On intel boards (TX, BX tested) this
error happens once in a week or less.

Further I noticed that 4 IDE devices (tested with 4 IBM DHEA 6.4Gbyte
drives) operating in DMA mode produce ext2 filesystem errors.

I was testing on two VIA MVP3 motherboards: a 1,5 year old one and a
brand new one. The chipset revisions were slightly different but the
problems were the same.

Has anybody else experienced such massive problems with those
motherboards? Is there a solution for the problems?

Deti

-- 
Deti Fliegl
Phone: +49 179 2198419 Fax: +49 89 74141105
e-mailto:deti@fliegl.de http://www.fliegl.de

Command register = 0x7 Master Read Cycle IRDY 1 Wait State Master Write Cycle IRDY 1 Wait State FIFO Output Data 1/2 Clock Advance: off Bus Master IDE Status Register Read Retry: on Latency timer = 64 (max. = 0) Interrupt Steering Swap: off ------------------Primary IDE------------Secondary IDE----- both channels togth: yes yes Prefetch Buffer : on on Post Write Buffer: on on FIFO Conf/Chan. : 08 08 Threshold Prim. : 1/2 1/2 Read DMA FIFO flush: on on End Sect. FIFO flush: on on Max DRDY Pulse Width: No limitation Bytes Per Sector: 512 512 --------------drive0------drive1-------drive0------drive1---- DMA enabled: yes yes yes yes Act Pls Width: 03 11 03 11 Recovery Time: 01 09 01 09 Add. Setup T.: 4T 4T 4T 4T ------------------UDMA-Timing-Control------------------------ Enable Meth.: 0 0 0 0 Enable: yes no no no Transfer Mode: PIO DMA DMA DMA Cycle Time: 2T 5T 5T 5T

dabusb: dabusb_iso_complete: corrupted packet status: -63 dabusb: dabusb_iso_complete: corrupted packet status: -63 dabusb: dabusb_iso_complete: corrupted packet status: -63 dabusb: dabusb_iso_complete: corrupted packet status: -63 dabusb: dst!=purb->actual_length:13440!=14128 dabusb: dabusb_iso_complete: corrupted packet status: -63 dabusb: dabusb_iso_complete: corrupted packet status: -63 dabusb: dst!=purb->actual_length:14208!=14744 usb-uhci: TD still active (2800000)- grrr. paranoia! dabusb: dabusb_iso_complete: corrupted packet status: -18 dabusb: dabusb_iso_complete: corrupted packet status: -63 dabusb: dst!=purb->actual_length:14592!=14732 dabusb: dabusb_iso_complete: corrupted packet status: -63 dabusb: dst!=purb->actual_length:14592!=14668 dabusb: dabusb_iso_complete: corrupted packet status: -63 dabusb: dabusb_iso_complete: corrupted packet status: -63 dabusb: dst!=purb->actual_length:14208!=14680 dabusb: dabusb_iso_complete: corrupted packet status: -63 dabusb: dst!=purb->actual_length:14592!=14860

00:00.0 Host bridge: VIA Technologies, Inc. VT82C597 [Apollo VP3] (rev 04) 00: 06 11 97 05 06 00 90 82 04 00 00 06 00 10 00 00 10: 08 00 00 e3 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 a0 00 00 00 00 00 00 00 00 00 00 00 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50: 80 01 05 40 00 00 00 00 90 00 04 08 08 08 08 08 60: 03 0a 00 23 d4 e6 e6 00 01 00 65 01 60 21 00 00 70: 41 08 6c 41 00 80 40 00 00 00 00 00 00 00 00 40 80: 0f 40 00 00 f8 00 00 00 02 00 00 00 00 00 00 00 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a0: 02 00 10 00 03 02 00 07 00 00 00 00 0a 00 00 00 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0: 00 00 00 00 00 00 00 00 00 00 00 00 01 00 97 05

00:01.0 PCI bridge: VIA Technologies, Inc.: Unknown device 8598 00: 06 11 98 85 07 00 20 02 00 00 04 06 00 00 01 00 10: 00 00 00 00 00 00 00 00 00 01 01 00 c0 c0 00 00 20: f0 ff 00 00 f0 ff 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00 40: e0 6c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:07.0 ISA bridge: VIA Technologies, Inc. VT82C586 ISA [Apollo VP] (rev 41) 00: 06 11 86 05 8f 00 00 02 41 00 01 06 00 00 80 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 06 11 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40: 00 01 00 00 00 00 70 a0 01 01 c4 00 00 00 00 f3 50: 24 00 00 00 00 0c 0a c0 00 06 f5 00 00 00 00 00 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:07.1 IDE interface: VIA Technologies, Inc. VT82C586 IDE [Apollo] (rev 06) 00: 06 11 71 05 07 00 80 02 06 8a 01 01 00 40 00 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 01 d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40: 0b f2 09 ba 68 03 f0 00 a8 20 a8 20 ff 00 ff ff 50: 03 03 03 60 00 00 00 00 a8 a8 a8 a8 00 00 00 00 60: 00 02 00 00 00 00 00 00 00 02 00 00 00 00 00 00 70: 02 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 80: 00 40 16 01 00 00 00 00 00 00 00 00 00 00 00 00 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0: 06 00 71 05 00 00 00 00 00 00 00 00 00 00 00 00 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:07.2 USB Controller: VIA Technologies, Inc. VT82C586B USB (rev 02) 00: 06 11 38 30 07 00 00 02 02 00 03 0c 08 40 00 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 01 d4 00 00 00 00 00 00 00 00 00 00 25 09 34 12 30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 04 00 00 40: 00 00 00 00 06 00 32 20 00 00 00 00 00 00 00 00 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0: 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:07.3 Bridge: VIA Technologies, Inc. VT82C586B ACPI (rev 10) 00: 06 11 40 30 00 00 80 02 10 00 80 06 00 00 00 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40: e0 88 00 00 f8 5e 00 00 01 50 00 00 00 00 00 00 50: 00 61 0a 88 00 00 00 00 00 00 00 00 00 00 00 00 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:08.0 VGA compatible controller: ATI Technologies Inc 215GP [Mach64 GP] (rev 5c) 00: 02 10 50 47 87 00 80 02 5c 00 00 03 08 40 00 00 10: 08 00 00 e0 01 d8 00 00 00 10 80 e3 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 02 10 50 47 30: 00 00 00 e1 00 00 00 00 00 00 00 00 ff 00 08 00 40: 0c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50: 02 00 10 00 01 00 00 ff 00 00 00 00 00 00 00 00 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:09.0 USB Controller: VIA Technologies, Inc. VT82C586B USB (rev 04) 00: 06 11 38 30 07 00 00 42 04 00 03 0c 08 40 00 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 01 dc 00 00 00 00 00 00 00 00 00 00 25 09 34 12 30: 00 00 00 00 00 00 00 00 00 00 00 00 0a 01 00 00 40: 00 00 00 00 00 00 00 00 80 f5 13 03 00 60 20 00 50: ff ff ff 00 30 00 7f 01 00 00 00 00 00 00 00 00 60: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0: 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:0a.0 Ethernet controller: Digital Equipment Corporation DECchip 21140 [FasterNet] (rev 22) 00: 11 10 09 00 07 00 80 02 22 00 00 02 08 40 00 00 10: 01 e0 00 00 00 00 80 e3 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 f0 11 34 42 30: 00 00 00 e2 00 00 00 00 00 00 00 00 0c 01 14 28 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

- 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/



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:12 EST