On Mon, Jun 29, 2009 at 03:46:35PM -0400, b...@comstyle.com wrote: > The following diff adds a workaround for an issue with the VIA VT6202 > EHCI controller hogging the PCI bus and causing poor performance for > IDE and possibly other devices in the system. > > Please test if your system has a VIA VT6202 EHCI controller and > provide a dmesg. If the workaround is being applied for the > chipset you have then a message will be printed (this is temporary > only to verify it is being applied for the appropriate revision > of the chipset). Hi,
On this via board which is equiped with a VIA VT6202 EHCI controller it does not seem to recognize it. (Current kernel with your diff applied). -- Olivier Cherrier mailto:o...@symacx.com Domain /dev/pci0: 0:0:0: VIA CN700 Host 0x0000: Vendor ID: 1106 Product ID: 0314 0x0004: Command: 0006 Status ID: 2230 0x0008: Class: 06 Subclass: 00 Interface: 00 Revision: 00 0x000c: BIST: 00 Header Type: 80 Latency Timer: 08 Cache Line Size: 00 0x0010: BAR mem prefetchable 32bit addr: 0xe8000000 0x0014: BAR empty (00000000) 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR empty (00000000) 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 1106 Product ID: 0314 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00 0x0080: Capability 0x02: AGP 0x0050: Capability 0x01: Power Management 0:0:1: VIA CN700 Host 0x0000: Vendor ID: 1106 Product ID: 1314 0x0004: Command: 0006 Status ID: 0200 0x0008: Class: 06 Subclass: 00 Interface: 00 Revision: 00 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00 0x0010: BAR empty (00000000) 0x0014: BAR empty (00000000) 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR empty (00000000) 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 0000 Product ID: 0000 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00 0:0:2: VIA CN700 Host 0x0000: Vendor ID: 1106 Product ID: 2314 0x0004: Command: 0006 Status ID: 0200 0x0008: Class: 06 Subclass: 00 Interface: 00 Revision: 00 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00 0x0010: BAR empty (00000000) 0x0014: BAR empty (00000000) 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR empty (00000000) 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 0000 Product ID: 0000 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00 0:0:3: VIA PT890 Host 0x0000: Vendor ID: 1106 Product ID: 3208 0x0004: Command: 0006 Status ID: 0200 0x0008: Class: 06 Subclass: 00 Interface: 00 Revision: 00 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00 0x0010: BAR empty (00000000) 0x0014: BAR empty (00000000) 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR empty (00000000) 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 0000 Product ID: 0000 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00 0:0:4: VIA CN700 Host 0x0000: Vendor ID: 1106 Product ID: 4314 0x0004: Command: 0006 Status ID: 0200 0x0008: Class: 06 Subclass: 00 Interface: 00 Revision: 00 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00 0x0010: BAR empty (00000000) 0x0014: BAR empty (00000000) 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR empty (00000000) 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 0000 Product ID: 0000 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00 0:0:7: VIA CN700 Host 0x0000: Vendor ID: 1106 Product ID: 7314 0x0004: Command: 0006 Status ID: 0200 0x0008: Class: 06 Subclass: 00 Interface: 00 Revision: 00 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00 0x0010: BAR empty (00000000) 0x0014: BAR empty (00000000) 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR empty (00000000) 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 0000 Product ID: 0000 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00 0:1:0: VIA VT8377 AGP 0x0000: Vendor ID: 1106 Product ID: b198 0x0004: Command: 0007 Status ID: 0230 0x0008: Class: 06 Subclass: 04 Interface: 00 Revision: 00 0x000c: BIST: 00 Header Type: 01 Latency Timer: 00 Cache Line Size: 00 0x0010: 00000000 0x0014: 00000000 0x0018: Primary Bus: 0 Secondary Bus: 1 Subordinate Bus: 1 Secondary Latency Timer: 00 0x001c: I/O Base: e0 I/O Limit: e0 Secondary Status: e220 0x0020: Memory Base: fb00 Memory Limit: fcf0 0x0024: Prefetch Memory Base: f400 Prefetch Memory Limit: f7f0 0x0028: Prefetch Memory Base Upper 32 Bits: 00000000 0x002c: Prefetch Memory Limit Upper 32 Bits: 00000000 0x0030: I/O Base Upper 16 Bits: 0000 I/O Limit Upper 16 Bits: 0000 0x0038: Expansion ROM Base Address: 00000000 0x003c: Interrupt Pin: 00 Line: 00 Bridge Control: 0008 0x0070: Capability 0x01: Power Management 0:10:0: Realtek 8139 0x0000: Vendor ID: 10ec Product ID: 8139 0x0004: Command: 0007 Status ID: 0290 0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 10 0x000c: BIST: 00 Header Type: 00 Latency Timer: 20 Cache Line Size: 00 0x0010: BAR io addr: 0x0000f200 0x0014: BAR mem 32bit addr: 0xfdfff000 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR empty (00000000) 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 1019 Product ID: 8139 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 20 Max Lat: 40 0x0050: Capability 0x01: Power Management 0:15:0: VIA VT6420 SATA 0x0000: Vendor ID: 1106 Product ID: 3149 0x0004: Command: 0007 Status ID: 0290 0x0008: Class: 01 Subclass: 01 Interface: 8f Revision: 80 0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line Size: 00 0x0010: BAR io addr: 0x0000ff00 0x0014: BAR io addr: 0x0000fe00 0x0018: BAR io addr: 0x0000fd00 0x001c: BAR io addr: 0x0000fc00 0x0020: BAR io addr: 0x0000fb00 0x0024: BAR io addr: 0x0000f400 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 1106 Product ID: 3149 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 02 Line: 0b Min Gnt: 00 Max Lat: 00 0x00c0: Capability 0x01: Power Management 0:15:1: VIA VT82C571 IDE 0x0000: Vendor ID: 1106 Product ID: 0571 0x0004: Command: 0007 Status ID: 0290 0x0008: Class: 01 Subclass: 01 Interface: 8a Revision: 06 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00 0x0010: BAR empty (00000000) 0x0014: BAR empty (00000000) 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR io addr: 0x0000fa00 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 1106 Product ID: 0571 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00 0x00c0: Capability 0x01: Power Management 0:16:0: VIA VT83C572 USB 0x0000: Vendor ID: 1106 Product ID: 3038 0x0004: Command: 0007 Status ID: 0210 0x0008: Class: 0c Subclass: 03 Interface: 00 Revision: 81 0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line Size: 10 0x0010: BAR empty (00000000) 0x0014: BAR empty (00000000) 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR io addr: 0x0000f900 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 1106 Product ID: 3038 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 01 Line: 0a Min Gnt: 00 Max Lat: 00 0x0080: Capability 0x01: Power Management 0:16:1: VIA VT83C572 USB 0x0000: Vendor ID: 1106 Product ID: 3038 0x0004: Command: 0007 Status ID: 0210 0x0008: Class: 0c Subclass: 03 Interface: 00 Revision: 81 0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line Size: 10 0x0010: BAR empty (00000000) 0x0014: BAR empty (00000000) 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR io addr: 0x0000f800 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 1106 Product ID: 3038 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 01 Line: 0a Min Gnt: 00 Max Lat: 00 0x0080: Capability 0x01: Power Management 0:16:2: VIA VT83C572 USB 0x0000: Vendor ID: 1106 Product ID: 3038 0x0004: Command: 0007 Status ID: 0210 0x0008: Class: 0c Subclass: 03 Interface: 00 Revision: 81 0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line Size: 10 0x0010: BAR empty (00000000) 0x0014: BAR empty (00000000) 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR io addr: 0x0000f700 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 1106 Product ID: 3038 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 02 Line: 0b Min Gnt: 00 Max Lat: 00 0x0080: Capability 0x01: Power Management 0:16:3: VIA VT83C572 USB 0x0000: Vendor ID: 1106 Product ID: 3038 0x0004: Command: 0007 Status ID: 0210 0x0008: Class: 0c Subclass: 03 Interface: 00 Revision: 81 0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line Size: 10 0x0010: BAR empty (00000000) 0x0014: BAR empty (00000000) 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR io addr: 0x0000f600 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 1106 Product ID: 3038 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 02 Line: 0b Min Gnt: 00 Max Lat: 00 0x0080: Capability 0x01: Power Management 0:16:4: VIA VT6202 USB 0x0000: Vendor ID: 1106 Product ID: 3104 0x0004: Command: 0006 Status ID: 0210 0x0008: Class: 0c Subclass: 03 Interface: 20 Revision: 86 0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line Size: 10 0x0010: BAR mem 32bit addr: 0xfdffe000 0x0014: BAR empty (00000000) 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR empty (00000000) 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 1106 Product ID: 3104 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 03 Line: 05 Min Gnt: 00 Max Lat: 00 0x0080: Capability 0x01: Power Management 0:17:0: VIA VT8237 ISA 0x0000: Vendor ID: 1106 Product ID: 3227 0x0004: Command: 0087 Status ID: 0210 0x0008: Class: 06 Subclass: 01 Interface: 00 Revision: 00 0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line Size: 00 0x0010: BAR empty (00000000) 0x0014: BAR empty (00000000) 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR empty (00000000) 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 1106 Product ID: 3227 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00 0x00c0: Capability 0x01: Power Management 0:17:5: VIA VT8233 AC97 0x0000: Vendor ID: 1106 Product ID: 3059 0x0004: Command: 0001 Status ID: 0210 0x0008: Class: 04 Subclass: 01 Interface: 00 Revision: 60 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00 0x0010: BAR io addr: 0x0000f000 0x0014: BAR empty (00000000) 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR empty (00000000) 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 1019 Product ID: aa60 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 03 Line: 05 Min Gnt: 00 Max Lat: 00 0x00c0: Capability 0x01: Power Management 1:0:0: VIA S3 Unichrome PRO IGP 0x0000: Vendor ID: 1106 Product ID: 3344 0x0004: Command: 0007 Status ID: 0230 0x0008: Class: 03 Subclass: 00 Interface: 00 Revision: 01 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00 0x0010: BAR mem prefetchable 32bit addr: 0xf4000000 0x0014: BAR mem 32bit addr: 0xfb000000 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR empty (00000000) 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 1106 Product ID: 3344 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 01 Line: 0a Min Gnt: 02 Max Lat: 00 0x0060: Capability 0x01: Power Management 0x0070: Capability 0x02: AGP OpenBSD 4.6-beta (GENERIC) #3: Mon Jun 29 23:11:50 CEST 2009 o...@c3.symacx.com:/usr/src/sys/arch/i386/compile/GENERIC cpu0: VIA Esther processor 1000MHz ("CentaurHauls" 686-class) 1 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,SSE3,EST,TM2 real mem = 1038643200 (990MB) avail mem = 995446784 (949MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 04/14/07, BIOS32 rev. 0 @ 0xf9ed0, SMBIOS rev. 2.3 @ 0xf0000 (30 entries) bios0: vendor Phoenix Technologies, LTD version "6.00 PG" date 04/14/2007 apm0 at bios0: Power Management spec V1.2 (slowidle) apm0: AC on, battery charge unknown acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xf0000/0xcdc4 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfcd30/128 (6 entries) pcibios0: bad IRQ table checksum pcibios0: PCI BIOS has 7 Interrupt Routing table entries pcibios0: PCI Exclusive IRQs: 5 10 11 pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT8237 ISA" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc0000/0xfe00 0xd0000/0x8000! 0xd8000/0x2800 cpu0 at mainbus0: (uniprocessor) cpu0: RNG AES AES-CTR SHA1 SHA256 RSA cpu0: unknown Enhanced SpeedStep CPU, msr 0x08100a1308000a13 cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 998 MHz: speeds: 1000, 800 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "VIA CN700 Host" rev 0x00 viaagp0 at pchb0: v3 agp0 at viaagp0: aperture at 0xe8000000, size 0x10000000 pchb1 at pci0 dev 0 function 1 "VIA CN700 Host" rev 0x00 pchb2 at pci0 dev 0 function 2 "VIA CN700 Host" rev 0x00 pchb3 at pci0 dev 0 function 3 "VIA PT890 Host" rev 0x00 pchb4 at pci0 dev 0 function 4 "VIA CN700 Host" rev 0x00 pchb5 at pci0 dev 0 function 7 "VIA CN700 Host" rev 0x00 ppb0 at pci0 dev 1 function 0 "VIA VT8377 AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "VIA S3 Unichrome PRO IGP" rev 0x01 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) rl0 at pci0 dev 10 function 0 "Realtek 8139" rev 0x10: irq 11, address 00:1b:b9:99:f2:13 rlphy0 at rl0 phy 0: RTL internal PHY pciide0 at pci0 dev 15 function 0 "VIA VT6420 SATA" rev 0x80: DMA pciide0: using irq 11 for native-PCI interrupt pciide1 at pci0 dev 15 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 configured to compatibility pciide1: channel 0 disabled (no drives) pciide1: channel 1 disabled (no drives) uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x81: irq 10 uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x81: irq 10 uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x81: irq 11 uhci3 at pci0 dev 16 function 3 "VIA VT83C572 USB" rev 0x81: irq 11 ehci0 at pci0 dev 16 function 4 "VIA VT6202 USB" rev 0x86: irq 5 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1 viapm0 at pci0 dev 17 function 0 "VIA VT8237 ISA" rev 0x00 iic0 at viapm0 spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5 auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x60: irq 5 ac97: codec id 0x414c4760 (Avance Logic ALC655 rev 0) audio0 at auvia0 usb1 at uhci0: USB revision 1.0 uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 "VIA UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci3: USB revision 1.0 uhub4 at usb4 "VIA UHCI root hub" rev 1.00/1.00 addr 1 isa0 at mainbus0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 it0 at isa0 port 0x2e/2: IT8716F rev 1, EC port 0x290 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec fd1 at fdc0 drive 1: density unknown biomask ff65 netmask ff65 ttymask ffff mtrr: Pentium Pro MTRR support uhidev0 at uhub1 port 2 configuration 1 interface 0 "Logitech USB Optical Mouse" rev 2.00/43.01 addr 2 uhidev0: iclass 3/1 ums0 at uhidev0: 3 buttons, Z dir wsmouse0 at ums0 mux 0 softraid0 at root PXE boot MAC address 00:1b:b9:99:f2:13, interface rl0 nfs_boot: using interface rl0, with revarp & bootparams nfs_boot: client_addr=192.168.1.3 nfs_boot: server_addr=192.168.1.2 hostname=esther root on c3:/home/esther nfs_boot: bootparam get swap: 60 WARNING: no swap swapmount: no device