Subject: Re: USB weird messages ("port problem"/"device problem")
To: None <port-i386@netbsd.org>
From: Peter Seebach <seebs@plethora.net>
List: port-i386
Date: 12/13/2001 11:33:30
In message <3C187BC7.4DCA568B@augustsson.net>, Lennart Augustsson writes:
>Which kernel are you using?  current?  What's the USB controller?

-current, uhci.

Here's dmesg from the machine.  uhub0 and uhub1 are the two sets of two
ports built into the machine.  Other devices only sometimes work.

The machine also semi-frequently fails to boot, stopping during the twirly
cursor phase.  I am starting to suspect that there may be a memory sizing
or allocation problem; the linux image I had reported a few extra "unusable"
areas via ACPI.  If a given kernel fails to boot, and I power-cycle, it may
or may not boot the next time.  The linux and Windows images never had this
problem, so I'm guessing they are luckily stepping around the problem.

NetBSD 1.5Z (IPAQ) #0: Wed Dec 12 21:16:21 CST 2001
    seebs@ged.plethora.net:/usr/src/sys/arch/i386/compile/IPAQ
cpu0: AMD K6-2 (586-class), 267.30 MHz
cpu0: I-cache 32 KB 32b/line 2-way, D-cache 32 KB 32b/line 2-way
cpu0: features 8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
cpu0: features 8021bf<PGE,MMX>
total memory = 30332 KB
avail memory = 26040 KB
using 404 buffers containing 1616 KB of memory
BIOS32 rev. 0 found at 0xfa120
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 VT8501 MVP4 System Controller (rev. 0x04)
agp at pchb0 not configured
ppb0 at pci0 dev 1 function 0: VIA Technologies VT8501 PCI-AGP (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 0 function 0: Trident Microsystems CyberBlade i7 (rev. 0x5d)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
Lucent Technologies LTMODEM (miscellaneous communications, revision 0x01) at pci0 dev 4 function 0 not configured
pcib0 at pci0 dev 7 function 0
pcib0: VIA Technologies VT82C686A (Apollo KX133) PCI-ISA Bridge (rev. 0x1b)
pciide0 at pci0 dev 7 function 1: VIA Technologies VT82C686A (Apollo KX133) ATA66 controller
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
wd0 at pciide0 channel 0 drive 0: <SanDisk SDP3B-16>
wd0: drive supports 1-sector PIO transfers, LBA addressing
wd0: 15680 KB, 490 cyl, 2 head, 32 sec, 512 bytes/sect x 31360 sectors
wd0: 32-bit data port
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 0
pciide0: secondary channel configured to compatibility mode
wd1 at pciide0 channel 1 drive 0: < ATA_FLASH>
wd1: drive supports 1-sector PIO transfers, LBA addressing
wd1: 15744 KB, 492 cyl, 2 head, 32 sec, 512 bytes/sect x 31488 sectors
wd1: 32-bit data port
pciide0: secondary channel interrupting at irq 15
wd1(pciide0:1:0): using PIO mode 0
uhci0 at pci0 dev 7 function 2: VIA Technologies VT83C572 USB Controller (rev. 0x0e)
uhci0: interrupting at irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA Technologie UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 7 function 3: VIA Technologies VT83C572 USB Controller (rev. 0x0e)
uhci1: interrupting at irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA Technologie UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
VIA Technologies VT82C686A SMBus Controller (miscellaneous bridge, revision 0x20) at pci0 dev 7 function 4 not configured
auvia0 at pci0 dev 7 function 5: VIA VT82C686A AC'97 Audio (rev 0x21)
auvia0: interrupting at irq 10
auvia0: SigmaTel STAC9744/45 codec; 18 bit DAC, 18 bit ADC, Rockwell 3D
audio0 at auvia0: full duplex, mmap, independent
VIA Technologies VT82C686A MC-97 Modem Controller (miscellaneous communications, revision 0x20) at pci0 dev 7 function 6 not configured
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
isapnp0: no ISA Plug 'n Play devices found
biomask ebe5 netmask ebe5 ttymask fbe7
wd0: no disk label
boot device: wd1
root on wd1a dumps on wd1b
root file system type: ffs