I have a couple issues using OpenBSD with a VIA VB7001G motherboard
focused around USB devices. This board has been tested on both 4.6 and
4.7-current (April 22nd Snapshot).

First of all, whenever I attempt to use a bootable OpenBSD USB flash
disk (created using the preferred method described here:
http://openbsd.org/faq/faq14.html#flashmemLive), the motherboard fails
to POST. It will begin an attempt and then continually try to reboot.

This same USB flash disk has been tested on other motherboards and
works without any issues. I have also tried testing with three different
USB storage devices.

The second issue is that whenever there is a USB storage device plugged
into the motherboard the boot process freezes. I have included a dmesg
below from a normal boot and indicated the point at which booting
freezes.

If I wait until after the system has booted and then plug in a USB
storage device, it freezes at the moment the device was plugged in.

This has been tested on devices with filesystems that are OpenBSD (A6),
FreeBSD (A5) and MSDOS (0B). Again this has been tested on three
different devices.

To emphasize, this only occurs for USB *storage devices*. USB mice,
keyboards, ethernet adapters, cdrom-drives, camera etc. do not cause
this issue.

I have two identical VIA VB7001G motherboards and both of them produce
the exact same results in all the cases I have described above.

Here is the dmesg from the system, obtained by having no USB storage
devices attached. The last line printed by OpenBSD prior to all
instances of the OS freezing is marked by '*'s.

--- Begin DMESG ---
OpenBSD 4.7-current (GENERIC) #620: Thu Apr 22 11:50:48 MDT 2010
    dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: VIA Esther processor 1500MHz ("CentaurHauls" 686-class) 1.50 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,TM2
real mem  = 1005023232 (958MB) avail mem = 963829760 (919MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/19/07, BIOS32 rev. 0 @
0xf9440, SMBIOS rev. 2.3 @ 0xf0000 (24 entries) 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/0xc594
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfc500/144 (7 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/0xfc00 0xd0000/0x2000
cpu0 at mainbus0: (uniprocessor)
cpu0: RNG AES AES-CTR SHA1 SHA256 RSA
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)
pciide0 at pci0 dev 15 function 0 "VIA VT6420 SATA" rev 0x80: DMA
pciide0: using irq 11 for native-PCI interrupt
wd0 at pciide0 channel 1 drive 0: <WDC WD1600BEKT-00A25T0>
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 6
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 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-4200CL5
auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x60: irq 5
ac97: codec id 0x56494183 (VIA Technologies <83>)
ac97: codec features 18 bit DAC, 18 bit ADC, No 3D Stereo
audio0 at auvia0
vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x78: irq 10, address
00:40:63:fa:dd:e0 ukphy0 at vr0 phy 1: Generic IEEE 802.3u media
interface, rev. 10: OUI 0x004063, model 0x0032 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
isa0 at mainbus0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: 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
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
viasio0 at isa0 port 0x2e/2: VT1211 rev 0x02, HM, WDG not activated
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask efed netmask efed ttymask ffff
mtrr: Pentium Pro MTRR support
*************************************************
************** System Freezes Here **************
*************************************************
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
--- End DMESG ---

If more information would be helpful or if this should be posted to a
different list please let me know.

-Ben
-- 
Ben Niccum
be...@bendtel.com

Reply via email to