From owner-freebsd-usb@FreeBSD.ORG Sun Jun 2 21:40: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 A9E7B91A for ; Sun, 2 Jun 2013 21:40: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 9B11419E5 for ; Sun, 2 Jun 2013 21:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r52Le1Wq044204 for ; Sun, 2 Jun 2013 21:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r52Le0o4044203; Sun, 2 Jun 2013 21:40:00 GMT (envelope-from gnats) Date: Sun, 2 Jun 2013 21:40:00 GMT Message-Id: <201306022140.r52Le0o4044203@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: Greg Rivers Subject: Re: usb/178771: [usbdevs] [patch] Western Digital My Passport HD X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Greg Rivers List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jun 2013 21:40:01 -0000 The following reply was made to PR usb/178771; it has been noted by GNATS. From: Greg Rivers To: bug-followup@freebsd.org Cc: tim.matthews7@gmail.com Subject: Re: usb/178771: [usbdevs] [patch] Western Digital My Passport HD Date: Sun, 02 Jun 2013 16:30:04 -0500 FYI, I came across a WD My Passport USB drive that has a different product ID, yet requires the same UQ_MSC_NO_SYNC_CACHE quirk: $ usbconfig dump_device_quirks | fgrep -i 0x07a8 VID=0x1058 PID=0x07a8 REVLO=0x1033 REVHI=0x1033 QUIRK=UQ_MSC_NO_SYNC_CACHE $ dmesg | tail -11 umass0: on usbus4 umass0: SCSI over Bulk-Only; quirks = 0x4000 umass0:2:0:-1: Attached to scbus2 da0 at umass-sim0 bus 0 scbus2 target 0 lun 0 da0: Fixed Direct Access SCSI-6 device da0: 40.000MB/s transfers da0: 953837MB (1953458176 512 byte sectors: 255H 63S/T 121597C) ses0 at umass-sim0 bus 0 scbus2 target 0 lun 1 ses0: Fixed Enclosure Services SCSI-6 device ses0: 40.000MB/s transfers ses0: SCSI-3 ENC Device $ usbconfig -d 4.5 dump_device_desc ugen4.5: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (100mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0210 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x1058 idProduct = 0x07a8 bcdDevice = 0x1033 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0003 <57583331453932575A373338> bNumConfigurations = 0x0001 $ camcontrol inquiry da0 pass2: Fixed Direct Access SCSI-6 device pass2: Serial Number 57583331453932575A373338 pass2: 40.000MB/s transfers The part number printed on the case is WDBBEP0010BBK-03. Please augment the patch to accommodate this model as well. Thanks. -- Greg Rivers From owner-freebsd-usb@FreeBSD.ORG Mon Jun 3 11:06:54 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 03A605FF for ; Mon, 3 Jun 2013 11:06:54 +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 CE26813C7 for ; Mon, 3 Jun 2013 11:06:53 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r53B6rkF015199 for ; Mon, 3 Jun 2013 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r53B6rin015197 for freebsd-usb@FreeBSD.org; Mon, 3 Jun 2013 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 3 Jun 2013 11:06:53 GMT Message-Id: <201306031106.r53B6rin015197@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, 03 Jun 2013 11:06:54 -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/179109 usb After detach USB Flash a keyboard does not work. o usb/179108 usb After detach USB Flash a keyboard does not work. o usb/179107 usb After detach USB Flash a keyboard does not work. o usb/178773 usb [usbdevs] [patch] Huawei E303 USB 3G modem support o usb/178771 usb [usbdevs] [patch] Western Digital My Passport HD o usb/178722 usb FreeBSD 9.1-STABLE r250561 breaks support for webcam L o usb/178267 usb [usb] USB causing interrupt storm on irq16 o usb/177897 usb [u3g][patch] add support for the Huawei E352 modem o usb/177896 usb man page for usb_quirk suggests adding device to kerne o usb/177895 usb similar 1TB Western Digital "My Passports" - some load o usb/177666 usb [usbdevs] [patch] Add support for Texas Instruments / o usb/176913 usb [ehci] High interrupt load with ehci o usb/176841 usb [umass] Sony DSC-H2 USB connection fails 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/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 f kern/153514 usb [cam] [panic] CAM related panic 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 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 302 problems total. From owner-freebsd-usb@FreeBSD.ORG Wed Jun 5 02:03:03 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 1B210824; Wed, 5 Jun 2013 02:03:03 +0000 (UTC) (envelope-from linimon@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 EA5C91B92; Wed, 5 Jun 2013 02:03:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r55232PW008397; Wed, 5 Jun 2013 02:03:02 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r552322N008396; Wed, 5 Jun 2013 02:03:02 GMT (envelope-from linimon) Date: Wed, 5 Jun 2013 02:03:02 GMT Message-Id: <201306050203.r552322N008396@freefall.freebsd.org> To: vsityz@gmail.com, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Subject: Re: usb/179108: After detach USB Flash a keyboard does not work. 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, 05 Jun 2013 02:03:03 -0000 Synopsis: After detach USB Flash a keyboard does not work. State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Wed Jun 5 02:02:31 UTC 2013 State-Changed-Why: Duplicate of usb/179107. http://www.freebsd.org/cgi/query-pr.cgi?pr=179108 From owner-freebsd-usb@FreeBSD.ORG Wed Jun 5 16: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 455033E8 for ; Wed, 5 Jun 2013 16: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 3733310C5 for ; Wed, 5 Jun 2013 16:00:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r55G0094070176 for ; Wed, 5 Jun 2013 16:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r55G009l070175; Wed, 5 Jun 2013 16:00:00 GMT (envelope-from gnats) Date: Wed, 5 Jun 2013 16:00:00 GMT Message-Id: <201306051600.r55G009l070175@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: TANABE Ken-ichi Subject: Re: usb/156596: [ehci] Extremely high interrupt rate on ehci/uhci IRQ16 80% cpu utilization on CPU0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: TANABE Ken-ichi List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 16:00:01 -0000 The following reply was made to PR usb/156596; it has been noted by GNATS. From: TANABE Ken-ichi To: bug-followup@FreeBSD.org, daynejordan@gmail.com Cc: Subject: Re: usb/156596: [ehci] Extremely high interrupt rate on ehci/uhci IRQ16 80% cpu utilization on CPU0 Date: Thu, 6 Jun 2013 00:58:09 +0900 --047d7b6dc7baa2bb9e04de6a43ba Content-Type: text/plain; charset=ISO-8859-1 Hi, On Wed, 24 Apr 2013 03:33:02 -0700, Andrew Fremantle wrote: > Based on the fact this only seems to happen on Intel Core architecture > machines, I think this issue may be miscategorized. > In my case, the flooding starts when I yank the VGA cable from the back of > the machine. vgapci0 shares irq16 with ehci0 in every example of this issue > i've been able to find. same here. I confirmed that the fooding starts when I remove the VGA cable from the machine (onboard). I've attached my full dmesg. -- TANABE Ken-ichi / @nabeken Mailto: nabeken@tknetworks.org / gmail.com / gentoo.gr.jp --047d7b6dc7baa2bb9e04de6a43ba Content-Type: text/plain; charset=US-ASCII; name="dmesg.txt" Content-Disposition: attachment; filename="dmesg.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hhkp15iw0 Q29weXJpZ2h0IChjKSAxOTkyLTIwMTIgVGhlIEZyZWVCU0QgUHJvamVjdC4KQ29weXJpZ2h0IChj KSAxOTc5LCAxOTgwLCAxOTgzLCAxOTg2LCAxOTg4LCAxOTg5LCAxOTkxLCAxOTkyLCAxOTkzLCAx OTk0CglUaGUgUmVnZW50cyBvZiB0aGUgVW5pdmVyc2l0eSBvZiBDYWxpZm9ybmlhLiBBbGwgcmln aHRzIHJlc2VydmVkLgpGcmVlQlNEIGlzIGEgcmVnaXN0ZXJlZCB0cmFkZW1hcmsgb2YgVGhlIEZy ZWVCU0QgRm91bmRhdGlvbi4KRnJlZUJTRCA5LjEtUkVMRUFTRSAjMTIgcjI0NDg3NzogV2VkIEph biAgMiAwMzowOTo1MyBKU1QgMjAxMwogICAgcm9vdEByaWthLnRva3lvLnRrbmV0d29ya3Mub3Jn Oi91c3Ivb2JqL3Vzci9zcmMvc3lzL1JJS0EgYW1kNjQKQ1BVOiBJbnRlbChSKSBDb3JlKFRNKSBp MyBDUFUgICAgICAgICA1NDAgIEAgMy4wN0dIeiAoMzA1OS4wOC1NSHogSzgtY2xhc3MgQ1BVKQog IE9yaWdpbiA9ICJHZW51aW5lSW50ZWwiICBJZCA9IDB4MjA2NTIgIEZhbWlseSA9IDYgIE1vZGVs ID0gMjUgIFN0ZXBwaW5nID0gMgogIEZlYXR1cmVzPTB4YmZlYmZiZmY8RlBVLFZNRSxERSxQU0Us VFNDLE1TUixQQUUsTUNFLENYOCxBUElDLFNFUCxNVFJSLFBHRSxNQ0EsQ01PVixQQVQsUFNFMzYs Q0xGTFVTSCxEVFMsQUNQ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ljb255 IFBGVS02NSBVU0IgS2V5Ym9hcmQsIGNsYXNzIDAvMCwgcmV2IDEuMTAvMS4wMCwgYWRkciA3PiBv biB1c2J1czEKa2JkMSBhdCB1a2JkMApUcnlpbmcgdG8gbW91bnQgcm9vdCBmcm9tIHpmczp0YW5r IFtdLi4uCmJyaWRnZTA6IEV0aGVybmV0IGFkZHJlc3M6IFhYOlhYOlhYOlhYOlhYOlhYCg== --047d7b6dc7baa2bb9e04de6a43ba-- From owner-freebsd-usb@FreeBSD.ORG Wed Jun 5 17:50:18 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 227A3B05; Wed, 5 Jun 2013 17:50:18 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qc0-x234.google.com (mail-qc0-x234.google.com [IPv6:2607:f8b0:400d:c01::234]) by mx1.freebsd.org (Postfix) with ESMTP id B58ED176E; Wed, 5 Jun 2013 17:50:17 +0000 (UTC) Received: by mail-qc0-f180.google.com with SMTP id a10so1101446qcx.11 for ; Wed, 05 Jun 2013 10:50:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=xW+m/BEktwOjIATo9FsD/CSPVvG66x7FuiZ/YVoJe0c=; b=FgouFHPIL77VEi6wlPtguouzdejSRgtubFI0ocnvwTRh18kY4cQEmc5Ht4yMP0AvLa ettXqgYLvw1V512m/f2BHUMnEmE15B5Yvdzed/tr77Ke9az8tI3etKBDneg7c0EMvrXL J9b3vYzNnM6EnUJmQ2uMFik5m9Ym6aw6Q5HLXBp6QrpB7B+z28QNGe7gJKkLltU5qtdO LEv5ysNgKxBnQZnbZzmMlqfG0Oe7ZFUCWyqocNNSpobnKwfRbuuRetukHyq5mwIye6Fw ZoLq6ETkLEbhQM4RrmVvRn3iDKgbwETxX/LfcHAx6dRcyxSkYUJqQQi4iETsqlYUPxHd vuRw== MIME-Version: 1.0 X-Received: by 10.49.37.9 with SMTP id u9mr34144373qej.57.1370454617213; Wed, 05 Jun 2013 10:50:17 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.71.12 with HTTP; Wed, 5 Jun 2013 10:50:17 -0700 (PDT) In-Reply-To: References: <20130605034534.GA1716@glenbarber.us> <1891799322-1370404467-cardhu_decombobulator_blackberry.rim.net-1954407922-@b2.c8.bise7.blackberry> Date: Wed, 5 Jun 2013 10:50:17 -0700 X-Google-Sender-Auth: fEaILtn22u_X8Z-sm4ERdwBUGn4 Message-ID: Subject: Re: Memstick Images not working (mountroot prompt) From: Adrian Chadd To: Miguel Clara Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Glen Barber , freebsd-current@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: Wed, 05 Jun 2013 17:50:18 -0000 Please file a PR? hopefully someone from the USB side of things can help you fix this. Thanks! adrian On 5 June 2013 07:52, Miguel Clara wrote: > Forgot to CC the list, sorry! > > In the meantime I upgrade from 9.1 using the base and kernel tarballs, > I could boot and I have wireless supported! > > I have my ssd encrypted and the hdd too, the hdd is encrypted with > passphrase + key, and this key is in a usb stick (a different one form > the other two already tried). > > The USB stick is not working to, and I also tried a USB Western > Digital 500GB disk, no luck either! > > So no usb support basically... > > dmesg output after connecting the device: > > xhci_do_comand: Command timeout! > usb_alloc_device: device init 2 failed (USB_ERR_TIMEOUT, ignored) > usbgen0.2: at usbus0 (disconnected) > usb_reattach_port: could not allocate new device > > > Also note that usbus0 is a 3.0 as dmesg shows after boot: > usbus0: waiting for BIOS to give up control > usbus0 on xhci0 > usbus0: 5.0Gpbs Super Speed USB v 3.0 > .... > > So I guess this is indeed a problem in the 10.0-current kernel, not > sure what it could be or what more can I do to debug though... > > Please advice, > > Thanks > > On Wed, Jun 5, 2013 at 4:54 AM, wrote: >> >> I have no such option. Its a very recent ultrabook. >> >> >> Enviado a partir do meu smartphone BlackBerry=AE www.blackberry.com >> >> -----Original Message----- >> From: Glen Barber >> Date: Tue, 4 Jun 2013 23:45:34 >> To: Miguel Clara >> Cc: >> Subject: Re: Memstick Images not working (mountroot prompt) >> >> Hi, >> >> On Wed, Jun 05, 2013 at 04:33:19AM +0100, Miguel Clara wrote: >>> Hello, >>> >>> I need to Install FreeBSD 10 on my laptop to have Wireless support for >>> my card (ath) however I tried all of the available memstick images at: >>> ftp://ftp.uk.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/ISO-IMAGES/1= 0.0/ >>> >>> And none of them works... I've tried 2 different pen drivers, one of >>> those is a generic cheap one, and another is a "DKingston DT 100 G2" >>> >>> When typing "?" in the mount root prompt I see my ssd and hdd are >>> listed, but not the memstick (which I assume it should be da0). >>> >>> I had no problems with the 9.1 stable image using the same memstick! >>> >> >> I have personally boot tested the memstick images, without problem. >> >> What is 'Legacy USB' set to in BIOS on your machine? >> >> Glen >> >> > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " From owner-freebsd-usb@FreeBSD.ORG Wed Jun 5 19:10: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 EB949F09 for ; Wed, 5 Jun 2013 19:10:00 +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 CCF701BA3 for ; Wed, 5 Jun 2013 19:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r55JA0cl007655 for ; Wed, 5 Jun 2013 19:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r55JA0A6007654; Wed, 5 Jun 2013 19:10:00 GMT (envelope-from gnats) Resent-Date: Wed, 5 Jun 2013 19:10:00 GMT Resent-Message-Id: <201306051910.r55JA0A6007654@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, "Miguel C." Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0039BD58 for ; Wed, 5 Jun 2013 19:05:33 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id E75961B7A for ; Wed, 5 Jun 2013 19:05:33 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r55J5X0i072313 for ; Wed, 5 Jun 2013 19:05:33 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r55J5XRQ072310; Wed, 5 Jun 2013 19:05:33 GMT (envelope-from nobody) Message-Id: <201306051905.r55J5XRQ072310@oldred.freebsd.org> Date: Wed, 5 Jun 2013 19:05:33 GMT From: "Miguel C." To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: usb/179342: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!) 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, 05 Jun 2013 19:10:01 -0000 >Number: 179342 >Category: usb >Synopsis: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!) >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 Jun 05 19:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Miguel C. >Release: >Organization: >Environment: % uname -a FreeBSD r2d2 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Mon May 13 00:54:58 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: This is an Ultrabook (acer s3) with only one USB 3.0 Controller (2-ports) I first noticed that I could not install 10-current using the memstick images, I got stuck at mount root, after upgrading form 9.1 using base and kernel tarballs I noticed that the system has no longer detecting my memsticks. When connecting usb devices (memstick,hdd) I get: xhci_do_comand: Command timeout! usb_alloc_device: device init 2 failed (USB_ERR_TIMEOUT, ignored) usbgen0.2: at usbus0 (disconnected) usb_reattach_port: could not allocate new device More info about the controller: xhci0: mem 0xc0500000-0xc050ffff at device 20.0 on pci0 And has I explained in the mailling list, I already tried: sysctl hw.xhci.xhci_port_route=-1 (and =1) in /boot/loader.conf (and in sysctl.conf but I guess the first one is the proper way rebooted, and still no luck. >How-To-Repeat: 1: Download a memstick image and dd to a usb, after boot you get stuck at "mountroot" prompt. 2: If you're able to install 10-0 current any other way, just connect a USB memstick to 3.0 controller, and you'll see the problem (unless if this is related to my controller specifically - Intel Panther Point USB 3.0) >Fix: Tried: sysctl hw.xhci.xhci_port_route=-1 -> DID NOT work! >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Thu Jun 6 06:20: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 D1D0E6B for ; Thu, 6 Jun 2013 06: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 AAB3519BE for ; Thu, 6 Jun 2013 06:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r566K04c036033 for ; Thu, 6 Jun 2013 06:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r566K0VG035984; Thu, 6 Jun 2013 06:20:00 GMT (envelope-from gnats) Date: Thu, 6 Jun 2013 06:20:00 GMT Message-Id: <201306060620.r566K0VG035984@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: Hans Petter Selasky Subject: Re: usb/179342: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!) 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: Thu, 06 Jun 2013 06:20:01 -0000 The following reply was made to PR usb/179342; it has been noted by GNATS. From: Hans Petter Selasky To: "Miguel C." Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: usb/179342: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!) Date: Thu, 06 Jun 2013 08:20:17 +0200 On 06/05/13 21:05, Miguel C. wrote: > >> Number: 179342 >> Category: usb >> Synopsis: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!) >> 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 Jun 05 19:10:00 UTC 2013 >> Closed-Date: >> Last-Modified: >> Originator: Miguel C. >> Release: >> Organization: >> Environment: > % uname -a > FreeBSD r2d2 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Mon May 13 00:54:58 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >> Description: > This is an Ultrabook (acer s3) with only one USB 3.0 Controller (2-ports) > > I first noticed that I could not install 10-current using the memstick images, I got stuck at mount root, after upgrading form 9.1 using base and kernel tarballs I noticed that the system has no longer detecting my memsticks. > > > When connecting usb devices (memstick,hdd) I get: > > xhci_do_comand: Command timeout! > usb_alloc_device: device init 2 failed (USB_ERR_TIMEOUT, ignored) > usbgen0.2: at usbus0 (disconnected) > usb_reattach_port: could not allocate new device > > > More info about the controller: > xhci0: mem 0xc0500000-0xc050ffff at device 20.0 on pci0 > > And has I explained in the mailling list, I already tried: > > sysctl hw.xhci.xhci_port_route=-1 (and =1) in /boot/loader.conf > (and in sysctl.conf but I guess the first one is the proper way > > rebooted, and still no luck. > > >> How-To-Repeat: > 1: Download a memstick image and dd to a usb, after boot you get stuck at "mountroot" prompt. > > 2: If you're able to install 10-0 current any other way, just connect a USB memstick to 3.0 controller, and you'll see the problem (unless if this is related to my controller specifically - Intel Panther Point USB 3.0) >> Fix: > Tried: sysctl hw.xhci.xhci_port_route=-1 -> DID NOT work! > Hi, Compile a kernel with "options USB_DEBUG". Then enable "hw.usb.xhci.debug=16". If you don't see any interrupt messages, then I believe it is an IRQ routing issue which is the cause of the failure. Might also be that the device uses MSI interrupts which we don't support yet. --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Jun 7 06:30:04 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 E4E257DE for ; Fri, 7 Jun 2013 06:30:04 +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 BE5151B89 for ; Fri, 7 Jun 2013 06:30:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r576U1S5044050 for ; Fri, 7 Jun 2013 06:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r576U1rg044049; Fri, 7 Jun 2013 06:30:01 GMT (envelope-from gnats) Date: Fri, 7 Jun 2013 06:30:01 GMT Message-Id: <201306070630.r576U1rg044049@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: takawata@init-main.com Subject: usb/179342: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: takawata@init-main.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jun 2013 06:30:05 -0000 The following reply was made to PR usb/179342; it has been noted by GNATS. From: takawata@init-main.com To: bug-followup@FreeBSD.org, miguelmclara@gmail.com, hps@bitfrost.no Cc: Subject: usb/179342: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!) Date: Fri, 07 Jun 2013 15:21:28 +0900 Reverting the recent change on xhci.c fixes the problem for me. --- head/sys/dev/usb/controller/xhci.c 2013/04/23 06:26:54 249786 +++ head/sys/dev/usb/controller/xhci.c 2013/06/02 12:28:29 251254 From owner-freebsd-usb@FreeBSD.ORG Fri Jun 7 06:30:06 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 AD18D7E1 for ; Fri, 7 Jun 2013 06:30:06 +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 A01F61B8F for ; Fri, 7 Jun 2013 06:30:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r576U5J4044058 for ; Fri, 7 Jun 2013 06:30:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r576U53h044057; Fri, 7 Jun 2013 06:30:05 GMT (envelope-from gnats) Date: Fri, 7 Jun 2013 06:30:05 GMT Message-Id: <201306070630.r576U53h044057@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: Hans Petter Selasky Subject: Re: usb/179342: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!) 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: Fri, 07 Jun 2013 06:30:06 -0000 The following reply was made to PR usb/179342; it has been noted by GNATS. From: Hans Petter Selasky To: "Miguel C." Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: usb/179342: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!) Date: Fri, 07 Jun 2013 08:06:14 +0200 This is a multi-part message in MIME format. --------------090608050403080409000203 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 06/05/13 21:05, Miguel C. wrote: > >> Number: 179342 >> Category: usb >> Synopsis: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!) >> 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 Jun 05 19:10:00 UTC 2013 >> Closed-Date: >> Last-Modified: >> Originator: Miguel C. >> Release: >> Organization: >> Environment: > % uname -a > FreeBSD r2d2 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Mon May 13 00:54:58 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >> Description: > This is an Ultrabook (acer s3) with only one USB 3.0 Controller (2-ports) > > I first noticed that I could not install 10-current using the memstick images, I got stuck at mount root, after upgrading form 9.1 using base and kernel tarballs I noticed that the system has no longer detecting my memsticks. > > > When connecting usb devices (memstick,hdd) I get: > > xhci_do_comand: Command timeout! > usb_alloc_device: device init 2 failed (USB_ERR_TIMEOUT, ignored) > usbgen0.2: at usbus0 (disconnected) > usb_reattach_port: could not allocate new device > > > More info about the controller: > xhci0: mem 0xc0500000-0xc050ffff at device 20.0 on pci0 > > And has I explained in the mailling list, I already tried: > > sysctl hw.xhci.xhci_port_route=-1 (and =1) in /boot/loader.conf > (and in sysctl.conf but I guess the first one is the proper way > > rebooted, and still no luck. > > >> How-To-Repeat: > 1: Download a memstick image and dd to a usb, after boot you get stuck at "mountroot" prompt. > > 2: If you're able to install 10-0 current any other way, just connect a USB memstick to 3.0 controller, and you'll see the problem (unless if this is related to my controller specifically - Intel Panther Point USB 3.0) >> Fix: > Tried: sysctl hw.xhci.xhci_port_route=-1 -> DID NOT work! > Hi, Can you patch the kernel using the attached patch? It will fake interrupts. Does the XHCI work now? --HPS --------------090608050403080409000203 Content-Type: text/x-patch; name="xhci_timer.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xhci_timer.diff" === xhci.h ================================================================== --- xhci.h (revision 251258) +++ xhci.h (local) @@ -438,6 +438,8 @@ /* configure message */ struct usb_bus_msg sc_config_msg[2]; + struct usb_callout sc_callout; + union xhci_hub_desc sc_hub_desc; struct cv sc_cmd_cv; === xhci_pci.c ================================================================== --- xhci_pci.c (revision 251258) +++ xhci_pci.c (local) @@ -132,6 +132,16 @@ } } +static void +xhci_timer(void *_sc) +{ + struct xhci_softc *sc = _sc; + USB_BUS_UNLOCK(&sc->sc_bus); + xhci_interrupt(sc); + USB_BUS_LOCK(&sc->sc_bus); + usb_callout_reset(&sc->sc_callout, 1, (void *)&xhci_timer, sc); +} + static int xhci_pci_attach(device_t self) { @@ -175,6 +185,12 @@ sprintf(sc->sc_vendor, "0x%04x", pci_get_vendor(self)); + usb_callout_init_mtx(&sc->sc_callout, &sc->sc_bus.bus_mtx, 0); + + USB_BUS_LOCK(&sc->sc_bus); + xhci_timer(sc); + USB_BUS_UNLOCK(&sc->sc_bus); + #if (__FreeBSD_version >= 700031) err = bus_setup_intr(self, sc->sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, NULL, (driver_intr_t *)xhci_interrupt, sc, &sc->sc_intr_hdl); --------------090608050403080409000203-- From owner-freebsd-usb@FreeBSD.ORG Fri Jun 7 06:50: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 882B8B67 for ; Fri, 7 Jun 2013 06:50: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 7AF9F1C0E for ; Fri, 7 Jun 2013 06:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r576o2Hs047497 for ; Fri, 7 Jun 2013 06:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r576o29K047496; Fri, 7 Jun 2013 06:50:02 GMT (envelope-from gnats) Date: Fri, 7 Jun 2013 06:50:02 GMT Message-Id: <201306070650.r576o29K047496@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: Hans Petter Selasky Subject: Re: usb/179342: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!) 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: Fri, 07 Jun 2013 06:50:02 -0000 The following reply was made to PR usb/179342; it has been noted by GNATS. From: Hans Petter Selasky To: takawata@init-main.com Cc: bug-followup@FreeBSD.org, miguelmclara@gmail.com Subject: Re: usb/179342: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!) Date: Fri, 07 Jun 2013 08:49:14 +0200 On 06/07/13 08:21, takawata@init-main.com wrote: > Reverting the recent change on xhci.c fixes the problem for me. > > --- head/sys/dev/usb/controller/xhci.c 2013/04/23 06:26:54 249786 > +++ head/sys/dev/usb/controller/xhci.c 2013/06/02 12:28:29 251254 > Hi, If you look at the SVN log, there are only a few changes in the XHCI area. Could you identify exactly which change is the cause of the problem? I don't see that any of the changes between r1 and r2 should affect the XHCI device init function, where it is failing. http://svnweb.freebsd.org/base/head/sys/dev/usb/controller/xhci.c?view=log xhci_do_comand: Command timeout! usb_alloc_device: device init 2 failed (USB_ERR_TIMEOUT, ignored) usbgen0.2: at usbus0 (disconnected) usb_reattach_port: could not allocate new device --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Jun 7 12:50:07 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 9601650B for ; Fri, 7 Jun 2013 12:50:07 +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 882541D63 for ; Fri, 7 Jun 2013 12:50:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r57Co7Cl021085 for ; Fri, 7 Jun 2013 12:50:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r57Co7Fh021084; Fri, 7 Jun 2013 12:50:07 GMT (envelope-from gnats) Date: Fri, 7 Jun 2013 12:50:07 GMT Message-Id: <201306071250.r57Co7Fh021084@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: Miguel Clara Subject: Re: usb/179342: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Miguel Clara List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jun 2013 12:50:07 -0000 The following reply was made to PR usb/179342; it has been noted by GNATS. From: Miguel Clara To: Hans Petter Selasky Cc: freebsd-gnats-submit@freebsd.org, bug-followup@freebsd.org Subject: Re: usb/179342: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!) Date: Fri, 7 Jun 2013 13:44:39 +0100 Hi, This patch does fix the issue (tested with different memsticks), I can now use usb drivers! I do see this at boot: ugen1.2: at usbus1 uhub4: on usbus1 uhub4: 6 ports with 6 removable, self powered uhub3: 8 ports with 8 removable, self powered ugen1.3: at usbus1 usbd_setup_device_desc: getting device descriptor at addr 1 failed, USB_ERR_TIMEOUT usbd_setup_device_desc: getting device descriptor at addr 1 failed, USB_ERR_TIMEOUT usbd_setup_device_desc: getting device descriptor at addr 1 failed, USB_ERR_TIMEOUT usbd_setup_device_desc: getting device descriptor at addr 1 failed, USB_ERR_TIMEOUT usbd_setup_device_desc: getting device descriptor at addr 1 failed, USB_ERR_TIMEOUT ugen0.2: at usbus0 (disconnected) uhub_reattach_port: could not allocate new device I guess its not related to the xhci problem, but another usb device.... but It tough I should mentioned it... Thanks On Fri, Jun 7, 2013 at 7:06 AM, Hans Petter Selasky wrote: > On 06/05/13 21:05, Miguel C. wrote: >> >> >>> Number: 179342 >>> Category: usb >>> Synopsis: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: >>> Command timeout!) >>> 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 Jun 05 19:10:00 UTC 2013 >>> Closed-Date: >>> Last-Modified: >>> Originator: Miguel C. >>> Release: >>> Organization: >>> Environment: >> >> % uname -a >> FreeBSD r2d2 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Mon May 13 00:54:58 UTC >> 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >>> >>> Description: >> >> This is an Ultrabook (acer s3) with only one USB 3.0 Controller (2-ports) >> >> I first noticed that I could not install 10-current using the memstick >> images, I got stuck at mount root, after upgrading form 9.1 using base and >> kernel tarballs I noticed that the system has no longer detecting my >> memsticks. >> >> >> When connecting usb devices (memstick,hdd) I get: >> >> xhci_do_comand: Command timeout! >> usb_alloc_device: device init 2 failed (USB_ERR_TIMEOUT, ignored) >> usbgen0.2: at usbus0 (disconnected) >> usb_reattach_port: could not allocate new device >> >> >> More info about the controller: >> xhci0: mem 0xc0500000-0xc050ffff >> at device 20.0 on pci0 >> >> And has I explained in the mailling list, I already tried: >> >> sysctl hw.xhci.xhci_port_route=-1 (and =1) in /boot/loader.conf >> (and in sysctl.conf but I guess the first one is the proper way >> >> rebooted, and still no luck. >> >> >>> How-To-Repeat: >> >> 1: Download a memstick image and dd to a usb, after boot you get stuck at >> "mountroot" prompt. >> >> 2: If you're able to install 10-0 current any other way, just connect a >> USB memstick to 3.0 controller, and you'll see the problem (unless if this >> is related to my controller specifically - Intel Panther Point USB 3.0) >>> >>> Fix: >> >> Tried: sysctl hw.xhci.xhci_port_route=-1 -> DID NOT work! >> > > Hi, > > Can you patch the kernel using the attached patch? It will fake interrupts. > Does the XHCI work now? > > --HPS > From owner-freebsd-usb@FreeBSD.ORG Fri Jun 7 12:50:08 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 8647E50C for ; Fri, 7 Jun 2013 12:50:08 +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 78A831D64 for ; Fri, 7 Jun 2013 12:50:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r57Co80E021091 for ; Fri, 7 Jun 2013 12:50:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r57Co8X5021090; Fri, 7 Jun 2013 12:50:08 GMT (envelope-from gnats) Date: Fri, 7 Jun 2013 12:50:08 GMT Message-Id: <201306071250.r57Co8X5021090@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: Miguel Clara Subject: Re: usb/179342: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Miguel Clara List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jun 2013 12:50:08 -0000 The following reply was made to PR usb/179342; it has been noted by GNATS. From: Miguel Clara To: Hans Petter Selasky Cc: freebsd-gnats-submit@freebsd.org, bug-followup@freebsd.org Subject: Re: usb/179342: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!) Date: Fri, 7 Jun 2013 13:44:39 +0100 Hi, This patch does fix the issue (tested with different memsticks), I can now use usb drivers! I do see this at boot: ugen1.2: at usbus1 uhub4: on usbus1 uhub4: 6 ports with 6 removable, self powered uhub3: 8 ports with 8 removable, self powered ugen1.3: at usbus1 usbd_setup_device_desc: getting device descriptor at addr 1 failed, USB_ERR_TIMEOUT usbd_setup_device_desc: getting device descriptor at addr 1 failed, USB_ERR_TIMEOUT usbd_setup_device_desc: getting device descriptor at addr 1 failed, USB_ERR_TIMEOUT usbd_setup_device_desc: getting device descriptor at addr 1 failed, USB_ERR_TIMEOUT usbd_setup_device_desc: getting device descriptor at addr 1 failed, USB_ERR_TIMEOUT ugen0.2: at usbus0 (disconnected) uhub_reattach_port: could not allocate new device I guess its not related to the xhci problem, but another usb device.... but It tough I should mentioned it... Thanks On Fri, Jun 7, 2013 at 7:06 AM, Hans Petter Selasky wrote: > On 06/05/13 21:05, Miguel C. wrote: >> >> >>> Number: 179342 >>> Category: usb >>> Synopsis: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: >>> Command timeout!) >>> 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 Jun 05 19:10:00 UTC 2013 >>> Closed-Date: >>> Last-Modified: >>> Originator: Miguel C. >>> Release: >>> Organization: >>> Environment: >> >> % uname -a >> FreeBSD r2d2 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Mon May 13 00:54:58 UTC >> 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >>> >>> Description: >> >> This is an Ultrabook (acer s3) with only one USB 3.0 Controller (2-ports) >> >> I first noticed that I could not install 10-current using the memstick >> images, I got stuck at mount root, after upgrading form 9.1 using base and >> kernel tarballs I noticed that the system has no longer detecting my >> memsticks. >> >> >> When connecting usb devices (memstick,hdd) I get: >> >> xhci_do_comand: Command timeout! >> usb_alloc_device: device init 2 failed (USB_ERR_TIMEOUT, ignored) >> usbgen0.2: at usbus0 (disconnected) >> usb_reattach_port: could not allocate new device >> >> >> More info about the controller: >> xhci0: mem 0xc0500000-0xc050ffff >> at device 20.0 on pci0 >> >> And has I explained in the mailling list, I already tried: >> >> sysctl hw.xhci.xhci_port_route=-1 (and =1) in /boot/loader.conf >> (and in sysctl.conf but I guess the first one is the proper way >> >> rebooted, and still no luck. >> >> >>> How-To-Repeat: >> >> 1: Download a memstick image and dd to a usb, after boot you get stuck at >> "mountroot" prompt. >> >> 2: If you're able to install 10-0 current any other way, just connect a >> USB memstick to 3.0 controller, and you'll see the problem (unless if this >> is related to my controller specifically - Intel Panther Point USB 3.0) >>> >>> Fix: >> >> Tried: sysctl hw.xhci.xhci_port_route=-1 -> DID NOT work! >> > > Hi, > > Can you patch the kernel using the attached patch? It will fake interrupts. > Does the XHCI work now? > > --HPS > From owner-freebsd-usb@FreeBSD.ORG Fri Jun 7 13:50: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 4F3F965C for ; Fri, 7 Jun 2013 13:50: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 40EA71049 for ; Fri, 7 Jun 2013 13:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r57Do1Um033487 for ; Fri, 7 Jun 2013 13:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r57Do161033486; Fri, 7 Jun 2013 13:50:01 GMT (envelope-from gnats) Date: Fri, 7 Jun 2013 13:50:01 GMT Message-Id: <201306071350.r57Do161033486@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: Hans Petter Selasky Subject: Re: usb/179342: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!) 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: Fri, 07 Jun 2013 13:50:02 -0000 The following reply was made to PR usb/179342; it has been noted by GNATS. From: Hans Petter Selasky To: Miguel Clara Cc: freebsd-gnats-submit@freebsd.org, bug-followup@freebsd.org, John Baldwin Subject: Re: usb/179342: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!) Date: Fri, 07 Jun 2013 15:42:49 +0200 On 06/07/13 14:44, Miguel Clara wrote: > Hi, > > This patch does fix the issue (tested with different memsticks), I can > now use usb drivers! > > I do see this at boot: > ugen1.2: at usbus1 > uhub4: 2> on usbus1 Hi, Thank you for testing. It tells med that the IRQ routing is broken somewhere. Could you binary search the kernels between r249786 and r251254, to figure out the exact commit that broke your XHCI driver, reverting my patch? You should not need to build the kernel more than 10 times before you figure out which has the commit which causes the failure. make buildkernel -j8 -DNO_CLEAN If you checked out the sources using GIT, this should be very quickly done. --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Jun 7 13:50:06 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 38F2A667 for ; Fri, 7 Jun 2013 13:50:06 +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 2B43C104F for ; Fri, 7 Jun 2013 13:50:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r57Do6eN033512 for ; Fri, 7 Jun 2013 13:50:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r57Do6Ud033511; Fri, 7 Jun 2013 13:50:06 GMT (envelope-from gnats) Date: Fri, 7 Jun 2013 13:50:06 GMT Message-Id: <201306071350.r57Do6Ud033511@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: Hans Petter Selasky Subject: Re: usb/179342: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!) 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: Fri, 07 Jun 2013 13:50:06 -0000 The following reply was made to PR usb/179342; it has been noted by GNATS. From: Hans Petter Selasky To: Miguel Clara Cc: freebsd-gnats-submit@freebsd.org, bug-followup@freebsd.org, John Baldwin Subject: Re: usb/179342: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!) Date: Fri, 07 Jun 2013 15:42:49 +0200 On 06/07/13 14:44, Miguel Clara wrote: > Hi, > > This patch does fix the issue (tested with different memsticks), I can > now use usb drivers! > > I do see this at boot: > ugen1.2: at usbus1 > uhub4: 2> on usbus1 Hi, Thank you for testing. It tells med that the IRQ routing is broken somewhere. Could you binary search the kernels between r249786 and r251254, to figure out the exact commit that broke your XHCI driver, reverting my patch? You should not need to build the kernel more than 10 times before you figure out which has the commit which causes the failure. make buildkernel -j8 -DNO_CLEAN If you checked out the sources using GIT, this should be very quickly done. --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Jun 7 14:40: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 7B8D97CA for ; Fri, 7 Jun 2013 14:40: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 5D5621293 for ; Fri, 7 Jun 2013 14:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r57Ee1Jk044286 for ; Fri, 7 Jun 2013 14:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r57Ee1gC044285; Fri, 7 Jun 2013 14:40:01 GMT (envelope-from gnats) Date: Fri, 7 Jun 2013 14:40:01 GMT Message-Id: <201306071440.r57Ee1gC044285@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: usb/179342: commit references a PR X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dfilter service List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jun 2013 14:40:01 -0000 The following reply was made to PR usb/179342; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/179342: commit references a PR Date: Fri, 7 Jun 2013 14:30:20 +0000 (UTC) Author: hselasky Date: Fri Jun 7 14:30:06 2013 New Revision: 251499 URL: http://svnweb.freebsd.org/changeset/base/251499 Log: Add support for polling the XHCI interrupt handler when the regular interrupt handler is not working properly or in case of MSI interrupts which are not yet supported. Remove interrupt setup code for FreeBSD versions older than 700031. MFC after: 1 week PR: usb/179342 Modified: head/sys/dev/usb/controller/xhci.c head/sys/dev/usb/controller/xhci.h head/sys/dev/usb/controller/xhci_pci.c Modified: head/sys/dev/usb/controller/xhci.c ============================================================================== --- head/sys/dev/usb/controller/xhci.c Fri Jun 7 14:23:11 2013 (r251498) +++ head/sys/dev/usb/controller/xhci.c Fri Jun 7 14:30:06 2013 (r251499) @@ -90,6 +90,7 @@ #ifdef USB_DEBUG static int xhcidebug; static int xhciroute; +static int xhcipolling; static SYSCTL_NODE(_hw_usb, OID_AUTO, xhci, CTLFLAG_RW, 0, "USB XHCI"); SYSCTL_INT(_hw_usb_xhci, OID_AUTO, debug, CTLFLAG_RW | CTLFLAG_TUN, @@ -98,6 +99,9 @@ TUNABLE_INT("hw.usb.xhci.debug", &xhcide SYSCTL_INT(_hw_usb_xhci, OID_AUTO, xhci_port_route, CTLFLAG_RW | CTLFLAG_TUN, &xhciroute, 0, "Routing bitmap for switching EHCI ports to XHCI controller"); TUNABLE_INT("hw.usb.xhci.xhci_port_route", &xhciroute); +SYSCTL_INT(_hw_usb_xhci, OID_AUTO, use_polling, CTLFLAG_RW | CTLFLAG_TUN, + &xhcipolling, 0, "Set to enable software interrupt polling for XHCI controller"); +TUNABLE_INT("hw.usb.xhci.use_polling", &xhcipolling); #endif #define XHCI_INTR_ENDPT 1 @@ -194,6 +198,16 @@ xhci_get_port_route(void) #endif } +uint8_t +xhci_use_polling(void) +{ +#ifdef USB_DEBUG + return (xhcipolling != 0); +#else + return (0); +#endif +} + static void xhci_iterate_hw_softc(struct usb_bus *bus, usb_bus_mem_sub_cb_t *cb) { Modified: head/sys/dev/usb/controller/xhci.h ============================================================================== --- head/sys/dev/usb/controller/xhci.h Fri Jun 7 14:23:11 2013 (r251498) +++ head/sys/dev/usb/controller/xhci.h Fri Jun 7 14:30:06 2013 (r251499) @@ -438,6 +438,8 @@ struct xhci_softc { /* configure message */ struct usb_bus_msg sc_config_msg[2]; + struct usb_callout sc_callout; + union xhci_hub_desc sc_hub_desc; struct cv sc_cmd_cv; @@ -500,6 +502,7 @@ struct xhci_softc { /* prototypes */ uint32_t xhci_get_port_route(void); +uint8_t xhci_use_polling(void); usb_error_t xhci_halt_controller(struct xhci_softc *); usb_error_t xhci_init(struct xhci_softc *, device_t); usb_error_t xhci_start_controller(struct xhci_softc *); Modified: head/sys/dev/usb/controller/xhci_pci.c ============================================================================== --- head/sys/dev/usb/controller/xhci_pci.c Fri Jun 7 14:23:11 2013 (r251498) +++ head/sys/dev/usb/controller/xhci_pci.c Fri Jun 7 14:30:06 2013 (r251499) @@ -132,6 +132,16 @@ xhci_pci_probe(device_t self) } } +static void +xhci_interrupt_poll(void *_sc) +{ + struct xhci_softc *sc = _sc; + USB_BUS_UNLOCK(&sc->sc_bus); + xhci_interrupt(sc); + USB_BUS_LOCK(&sc->sc_bus); + usb_callout_reset(&sc->sc_callout, 1, (void *)&xhci_interrupt_poll, sc); +} + static int xhci_pci_attach(device_t self) { @@ -159,12 +169,13 @@ xhci_pci_attach(device_t self) sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res); sc->sc_io_size = rman_get_size(sc->sc_io_res); + usb_callout_init_mtx(&sc->sc_callout, &sc->sc_bus.bus_mtx, 0); + rid = 0; sc->sc_irq_res = bus_alloc_resource_any(self, SYS_RES_IRQ, &rid, RF_SHAREABLE | RF_ACTIVE); if (sc->sc_irq_res == NULL) { device_printf(self, "Could not allocate IRQ\n"); - goto error; } sc->sc_bus.bdev = device_add_child(self, "usbus", -1); if (sc->sc_bus.bdev == NULL) { @@ -175,18 +186,22 @@ xhci_pci_attach(device_t self) sprintf(sc->sc_vendor, "0x%04x", pci_get_vendor(self)); -#if (__FreeBSD_version >= 700031) - err = bus_setup_intr(self, sc->sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, - NULL, (driver_intr_t *)xhci_interrupt, sc, &sc->sc_intr_hdl); -#else - err = bus_setup_intr(self, sc->sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, - (driver_intr_t *)xhci_interrupt, sc, &sc->sc_intr_hdl); -#endif - if (err) { - device_printf(self, "Could not setup IRQ, err=%d\n", err); - sc->sc_intr_hdl = NULL; - goto error; + if (sc->sc_irq_res != NULL) { + err = bus_setup_intr(self, sc->sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, + NULL, (driver_intr_t *)xhci_interrupt, sc, &sc->sc_intr_hdl); + if (err != 0) { + device_printf(self, "Could not setup IRQ, err=%d\n", err); + sc->sc_intr_hdl = NULL; + } } + if (sc->sc_irq_res == NULL || sc->sc_intr_hdl == NULL || + xhci_use_polling() != 0) { + device_printf(self, "Interrupt polling at %dHz\n", hz); + USB_BUS_LOCK(&sc->sc_bus); + xhci_interrupt_poll(sc); + USB_BUS_UNLOCK(&sc->sc_bus); + } + xhci_pci_take_controller(self); err = xhci_halt_controller(sc); @@ -222,12 +237,14 @@ xhci_pci_detach(device_t self) /* during module unload there are lots of children leftover */ device_delete_children(self); + if (sc->sc_io_res) { + usb_callout_drain(&sc->sc_callout); + xhci_halt_controller(sc); + } + pci_disable_busmaster(self); if (sc->sc_irq_res && sc->sc_intr_hdl) { - - xhci_halt_controller(sc); - bus_teardown_intr(self, sc->sc_irq_res, sc->sc_intr_hdl); sc->sc_intr_hdl = NULL; } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Fri Jun 7 15:10: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 46426F05 for ; Fri, 7 Jun 2013 15:10: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 1E9A01497 for ; Fri, 7 Jun 2013 15:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r57FA0IT051115 for ; Fri, 7 Jun 2013 15:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r57FA0WG051114; Fri, 7 Jun 2013 15:10:00 GMT (envelope-from gnats) Date: Fri, 7 Jun 2013 15:10:00 GMT Message-Id: <201306071510.r57FA0WG051114@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: miguelmclara@gmail.com Subject: Re: usb/179342: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: miguelmclara@gmail.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jun 2013 15:10:01 -0000 The following reply was made to PR usb/179342; it has been noted by GNATS. From: miguelmclara@gmail.com To: "Hans Petter Selasky" Cc: freebsd-gnats-submit@freebsd.org,bug-followup@freebsd.org,"John Baldwin" Subject: Re: usb/179342: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!) Date: Fri, 7 Jun 2013 15:01:19 +0000 DQpJIHVzZWQgc3ZuIGZvciBjaGVja291dCwgYnV0IHRoZSBwcmluY2lwbGUgSSB0aGUgc2FtZS4g SSB3aWxsIHRlc3QgZG9lcyBhbmQgcmVwb3J0IGJhY2sgbXkgZmluZGluZ3MuDQoNCg0KLS0tLS0t TWVuc2FnZW0gb3JpZ2luYWwtLS0tLS0NCkRlOkhhbnMgUGV0dGVyIFNlbGFza3kNClBhcmE6IE1p Z3VlbCBDbGFyYQ0KQ2M6IGZyZWVic2QtZ25hdHMtc3VibWl0QGZyZWVic2Qub3JnDQpDYzogYnVn LWZvbGxvd3VwQGZyZWVic2Qub3JnDQpDYzogSm9obiBCYWxkd2luDQpBc3N1bnRvOiBSZTogdXNi LzE3OTM0MjogRnJlZWJzZCAxMC4wLWN1cnJlbnQgVVNCIDMuMCBub3Qgd29ya2luZyAoeGhjaV9k b19jb21hbmQ6IENvbW1hbmQgdGltZW91dCEpDQpFbnZpYWRhOjcgSnVuIDIwMTMgMTQ6NDINCg0K T24gMDYvMDcvMTMgM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QoNCkVudmlhZG8gYSBwYXJ0aXIgZG8gbWV1IHNtYXJ0cGhvbmUgQmxhY2tCZXJyea4gd3d3LmJs YWNrYmVycnkuY29t From owner-freebsd-usb@FreeBSD.ORG Fri Jun 7 15:10: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 4F5C9F0C for ; Fri, 7 Jun 2013 15:10: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 2876F1566 for ; Fri, 7 Jun 2013 15:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r57FA2dh051121 for ; Fri, 7 Jun 2013 15:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r57FA1Ku051120; Fri, 7 Jun 2013 15:10:01 GMT (envelope-from gnats) Date: Fri, 7 Jun 2013 15:10:01 GMT Message-Id: <201306071510.r57FA1Ku051120@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: miguelmclara@gmail.com Subject: Re: usb/179342: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: miguelmclara@gmail.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jun 2013 15:10:02 -0000 The following reply was made to PR usb/179342; it has been noted by GNATS. From: miguelmclara@gmail.com To: "Hans Petter Selasky" Cc: freebsd-gnats-submit@freebsd.org,bug-followup@freebsd.org,"John Baldwin" Subject: Re: usb/179342: Freebsd 10.0-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QgdGhhdCB0aGUgSVJRIHJvdXRpbmcgaXMgYnJva2VuIA0Kc29tZXdoZXJlLg0KDQpDb3Vs ZCB5b3UgYmluYXJ5IHNlYXJjaCB0aGUga2VybmVscyBiZXR3ZWVuIHIyNDk3ODYgYW5kIHIyNTEy NTQsIHRvIA0KZmlndXJlIG91dCB0aGUgZXhhY3QgY29tbWl0IHRoYXQgYnJva2UgeW91ciBYSENJ IGRyaXZlciwgcmV2ZXJ0aW5nIG15IA0KcGF0Y2g/IFlvdSBzaG91bGQgbm90IG5lZWQgdG8gYnVp bGQgdGhlIGtlcm5lbCBtb3JlIHRoYW4gMTAgdGltZXMgYmVmb3JlIA0KeW91IGZpZ3VyZSBvdXQg d2hpY2ggaGFzIHRoZSBjb21taXQgd2hpY2ggY2F1c2VzIHRoZSBmYWlsdXJlLg0KDQptYWtlIGJ1 aWxka2VybmVsIC1qOCAtRE5PX0NMRUFODQoNCklmIHlvdSBjaGVja2VkIG91dCB0aGUgc291cmNl cyB1c2luZyBHSVQsIHRoaXMgc2hvdWxkIGJlIHZlcnkgcXVpY2tseSBkb25lLg0KDQotLUhQUw0K DQoNCkVudmlhZG8gYSBwYXJ0aXIgZG8gbWV1IHNtYXJ0cGhvbmUgQmxhY2tCZXJyea4gd3d3LmJs YWNrYmVycnkuY29t From owner-freebsd-usb@FreeBSD.ORG Fri Jun 7 17:00:07 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 5E5E3E79 for ; Fri, 7 Jun 2013 17:00:07 +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 506791A9A for ; Fri, 7 Jun 2013 17:00:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r57H03eR074023 for ; Fri, 7 Jun 2013 17:00:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r57H03wg074022; Fri, 7 Jun 2013 17:00:03 GMT (envelope-from gnats) Date: Fri, 7 Jun 2013 17:00:03 GMT Message-Id: <201306071700.r57H03wg074022@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: Takanori Watanabe Subject: Re: usb/179342: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Takanori Watanabe List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jun 2013 17:00:07 -0000 The following reply was made to PR usb/179342; it has been noted by GNATS. From: Takanori Watanabe To: Hans Petter Selasky Cc: bug-followup@FreeBSD.org, miguelmclara@gmail.com Subject: Re: usb/179342: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!) Date: Sat, 08 Jun 2013 01:49:55 +0900 In message <51B1826A.3000301@bitfrost.no>, Hans Petter Selasky wrote: >On 06/07/13 08:21, takawata@init-main.com wrote: >> Reverting the recent change on xhci.c fixes the problem for me. >> >> --- head/sys/dev/usb/controller/xhci.c 2013/04/23 06:26:54 249786 >> +++ head/sys/dev/usb/controller/xhci.c 2013/06/02 12:28:29 251254 >> > >Hi, > >If you look at the SVN log, there are only a few changes in the XHCI >area. Could you identify exactly which change is the cause of the >problem? I don't see that any of the changes between r1 and r2 should >affect the XHCI device init function, where it is failing. > >http://svnweb.freebsd.org/base/head/sys/dev/usb/controller/xhci.c?view=log > >xhci_do_comand: Command timeout! >usb_alloc_device: device init 2 failed (USB_ERR_TIMEOUT, ignored) >usbgen0.2: at usbus0 (disconnected) >usb_reattach_port: could not allocate new device xhci.c 251251:251253 cause the problem for me. From owner-freebsd-usb@FreeBSD.ORG Fri Jun 7 17:50: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 A4A37B03 for ; Fri, 7 Jun 2013 17:50: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 842DB1CB8 for ; Fri, 7 Jun 2013 17:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r57Ho15F084211 for ; Fri, 7 Jun 2013 17:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r57Ho00l084210; Fri, 7 Jun 2013 17:50:00 GMT (envelope-from gnats) Date: Fri, 7 Jun 2013 17:50:00 GMT Message-Id: <201306071750.r57Ho00l084210@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: =?utf-8?Q?Hans_Petter_Selasky?= Subject: RE: usb/179342: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: =?utf-8?Q?Hans_Petter_Selasky?= List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jun 2013 17:50:01 -0000 The following reply was made to PR usb/179342; it has been noted by GNATS. From: =?utf-8?Q?Hans_Petter_Selasky?= To: =?utf-8?Q?Takanori_Watanabe?= Cc: =?utf-8?Q?miguelmclara=40gmail=2Ecom?= , =?utf-8?Q?bug-followup=40FreeBSD=2Eorg?= Subject: RE: usb/179342: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!) Date: Fri, 7 Jun 2013 19:47:21 +0200 This is a multi-part message in MIME format. Your mail reader does not understand MIME message format. --=_FOxI0JVt0ros0tqh1HRVDjPZNCyIUdOP9Jp8wmtmxJ+R8R9K Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Can you try:=0D=0A=0D=0A=C2=A0=0D=0Ar251252=0D=0A=0D=0A=C2=A0=0D=0Aaswell= , that`s a header file change adjusting the IRQ rate of the XHCI controll= er.=0D=0A=0D=0A=C2=A0=0D=0A--HPS=0D=0A=0D=0A-----Original message-----=0D= =0AFrom:Takanori Watanabe =0D=0ASent:Fri 07-06-20= 13 18:55=0D=0ASubject:Re: usb/179342: Freebsd 10.0-current USB 3.0 not wo= rking (xhci_do_comand: Command timeout!)=0D=0ATo:Hans Petter Selasky ;=20=0D=0ACC:bug-followup@FreeBSD.org; migue= lmclara@gmail.com;=20=0D=0AIn message <51B1826A.3000301@bitfrost.no>, Han= s Petter Selasky wrote:=0D=0A>On 06/07/13 08:21, takawata@init-main.com w= rote:=0D=0A>> Reverting the recent change on xhci.c fixes the problem for= me.=0D=0A>>=0D=0A>> --- head/sys/dev/usb/controller/xhci.c =C2=A02013/04= /23 06:26:54 =C2=A0 =C2=A0 249786=0D=0A>> +++ head/sys/dev/usb/controller= /xhci.c =C2=A02013/06/02 12:28:29 =C2=A0 =C2=A0 251254=0D=0A>>=0D=0A>=0D=0A= >Hi,=0D=0A>=0D=0A>If you look at the SVN log, there are only a few change= s in the XHCI=20=0D=0A>area. Could you identify exactly which change is t= he cause of the=20=0D=0A>problem=3F I don't see that any of the changes b= etween r1 and r2 should=20=0D=0A>affect the XHCI device init function, wh= ere it is failing.=0D=0A>=0D=0A>http://svnweb.freebsd.org/base/head/sys/d= ev/usb/controller/xhci.c=3Fview=3Dlog=0D=0A>=0D=0A>xhci_do_comand: Comman= d timeout!=0D=0A>usb_alloc_device: device init 2 failed (USB_ERR_TIMEOUT,= ignored)=0D=0A>usbgen0.2: at usbus0 (disconnected)=0D=0A>usb_r= eattach_port: could not allocate new device=0D=0A=0D=0Axhci.c 251251:2512= 53 cause the problem for me.=0D=0A=0D=0A=0D=0A --=_FOxI0JVt0ros0tqh1HRVDjPZNCyIUdOP9Jp8wmtmxJ+R8R9K Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable =0A=0A =0A =0A RE: usb/17934= 2: Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command time= out!)=0A =0A=0A=0A

Can you try:

 

r251252<= /p>

 

aswell, that`s a header file change adjusting the IRQ = rate of the XHCI controller.

 

--HPS

= -----Original message-----
From:=09Takanori Watanab= e <takawata@init-main.com>
Sent:=09Fri 07-06-= 2013 18:55
Subject:=09Re: usb/179342: Freebsd 10.0-= current USB 3.0 not working (xhci_do_comand: Command timeout!)
To:=09Hans Petter Selasky <hans.petter.selasky@bitfrost.no= >;
CC:=09bug-followup@FreeBSD.org; miguelmclara= @gmail.com;
In message <51B1826A.3000301@bitfrost.no>, Hans P= etter Selasky wrote:
>On 06/07/13 08:21, takawata@init-main.com w= rote:
>> Reverting the recent change on xhci.c fixes the probl= em for me.
>>
>> --- head/sys/dev/usb/controller/xh= ci.c  2013/04/23 06:26:54     249786
>> +++ hea= d/sys/dev/usb/controller/xhci.c  2013/06/02 12:28:29     2= 51254
>>
>
>Hi,
>
>If you look= at the SVN log, there are only a few changes in the XHCI
>area.= Could you identify exactly which change is the cause of the
>pr= oblem=3F I don't see that any of the changes between r1 and r2 should=
>affect the XHCI device init function, where it is failing.
>
>http://svnweb.freebsd.org/base/head/sys/dev/usb/controlle= r/xhci.c=3Fview=3Dlog
>
>xhci_do_comand: Command timeout!=
>usb_alloc_device: device init 2 failed (USB_ERR_TIMEOUT, ignore= d)
>usbgen0.2: <Unknown> at usbus0 (disconnected)
>= usb_reattach_port: could not allocate new device

xhci.c 251251= :251253 cause the problem for me.


=0A=0A --=_FOxI0JVt0ros0tqh1HRVDjPZNCyIUdOP9Jp8wmtmxJ+R8R9K-- From owner-freebsd-usb@FreeBSD.ORG Fri Jun 7 22:40: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 72CFDAF0 for ; Fri, 7 Jun 2013 22:40: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 642F718C2 for ; Fri, 7 Jun 2013 22:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r57Me1n0040738 for ; Fri, 7 Jun 2013 22:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r57Me11E040737; Fri, 7 Jun 2013 22:40:01 GMT (envelope-from gnats) Date: Fri, 7 Jun 2013 22:40:01 GMT Message-Id: <201306072240.r57Me11E040737@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: usb/179342: commit references a PR X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dfilter service List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jun 2013 22:40:01 -0000 The following reply was made to PR usb/179342; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/179342: commit references a PR Date: Fri, 7 Jun 2013 22:36:05 +0000 (UTC) Author: hselasky Date: Fri Jun 7 22:35:58 2013 New Revision: 251515 URL: http://svnweb.freebsd.org/changeset/base/251515 Log: Fix some recent regression issues: 1) Only multi-TD isochronous transfers should use NORMAL type after specific type as per XHCI specification. 2) BEI bit is only available in NORMAL and ISOCHRONOUS TRB types. Don't use this bit for other types to avoid hardware asserts. Reserved bits should be don't care though ... MFC after: 1 week PR: usb/179342 Modified: head/sys/dev/usb/controller/xhci.c Modified: head/sys/dev/usb/controller/xhci.c ============================================================================== --- head/sys/dev/usb/controller/xhci.c Fri Jun 7 22:01:06 2013 (r251514) +++ head/sys/dev/usb/controller/xhci.c Fri Jun 7 22:35:58 2013 (r251515) @@ -1561,6 +1561,7 @@ xhci_setup_generic_chain_sub(struct xhci struct xhci_td *td; struct xhci_td *td_next; struct xhci_td *td_alt_next; + struct xhci_td *td_first; uint32_t buf_offset; uint32_t average; uint32_t len_old; @@ -1569,7 +1570,6 @@ xhci_setup_generic_chain_sub(struct xhci uint8_t shortpkt_old; uint8_t precompute; uint8_t x; - uint8_t first_trb = 1; td_alt_next = NULL; buf_offset = 0; @@ -1581,7 +1581,7 @@ xhci_setup_generic_chain_sub(struct xhci restart: td = temp->td; - td_next = temp->td_next; + td_next = td_first = temp->td_next; while (1) { @@ -1717,48 +1717,55 @@ restart: td->td_trb[x].dwTrb2 = htole32(dword); - /* BEI: Interrupts are inhibited until EOT */ - dword = XHCI_TRB_3_CHAIN_BIT | XHCI_TRB_3_CYCLE_BIT | - XHCI_TRB_3_BEI_BIT | - XHCI_TRB_3_TBC_SET(temp->tbc) | - XHCI_TRB_3_TLBPC_SET(temp->tlbpc); - - if (first_trb != 0) { - first_trb = 0; - dword |= XHCI_TRB_3_TYPE_SET(temp->trb_type); - /* - * Remove cycle bit from the first TRB - * if we are stepping them: - */ - if (temp->step_td != 0) - dword &= ~XHCI_TRB_3_CYCLE_BIT; - } else { - dword |= XHCI_TRB_3_TYPE_SET(XHCI_TRB_TYPE_NORMAL); - } - if (temp->trb_type == XHCI_TRB_TYPE_ISOCH) { - if (temp->do_isoc_sync != 0) { + switch (temp->trb_type) { + case XHCI_TRB_TYPE_ISOCH: + /* BEI: Interrupts are inhibited until EOT */ + dword = XHCI_TRB_3_CHAIN_BIT | XHCI_TRB_3_CYCLE_BIT | + XHCI_TRB_3_BEI_BIT | + XHCI_TRB_3_TBC_SET(temp->tbc) | + XHCI_TRB_3_TLBPC_SET(temp->tlbpc); + if (td != td_first) { + dword |= XHCI_TRB_3_TYPE_SET(XHCI_TRB_TYPE_NORMAL); + } else if (temp->do_isoc_sync != 0) { temp->do_isoc_sync = 0; - dword |= XHCI_TRB_3_FRID_SET(temp->isoc_frame / 8); + /* wait until "isoc_frame" */ + dword |= XHCI_TRB_3_TYPE_SET(XHCI_TRB_TYPE_ISOCH) | + XHCI_TRB_3_FRID_SET(temp->isoc_frame / 8); } else { - dword |= XHCI_TRB_3_ISO_SIA_BIT; + /* start data transfer at next interval */ + dword |= XHCI_TRB_3_TYPE_SET(XHCI_TRB_TYPE_ISOCH) | + XHCI_TRB_3_ISO_SIA_BIT; } + if (temp->direction == UE_DIR_IN) + dword |= XHCI_TRB_3_DIR_IN | XHCI_TRB_3_ISP_BIT; + break; + case XHCI_TRB_TYPE_DATA_STAGE: + dword = XHCI_TRB_3_CHAIN_BIT | XHCI_TRB_3_CYCLE_BIT | + XHCI_TRB_3_TYPE_SET(XHCI_TRB_TYPE_DATA_STAGE) | + XHCI_TRB_3_TBC_SET(temp->tbc) | + XHCI_TRB_3_TLBPC_SET(temp->tlbpc); + if (temp->direction == UE_DIR_IN) + dword |= XHCI_TRB_3_DIR_IN | XHCI_TRB_3_ISP_BIT; + break; + case XHCI_TRB_TYPE_STATUS_STAGE: + dword = XHCI_TRB_3_CHAIN_BIT | XHCI_TRB_3_CYCLE_BIT | + XHCI_TRB_3_TYPE_SET(XHCI_TRB_TYPE_STATUS_STAGE) | + XHCI_TRB_3_TBC_SET(temp->tbc) | + XHCI_TRB_3_TLBPC_SET(temp->tlbpc); + if (temp->direction == UE_DIR_IN) + dword |= XHCI_TRB_3_DIR_IN; + break; + default: /* XHCI_TRB_TYPE_NORMAL */ + /* BEI: Interrupts are inhibited until EOT */ + dword = XHCI_TRB_3_CHAIN_BIT | XHCI_TRB_3_CYCLE_BIT | + XHCI_TRB_3_TYPE_SET(XHCI_TRB_TYPE_NORMAL) | + XHCI_TRB_3_BEI_BIT | + XHCI_TRB_3_TBC_SET(temp->tbc) | + XHCI_TRB_3_TLBPC_SET(temp->tlbpc); + if (temp->direction == UE_DIR_IN) + dword |= XHCI_TRB_3_DIR_IN | XHCI_TRB_3_ISP_BIT; + break; } - if (temp->direction == UE_DIR_IN) { - dword |= XHCI_TRB_3_DIR_IN; - - /* - * NOTE: Only the SETUP stage should - * use the IDT bit. Else transactions - * can be sent using the wrong data - * toggle value. - */ - if (temp->trb_type != - XHCI_TRB_TYPE_SETUP_STAGE && - temp->trb_type != - XHCI_TRB_TYPE_STATUS_STAGE) - dword |= XHCI_TRB_3_ISP_BIT; - } - td->td_trb[x].dwTrb3 = htole32(dword); average -= buf_res.length; @@ -1793,10 +1800,8 @@ restart: td->td_trb[x].dwTrb2 = htole32(dword); - /* BEI: interrupts are inhibited until EOT */ dword = XHCI_TRB_3_TYPE_SET(XHCI_TRB_TYPE_LINK) | - XHCI_TRB_3_CYCLE_BIT | XHCI_TRB_3_IOC_BIT | - XHCI_TRB_3_BEI_BIT; + XHCI_TRB_3_CYCLE_BIT | XHCI_TRB_3_IOC_BIT; td->td_trb[x].dwTrb3 = htole32(dword); @@ -1824,10 +1829,13 @@ restart: goto restart; } - /* need to force an interrupt if we are stepping the TRBs */ - if ((temp->direction & UE_DIR_IN) != 0 && temp->multishort == 0) { - /* make sure the last LINK event generates an interrupt */ - td->td_trb[td->ntrb].dwTrb3 &= ~htole32(XHCI_TRB_3_BEI_BIT); + /* + * Remove cycle bit from the first TRB if we are + * stepping them: + */ + if (temp->step_td != 0) { + td_first->td_trb[0].dwTrb3 &= ~htole32(XHCI_TRB_3_CYCLE_BIT); + usb_pc_cpu_flush(td_first->page_cache); } /* remove chain bit because this is the last TRB in the chain */ _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"