From owner-freebsd-usb@FreeBSD.ORG Mon Mar 11 11:06:51 2013 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 98312B76 for ; Mon, 11 Mar 2013 11:06:51 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 88BDD7E1 for ; Mon, 11 Mar 2013 11:06:51 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2BB6pNC089183 for ; Mon, 11 Mar 2013 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2BB6poJ089181 for freebsd-usb@FreeBSD.org; Mon, 11 Mar 2013 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 11 Mar 2013 11:06:51 GMT Message-Id: <201303111106.r2BB6poJ089181@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Mar 2013 11:06:51 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/176417 usb [xhci][cam][umass] kernelpanic while removing plugged o usb/175731 usb detaching USB keyboard freezes other USB keyboards o usb/175639 usb not detect usb netcard D-LINK DUB-E100 rev C1 o usb/175599 usb [usbdevs][patch]Liebert UPS PSI1000 being assigned uhi o usb/175551 usb Seagate 2TB USB extern hard disk have errors with Free o usb/175454 usb update usbdevs and usb_quirk.c for SanDisk SDDR-289 o usb/175379 usb usb card-reader problem o usb/175302 usb don't mount virtual driver CD for my phone o usb/174963 usb buffalo wli-uc-gn wireless card sometimes unusable and o usb/174835 usb uaudio fails to create pcm/dsp device file o usb/174814 usb [PATCH] support for MiFi 2200 o usb/174695 usb usb keeps disconnecting mouse or keyboard o usb/174575 usb Interrupt storm error on startup o usb/174464 usb clone MAC address(es) on usb networks cdce(4) && ue[0- o usb/174254 usb MIDI keyboard not recognised o usb/173722 usb [xhci] xhci driver bug after suspend to RAM (ACPI S3 m o usb/173616 usb LG USB DVD-RW USB STALL o usb/173182 usb usbus appears as a network device o usb/172937 usb FreeBSD 9.1-RC2 usb3 port disconnects o usb/172633 usb Sony Cybershot not recognized as USB mem stick o usb/172199 usb [xhci] high interrupts load xhci o usb/171354 usb [umass] Medium not present error on flash drive [regre o usb/171262 usb plug in sdhc via usb reader reboots machine o usb/171197 usb ADATA Classic CH11 USB HDD doesn't work in FreeBSD 9.1 o usb/170699 usb FreeBSD 9.0 Doesn't list HDD or its partitions in part o usb/170688 usb patch][usbdevs][wlan] Patch for ASUS Black Diamond USB o usb/170606 usb r239222 kernel panic at boot - usb locking issue o usb/170358 usb [ums] Wrong (duplicate) button numbers o usb/170123 usb [umass] HP v210w USB stick not supported o usb/169935 usb [keyboard] Unable use USB keyboard while panic o usb/169789 usb [u3g] [patch] add support for huawei e3131 o usb/169461 usb [ugen] USB2 high-speed device detected as full speed o usb/169428 usb [ugen] ugen not detecting all endpoints on device [reg o usb/168551 usb [umass] Issues with embedded card reader (Laptop ASUS o usb/168132 usb [umass] MATSHITA memory card size reported wrong, moun o usb/167847 usb [ural] dlink dwl-122g e crashes(?) when trying wap2 cr o usb/167001 usb [USB] [PATCH] add support for Smart G2 64MB memory key o usb/165815 usb [usbdevs] [patch] add k3772z 3g modem support o usb/165163 usb [keyboard] The USB RF keyboard and mouse become non-re o usb/164058 usb [umass] Lexar 8GB USB flash drive doesn't work by defa f usb/163328 usb [usb] Support for Atheros USB abgn devices o kern/163091 usb [panic] Fatal trap 12: page fault while in kernel mode f usb/162306 usb usb devices cant get address asignation, no memories, o usb/162054 usb usbdump just hangs on 9.0-RC1 f usb/161793 usb poor EHCI usb2 i/o performance o usb/160436 usb ucom wedges machine on parity error ? o usb/160299 usb MicroSDHC-to-USB adapters do not work in FreeBSD 8.x o usb/160192 usb [install] Installation from USB-Stick doesn't find the o usb/159274 usb USB 3.0 Etron EJ168A does not work. f usb/159191 usb [fusefs-ntfs] write on fusefs-ntfs mounted partition r o usb/157376 usb LaCie USB disk not recognized o usb/157074 usb [boot] [usb8] vfs_mountroot_ask is called when no usb o usb/156898 usb [keyboard] usb keyboard does not work while boot (ps2 f usb/156735 usb Need Quirk for Goflex USB Disk Drives o usb/156726 usb [snd_uaudio]: snd_uaudio(4) fails to detach when mixer o usb/156725 usb USB stack stall cause complete system input loss o usb/156596 usb [ehci] Extremely high interrupt rate on ehci/uhci IRQ1 o usb/156000 usb rum(4) Fatal trap 18: integer divide fault while in ke f usb/155996 usb NanoBSD not booted as Disk o usb/155784 usb Problem with Transcend StoreJet 25M3 (2AJ1) on Asus M2 o usb/155663 usb [usbdevs] [patch] Add support for Supertop Nano 1GB US o usb/154753 usb [usbdevs] [patch] Support for Qualcomm USB modem/stora o usb/154506 usb [umass] Copying dir with large files makes FreeBSD loa o usb/154192 usb [umass] In Garmin Oregon GPS, only the first umass dev o i386/153851 usb [keyboard] keyboard issues on new Intel Mother boards. o usb/153703 usb [keyboard] My USB keyboard can not be used in 8-STABLE o usb/153609 usb [zyd] [panic] kernel: Fatal trap 12: page fault while o usb/153149 usb [umass] USB stick quirk regression [regression] o usb/152075 usb [usb8] [ehci] [request] Add quirk for CS5536 USB o usb/150892 usb [zyd] Whenever network contacted in any shape, way or o usb/150189 usb [run] [usb8] [patch] if_run appears to corrupt IP traf p usb/149764 usb [u3g] [patch] usbdevs update: Huawei K3765 3G modem o usb/149283 usb [uftdi] avrdude unable to talk to Arduino board (via u o usb/149162 usb [ural] ASUS WL-167g doesn't work in 8.1 (continue of 1 s usb/148702 usb [usb8] [request] IO DATA USB-RSAQ5 support on FreeBSD- o usb/148080 usb usbconfig(8) sometimes does not turn off the device o i386/147475 usb [install] FreeBSD 8.x does not install on ASUS K8N4-E o usb/146840 usb [hang] FreeBSD 7.2 / 7.3 / 8.0 hang at startup after e o usb/146153 usb [axe] [usb8] Hosts in network doesn't receive any pack f usb/146054 usb [urtw] [usb8] urtw driver potentially out of date f usb/145513 usb [usb8] New USB stack: no new devices after forced usb p usb/145455 usb [usb8] [patch] USB debug support cannot be disabled o usb/145415 usb [umass] [usb8] USB card reader does not create slices a usb/145184 usb GENERIC can't mount root from USB on Asus EEE o usb/145165 usb [keyboard] [usb8] ukbd_set_leds_callback: error=USB_ER f kern/144938 usb [keyboard] [boot] Boot Failure with Apple (MB869LL/A) o usb/144387 usb [run] [panic] if_run panic o usb/144043 usb [umass] [usb8] USB DLT tape drive throws random errors a usb/143790 usb [boot] [cam] can not boot from usb hdd f usb/143620 usb [cdce] [usb8] the module if_cdce doesn't support my Op f usb/143294 usb [usb8] copying process stops at some time (10 - 50 sec o usb/143286 usb [ukbd] [usb8] [boot] boot failures on RELENG_8 system p usb/143186 usb [usbdevs] [usb8] [patch] add USB device IDs for Google a usb/143139 usb [umass] [usb8] [patch] Quirk for Century EX35SW4_SB4 J p usb/143045 usb [umass] [usb8] [patch] mounting Fujitsu 2600Z camera d f usb/142989 usb [usb8] canon eos 50D attaches but detaches after few s f usb/142957 usb [umass] [usb8] [patch] patch for USB disk SYNCHRONIZE o usb/142719 usb [urtw] [usb8] AirLive WL-1600USB (RTL8187L chipset) fa f usb/142276 usb [umass] [usb8] Cache Synchronization Error with Olympu o usb/142229 usb [ums] [usb8] [hang] connecting a USB mouse to a Dell P f usb/141680 usb [uath] [usb8] Netgear WG111T not working with uath dri o usb/141664 usb [pcm] [usb8] Logitech USB microphone failure [regressi o usb/141474 usb [boot] [usb8] FreeBSD 8.0 can not install from USB CDR o usb/141212 usb [ukbd] [usb8] ukbd_set_leds_callback:700: error=USB_ER o kern/141011 usb [usb8] Encrypted root, geli password at boot; enter ke o usb/140920 usb [install] [usb8] USB based install fails on 8.0-RELEAS o usb/140893 usb [urtw] [usb8] WPA2 not working on rtl8187b o kern/140849 usb [ums] [usb8] USB mouse doesn't work under FreeBSD 8.0- a usb/140810 usb [uftdi] [usb8] 8.X copy and paste problem / tty overfl o usb/140477 usb [umass] [usb8] [patch] allow boot-time attachment of d o usb/140236 usb [msdosfs] [usb8] Labels wiped on external Journaled US o usb/140160 usb [usb8] [acpi] USB ports are no longer "active" after A o usb/138798 usb [boot] [usb8] 8.0-BETA4 can't boot from USB flash driv o usb/138659 usb [usb8][uftdi] driver broken in RELENG_8/CURRENT o usb/138124 usb [snd_uaudio] [usb8] Axed uaudio functionality in the u o usb/137377 usb [usb8] request support for Huawei E180 o usb/137341 usb [usb8][rum] driver if_rum doesn't work at all and thro f usb/137190 usb [usb8][patch] inhibit spurious button releases for som o usb/137189 usb [usb8][patch] create and use sysctl nodes for HID repo p usb/137188 usb [usb8][patch] correctly handle USB report descriptors o usb/137129 usb [ums] [usb8] SteelSeries Ikari USB laser mouse not att o usb/135542 usb [keyboard] boot loader does not work with a usb keyboa o usb/135206 usb machine reboots when inserted USB device f usb/135200 usb SAMSUNG i740 usb mass: Synchronize cache failed, statu o usb/134950 usb Lowering DTR for USB-modem via ubsa is not possible o usb/134299 usb Kernel Panic plugging in MF626 USB UMTS Stick u3g o usb/134193 usb System freeze on usb MP3 player insertion o usb/134085 usb [umass] [patch] Adding usb quirk for Sony USB flash dr o usb/133989 usb [usb8] [ukbd] USB keyboard dead at mountroot> prompt o usb/133712 usb [ural] [patch] RE: Fixed an issue with ural(4) that wa o usb/133390 usb umass crashes system in 7.1 when Olympus D-540 attache o usb/133296 usb [rum] driver not working properly in hostap mode o usb/132594 usb USB subsystem causes page fault and crashes o usb/132080 usb [patch] [usb] [rum] [panic] Kernel panic after NOMEM c o usb/132066 usb [ukbd] Keyboard failure USB keyboard DELL 760 o usb/132036 usb [panic] page fault when connecting Olympus C740 camera o usb/131583 usb [umass] Failure when detaching umass Device o usb/131576 usb [aue] ADMtek USB To LAN Converter can't send data o usb/131521 usb Registering Belkin UPS to usb_quirks.c o usb/131074 usb no run-time detection of usb devices plugged into exte o usb/130736 usb Page fault unplugging USB stick o usb/130208 usb Boot process severely hampered by umass0 error o usb/130122 usb [usb8] DVD drive detects as 'da' device f usb/129766 usb [usb] [panic] plugging in usb modem HUAWEI E226 panics o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o usb/129311 usb [usb] [panic] Instant crash with an USB card reader o usb/128485 usb [umodem] [patch] Nokia N80 modem support o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive o usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/127926 usb [boot] USB Timeout during bootup o usb/127342 usb [boot] [panic] enabling usb keyboard and mouse support o usb/127248 usb [ucom] panic while uplcom devices attach and detach o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c o usb/126848 usb [usb]: USB Keyboard hangs during Installation o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be o usb/126519 usb [usb] [panic] panic when plugging in an iphone o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device o usb/125631 usb [ums] [panic] kernel panic during bootup while 'Logite o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d f usb/125450 usb [panic] Removing USB flash card while being accessed c o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U o usb/124980 usb [panic] kernel panic on detaching unmounted umass devi o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe o usb/124758 usb [rum] [panic] rum panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach o kern/124130 usb [usb] gmirror fails to start usb devices that were pre o usb/123969 usb [usb] Supermicro H8SMi-2 usb problem: port reset faile o usb/123714 usb [usb] [panic] Panic when hald-storage-probe runs with o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb [usb] [panic] Panic on USB device insertion when usb l o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa o usb/122547 usb [ehci] USB Printer not being recognized after reboot o usb/122539 usb [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci o usb/122483 usb [panic] [ulpt] Repeatable panic in 7.0-STABLE o usb/122119 usb [umass] umass device causes creation of daX but not da o usb/121734 usb [ugen] ugen HP1022 printer device not working since up o usb/121708 usb [keyboard] nforce 650i mobo w/ usb keyboard infinite k o usb/121275 usb [boot] [panic] FreeBSD fails to boot with usb legacy s o usb/121169 usb [umass] Issues with usb mp3 player o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS f usb/120786 usb [usb] [panic] Kernel panic when forced umount of a det o usb/120729 usb [panic] fault while in kernel mode with connecting USB o conf/120406 usb [devd] [patch] Handle newly attached pcm devices (eg. o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression] o usb/119509 usb [usb] USB flaky on Dell Optiplex 755 o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work o usb/117893 usb [umass] Lacie USB DVD writing failing o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o usb/117598 usb [snd_uaudio] [patch] Not possible to record with Plant o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300 o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/114682 usb [umass] generic USB media-card reader unusable o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/97472 usb [cam] [patch] add support for Olympus C150,D390 s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2. o usb/97175 usb [umass] [hang] USB cardreader hangs system o usb/96457 usb [umass] [panic] fatback on umass = reboot o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync s usb/96120 usb [ums] [request] USB mouse not always detected s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620 o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg f usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91283 usb [boot] [regression] booting very slow with usb devices o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/89954 usb [umass] [panic] USB Disk driver race condition? o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg o usb/88408 usb [axe] axe0 read PHY failed o usb/87648 usb [mouse] Logitech USB-optical mouse problem. f usb/87224 usb [usb] Cannot mount USB Zip750 o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/86298 usb [mouse] Known good USB mouse won't work with correct s s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/83863 usb [ugen] Communication problem between opensc/openct via o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. s usb/80777 usb [request] usb_rem_task() should wait for callback to c s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_ o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails f usb/80040 usb [sound] [hang] Use of sound mixer causes system freeze o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/78984 usb [umass] [patch] Creative MUVO umass failure o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s s usb/52026 usb [new driver] [request] umass driver support for InSyst s usb/51958 usb [urio] [patch] update for urio driver o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 290 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Mar 11 11:12:34 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 21F68593 for ; Mon, 11 Mar 2013 11:12:34 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id C28329A8 for ; Mon, 11 Mar 2013 11:12:33 +0000 (UTC) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id CB4A73AC8B for ; Mon, 11 Mar 2013 04:12:22 -0700 (PDT) From: "Ronald F. Guilmette" To: freebsd-usb@freebsd.org Subject: Help, please... USB 3.0 card won't attach again after first detach Date: Mon, 11 Mar 2013 04:12:22 -0700 Message-ID: <2048.1363000342@server1.tristatelogic.com> X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Mar 2013 11:12:34 -0000 I have a new PCIe USB 3.0 card. It is basically just like this one: http://www.amazon.com/Uspeed-Superspeed-Express-Connector-Desktops/dp/B005ARQV6U/ref=sr_1_2?ie=UTF8&qid=1362999114&sr=8-2&keywords=anker+USB+3.0 except that mine is the 2 port version, rather than the 4 port version. (But it is the same brand/manufacturer.) Wnen I fire up the system, the card is recognized just fine. Then, I can plug in one of my USB 3.0 external drives, and the system properly notices that this has happened, and the system then creates an appropriate set of new /dev/da??? nodes. Then I can successfully mount one of those, e.g. onto /mnt. Later however, I umount the partition in question and then physically disconnect USB 3.0 drive from the USB 3.0 card. Later still, I try again to plug in the same USB 3.0 drive or a different USB 3.0 drive, also and again into one of the two ports on the USB 3.0 PCIe card. Now, all I get is grief and failure. Here is some probably relevant material from my /var/log/messages file: ... Mar 11 03:40:06 segfault kernel: pci3: on pcib1 Mar 11 03:40:06 segfault kernel: xhci0: mem 0xf6000000-0xf6000fff irq 16 at device 0.0 on pci3 Mar 11 03:40:06 segfault kernel: xhci0: 32 byte context size. Mar 11 03:40:06 segfault kernel: usbus0 on xhci0 ... ... Mar 11 03:40:06 segfault kernel: usbus0: 5.0Gbps Super Speed USB v3.0 Mar 11 03:40:06 segfault kernel: usbus1: 12Mbps Full Speed USB v1.0 Mar 11 03:40:06 segfault kernel: usbus2: 480Mbps High Speed USB v2.0 Mar 11 03:40:06 segfault kernel: ugen0.1: <0x1106> at usbus0 Mar 11 03:40:06 segfault kernel: uhub0: <0x1106 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 Mar 11 03:40:06 segfault kernel: ugen1.1: at usbus1 Mar 11 03:40:06 segfault kernel: uhub1: on usbus1 Mar 11 03:40:06 segfault kernel: ugen2.1: at usbus2 Mar 11 03:40:06 segfault kernel: uhub2: on usbus2 Mar 11 03:40:06 segfault kernel: uhub1: 8 ports with 8 removable, self powered Mar 11 03:40:06 segfault kernel: uhub0: 5 ports with 4 removable, self powered Mar 11 03:40:06 segfault kernel: ugen0.2: at usbus0 Mar 11 03:40:06 segfault kernel: uhub3: on usbus0 Mar 11 03:40:06 segfault kernel: uhub3: 4 ports with 4 removable, self powered ... ... Mar 11 03:41:56 segfault kernel: ugen0.3: at usbus0 Mar 11 03:41:56 segfault kernel: umass1: on usbus0 Mar 11 03:41:56 segfault kernel: umass1: SCSI over Bulk-Only; quirks = 0x4100 Mar 11 03:41:56 segfault kernel: umass1:8:1:-1: Attached to scbus8 Mar 11 03:42:01 segfault kernel: (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 Mar 11 03:42:01 segfault kernel: (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error Mar 11 03:42:01 segfault kernel: (probe0:umass-sim1:1:0:0): Retrying command Mar 11 03:42:02 segfault kernel: da1 at umass-sim1 bus 1 scbus8 target 0 lun 0 Mar 11 03:42:02 segfault kernel: da1: Fixed Direct Access SCSI-0 device Mar 11 03:42:02 segfault kernel: da1: 400.000MB/s transfers Mar 11 03:42:02 segfault kernel: da1: 953868MB (1953523051 512 byte sectors: 255H 63S/T 121601C) Mar 11 03:42:51 segfault ntfs-3g[1786]: Version 2012.1.15 external FUSE 29 Mar 11 03:42:51 segfault ntfs-3g[1786]: Mounted /dev/da1s1 (Read-Write, label "Gauntlet2-1-Partition-0", NTFS 3.1) Mar 11 03:42:51 segfault ntfs-3g[1786]: Cmdline options: Mar 11 03:42:51 segfault ntfs-3g[1786]: Mount options: allow_other,nonempty,relatime,fsname=/dev/da1s1 Mar 11 03:42:51 segfault ntfs-3g[1786]: Ownership and permissions disabled, configuration type 1 ... Mar 11 03:44:15 segfault ntfs-3g[1786]: Unmounting /dev/da1s1 (Gauntlet2-1-Partition-0) Mar 11 03:44:51 segfault kernel: ugen0.3: at usbus0 (disconnected) Mar 11 03:44:51 segfault kernel: umass1: at uhub0, port 4, addr 2 (disconnected) Mar 11 03:44:51 segfault kernel: (da1:umass-sim1:1:0:0): lost device - 0 outstanding, 1 refs Mar 11 03:44:51 segfault kernel: (pass5:umass-sim1:1:0:0): passdevgonecb: devfs entry is gone Mar 11 03:44:51 segfault kernel: (da1:umass-sim1:1:0:0): removing device entry Mar 11 03:45:05 segfault kernel: ugen0.3: at usbus0 Mar 11 03:45:05 segfault kernel: umass1: on usbus0 Mar 11 03:45:05 segfault kernel: umass1: SCSI over Bulk-Only; quirks = 0x0100 Mar 11 03:45:05 segfault kernel: umass1:8:1:-1: Attached to scbus8 Mar 11 03:45:05 segfault kernel: (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 Mar 11 03:45:05 segfault kernel: (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error Mar 11 03:45:05 segfault kernel: (probe0:umass-sim1:1:0:0): Retrying command Mar 11 03:45:05 segfault kernel: ugen0.3: at usbus0 (disconnected) Mar 11 03:45:05 segfault kernel: umass1: at uhub0, port 4, addr 2 (disconnected) Mar 11 03:45:05 segfault kernel: (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 Mar 11 03:45:05 segfault kernel: (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error Mar 11 03:45:05 segfault kernel: (probe0:umass-sim1:1:0:0): Retrying command Mar 11 03:47:09 segfault kernel: uhub3: at uhub0, port 1, addr 1 (disconnected) Mar 11 03:47:09 segfault kernel: usbd_req_re_enumerate: addr=1, set address failed! (USB_ERR_IOERROR, ignored) Mar 11 03:47:11 segfault kernel: usbd_req_re_enumerate: addr=1, set address failed! (USB_ERR_IOERROR, ignored) Mar 11 03:49:38 segfault kernel: xhci_do_command: Command timeout! Mar 11 03:49:38 segfault kernel: usb_alloc_device: set address 3 failed (USB_ERR_TIMEOUT, ignored) Mar 11 03:49:38 segfault kernel: xhci_do_command: Command timeout! Mar 11 03:49:51 segfault last message repeated 47 times Mar 11 03:49:51 segfault kernel: usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored) Mar 11 03:49:53 segfault kernel: xhci_do_command: Command timeout! Mar 11 03:50:06 segfault last message repeated 41 times Mar 11 03:50:06 segfault kernel: usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored) Mar 11 03:50:07 segfault kernel: xhci_do_command: Command timeout! Mar 11 03:50:19 segfault last message repeated 39 times Mar 11 03:50:19 segfault kernel: ugen0.3: at usbus0 (disconnected) Mar 11 03:50:19 segfault kernel: xhci_do_command: Command timeout! Mar 11 03:50:19 segfault kernel: uhub_reattach_port: could not allocate new device ... What am I doing wrong? Apparently, I cannot mount partitions from my shiny new USB 3.0 external drives using my shiny new USB 3.0 card any time after the first time I physically disconnect a USB 3.0 drive from the card, because after that, all that apparently happens is driver errors, and (thus) the necessary /dev/da??? nodes do not get created to represent the drive that I just plugged in. What is causing the errors and how can I make them go away? Are the USB 3.0 card/chipset drivers considered mature and/or stable? Regards, rfg From owner-freebsd-usb@FreeBSD.ORG Mon Mar 11 14:37:49 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1B83B283 for ; Mon, 11 Mar 2013 14:37:49 +0000 (UTC) (envelope-from hps@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 8DCDD806 for ; Mon, 11 Mar 2013 14:37:48 +0000 (UTC) Received: from mail.bitfrost.no (mail.bitfrost.no [46.29.221.36]) by mta.bitpro.no (Postfix) with ESMTP id 781F87A11D; Mon, 11 Mar 2013 15:37:41 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at bitfrost.no Received: from laptop015.hselasky.homeunix.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: hanspetter) by mail.bitfrost.no (Postfix) with ESMTPSA id 797FF202D7; Mon, 11 Mar 2013 15:37:38 +0100 (CET) Message-ID: <513DEC7B.3080107@bitfrost.no> Date: Mon, 11 Mar 2013 15:38:51 +0100 From: Hans Petter Selasky Organization: Bitfrost A/S MIME-Version: 1.0 To: "Ronald F. Guilmette" Subject: Re: Help, please... USB 3.0 card won't attach again after first detach References: <2048.1363000342@server1.tristatelogic.com> In-Reply-To: <2048.1363000342@server1.tristatelogic.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Mar 2013 14:37:49 -0000 On 03/11/13 12:12, Ronald F. Guilmette wrote: > > > I have a new PCIe USB 3.0 card. It is basically just like this one: > > http://www.amazon.com/Uspeed-Superspeed-Express-Connector-Desktops/dp/B005ARQV6U/ref=sr_1_2?ie=UTF8&qid=1362999114&sr=8-2&keywords=anker+USB+3.0 > > except that mine is the 2 port version, rather than the 4 port version. > (But it is the same brand/manufacturer.) > > Wnen I fire up the system, the card is recognized just fine. Then, I can > plug in one of my USB 3.0 external drives, and the system properly notices > that this has happened, and the system then creates an appropriate set of > new /dev/da??? nodes. Then I can successfully mount one of those, e.g. > onto /mnt. > > Later however, I umount the partition in question and then physically > disconnect USB 3.0 drive from the USB 3.0 card. > > Later still, I try again to plug in the same USB 3.0 drive or a different > USB 3.0 drive, also and again into one of the two ports on the USB 3.0 > PCIe card. Now, all I get is grief and failure. > > Here is some probably relevant material from my /var/log/messages file: > > ... > Mar 11 03:40:06 segfault kernel: pci3: on pcib1 > Mar 11 03:40:06 segfault kernel: xhci0: mem 0xf6000000-0xf6000fff irq 16 at device 0.0 on pci3 > Mar 11 03:40:06 segfault kernel: xhci0: 32 byte context size. > Mar 11 03:40:06 segfault kernel: usbus0 on xhci0 > ... > > ... > Mar 11 03:40:06 segfault kernel: usbus0: 5.0Gbps Super Speed USB v3.0 > Mar 11 03:40:06 segfault kernel: usbus1: 12Mbps Full Speed USB v1.0 > Mar 11 03:40:06 segfault kernel: usbus2: 480Mbps High Speed USB v2.0 > Mar 11 03:40:06 segfault kernel: ugen0.1: <0x1106> at usbus0 > Mar 11 03:40:06 segfault kernel: uhub0: <0x1106 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 > Mar 11 03:40:06 segfault kernel: ugen1.1: at usbus1 > Mar 11 03:40:06 segfault kernel: uhub1: on usbus1 > Mar 11 03:40:06 segfault kernel: ugen2.1: at usbus2 > Mar 11 03:40:06 segfault kernel: uhub2: on usbus2 > Mar 11 03:40:06 segfault kernel: uhub1: 8 ports with 8 removable, self powered > Mar 11 03:40:06 segfault kernel: uhub0: 5 ports with 4 removable, self powered > Mar 11 03:40:06 segfault kernel: ugen0.2: at usbus0 > Mar 11 03:40:06 segfault kernel: uhub3: on usbus0 > Mar 11 03:40:06 segfault kernel: uhub3: 4 ports with 4 removable, self powered > ... > > ... > Mar 11 03:41:56 segfault kernel: ugen0.3: at usbus0 > Mar 11 03:41:56 segfault kernel: umass1: on usbus0 > Mar 11 03:41:56 segfault kernel: umass1: SCSI over Bulk-Only; quirks = 0x4100 > Mar 11 03:41:56 segfault kernel: umass1:8:1:-1: Attached to scbus8 > Mar 11 03:42:01 segfault kernel: (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > Mar 11 03:42:01 segfault kernel: (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error > Mar 11 03:42:01 segfault kernel: (probe0:umass-sim1:1:0:0): Retrying command > Mar 11 03:42:02 segfault kernel: da1 at umass-sim1 bus 1 scbus8 target 0 lun 0 > Mar 11 03:42:02 segfault kernel: da1: Fixed Direct Access SCSI-0 device > Mar 11 03:42:02 segfault kernel: da1: 400.000MB/s transfers > Mar 11 03:42:02 segfault kernel: da1: 953868MB (1953523051 512 byte sectors: 255H 63S/T 121601C) > Mar 11 03:42:51 segfault ntfs-3g[1786]: Version 2012.1.15 external FUSE 29 > Mar 11 03:42:51 segfault ntfs-3g[1786]: Mounted /dev/da1s1 (Read-Write, label "Gauntlet2-1-Partition-0", NTFS 3.1) > Mar 11 03:42:51 segfault ntfs-3g[1786]: Cmdline options: > Mar 11 03:42:51 segfault ntfs-3g[1786]: Mount options: allow_other,nonempty,relatime,fsname=/dev/da1s1 > Mar 11 03:42:51 segfault ntfs-3g[1786]: Ownership and permissions disabled, configuration type 1 > ... > Mar 11 03:44:15 segfault ntfs-3g[1786]: Unmounting /dev/da1s1 (Gauntlet2-1-Partition-0) > Mar 11 03:44:51 segfault kernel: ugen0.3: at usbus0 (disconnected) > Mar 11 03:44:51 segfault kernel: umass1: at uhub0, port 4, addr 2 (disconnected) > Mar 11 03:44:51 segfault kernel: (da1:umass-sim1:1:0:0): lost device - 0 outstanding, 1 refs > Mar 11 03:44:51 segfault kernel: (pass5:umass-sim1:1:0:0): passdevgonecb: devfs entry is gone > Mar 11 03:44:51 segfault kernel: (da1:umass-sim1:1:0:0): removing device entry > Mar 11 03:45:05 segfault kernel: ugen0.3: at usbus0 > Mar 11 03:45:05 segfault kernel: umass1: on usbus0 > Mar 11 03:45:05 segfault kernel: umass1: SCSI over Bulk-Only; quirks = 0x0100 > Mar 11 03:45:05 segfault kernel: umass1:8:1:-1: Attached to scbus8 > Mar 11 03:45:05 segfault kernel: (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > Mar 11 03:45:05 segfault kernel: (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error > Mar 11 03:45:05 segfault kernel: (probe0:umass-sim1:1:0:0): Retrying command > Mar 11 03:45:05 segfault kernel: ugen0.3: at usbus0 (disconnected) > Mar 11 03:45:05 segfault kernel: umass1: at uhub0, port 4, addr 2 (disconnected) > Mar 11 03:45:05 segfault kernel: (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > Mar 11 03:45:05 segfault kernel: (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error > Mar 11 03:45:05 segfault kernel: (probe0:umass-sim1:1:0:0): Retrying command > Mar 11 03:47:09 segfault kernel: uhub3: at uhub0, port 1, addr 1 (disconnected) > Mar 11 03:47:09 segfault kernel: usbd_req_re_enumerate: addr=1, set address failed! (USB_ERR_IOERROR, ignored) > Mar 11 03:47:11 segfault kernel: usbd_req_re_enumerate: addr=1, set address failed! (USB_ERR_IOERROR, ignored) > Mar 11 03:49:38 segfault kernel: xhci_do_command: Command timeout! > Mar 11 03:49:38 segfault kernel: usb_alloc_device: set address 3 failed (USB_ERR_TIMEOUT, ignored) > Mar 11 03:49:38 segfault kernel: xhci_do_command: Command timeout! > Mar 11 03:49:51 segfault last message repeated 47 times > Mar 11 03:49:51 segfault kernel: usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored) > Mar 11 03:49:53 segfault kernel: xhci_do_command: Command timeout! > Mar 11 03:50:06 segfault last message repeated 41 times > Mar 11 03:50:06 segfault kernel: usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored) > Mar 11 03:50:07 segfault kernel: xhci_do_command: Command timeout! > Mar 11 03:50:19 segfault last message repeated 39 times > Mar 11 03:50:19 segfault kernel: ugen0.3: at usbus0 (disconnected) > Mar 11 03:50:19 segfault kernel: xhci_do_command: Command timeout! > Mar 11 03:50:19 segfault kernel: uhub_reattach_port: could not allocate new device > ... > > > What am I doing wrong? > > Apparently, I cannot mount partitions from my shiny new USB 3.0 external > drives using my shiny new USB 3.0 card any time after the first time I > physically disconnect a USB 3.0 drive from the card, because after that, > all that apparently happens is driver errors, and (thus) the necessary > /dev/da??? nodes do not get created to represent the drive that I just > plugged in. > > What is causing the errors and how can I make them go away? > > Are the USB 3.0 card/chipset drivers considered mature and/or stable? > Hi, If you plug another USB device like a memory stick, does the same happen? Is your USB HDD self powered? --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Mar 11 20:43:13 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 36491726 for ; Mon, 11 Mar 2013 20:43:13 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 13622F87 for ; Mon, 11 Mar 2013 20:43:12 +0000 (UTC) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id 15C193BB20; Mon, 11 Mar 2013 13:43:07 -0700 (PDT) From: "Ronald F. Guilmette" To: Hans Petter Selasky Subject: Re: Help, please... USB 3.0 card won't attach again after first detach In-Reply-To: <513DEC7B.3080107@bitfrost.no> Date: Mon, 11 Mar 2013 13:43:07 -0700 Message-ID: <2101.1363034587@server1.tristatelogic.com> Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Mar 2013 20:43:13 -0000 In message <513DEC7B.3080107@bitfrost.no>, Hans Petter Selasky wrote: >If you plug another USB device like a memory stick, does the same happen? > >Is your USB HDD self powered? Thank you very much for your questions. I am ashamed to admit that I simply did not stop to think that I should try various USB devices to see if any others would make a difference to this problem. Now I have done several tests, based on your questions, and the specific device being plugged in quite clearly _does_ make a difference. I am fortuante that I happen to have several USB memory sticks on hand, including both USB 2.0 and also USB 3.0 sticks, and I also have on hand three (3) different USB 3.0 external 2.5 inch (5400rpm) drives. I've tested all these now with my new Anker[tm] USB 3.0 PCIe card, and now I know what I did not know before... the problem I described is apparently limited to just one of my external USB 3.0 hard drives... which is indeed self-powered... although I'm not at all persuaded that that makes any difference. All of my USB 2.0 & 3.0 memory sticks work just fine with the Anker card. Of my USB 3.0 external hard drives, I have just the following three: 1) Hitachi Mobile Touro (Model 0S03452) 500GB 5400rpm (self-powered) 2) HGST 2.5" 1TB/5400rpm drive (model 0s03508) mounted inside of a brand new Patriot[tm] Gauntlet2 external 2.5" USB 3.0 self-powered enclosure 3) identical to #2 above The latter two drives work just fine with the Anker PCIe card, with no problems whatsoever. >From all my testing, it is now 100% clear that the only problem is with the Hitachi Mobile Touro drive. As noted above, this drive is self-powered, but then so are the other two external 2.5" drives that I have had complete success with, so I really don't think that this is a power issue. I should perhaps note also that I have used the Hitachi Mobile Touro also with my laptop (USB 2.0 port & Windows 7), with another computer (USB 2.0 only, Windows 7 & 2000) and even with my LG Blu-ray player, and it has never before given me even a hint of trouble. But clearly, there is some incompatability between the Hitachi Mobile Touro and the Anker PCIe USB 3.0 card. I will inform the manufacturer. Thanks again for your questions and makeing me do my homework. I apologize for failing to have done it earlier. Regards, rfg P.S. For whatever it's worth I also don't believe that this problem has anything to do with power supply issues because (a) the little blue light on top of the Hitachi Mobile Touro does in fact come on when it is plugged in, and also, the Anker[tm] card _does_ have a place on it to attach a 4-pin molex power connector, from the system power supply, and I have of course done that. It seems that this card and this drive just do not like each other. From owner-freebsd-usb@FreeBSD.ORG Tue Mar 12 16:52:27 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9C8006FD; Tue, 12 Mar 2013 16:52:27 +0000 (UTC) (envelope-from makc@freebsd.org) Received: from mail.issp.ac.ru (mail.issp.ac.ru [77.236.34.3]) by mx1.freebsd.org (Postfix) with ESMTP id 24134E86; Tue, 12 Mar 2013 16:52:26 +0000 (UTC) Received: from mercury.ph.man.ac.uk [130.88.75.175:35731] (HELO/EHLO mercury.ph.man.ac.uk, authenticated with LOGIN) by mail.issp.ac.ru with ESMTP/inet id r2CGqPU1039048 (using TLSv1/SSLv3, with cipher DHE-RSA-AES256-SHA (256 bits), verified NO) Tue, 12 Mar 2013 20:52:26 +0400 (MSK) From: Max Brazhnikov To: Kevin Oberman Subject: Re: high system load when using i915kms Date: Tue, 12 Mar 2013 16:53:25 +0000 Message-ID: <1974063.Ti2gy7L6k6@mercury.ph.man.ac.uk> User-Agent: KMail/4.9.5 (FreeBSD/9.1-STABLE; KDE/4.10.1; amd64; ; ) In-Reply-To: References: <2460779.xZBtdeG4eu@mercury.ph.man.ac.uk> <1382092.A6MSmtKV3F@mercury.ph.man.ac.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="ISO-8859-1" Cc: Konstantin Belousov , freebsd-x11@freebsd.org, freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Mar 2013 16:52:27 -0000 On Fri, 08 Mar 2013 11:38:13 -0800 Kevin Oberman wrote: > On Fri, Mar 8, 2013 at 10:03 AM, Max Brazhnikov wrote: > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU > > COMMAND > > 11 root 2 155 ki31 0K 32K RUN 1 4:16 120.35% idle > > 12 root 18 -84 - 0K 288K WAIT 0 0:57 76.34% intr > > > > I've got this after second boot today, although I couldn't reproduce it > > yesterday even after ten attempts. But sometimes it's quite nasty and I > > have > > to reboot the system several times to get rid of it. > > > > Max > > > > So the issue is that that the interrupts from one or another of the USB > devices has exploded from near zero to around 40K when the kernel module is > loaded? Exactly. > A couple of possibly irrelevant questions. Do you normally manually load > the module? I did not research the issue, but when I manually load the > module I was seeing things just grind to a halt. If I started Gnome, the > module was loaded automatically by X, and things worked. No I don't usually load it manually, I was just wondering what causes the interrupt storm. > Why loading the Intel KMS module would cause a massive increase in > interrupts on a USB interface completely baffles me, but I suspect some > sort of race is going on when the module is pre-loaded. It happens if I allow X to load the module also, the problem is not due to pre-loading. Max From owner-freebsd-usb@FreeBSD.ORG Tue Mar 12 17:58:43 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 93DC3852; Tue, 12 Mar 2013 17:58:43 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 07D968FB; Tue, 12 Mar 2013 17:58:42 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.6/8.14.6) with ESMTP id r2CHvUIw019113; Tue, 12 Mar 2013 19:57:30 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.0 kib.kiev.ua r2CHvUIw019113 Received: (from kostik@localhost) by tom.home (8.14.6/8.14.6/Submit) id r2CHvU3T019112; Tue, 12 Mar 2013 19:57:30 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 12 Mar 2013 19:57:30 +0200 From: Konstantin Belousov To: Max Brazhnikov Subject: Re: high system load when using i915kms Message-ID: <20130312175730.GP3794@kib.kiev.ua> References: <2460779.xZBtdeG4eu@mercury.ph.man.ac.uk> <1382092.A6MSmtKV3F@mercury.ph.man.ac.uk> <1974063.Ti2gy7L6k6@mercury.ph.man.ac.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jvwPghPpVanPi35O" Content-Disposition: inline In-Reply-To: <1974063.Ti2gy7L6k6@mercury.ph.man.ac.uk> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: Kevin Oberman , freebsd-x11@freebsd.org, freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Mar 2013 17:58:43 -0000 --jvwPghPpVanPi35O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 12, 2013 at 04:53:25PM +0000, Max Brazhnikov wrote: > On Fri, 08 Mar 2013 11:38:13 -0800 Kevin Oberman wrote: > > On Fri, Mar 8, 2013 at 10:03 AM, Max Brazhnikov wrot= e: > > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU > > > COMMAND > > > 11 root 2 155 ki31 0K 32K RUN 1 4:16 120.35= %=20 > idle > > > 12 root 18 -84 - 0K 288K WAIT 0 0:57 76.34%= intr > > > > > > I've got this after second boot today, although I couldn't reproduce = it > > > yesterday even after ten attempts. But sometimes it's quite nasty and= I > > > have > > > to reboot the system several times to get rid of it. > > > > > > Max > > > > >=20 > > So the issue is that that the interrupts from one or another of the USB > > devices has exploded from near zero to around 40K when the kernel modul= e is > > loaded? >=20 > Exactly. >=20 > > A couple of possibly irrelevant questions. Do you normally manually load > > the module? I did not research the issue, but when I manually load the > > module I was seeing things just grind to a halt. If I started Gnome, the > > module was loaded automatically by X, and things worked. >=20 > No I don't usually load it manually, I was just wondering what causes the= =20 > interrupt storm. >=20 > > Why loading the Intel KMS module would cause a massive increase in > > interrupts on a USB interface completely baffles me, but I suspect some > > sort of race is going on when the module is pre-loaded. >=20 > It happens if I allow X to load the module also, the problem is not due t= o=20 > pre-loading. As I said earlier, change in the userspace cannot change the interrupt routing. What could happen (with very low probability) is that some kind of display interrupt get aliased to the non-msi one. Since it is unacknowledged, it causes the storm on the legacy irq line. But I never saw this on G[M]4*. Just as the blind shot, try to set hw.drm.msi=3D0 in the loader.conf or using the kenv, before the i915kms module is loaded. --jvwPghPpVanPi35O Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJRP2yJAAoJEJDCuSvBvK1BSiUP+wZVwYgxoaV6o68JfCXSseQx qmbm9b9I5pNiU7RcQyIP+0QKDcYeBUg8LAc+1/dVMUFSZc/4vcm0kiO7n9ZORsUK AwlwaAq+IzsUV77CC6prjT6lCdSBbze+Nh7/Mr4l2/hHUaDn5TVD8vvQ+1zkzJ9n Wh+4h2Wre6WNLoupqli92XQUwkK7XGIl7NNv/NOpg2vAoZYGYuampBc48jZCEXkN j7+B+9jnU5S2YjKCqe57xu8CieMbjY2ucR8hJbyw29+bvxHKpxqcEOEQSuIppI1+ /ZAXS+AH/ytu2aumMdaTZNgqGLLU90KxGml0W8h5TmcMmHA6njNu6r1Gdkiq+/bX +zmeM2BUYNXCSUfp4Hy/wCn7FlJ0F/PC0lnsobVrP/Bu1tdW0VNJUJzUY74eMEKG JM/a8rE63E5rATvHYUZ1KWkrERmWgnVqClvy6kL82fFGsu2cZx5FdLKPACwooAvO kmzkJXpIDizzFkYfix7x+y7yQ5qhvXXiKPlJ8AK9cxZuieGjjXuiemOXwUjZuNzB w0O7lrI7PsmI9yY6fMLt8Si/HWlsufXf+7lJ3scoavjJj+J/tJtzICzZmjTq9gKZ evK91JrVEF2/0l6LBLNs70G2kPogap10mPWE9XuWR+FWD7FugAwEu4WaV9oGjWBl vlAbLwEyOuSrYxzT8UFj =970A -----END PGP SIGNATURE----- --jvwPghPpVanPi35O-- From owner-freebsd-usb@FreeBSD.ORG Wed Mar 13 10:30:02 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 91E5163E for ; Wed, 13 Mar 2013 10:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 70190618 for ; Wed, 13 Mar 2013 10:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2DAU20X033655 for ; Wed, 13 Mar 2013 10:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2DAU2Ok033654; Wed, 13 Mar 2013 10:30:02 GMT (envelope-from gnats) Resent-Date: Wed, 13 Mar 2013 10:30:02 GMT Resent-Message-Id: <201303131030.r2DAU2Ok033654@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Christian Jurk Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8D4541EF for ; Wed, 13 Mar 2013 10:21:36 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 7D99B39A for ; Wed, 13 Mar 2013 10:21:36 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r2DALZQW062015 for ; Wed, 13 Mar 2013 10:21:35 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r2DALZ73062008; Wed, 13 Mar 2013 10:21:35 GMT (envelope-from nobody) Message-Id: <201303131021.r2DALZ73062008@red.freebsd.org> Date: Wed, 13 Mar 2013 10:21:35 GMT From: Christian Jurk To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: usb/176913: High interrupt load with ehci X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Mar 2013 10:30:02 -0000 >Number: 176913 >Category: usb >Synopsis: High interrupt load with ehci >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 13 10:30:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Christian Jurk >Release: 9.1 >Organization: >Environment: FreeBSD nodame 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The machine is having constantly high interrupt load. # vmstat -i cjurk@nodame:~% vmstat -i interrupt total rate irq16: ehci0 6264477215 85601 irq18: xhci0 32405333 442 irq23: ehci1 4689051 64 cpu0:timer 29846776 407 irq264: hdac0 62 0 irq265: re0 93526302 1277 irq267: ahci0 737621 10 cpu1:timer 55424818 757 Total 6481107178 88561 # dmesg | grep ehci ehci0: mem 0xf7e08000-0xf7e083ff irq 16 at device 26.0 on pci0 usbus0 on ehci0 ehci1: mem 0xf7e07000-0xf7e073ff irq 23 at device 29.0 on pci0 usbus2 on ehci1 # top -S last pid: 75321; load averages: 0.17, 0.25, 0.24 up 0+20:22:38 11:20:28 70 processes: 2 running, 67 sleeping, 1 waiting CPU: 0.0% user, 0.0% nice, 0.0% system, 27.4% interrupt, 72.6% idle Mem: 46M Active, 792M Inact, 2863M Wired, 34M Cache, 408M Buf, 113M Free Swap: 4096M Total, 7364K Used, 4089M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 11 root 2 155 ki31 0K 32K RUN 1 31.2H 150.29% idle 12 root 16 -84 - 0K 256K WAIT 0 200:06 50.49% intr 0 root 156 -8 0 0K 2496K - 1 149:25 0.00% kernel 15 root 13 -68 - 0K 208K - 0 7:22 0.00% usb 21961 root 4 -8 - 0K 80K tx->tx 0 2:27 0.00% zfskern 80209 cjurk 1 20 0 16560K 1328K select 0 1:22 0.00% top 9 root 1 16 - 0K 16K syncer 1 1:12 0.00% syncer 13 root 3 -8 - 0K 48K - 0 0:55 0.00% geom 14 root 1 -16 - 0K 16K - 1 0:42 0.00% yarrow 22333 root 1 20 0 40724K 1044K nanslp 0 0:16 0.00% nmbd 1157 root 1 20 0 12052K 532K select 0 0:16 0.00% powerd 29397 cjurk 1 20 0 22928K 1600K select 0 0:11 0.00% screen 1154 root 1 20 0 22196K 1268K select 1 0:08 0.00% ntpd 19 root 1 -16 - 0K 16K sdflus 1 0:06 0.00% softdepflu 5 root 1 -16 - 0K 16K psleep 1 0:05 0.00% pagedaemon 16 root 1 -16 - 0K 16K tzpoll 1 0:04 0.00% acpi_therm 1181 root 1 20 0 20252K 2148K select 1 0:03 0.00% sendmail The only device connected to USB is a external hard disk, which is used as storage disk (ZFS). >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Wed Mar 13 11:00:01 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E1EA21BD for ; Wed, 13 Mar 2013 11:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id D48FA7CF for ; Wed, 13 Mar 2013 11:00:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2DB01G0038594 for ; Wed, 13 Mar 2013 11:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2DB01mM038593; Wed, 13 Mar 2013 11:00:01 GMT (envelope-from gnats) Date: Wed, 13 Mar 2013 11:00:01 GMT Message-Id: <201303131100.r2DB01mM038593@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: Hans Petter Selasky Subject: Re: usb/176913: High interrupt load with ehci X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Mar 2013 11:00:01 -0000 The following reply was made to PR usb/176913; it has been noted by GNATS. From: Hans Petter Selasky To: Christian Jurk Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: usb/176913: High interrupt load with ehci Date: Wed, 13 Mar 2013 12:00:23 +0100 On 03/13/13 11:21, Christian Jurk wrote: > >> Number: 176913 >> Category: usb >> Synopsis: High interrupt load with ehci >> Confidential: no >> Severity: non-critical >> Priority: low >> Responsible: freebsd-usb >> State: open >> Quarter: >> Keywords: >> Date-Required: >> Class: sw-bug >> Submitter-Id: current-users >> Arrival-Date: Wed Mar 13 10:30:01 UTC 2013 >> Closed-Date: >> Last-Modified: >> Originator: Christian Jurk >> Release: 9.1 >> Organization: >> Environment: > FreeBSD nodame 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >> Description: > The machine is having constantly high interrupt load. > > # vmstat -i > cjurk@nodame:~% vmstat -i > interrupt total rate > irq16: ehci0 6264477215 85601 > irq18: xhci0 32405333 442 > irq23: ehci1 4689051 64 > cpu0:timer 29846776 407 > irq264: hdac0 62 0 > irq265: re0 93526302 1277 > irq267: ahci0 737621 10 > cpu1:timer 55424818 757 > Total 6481107178 88561 > > # dmesg | grep ehci > ehci0: mem 0xf7e08000-0xf7e083ff irq 16 at device 26.0 on pci0 > usbus0 on ehci0 > ehci1: mem 0xf7e07000-0xf7e073ff irq 23 at device 29.0 on pci0 > usbus2 on ehci1 > > # top -S > last pid: 75321; load averages: 0.17, 0.25, 0.24 up 0+20:22:38 11:20:28 > 70 processes: 2 running, 67 sleeping, 1 waiting > CPU: 0.0% user, 0.0% nice, 0.0% system, 27.4% interrupt, 72.6% idle > Mem: 46M Active, 792M Inact, 2863M Wired, 34M Cache, 408M Buf, 113M Free > Swap: 4096M Total, 7364K Used, 4089M Free > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 11 root 2 155 ki31 0K 32K RUN 1 31.2H 150.29% idle > 12 root 16 -84 - 0K 256K WAIT 0 200:06 50.49% intr > 0 root 156 -8 0 0K 2496K - 1 149:25 0.00% kernel > 15 root 13 -68 - 0K 208K - 0 7:22 0.00% usb > 21961 root 4 -8 - 0K 80K tx->tx 0 2:27 0.00% zfskern > 80209 cjurk 1 20 0 16560K 1328K select 0 1:22 0.00% top > 9 root 1 16 - 0K 16K syncer 1 1:12 0.00% syncer > 13 root 3 -8 - 0K 48K - 0 0:55 0.00% geom > 14 root 1 -16 - 0K 16K - 1 0:42 0.00% yarrow > 22333 root 1 20 0 40724K 1044K nanslp 0 0:16 0.00% nmbd > 1157 root 1 20 0 12052K 532K select 0 0:16 0.00% powerd > 29397 cjurk 1 20 0 22928K 1600K select 0 0:11 0.00% screen > 1154 root 1 20 0 22196K 1268K select 1 0:08 0.00% ntpd > 19 root 1 -16 - 0K 16K sdflus 1 0:06 0.00% softdepflu > 5 root 1 -16 - 0K 16K psleep 1 0:05 0.00% pagedaemon > 16 root 1 -16 - 0K 16K tzpoll 1 0:04 0.00% acpi_therm > 1181 root 1 20 0 20252K 2148K select 1 0:03 0.00% sendmail > > The only device connected to USB is a external hard disk, which is used as storage disk (ZFS). >> How-To-Repeat: > >> Fix: > > >> Release-Note: >> Audit-Trail: >> Unformatted: Hi, If you boot a custom kernel without device ehci, is the problem still the same? I suspect it is not an USB issue. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Mar 13 17:20:02 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 61769D1E for ; Wed, 13 Mar 2013 17:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 522868C9 for ; Wed, 13 Mar 2013 17:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2DHK268011096 for ; Wed, 13 Mar 2013 17:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2DHK2bY011095; Wed, 13 Mar 2013 17:20:02 GMT (envelope-from gnats) Date: Wed, 13 Mar 2013 17:20:02 GMT Message-Id: <201303131720.r2DHK2bY011095@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: Christian Jurk Subject: Re: usb/176913: High interrupt load with ehci X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Christian Jurk List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Mar 2013 17:20:02 -0000 The following reply was made to PR usb/176913; it has been noted by GNATS. From: Christian Jurk To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/176913: High interrupt load with ehci Date: Wed, 13 Mar 2013 18:08:28 +0100 Not sure if that problem is directly a USB problem, might be better to = move it into a more appropriate category if possible. What I did recently: Did a reboot (by using command `reboot') - the = system did not reboot on its own. All I got on the screen was: Syncing disks, vnodes remaining=859 2 2 2 1 1 1 0 0 done All buffers synced. Uptime: 14h58m19s usbus0: Controller shutdown uhub0: at usbus0, port 1, addr 1 (disconnected) ugen0.2: at usbus0 (disconnected) uhub4: at uhub0, port 1, addr 2 (disconnected) usbus0: Controller shutdown complete re0: link state changed to DOWN re0: link state changed to UP usbus1: Controller shutdown After waiting 30 minutes, I decided to power cycle the machine. After = reboot, the Zpool on the USB disk was not be able to mount because of a = missing label (the error message referred to = http://illumos.org/msg/ZFS-8000-5E). Thus, I had to destroy the zpool = and re-created it. I've copied lots of files to a ZFS volume on top of = the zpool and tried to reboot the machine. Got the same problem again. = Seeing usbub1: Controller shutdown but nothing happens. I see a relation = between the high interrupt rate and the USB device for some reason. = `zpool iostat 1` shows me that there are no read or write operations on = the device.= From owner-freebsd-usb@FreeBSD.ORG Thu Mar 14 12:20:41 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3B30CE98; Thu, 14 Mar 2013 12:20:41 +0000 (UTC) (envelope-from makc@freebsd.org) Received: from mail.issp.ac.ru (mail.issp.ac.ru [77.236.34.3]) by mx1.freebsd.org (Postfix) with ESMTP id 9EAAB8AF; Thu, 14 Mar 2013 12:20:40 +0000 (UTC) Received: from mercury.ph.man.ac.uk [130.88.75.175:991] (HELO/EHLO mercury.ph.man.ac.uk, authenticated with LOGIN) by mail.issp.ac.ru with ESMTP/inet id r2ECKXDB093203 (using TLSv1/SSLv3, with cipher DHE-RSA-AES256-SHA (256 bits), verified NO) Thu, 14 Mar 2013 16:20:33 +0400 (MSK) From: Max Brazhnikov To: Konstantin Belousov Subject: Re: high system load when using i915kms Date: Thu, 14 Mar 2013 12:21:36 +0000 Message-ID: <48689557.j6DyaLHFyY@mercury.ph.man.ac.uk> User-Agent: KMail/4.9.5 (FreeBSD/9.1-STABLE; KDE/4.10.1; amd64; ; ) In-Reply-To: <20130312175730.GP3794@kib.kiev.ua> References: <2460779.xZBtdeG4eu@mercury.ph.man.ac.uk> <1974063.Ti2gy7L6k6@mercury.ph.man.ac.uk> <20130312175730.GP3794@kib.kiev.ua> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="ISO-8859-1" Cc: Kevin Oberman , freebsd-x11@freebsd.org, freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Mar 2013 12:20:41 -0000 On Tue, 12 Mar 2013 19:57:30 +0200 Konstantin Belousov wrote: > On Tue, Mar 12, 2013 at 04:53:25PM +0000, Max Brazhnikov wrote: > > On Fri, 08 Mar 2013 11:38:13 -0800 Kevin Oberman wrote: > > > On Fri, Mar 8, 2013 at 10:03 AM, Max Brazhnikov wrote: > > > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU > > > > COMMAND > > > > 11 root 2 155 ki31 0K 32K RUN 1 4:16 120.35% > > idle > > > > 12 root 18 -84 - 0K 288K WAIT 0 0:57 76.34% intr > > > > > > > > I've got this after second boot today, although I couldn't reproduce it > > > > yesterday even after ten attempts. But sometimes it's quite nasty and I > > > > have > > > > to reboot the system several times to get rid of it. > > > > > > > > Max > > > > > > > > > > So the issue is that that the interrupts from one or another of the USB > > > devices has exploded from near zero to around 40K when the kernel module is > > > loaded? > > > > Exactly. > > > > > A couple of possibly irrelevant questions. Do you normally manually load > > > the module? I did not research the issue, but when I manually load the > > > module I was seeing things just grind to a halt. If I started Gnome, the > > > module was loaded automatically by X, and things worked. > > > > No I don't usually load it manually, I was just wondering what causes the > > interrupt storm. > > > > > Why loading the Intel KMS module would cause a massive increase in > > > interrupts on a USB interface completely baffles me, but I suspect some > > > sort of race is going on when the module is pre-loaded. > > > > It happens if I allow X to load the module also, the problem is not due to > > pre-loading. > > As I said earlier, change in the userspace cannot change the interrupt > routing. What could happen (with very low probability) is that some > kind of display interrupt get aliased to the non-msi one. Since it is > unacknowledged, it causes the storm on the legacy irq line. But I never > saw this on G[M]4*. > > Just as the blind shot, try to set hw.drm.msi=0 in the loader.conf > or using the kenv, before the i915kms module is loaded. Nice shot, it does make the difference! I've never seen the problem after adding hw.drm.msi=0 to the loader.conf. Max From owner-freebsd-usb@FreeBSD.ORG Thu Mar 14 18:26:01 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 80ED914E for ; Thu, 14 Mar 2013 18:26:01 +0000 (UTC) (envelope-from aseem.jolly@gmail.com) Received: from mail-ve0-f169.google.com (mail-ve0-f169.google.com [209.85.128.169]) by mx1.freebsd.org (Postfix) with ESMTP id 39B5A20B for ; Thu, 14 Mar 2013 18:26:00 +0000 (UTC) Received: by mail-ve0-f169.google.com with SMTP id 15so2000231vea.28 for ; Thu, 14 Mar 2013 11:26:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=swhsS6a2nOysMZGsyS4Md70ec+9V36RtmN0S/1KTKjg=; b=MFSzuDggY597WFyPXIsSAbMqppbX8PAmWsgIoIC1fXJBWzmm3yBEU2upRZpAP7nAEE HzWIe3aYzESQl3ZBGhSlT0WTCAVrfohH7UEwgnd0c3EiqXKf5JjudDK1JIopXqnjutFu oyXkMAziNUxU/HZs1pIVJLYWJ8oTIJX63YPPP+aLR2SGIlVs2a2SvoXHZw4yL7+6GyYD habME2tuIFGJRWJFKEcqzVWLZGxzPuyvjo2JX1aNf1X06YVRtYWBj4XNVc+LiOyjOzhw 9IZL/xj/CeHdo8sEJAvkTtxeYy+nVTVshKqlYIxhvrZFkA0qskgtRVxkMacFAz4sIQaB 1Hgg== MIME-Version: 1.0 X-Received: by 10.58.164.1 with SMTP id ym1mr3129121veb.43.1363285097530; Thu, 14 Mar 2013 11:18:17 -0700 (PDT) Received: by 10.58.196.166 with HTTP; Thu, 14 Mar 2013 11:18:17 -0700 (PDT) Date: Thu, 14 Mar 2013 11:18:17 -0700 Message-ID: Subject: Need help in understanding USB driver From: aseem jolly To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Mar 2013 18:26:01 -0000 I'm new to USB and need help in understanding USB driver. Any pointers to usb documentation would be really helpful or a mentor to help me come to pace would be the best. From owner-freebsd-usb@FreeBSD.ORG Thu Mar 14 20:45:19 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2C1356A3 for ; Thu, 14 Mar 2013 20:45:19 +0000 (UTC) (envelope-from uzimac@da3m0n8t3r.com) Received: from z.umatar.com (z.umatar.com [66.135.39.87]) by mx1.freebsd.org (Postfix) with ESMTP id F36FFA87 for ; Thu, 14 Mar 2013 20:45:18 +0000 (UTC) Received: from z.umatar.com (localhost [127.0.0.1]) by z.umatar.com (8.14.5/8.14.3) with ESMTP id r2EKjIf9099614; Thu, 14 Mar 2013 13:45:18 -0700 (PDT) (envelope-from uzimac@da3m0n8t3r.com) Received: (from uzimac@localhost) by z.umatar.com (8.14.5/8.14.3/Submit) id r2EKjIgk099613; Thu, 14 Mar 2013 13:45:18 -0700 (PDT) (envelope-from uzimac@da3m0n8t3r.com) X-Authentication-Warning: z.umatar.com: uzimac set sender to uzimac@da3m0n8t3r.com using -f From: "Waitman Gobble" Subject: Re: Need help in understanding USB driver To: aseem jolly Message-Id: <1363293918.99608@da3m0n8t3r.com> X-Originating-IP: 70.90.171.37 X-Mailer: Usermin 1.510 In-Reply-To: Date: Thu, 14 Mar 2013 13:45:18 -0700 (PDT) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="bound1363293918" Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Mar 2013 20:45:19 -0000 This is a multi-part message in MIME format. --bound1363293918 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit aseem jolly wrote .. > I'm new to USB and need help in understanding USB driver. > Any pointers to usb documentation would be really helpful or a mentor to > help me come to pace would be the best. > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" Hi, there's three drivers, enhanced (1.0) universal (2.0) and extensible (3.0). ehci, ohci, xhci A great way to see how they work is to take a look at /usr/src/sys/dev/usb/ on your machine. But here's a link to the source directory on one of my 10.0-CURRENT machines, https://dx.burplex.com/src/sys/dev/usb/controller/ Also I've noticed a book on bn.com about FreeBSD drivers, it *might* be good, it's on my 'to buy and see if it's any good' list. Might check it out. -- Waitman Gobble San Jose California USA --bound1363293918-- From owner-freebsd-usb@FreeBSD.ORG Thu Mar 14 21:16:29 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9FF53AFD for ; Thu, 14 Mar 2013 21:16:29 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-vb0-x22b.google.com (mail-vb0-x22b.google.com [IPv6:2607:f8b0:400c:c02::22b]) by mx1.freebsd.org (Postfix) with ESMTP id 64767BF7 for ; Thu, 14 Mar 2013 21:16:29 +0000 (UTC) Received: by mail-vb0-f43.google.com with SMTP id fs19so1469809vbb.2 for ; Thu, 14 Mar 2013 14:16:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=0YlK5Ha6X+jbjTRjWTfcvmeg/s2nhgZcSWlSEt9LAsM=; b=yH5SXLqMzuDaQLBnSl3YyVvGhN+fPNwSE7Th8f0R3E1NekFZWQbZsqM9gfcoOhKLnh +OemlGRjEHdIF7Wlq88w7eT4mfm+JceQfLSm3EJzKjScpV4B7xPx2Hv0mHFumr2qPGkV KMDZex5j9PKFFtTQdmoV7TFYNFsDr2rboY7cEglsTYWPSFjFTmyQKg9xNtPfL+4hbzgO mK/KDXBa8nxJKX7taE+JGygyW/oE6inQfjkyAfzCTJopiacZmtgLKAzQBehfuBAGTTGc ETuL5m6V+shLeKG3km+Bm8mgbjav5k0xhzF4kdXZNVUJOtS25rw4QviRha6AQWV1DNas kzdA== MIME-Version: 1.0 X-Received: by 10.220.242.73 with SMTP id lh9mr3729318vcb.49.1363295788326; Thu, 14 Mar 2013 14:16:28 -0700 (PDT) Received: by 10.58.220.33 with HTTP; Thu, 14 Mar 2013 14:16:28 -0700 (PDT) In-Reply-To: <1363293918.99608@da3m0n8t3r.com> References: <1363293918.99608@da3m0n8t3r.com> Date: Thu, 14 Mar 2013 14:16:28 -0700 Message-ID: Subject: Re: Need help in understanding USB driver From: Mehmet Erol Sanliturk To: Waitman Gobble Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: aseem jolly , freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Mar 2013 21:16:29 -0000 On Thu, Mar 14, 2013 at 1:45 PM, Waitman Gobble wrote: > aseem jolly wrote .. > > I'm new to USB and need help in understanding USB driver. > > Any pointers to usb documentation would be really helpful or a mentor to > > help me come to pace would be the best. > > _______________________________________________ > > freebsd-usb@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" > > Hi, > > there's three drivers, enhanced (1.0) universal (2.0) and extensible (3.0). > ehci, ohci, xhci > A great way to see how they work is to take a look at > /usr/src/sys/dev/usb/ on your machine. > But here's a link to the source directory on one of my 10.0-CURRENT > machines, https://dx.burplex.com/src/sys/dev/usb/controller/ > Also I've noticed a book on bn.com about FreeBSD drivers, it *might* be > good, it's on my 'to buy and see if it's any good' list. Might check it out. > > -- > Waitman Gobble > San Jose California USA > > http://www.barnesandnoble.com/w/freebsd-device-drivers-joseph-kong/1110791573?ean=9781593272043 FreeBSD Device Drivers: A Guide for the Intrepid From owner-freebsd-usb@FreeBSD.ORG Sat Mar 16 05:20:01 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5653B169 for ; Sat, 16 Mar 2013 05:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 3A2371A7 for ; Sat, 16 Mar 2013 05:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2G5K13v030219 for ; Sat, 16 Mar 2013 05:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2G5K1mA030218; Sat, 16 Mar 2013 05:20:01 GMT (envelope-from gnats) Resent-Date: Sat, 16 Mar 2013 05:20:01 GMT Resent-Message-Id: <201303160520.r2G5K1mA030218@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Makoto Murakami Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 71C83FF7 for ; Sat, 16 Mar 2013 05:10:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 59CD817A for ; Sat, 16 Mar 2013 05:10:25 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r2G5AOIj064524 for ; Sat, 16 Mar 2013 05:10:24 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r2G5AOEM064523; Sat, 16 Mar 2013 05:10:24 GMT (envelope-from nobody) Message-Id: <201303160510.r2G5AOEM064523@red.freebsd.org> Date: Sat, 16 Mar 2013 05:10:24 GMT From: Makoto Murakami To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: usb/177013: [patch] Adding support for LOGITEC LAN-W300N/U2S on if_run X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Mar 2013 05:20:01 -0000 >Number: 177013 >Category: usb >Synopsis: [patch] Adding support for LOGITEC LAN-W300N/U2S on if_run >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Mar 16 05:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Makoto Murakami >Release: FreeBSD 9.1-RELEASE >Organization: >Environment: FreeBSD momiji.snows.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Fri Mar 15 22:56:55 JST 2013 root@momiji.snows.jp:/usr/obj/usr/src/sys/KANNA i386 >Description: Add device on if_run. Product: LOGITEC LAN-W300N/U2S (Detail : http://www.logitec.co.jp/products/wlan/lanw300nu2s/index.html) # usbconfig -u 3 -a 2 dump_device_desc ugen3.2: <802.11 n WLAN Ralink> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x0789 idProduct = 0x0169 bcdDevice = 0x0101 iManufacturer = 0x0001 iProduct = 0x0002 <802.11 n WLAN> iSerialNumber = 0x0003 <1.0> bNumConfigurations = 0x0001 >How-To-Repeat: >Fix: I add entry this device, and work fine(only 11g) . --- sys/dev/usb/usbdevs.orig 2013-03-15 22:50:12.000000000 +0900 +++ sys/dev/usb/usbdevs 2013-03-15 22:31:11.000000000 +0900 @@ -2125,6 +2125,7 @@ product LOGITEC RT2870_2 0x0163 RT2870 product LOGITEC RT2870_3 0x0164 RT2870 product LOGITEC LANW300NU2 0x0166 LAN-W300N/U2 +product LOGITEC LANW300NU2S 0x0169 LAN-W300N/U2S /* Longcheer Holdings, Ltd. products */ product LONGCHEER WM66 0x6061 Longcheer WM66 HSDPA --- sys/dev/usb/wlan/if_run.c.orig 2013-03-15 22:53:11.000000000 +0900 +++ sys/dev/usb/wlan/if_run.c 2013-03-15 22:33:22.000000000 +0900 @@ -209,6 +209,7 @@ RUN_DEV(LOGITEC, RT2870_2), RUN_DEV(LOGITEC, RT2870_3), RUN_DEV(LOGITEC, LANW300NU2), + RUN_DEV(LOGITEC, LANW300NU2S), RUN_DEV(MELCO, RT2870_1), RUN_DEV(MELCO, RT2870_2), RUN_DEV(MELCO, WLIUCAG300N), >Release-Note: >Audit-Trail: >Unformatted: