Hi there!

I'm running on some issues related to USB reliability.

Scenario: A 4-port serial to USB interface and a USB printer attached to uhci.

Workload: Printer uses to be idle. Serial port is being polled quite frequently, but has almost no traffic -a few chars go in/out the ports every 10ms or so-.

Problem: Every now and then, maybe 2h, maybe 48h, USB stops working. All comms falls at once, and printer doesn't work.

Suspicion: When lpr runs the printer, chances to hit a USB lock seem to be scaled by a x100 factor.

Ridiculous hypothesis: May I have been experiencing some misinterrupt issues?

I'll try to get a nice, charming and repeatable error to get up to this.

Regards!

Dani

dmesg goes below:
8<-----------------------------------------------------------

OpenBSD 4.9 (GENERIC.MP) #794: Wed Mar  2 07:19:02 MST 2011
    [email protected]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Atom(TM) CPU D410 @ 1.66GHz ("GenuineIntel" 686-class) 1.67 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE
real mem  = 1063481344 (1014MB)
avail mem = 1035927552 (987MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/27/10, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.6 @ 0xf0720 (46 entries)
bios0: vendor American Megatrends Inc. version "0601" date 10/27/2010
bios0: ASUSTeK Computer INC. EB1007
acpi at bios0 function 0x0 not configured
mpbios0 at bios0: Intel MP Specification 1.4
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
mpbios0: bus 0 is type PCI
mpbios0: bus 1 is type PCI
mpbios0: bus 2 is type PCI
mpbios0: bus 3 is type PCI
mpbios0: bus 4 is type PCI
mpbios0: bus 5 is type ISA
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
pcibios0 at bios0: rev 3.0 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7590/160 (8 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x8086 product 0x27bc
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc0000/0xda00! 0xce000/0x1000
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel Pineview DMI" rev 0x00
vga1 at pci0 dev 2 function 0 "Intel Pineview Video" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd0000000, size 0x10000000
inteldrm0 at vga1: apic 1 int 16 (irq 5)
drm0 at inteldrm0
"Intel Pineview Video" rev 0x00 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: apic 1 int 20 (irq 4)
azalia0: codecs: Realtek ALC662
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 1 int 16 (irq 5)
pci1 at ppb0 bus 4
ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 1 int 17 (irq 11)
pci2 at ppb1 bus 3
jme0 at pci2 dev 0 function 0 "JMicron JMC250" rev 0x03: apic 1 int 17 (irq 11), address f4:6d:04:04:34:af
jmphy0 at jme0 phy 1: JMP211 10/100/1000 PHY, rev. 1
ppb2 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: apic 1 int 18 (irq 10)
pci3 at ppb2 bus 2
athn0 at pci3 dev 0 function 0 "Atheros AR9285" rev 0x01: apic 1 int 18 (irq 10)
athn0: AR9285 rev 2 (1T1R), ROM rev 13, address e0:b9:a5:00:f8:46
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 1 int 23 (irq 14) uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 1 int 21 (irq 7) uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 1 int 18 (irq 10) uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 1 int 22 (irq 3) ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 1 int 23 (irq 14)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci4 at ppb3 bus 1
pcib0 at pci0 dev 31 function 0 "Intel Tigerpoint LPC" rev 0x02
ahci0 at pci0 dev 31 function 2 "Intel 82801GR AHCI" rev 0x02: apic 1 int 19 (irq 15), AHCI 1.1
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, WDC WD2500BEVT-8, 01.0> SCSI3 0/direct fixed
sd0: 238475MB, 512 bytes/sec, 488397168 sec total
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: apic 1 int 19 (irq 15)
iic0 at ichiic0
spdmem0 at iic0 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-6400CL5 SO-DIMM
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
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
spkr0 at pcppi0
it0 at isa0 port 0x2e/2: IT8720F rev 8, EC port 0x290
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
umass0 at uhub0 port 6 configuration 1 interface 0 "Generic USB Storage" rev 2.00/2.06 addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd1 at scsibus1 targ 1 lun 0: <Generic, STORAGE DEVICE, 0206> SCSI0 0/direct removable
sd1: drive offline
uhidev0 at uhub1 port 1 configuration 1 interface 0 "Chicony USB Keyboard" rev 2.00/1.65 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub1 port 1 configuration 1 interface 1 "Chicony USB Keyboard" rev 2.00/1.65 addr 2
uhidev1: iclass 3/0, 3 report ids
uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=2, output=0, feature=2
uhid2 at uhidev1 reportid 3: input=3, output=0, feature=0
ulpt0 at uhub2 port 1 configuration 1 interface 0 "APS HRS PRINTER" rev 1.10/1.00 addr 2
ulpt0: using bi-directional mode
uhub5 at uhub2 port 2 "Genesys Logic GL650 Hub" rev 1.10/3.05 addr 3
uftdi0 at uhub5 port 1 "FTDI FT232R USB UART" rev 2.00/6.00 addr 4
ucom0 at uftdi0 portno 1
uftdi1 at uhub5 port 2 "FTDI FT232R USB UART" rev 2.00/6.00 addr 5
ucom1 at uftdi1 portno 1
uftdi2 at uhub5 port 3 "FTDI FT232R USB UART" rev 2.00/6.00 addr 6
ucom2 at uftdi2 portno 1
uftdi3 at uhub5 port 4 "FTDI FT232R USB UART" rev 2.00/6.00 addr 7
ucom3 at uftdi3 portno 1
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
root on sd0a swap on sd0b dump on sd0b

Reply via email to