On Wed, Oct 13, 2010 at 10:56:24AM +0200, ??????? ??????? wrote:
> Under 05-Oct-2010 snapshot:
> 
> 1. Plug in urtw device (I have a LevelOne device, don't know model as
> its plastic body is lost).
> 2. Start bittorrent client (or ftp or whatever loading urtw device).
> 3. Plug in any usb device - device doesn't get configured, lines not
> appended to dmesg, usbdevs hangs, otherwise operating system fully
> operational.
> 4. Stop loading urtw device.
> 5. Plug in and out any usb device - device gets configured, lines
> appended to dmesg.

sounds like the device is messing up the usb task thread.  do you see
'usbtask' in 'top -S' or 'ps akx' output?

> Couldn't reproduce it with my 3COM 3RUSB10075 as it gets device
> timeout shortly and stops operating at all. As I have no other usb
> WiFi devices, can't say whether the problem is urtw-specific, or is
> valid for any usb WiFi or just urtw (or just my urtw).
> 
> % usbdevs -dv
> Controller /dev/usb0:
> addr 1: high speed, self powered, config 1, EHCI root hub(0x0000),
> Intel(0x8086), rev 1.00
>   uhub0
>  port 1 addr 2: high speed, power 98 mA, config 1, WebCam(0x62c0),
> Sonix Technology Co., Ltd.(0x0c45), rev 1.00
>    uvideo0
>  port 2 powered
>  port 3 powered
>  port 4 powered
>  port 5 addr 3: high speed, power 100 mA, unconfigured,
> RTL8187(0x8187), Realtek(0x0bda), rev 1.00, iSerialNumber 00116B1604AE
>    urtw0
>  port 6 powered
>  port 7 powered
>  port 8 powered
> Controller /dev/usb1:
> addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
> Intel(0x8086), rev 1.00
>   uhub1
>  port 1 powered
>  port 2 addr 2: low speed, power 100 mA, config 1, Optical
> Mouse(0x003a), Genius(0x0458), rev 1.00
>    uhidev0
> Controller /dev/usb2:
> addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
> Intel(0x8086), rev 1.00
>   uhub2
>  port 1 powered
>  port 2 powered
> Controller /dev/usb3:
> addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
> Intel(0x8086), rev 1.00
>   uhub3
>  port 1 powered
>  port 2 powered
> Controller /dev/usb4:
> addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
> Intel(0x8086), rev 1.00
>   uhub4
>  port 1 powered
>  port 2 powered
> 
> dmesg (05-Oct-2010 snapshot), notice no dmesg lines between inserting
> and removing flash usb module:
> 
> OpenBSD 4.8-current (GENERIC.MP) #456: Tue Oct  5 20:18:06 MDT 2010
>     [email protected]:/usr/src/sys/arch/i386/compile/GENERIC.MP
> RTC BIOS diagnostic error 80<clock_battery>
> cpu0: Intel(R) Atom(TM) CPU N270 @ 1.60GHz ("GenuineIntel" 686-class) 1.60 GHz
> cpu0: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,xTPR,PDCM,MOVBE
> real mem  = 1060163584 (1011MB)
> avail mem = 1032794112 (984MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 10/06/08, SMBIOS rev. 2.4 @
> 0xe91c0 (31 entries)
> bios0: vendor Acer version "v0.3110" date 10/06/2008
> bios0: Acer AO531h
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP SSDT HPET APIC MCFG ASF! SLIC BOOT
> acpi0: wakeup devices P32_(S4) UHC1(S3) UHC2(S3) UHC3(S3) UHC4(S3)
> ECHI(S3) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) AZAL(S0) MODM(S0)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpihpet0 at acpi0: 14318179 Hz
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: apic clock running at 133MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Atom(TM) CPU N270 @ 1.60GHz ("GenuineIntel" 686-class) 1.60 GHz
> cpu1: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,xTPR,PDCM,MOVBE
> ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 20, 24 pins
> ioapic0: misconfigured as apic 0, remapped to apid 4
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 3 (P32_)
> acpiprt2 at acpi0: bus 1 (EXP1)
> acpiprt3 at acpi0: bus -1 (EXP2)
> acpiprt4 at acpi0: bus -1 (EXP3)
> acpiprt5 at acpi0: bus 2 (EXP4)
> acpiec0 at acpi0
> acpicpu0 at acpi0: C3, C2, C1, PSS
> acpicpu1 at acpi0: C3, C2, C1, PSS
> acpitz0 at acpi0: critical temperature 95 degC
> acpibtn0 at acpi0: PWRB
> acpibtn1 at acpi0: LID0
> acpibtn2 at acpi0: SLPB
> acpibat0 at acpi0: BAT1 not present
> acpiac0 at acpi0: AC unit online
> acpivideo0 at acpi0: OVGA
> acpivout0 at acpivideo0: CRT1
> acpivout1 at acpivideo0: DTV1
> acpivout2 at acpivideo0: DFP1
> acpivout3 at acpivideo0: LCD_
> acpivout4 at acpivideo0: DTV2
> acpivout5 at acpivideo0: DFP2
> bios0: ROM list: 0xc0000/0xec00!
> cpu0: Enhanced SpeedStep 1597 MHz: speeds: 1600, 1333, 1066, 800 MHz
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82945GME Host" rev 0x03
> vga1 at pci0 dev 2 function 0 "Intel 82945GME Video" rev 0x03
> 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 0x40000000, size 0x10000000
> inteldrm0 at vga1: apic 4 int 16 (irq 11)
> drm0 at inteldrm0
> "Intel 82945GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
> azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02:
> apic 4 int 16 (irq 11)
> azalia0: codecs: Realtek ALC272
> audio0 at azalia0
> ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 4
> int 16 (irq 255)
> pci1 at ppb0 bus 1
> ale0 at pci1 dev 0 function 0 "Attansic Technology L1E" rev 0xb0:
> AR8113, apic 4 int 16 (irq 11), address 00:26:9e:00:53:d1
> atphy0 at ale0 phy 0: F1 10/100/1000 PHY, rev. 9
> ppb1 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: apic 4
> int 19 (irq 255)
> pci2 at ppb1 bus 2
> uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 4
> int 16 (irq 11)
> uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 4
> int 17 (irq 11)
> uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 4
> int 18 (irq 11)
> uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 4
> int 19 (irq 11)
> ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 4
> int 16 (irq 11)
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb2 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
> pci3 at ppb2 bus 3
> ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM disabled
> pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA,
> channel 0 configured to compatibility, channel 1 configured to
> compatibility
> pciide0: channel 0 disabled (no drives)
> pciide0: channel 1 ignored (disabled)
> ahci0 at pci0 dev 31 function 2 "Intel 82801GBM AHCI" rev 0x02: apic 4
> int 17 (irq 11), AHCI 1.1
> scsibus0 at ahci0: 32 targets
> sd0 at scsibus0 targ 0 lun 0: <ATA, ST9160310AS, 0303> SCSI3 0/direct fixed
> sd0: 152627MB, 512 bytes/sec, 312581808 sec total
> ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: apic
> 4 int 17 (irq 11)
> iic0 at ichiic0
> spdmem0 at iic0 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-5300CL5 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 ichpcib0
> 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
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> mtrr: Pentium Pro MTRR support
> uvideo0 at uhub0 port 1 configuration 1 interface 0 "Sonix Technology
> Co., Ltd. WebCam" rev 2.00/1.00 addr 2
> video0 at uvideo0
> umass0 at uhub0 port 3 configuration 1 interface 0 "HTC Android Phone"
> rev 2.00/1.00 addr 3
> umass0: using SCSI over Bulk-Only
> scsibus1 at umass0: 2 targets, initiator 0
> sd1 at scsibus1 targ 1 lun 0: <HTC, Android Phone, 0100> SCSI2
> 0/direct removable
> sd1: drive offline
> uhidev0 at uhub1 port 2 configuration 1 interface 0 "Genius Optical
> Mouse" rev 1.10/1.00 addr 2
> uhidev0: iclass 3/1
> ums0 at uhidev0: 3 buttons, Z dir
> wsmouse1 at ums0 mux 0
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> root on sd0a swap on sd0b dump on sd0b
> urtw0 at uhub0 port 5 "Realtek RTL8187" rev 2.00/1.00 addr 3
> urtw0: RTL8187 rev 0x04, RFv2, address 00:11:6b:16:04:ae
> umass0 at uhub0 port 3 configuration 1 interface 0 " USB FLASH DRIVE"
> rev 2.00/1.00 addr 4
> umass0: using SCSI over Bulk-Only
> scsibus1 at umass0: 2 targets, initiator 0
> sd1 at scsibus1 targ 1 lun 0: <, USB FLASH DRIVE, PMAP> SCSI0 0/direct 
> removable
> sd1: 984MB, 512 bytes/sec, 2015232 sec total
> sd1 detached
> scsibus1 detached
> umass0 detached
> Data modified on freelist: word 5 of object 0xd24ec000 size 0xffc
> previous type devbuf (0xefffeecb != 0xefffeecc)
> ehci_idone: ex=0xd20b2800 is done!
> urtw0 detached
> umass0 at uhub0 port 3 configuration 1 interface 0 " USB FLASH DRIVE"
> rev 2.00/1.00 addr 3
> umass0: using SCSI over Bulk-Only
> scsibus1 at umass0: 2 targets, initiator 0
> sd1 at scsibus1 targ 1 lun 0: <, USB FLASH DRIVE, PMAP> SCSI0 0/direct 
> removable
> sd1: 984MB, 512 bytes/sec, 2015232 sec total
> sd1 detached
> scsibus1 detached
> umass0 detached
> urtw0 at uhub0 port 5 "Realtek RTL8187" rev 2.00/1.00 addr 3
> urtw0: RTL8187 rev 0x04, RFv2, address 00:11:6b:16:04:ae
> 
> -- 
> Dmitrij D. Czarkoff

-- 
[email protected]
SDF Public Access UNIX System - http://sdf.lonestar.org

Reply via email to