From owner-freebsd-usb@FreeBSD.ORG Mon Aug 26 11:06:53 2013 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8F97B1C0 for ; Mon, 26 Aug 2013 11:06:53 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6F4AA2874 for ; Mon, 26 Aug 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 r7QB6rvK066111 for ; Mon, 26 Aug 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 r7QB6q2n066109 for freebsd-usb@FreeBSD.org; Mon, 26 Aug 2013 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 26 Aug 2013 11:06:52 GMT Message-Id: <201308261106.r7QB6q2n066109@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, 26 Aug 2013 11:06:53 -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/181425 usb USB keyboard with full N-key rollover not working o usb/181159 usb Problem attaching USB device o usb/180837 usb [scsi_da] [patch] Kingston DT 101 G2 usb stick quirk ( o usb/180726 usb XHCI umass support breaks between r248085 and r252560 o usb/180657 usb [PATCH] Filco Majestouch 2 keyboard recognized as keyb o usb/180617 usb New quirk (another member of Western Digital My Passpo o usb/180254 usb FreeBSD 9.1 on 384GB memory server o usb/180119 usb FreeBSD 9.1 umass driver does not correctly handle Pan o usb/179505 usb Kernel detaches Arduino Leonardo (and similar) board u o usb/179342 usb Freebsd 10.0-current USB 3.0 not working (xhci_do_coma o usb/179109 usb After detach USB Flash a keyboard does not work. o usb/179107 usb [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 kern/138292 usb [zyd] [usb8] "zyd0: device timeout" with ZyXEL G-202 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 f usb/128745 usb [zyd] zyd theoretically supported usb device makes ker 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 f usb/117150 usb [zyd] usb zyd device under moderate load panics system 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 314 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Aug 26 15:43:03 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 68421D86 for ; Mon, 26 Aug 2013 15:43:03 +0000 (UTC) (envelope-from johannes@brilliantservice.co.jp) Received: from mail-ie0-f169.google.com (mail-ie0-f169.google.com [209.85.223.169]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3AA882C57 for ; Mon, 26 Aug 2013 15:43:03 +0000 (UTC) Received: by mail-ie0-f169.google.com with SMTP id 10so5426682ied.28 for ; Mon, 26 Aug 2013 08:43:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc :content-type; bh=/z1m8uRtdqEWAdT8ap1mOwB2gokZRI4kYiZgqCrHX4w=; b=NP+PEEKWQX6/Gsljc7AInlUImX6Z22rCw7M5c2cRSi+s8A1OraTlQPAhYXWw6defhb kvto+Lj8S3+0kY3DTP7UvO95qxXd1+vb7RUnBqTs1Ic7nBQZxZESDophlSJ9akTTcb12 YERFXKiZZezTYE66iWrYQJStSGAMqfwvc1mK3uDKQgyLGh+stdC9g7ghP1evc81k1hQI yId3/TchQYDwbDdXUdxfuaGN+46n1WLXomVjYNpFG4EivuIEEE198pfUhYqkk9nrqIPe PXFKXQZsFU3HlTctTe86dbTz+8Tm0uX5maq9y1vDDz2Y9Ijjc1fI4WFRXIxJoWRVovzy ooCQ== X-Gm-Message-State: ALoCoQm8kyXGN1N7zMeUN5pSabXqMb5ZH/NsvYG4/OxCLOqZIiIgTnia3LTAumKaQ7A43lA4zNe8 X-Received: by 10.42.79.4 with SMTP id p4mr2123931ick.21.1377531782396; Mon, 26 Aug 2013 08:43:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.43.158.74 with HTTP; Mon, 26 Aug 2013 08:42:47 -0700 (PDT) From: "Lundberg, Johannes" Date: Mon, 26 Aug 2013 16:42:47 +0100 Message-ID: Subject: xhci broken on 10-CURRENT and 2013 MacBook Air? To: FreeBSD Current Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2013 15:43:03 -0000 Hi I'm trying to install 10-CURRENT on a 2013 MacBook Air and there seem to be some problem with the xhci driver. During boot of the memstick image of current from 20130818 I get either of the following errors: - Boot freezes during probe of xhci devices. - Probing times out (immediately) and I get the mountroot> prompt but no functional keyboard. I tried an image of 10-current from May but the problem is the same so what ever change that made this stop working was committed before May. I also tried disabling xhci with the following steps but without success - Enter boot prompt - set hint.xhci.0.disabled=1 - load ehci / uhci - boot The 9.1 release successfully detects all usb devices during install but stop working at the partitioning tool because the PCIe SSD drive isn't detected. Using 9.1 as LiveCD I managed to pull out the following information. ----- MacBook Air 2013, FreeBSD 9.1 LiveCD dmesg output xhci0: mem 0xb0a00000-0xb0a0ffff at device 20.0 on pci0 pciconf -l output xhci0@pci0:0:20:0: class=0x0c0330 card=0x72708086 chip=0x9c318086 rev=0x04 hdr=0x00 usbconfig output ugen0.1: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen0.3: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen0.4: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen0.5: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen0.6: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen0.7: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON ----- Anyone has any clue what's going on? Best regards Johannes Lundberg BRILLIANTSERVICE CO., LTD. From owner-freebsd-usb@FreeBSD.ORG Mon Aug 26 15:56:15 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 07D3C1C1 for ; Mon, 26 Aug 2013 15:56:15 +0000 (UTC) (envelope-from johannes@brilliantservice.co.jp) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CABC22D0C for ; Mon, 26 Aug 2013 15:56:14 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id x14so5199165ief.39 for ; Mon, 26 Aug 2013 08:56:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=34ZaMyG3bhq30SCWctJCtXaMWgaCcV2Vs4HHcNqY6tM=; b=QJcIBO6/KGwzzWaRAuyDk0utNrC45QT+P8XY+aexHX+PnSD/chFJ4gGmI83aD1uW/S +7pOeu8DNAKGOjEeUHKS8Rl5KDy5LSpisFl9zoh49yaUf3QQCoidqdbpspUedmXjHO8A kMmU/JhlNis5jyxj8gXcED1bESb06VuLbsb9sUYwmc+gsr8ia2xEosAhPkEn3yCy6g8R PVLEBzj2vGvZUwmSUKXT177BbK2SE9nhiBVuHanXOK0P2dHeyZaP/BF9tWOF9nwM+Urh lDdJJZDSMpwLhysH1EKtDvhwXDJpvTY2BBmg1V3pX0fKRMIosRsXXtA55i4Ulj09CAA8 U8nw== X-Gm-Message-State: ALoCoQkWrlY9Rb2c0kruW8XzRO/3ECKmlfxfYjdlSkFZ3zGWc51uxFHQznsRraXV8z9iRco8+Caq X-Received: by 10.50.20.232 with SMTP id q8mr7157772ige.0.1377532568538; Mon, 26 Aug 2013 08:56:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.43.158.74 with HTTP; Mon, 26 Aug 2013 08:55:53 -0700 (PDT) In-Reply-To: References: From: "Lundberg, Johannes" Date: Mon, 26 Aug 2013 16:55:53 +0100 Message-ID: Subject: Re: xhci broken on 10-CURRENT and 2013 MacBook Air? To: FreeBSD Current Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2013 15:56:15 -0000 Just looked through the PR mail that came today and found possible duplicates. o usb/180726 usb XHCI umass support breaks between r248085 and r252560 o usb/179342 usb Freebsd 10.0-current USB 3.0 not working (xhci_do_coma Johannes Lundberg BRILLIANTSERVICE CO., LTD. On Mon, Aug 26, 2013 at 4:42 PM, Lundberg, Johannes < johannes@brilliantservice.co.jp> wrote: > Hi > > I'm trying to install 10-CURRENT on a 2013 MacBook Air and there seem to > be some problem with the xhci driver. > > During boot of the memstick image of current from 20130818 I get either of > the following errors: > > - Boot freezes during probe of xhci devices. > - Probing times out (immediately) and I get the mountroot> prompt but no > functional keyboard. > > I tried an image of 10-current from May but the problem is the same so > what ever change that made this stop working was committed before May. > > I also tried disabling xhci with the following steps but without success > > - Enter boot prompt > - set hint.xhci.0.disabled=1 > - load ehci / uhci > - boot > > The 9.1 release successfully detects all usb devices during install but > stop working at the partitioning tool because the PCIe SSD drive isn't > detected. Using 9.1 as LiveCD I managed to pull out the following > information. > > ----- > > MacBook Air 2013, FreeBSD 9.1 LiveCD > > dmesg output > > xhci0: mem 0xb0a00000-0xb0a0ffff at > device 20.0 on pci0 > > pciconf -l output > > xhci0@pci0:0:20:0: class=0x0c0330 card=0x72708086 chip=0x9c318086 > rev=0x04 hdr=0x00 > > usbconfig output > > ugen0.1: at usbus0, cfg=0 md=HOST spd=SUPER > (5.0Gbps) pwr=SAVE > ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL > (12Mbps) pwr=SAVE > ugen0.3: at usbus0, cfg=0 md=HOST spd=FULL > (12Mbps) pwr=ON > ugen0.4: at usbus0, cfg=0 md=HOST spd=FULL > (12Mbps) pwr=ON > ugen0.5: at usbus0, cfg=0 > md=HOST spd=FULL (12Mbps) pwr=ON > ugen0.6: at usbus0, cfg=0 > md=HOST spd=FULL (12Mbps) pwr=ON > ugen0.7: at usbus0, cfg=0 md=HOST spd=SUPER > (5.0Gbps) pwr=ON > > ----- > > Anyone has any clue what's going on? > > Best regards > > Johannes Lundberg > BRILLIANTSERVICE CO., LTD. > From owner-freebsd-usb@FreeBSD.ORG Mon Aug 26 18:21:02 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 420447F1; Mon, 26 Aug 2013 18:21:02 +0000 (UTC) (envelope-from hps@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id F132025D3; Mon, 26 Aug 2013 18:21:01 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id E5F737A1B3; Mon, 26 Aug 2013 20:21:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 329E88F44C7; Mon, 26 Aug 2013 20:21:13 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ixVgt7GVHldG; Mon, 26 Aug 2013 20:21:12 +0200 (CEST) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id 6A7E78F44B4; Mon, 26 Aug 2013 20:21:12 +0200 (CEST) Message-ID: <521B9CD7.8010902@bitfrost.no> Date: Mon, 26 Aug 2013 20:22:15 +0200 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130522 Thunderbird/17.0.6 MIME-Version: 1.0 To: "Lundberg, Johannes" Subject: Re: xhci broken on 10-CURRENT and 2013 MacBook Air? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Current , 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, 26 Aug 2013 18:21:02 -0000 On 08/26/13 17:55, Lundberg, Johannes wrote: > Just looked through the PR mail that came today and found possible > duplicates. > > o usb/180726 usb XHCI umass support breaks between r248085 and > r252560 > o usb/179342 usb Freebsd 10.0-current USB 3.0 not working > (xhci_do_coma > Hi, What happens if you load xhci after reaching the boot prompt? Might also be worth trying: hw.usb.xhci.msi=0 Are you able to bisect the 10-current code until you find the diff that broke it? --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Aug 26 19:02:46 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3A1ED1ED for ; Mon, 26 Aug 2013 19:02:46 +0000 (UTC) (envelope-from johannes@brilliantservice.co.jp) Received: from mail-ie0-f173.google.com (mail-ie0-f173.google.com [209.85.223.173]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0A4322885 for ; Mon, 26 Aug 2013 19:02:45 +0000 (UTC) Received: by mail-ie0-f173.google.com with SMTP id qa5so2093889ieb.18 for ; Mon, 26 Aug 2013 12:02:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=GeM71uf9yKXfmOVgZ//yTC6OA3Vs2a+bHMrBxGrIyJM=; b=ZaVCXeLnXyrBFQe758Uh8dBl/vUbK1TXnLUYmWOmw+HJTKaQaUS/WqCk7gx5Lj9k67 0jCHG2zdRgeC3MxgH+dpKW6fJu7ztTNQrGuYIih6WG3gR+BxKdKtDjzlZBRzzhTsV4sU +5WX7VrehzKcf46pUjQtM5WR3eUiOQr7tZ7gp0qAa6QjlBiCon4mT+bC5KH8Okad3dpx vpTUOvd05hdNlHRtdEJhw/EEyuuiHFGWWqqIK78pBv1umIwBz4Fdc/cZxNOYPodjkUbC pVOk0F7J8aQfyt1qvFv/nLg9evj1xR+uZSZ2HAoO2SOR33gZhsi3U9JVJMawFiOsSWHg PFEQ== X-Gm-Message-State: ALoCoQl6i3dkwp08eXzquJodLCcBX5RjgqdZZerscNLeXjkg5v1lNVkFmTT2KgrGm3CS896DlxhP X-Received: by 10.50.124.65 with SMTP id mg1mr7519841igb.43.1377543764995; Mon, 26 Aug 2013 12:02:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.43.158.74 with HTTP; Mon, 26 Aug 2013 12:02:29 -0700 (PDT) In-Reply-To: <521B9CD7.8010902@bitfrost.no> References: <521B9CD7.8010902@bitfrost.no> From: "Lundberg, Johannes" Date: Mon, 26 Aug 2013 20:02:29 +0100 Message-ID: Subject: Re: xhci broken on 10-CURRENT and 2013 MacBook Air? To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Current , 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, 26 Aug 2013 19:02:46 -0000 Hi Hans Thanks but nothing of that makes any difference. Well, it's gonna be difficult to find the diff I think... The oldest image I could find was from May. What I'm doing now is compiling a bootonly.iso of current with a xhci.h/c that's reverted to 9.1 release version to see if that will boot. Johannes Lundberg BRILLIANTSERVICE CO., LTD. On Mon, Aug 26, 2013 at 7:22 PM, Hans Petter Selasky wrote: > On 08/26/13 17:55, Lundberg, Johannes wrote: > >> Just looked through the PR mail that came today and found possible >> duplicates. >> >> o usb/180726 usb XHCI umass support breaks between r248085 and >> r252560 >> o usb/179342 usb Freebsd 10.0-current USB 3.0 not working >> (xhci_do_coma >> >> > Hi, > > What happens if you load xhci after reaching the boot prompt? > > Might also be worth trying: > > hw.usb.xhci.msi=0 > > Are you able to bisect the 10-current code until you find the diff that > broke it? > > --HPS > From owner-freebsd-usb@FreeBSD.ORG Tue Aug 27 09:05:40 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 39AC9FC6; Tue, 27 Aug 2013 09:05:40 +0000 (UTC) (envelope-from hps@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id E97942864; Tue, 27 Aug 2013 09:05:39 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id C801E7A26D; Tue, 27 Aug 2013 11:05:31 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 3C37D8F46F7; Tue, 27 Aug 2013 11:05:44 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AQSU4shRy5XN; Tue, 27 Aug 2013 11:05:43 +0200 (CEST) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id 047CE8F46F4; Tue, 27 Aug 2013 11:05:42 +0200 (CEST) Message-ID: <521C6C26.7050207@bitfrost.no> Date: Tue, 27 Aug 2013 11:06:46 +0200 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130522 Thunderbird/17.0.6 MIME-Version: 1.0 To: "Lundberg, Johannes" Subject: Re: xhci broken on 10-CURRENT and 2013 MacBook Air? References: <521B9CD7.8010902@bitfrost.no> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Current , freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2013 09:05:40 -0000 On 08/26/13 21:02, Lundberg, Johannes wrote: > Hi Hans > > Thanks but nothing of that makes any difference. Well, it's gonna be > difficult to find the diff I think... The oldest image I could find was > from May. > > What I'm doing now is compiling a bootonly.iso of current with a xhci.h/c > that's reverted to 9.1 release version to see if that will boot. > Hi, If it just hangs, can be an IRQ looping issue. You can also try to boot using bootverbose and configure the xhci driver with debugging on in the sys/dev/usb/controller/xhci.c by default to see just what is exactly going on. If you can suggest a patch, that would be great. --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Aug 27 09:12:25 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 86C39339 for ; Tue, 27 Aug 2013 09:12:25 +0000 (UTC) (envelope-from johannes@brilliantservice.co.jp) Received: from mail-ie0-f171.google.com (mail-ie0-f171.google.com [209.85.223.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 52A1B28E2 for ; Tue, 27 Aug 2013 09:12:25 +0000 (UTC) Received: by mail-ie0-f171.google.com with SMTP id 9so6964121iec.16 for ; Tue, 27 Aug 2013 02:12:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=W+6bHFM+rDPIL1SFe6zhducnTD7Rzrzb3OSg7gVXjsY=; b=de3THOmJObprowPuqaXeTuwv5KizGGJiz3gY6ZLuM8zimb3t3NF+GRMn3bzY3BlLzk N41946UDZytvm7RdR2BQ4v65pbTEJp9C7uKpeVP7BJDeJ7jSv1EkHyQOegYLXIYeocpR ExLVWOzwLRj+mQnENwZylwS0U/CUoAOL2thwDtMOfKz0iKSCOjVbK2W7LEJPZFJtbXks ZzaTil92hz9Hq/mlzfYifH2QYW3Q0AplySGnfFdiHDSqFvvrVANYY1IHaFxWhGErGsyc 0jxpF3z+9LQqE+hvXi8Y4pe/3lRSnQBEBIP1TaDnE4LpHtTtIYhC/iM9f+oh5lJRFRiV EUgA== X-Gm-Message-State: ALoCoQlih+7QvGzr4VYKaCyoeHZjPmWaBiobcBrsEWTsnl5yDU+9KByMsYSpFxErcGljqjclDREf X-Received: by 10.50.49.65 with SMTP id s1mr9331415ign.43.1377594744443; Tue, 27 Aug 2013 02:12:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.43.158.74 with HTTP; Tue, 27 Aug 2013 02:12:09 -0700 (PDT) In-Reply-To: <521C6C26.7050207@bitfrost.no> References: <521B9CD7.8010902@bitfrost.no> <521C6C26.7050207@bitfrost.no> From: "Lundberg, Johannes" Date: Tue, 27 Aug 2013 10:12:09 +0100 Message-ID: Subject: Re: xhci broken on 10-CURRENT and 2013 MacBook Air? To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Current , freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2013 09:12:25 -0000 Hi Hans Sure, I will try it out later and mail the results. Now I'm running current with usb part reverted to 9.1. It gets me pass the usb probing to the part that I really wanted to confirm. If FreeBSD supports the SSD drive on the new MacBook Air. It seems that it doesn't so that one more thing that we need to look into. Johannes Lundberg BRILLIANTSERVICE CO., LTD. On Tue, Aug 27, 2013 at 10:06 AM, Hans Petter Selasky wrote: > On 08/26/13 21:02, Lundberg, Johannes wrote: > >> Hi Hans >> >> Thanks but nothing of that makes any difference. Well, it's gonna be >> difficult to find the diff I think... The oldest image I could find was >> from May. >> >> What I'm doing now is compiling a bootonly.iso of current with a xhci.h/c >> that's reverted to 9.1 release version to see if that will boot. >> >> > Hi, > > If it just hangs, can be an IRQ looping issue. > > You can also try to boot using bootverbose and configure the xhci driver > with debugging on in the sys/dev/usb/controller/xhci.c by default to see > just what is exactly going on. > > If you can suggest a patch, that would be great. > > --HPS > > From owner-freebsd-usb@FreeBSD.ORG Tue Aug 27 09:14:37 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 461A74AC; Tue, 27 Aug 2013 09:14:37 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qa0-x229.google.com (mail-qa0-x229.google.com [IPv6:2607:f8b0:400d:c00::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E7F85290E; Tue, 27 Aug 2013 09:14:36 +0000 (UTC) Received: by mail-qa0-f41.google.com with SMTP id n20so1248515qaj.7 for ; Tue, 27 Aug 2013 02:14:36 -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:message-id:subject :from:to:cc:content-type; bh=zDhqW3lgKjDNPcHG+X9Wnzvfel2vzqqq40kiRZNyQzk=; b=vAJCx2vD1YsGqtKdmOeTz5mBoCXPET66NnH0+JRCVpna/bvqZaEMxb7Y/6jSJJJgyC zTbgxYaXcatmcloRofoXKX2o2Pu1oFLBu5a57y/ediY0PQPprLpMB0etCMj4zzxwDEGV Ug43CSNsmUIeU195I0ziL2Yw1fSYQp0fInkwr33DK9HsfPV75D2ZUDUK8N4LVaynkx2Y 7IIv2SHOalvYuvOKTkjCTfZHRUcyunmbwlar6urTyWc8PVcp5kU7F8UPt6ZqTEBl1tfV y47RODEbAhQcYOoJIXizEp77RV0QuyurQBjqlJH5eI5VAyOeAJvB0JFIjP8J0S2VQO8N OP2A== MIME-Version: 1.0 X-Received: by 10.49.107.105 with SMTP id hb9mr8278776qeb.74.1377594876103; Tue, 27 Aug 2013 02:14:36 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.128.70 with HTTP; Tue, 27 Aug 2013 02:14:36 -0700 (PDT) In-Reply-To: References: <521B9CD7.8010902@bitfrost.no> <521C6C26.7050207@bitfrost.no> Date: Tue, 27 Aug 2013 02:14:36 -0700 X-Google-Sender-Auth: HNcMyisgWaXF9yVpyws75YZPjA8 Message-ID: Subject: Re: xhci broken on 10-CURRENT and 2013 MacBook Air? From: Adrian Chadd To: "Lundberg, Johannes" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Current , "freebsd-usb@freebsd.org" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2013 09:14:37 -0000 Hm! Is there a Linux driver for this SSD? Does Linux approximately boot on this thing? -adrian From owner-freebsd-usb@FreeBSD.ORG Tue Aug 27 12:47:32 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B57FDBC for ; Tue, 27 Aug 2013 12:47:32 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8906B2500 for ; Tue, 27 Aug 2013 12:47:32 +0000 (UTC) Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 45F1122A1B for ; Tue, 27 Aug 2013 08:47:23 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute4.internal (MEProxy); Tue, 27 Aug 2013 08:47:23 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=smtpout; bh=PyniVbqHcqzpvdGL5iBTbCu4/b8=; b=pnj 8o80U4gWm2iOy2gp5ofrKPWBTPJDkgBCq0yLaTCTdlz9733rAcwRzhCYqYwQY+Kn 9qcuqyqqETsC4CJwgO3dX1lNO+DpA2pOOhNINBgk4q89Y4k+d82J0h4qoCLxUDou ucYuxoEBGe9HgVpx213K03g1p4Ux/c1wS5ZVLtXI= Received: by web3.nyi.mail.srv.osa (Postfix, from userid 99) id 2193CB02387; Tue, 27 Aug 2013 08:47:22 -0400 (EDT) Message-Id: <1377607642.2202.14645269.5B023F4B@webmail.messagingengine.com> X-Sasl-Enc: h5J0T1EMnnS+kuA9C4LqfWDfgVxJx5AYbH12Ll/ea3By 1377607642 From: Mark Felder To: freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-be0d4992 In-Reply-To: <1377089693.23484.12421113.2245BC48@webmail.messagingengine.com> References: <201308201109.r7KB9FB0055279@oldred.freebsd.org> <1377000130.29559.11956137.36EED78E@webmail.messagingengine.com> <5214AAA3.3090204@freebsd.org> <1377089693.23484.12421113.2245BC48@webmail.messagingengine.com> Subject: Re: usb/181425: USB keyboard with full N-key rollover not working Date: Tue, 27 Aug 2013 07:47:22 -0500 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2013 12:47:32 -0000 On Wed, Aug 21, 2013, at 7:54, Mark Felder wrote: > On Wed, Aug 21, 2013, at 6:55, Julian Elischer wrote: > > > > tried a different usb port? (some bios are set up to only look for > > stuff on one port) > > > > I've tried every USB port on this machine with no luck. It's probably a > Dell BIOS bug and something to do with this keyboard needing more power > than most. > FYI, a BIOS update to A10 on this Optiplex 390 finally fixed it! I've tried several with no luck, but this one finally did it. Hopefully someone googling this issue will stumble upon this message :) From owner-freebsd-usb@FreeBSD.ORG Tue Aug 27 17:21:57 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 235998F7 for ; Tue, 27 Aug 2013 17:21:57 +0000 (UTC) (envelope-from johannes@brilliantservice.co.jp) Received: from mail-ob0-f170.google.com (mail-ob0-f170.google.com [209.85.214.170]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DCDE92638 for ; Tue, 27 Aug 2013 17:21:56 +0000 (UTC) Received: by mail-ob0-f170.google.com with SMTP id eh20so5192524obb.29 for ; Tue, 27 Aug 2013 10:21:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=f4wbQQQYZXtvE3rtRbf2U3tc6ASKbUFBP7S8mb7DBng=; b=nXqM4ewsz8nRxzpYeX9WNw3O/yMm6BJwSt2cG9v29AhkyK68hf0SFGCq+2JbuNc5qg xFpaOgmqMqCYB4dIta4o3qCbgaTCq1t/zNzd/i0mQGomjEiFOg2VEWw18I43iem0ay5k VcKnC9cJcQjX4C799v1AGHoveVfHF2r5MdPN2x02XxDHvLRJ3EoMYFj0Gm7c9IFRXFd7 mF8fN/v3OIOS47FNeqOvKIAKVYt93+F3WMsmo5M66cdvadR+Pog0nSJn2llB4iKrZjbB xqupd8igCGfAHBvAGQwFcWmUlvR2tN53Df22+3HRa9Gg60bvVgTwt7ANQ/6U2FkxdisH 6KWg== X-Gm-Message-State: ALoCoQktQLK3bTcN6edi4d/te409ykoDkj8BbSAAMaJmkF4kLkesWzG3NgIy0mghv0WoRsmSUPKG X-Received: by 10.50.20.232 with SMTP id q8mr10842047ige.0.1377624109916; Tue, 27 Aug 2013 10:21:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.43.158.74 with HTTP; Tue, 27 Aug 2013 10:21:34 -0700 (PDT) In-Reply-To: References: <521B9CD7.8010902@bitfrost.no> <521C6C26.7050207@bitfrost.no> From: "Lundberg, Johannes" Date: Tue, 27 Aug 2013 18:21:34 +0100 Message-ID: Subject: Re: xhci broken on 10-CURRENT and 2013 MacBook Air? To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Current , "freebsd-usb@freebsd.org" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2013 17:21:57 -0000 The SSD controller driver is hopefully fixed now with the patch I submitted to -current mailing list. I will compile a new system with usb as a loadable module so that it is easier to test different versions and possible fixes and then do some testing maybe tomorrow. Johannes Lundberg BRILLIANTSERVICE CO., LTD. On Tue, Aug 27, 2013 at 10:14 AM, Adrian Chadd wrote: > Hm! > > Is there a Linux driver for this SSD? Does Linux approximately boot on > this thing? > > > > -adrian > From owner-freebsd-usb@FreeBSD.ORG Thu Aug 29 21:30:36 2013 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 041AC903 for ; Thu, 29 Aug 2013 21:30:36 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.76.211]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 64A032AEC for ; Thu, 29 Aug 2013 21:30:35 +0000 (UTC) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id 1AC156A6008 for ; Thu, 29 Aug 2013 23:30:33 +0200 (CEST) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id r7TLUW5R090090 for ; Thu, 29 Aug 2013 23:30:32 +0200 (CEST) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id r7TLUWXD089319 for usb@freebsd.org; Thu, 29 Aug 2013 23:30:32 +0200 (CEST) (envelope-from lars) Date: Thu, 29 Aug 2013 23:30:32 +0200 From: Lars Engels To: usb@freebsd.org Subject: Sharkoon Drakonia laser gaming mouse Message-ID: <20130829213032.GM96164@e-new.0x20.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5adDe+nHDi68q/7x" Content-Disposition: inline X-Editor: VIM - Vi IMproved 7.3 X-Operation-System: FreeBSD 8.4-RELEASE-p3 User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Aug 2013 21:30:36 -0000 --5adDe+nHDi68q/7x Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi list, recently I got a Sharkoon Drakonia laser gaming mouse which I like to use on FreeBSD. The mouse has 11 programmable buttons and here's what happens on insertion: ugen0.2: at usbus0 ukbd0: on usbus0 kbd2 at ukbd0 uhid0: on usbus0 uhid1: on usbus0 As there's no ums device, the mouse pointer does not move, nor does xev(1)= =20 show anything when a button is pressed. usbconfig: usbconfig -d ugen0.2 dump_device_desc dump_curr_config_desc ugen0.2: at usbus0, cfg=3D0 md=3DHOST spd=3DFULL = (12Mbps) pwr=3DON (100mA) bLength =3D 0x0012=20 bDescriptorType =3D 0x0001=20 bcdUSB =3D 0x0200=20 bDeviceClass =3D 0x0000=20 bDeviceSubClass =3D 0x0000=20 bDeviceProtocol =3D 0x0000=20 bMaxPacketSize0 =3D 0x0008=20 idVendor =3D 0x04d9=20 idProduct =3D 0xa067=20 bcdDevice =3D 0x0116=20 iManufacturer =3D 0x0001 iProduct =3D 0x0002 iSerialNumber =3D 0x0000 bNumConfigurations =3D 0x0001=20 Configuration index 0 bLength =3D 0x0009=20 bDescriptorType =3D 0x0002=20 wTotalLength =3D 0x0054=20 bNumInterfaces =3D 0x0003=20 bConfigurationValue =3D 0x0001=20 iConfiguration =3D 0x0000 bmAttributes =3D 0x00a0=20 bMaxPower =3D 0x0032=20 Interface 0 bLength =3D 0x0009=20 bDescriptorType =3D 0x0004=20 bInterfaceNumber =3D 0x0000=20 bAlternateSetting =3D 0x0000=20 bNumEndpoints =3D 0x0001=20 bInterfaceClass =3D 0x0003=20 bInterfaceSubClass =3D 0x0001=20 bInterfaceProtocol =3D 0x0001=20 iInterface =3D 0x0000 Additional Descriptor bLength =3D 0x09 bDescriptorType =3D 0x21 bDescriptorSubType =3D 0x10 RAW dump:=20 0x00 | 0x09, 0x21, 0x10, 0x01, 0x00, 0x01, 0x22, 0x3f,=20 0x08 | 0x00 Endpoint 0 bLength =3D 0x0007=20 bDescriptorType =3D 0x0005=20 bEndpointAddress =3D 0x0081 bmAttributes =3D 0x0003 wMaxPacketSize =3D 0x0008=20 bInterval =3D 0x0002=20 bRefresh =3D 0x0000=20 bSynchAddress =3D 0x0000=20 Interface 1 bLength =3D 0x0009=20 bDescriptorType =3D 0x0004=20 bInterfaceNumber =3D 0x0001=20 bAlternateSetting =3D 0x0000=20 bNumEndpoints =3D 0x0001=20 bInterfaceClass =3D 0x0003=20 bInterfaceSubClass =3D 0x0000=20 bInterfaceProtocol =3D 0x0002=20 iInterface =3D 0x0000 Additional Descriptor bLength =3D 0x09 bDescriptorType =3D 0x21 bDescriptorSubType =3D 0x10 RAW dump:=20 0x00 | 0x09, 0x21, 0x10, 0x01, 0x00, 0x01, 0x22, 0xaf,=20 0x08 | 0x00 Endpoint 0 bLength =3D 0x0007=20 bDescriptorType =3D 0x0005=20 bEndpointAddress =3D 0x0082 bmAttributes =3D 0x0003 wMaxPacketSize =3D 0x0008=20 bInterval =3D 0x0002=20 bRefresh =3D 0x0000=20 bSynchAddress =3D 0x0000=20 Interface 2 bLength =3D 0x0009=20 bDescriptorType =3D 0x0004=20 bInterfaceNumber =3D 0x0002=20 bAlternateSetting =3D 0x0000=20 bNumEndpoints =3D 0x0001=20 bInterfaceClass =3D 0x0003=20 bInterfaceSubClass =3D 0x0000=20 bInterfaceProtocol =3D 0x0000=20 iInterface =3D 0x0000 Additional Descriptor bLength =3D 0x09 bDescriptorType =3D 0x21 bDescriptorSubType =3D 0x10 RAW dump:=20 0x00 | 0x09, 0x21, 0x10, 0x01, 0x00, 0x01, 0x22, 0x1a,=20 0x08 | 0x00 Endpoint 0 bLength =3D 0x0007=20 bDescriptorType =3D 0x0005=20 bEndpointAddress =3D 0x0083 bmAttributes =3D 0x0003 wMaxPacketSize =3D 0x0008=20 bInterval =3D 0x0010=20 bRefresh =3D 0x0000=20 bSynchAddress =3D 0x0000=20 What can I do to get the mouse to work? The system used: 10.0-CURRENT r254073M amd64 Lars --5adDe+nHDi68q/7x Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (FreeBSD) iEYEARECAAYFAlIfvXgACgkQKc512sD3afgSSQCgnaz/GHZn9/lITV24dSE/lIDe 648AniBvuhp8DMFICgZ4AnwOFuV6Bk1s =mxLs -----END PGP SIGNATURE----- --5adDe+nHDi68q/7x-- From owner-freebsd-usb@FreeBSD.ORG Fri Aug 30 06:09:30 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E3197F25 for ; Fri, 30 Aug 2013 06:09:30 +0000 (UTC) (envelope-from johannes@brilliantservice.co.jp) Received: from mail-ie0-f171.google.com (mail-ie0-f171.google.com [209.85.223.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B1273279E for ; Fri, 30 Aug 2013 06:09:30 +0000 (UTC) Received: by mail-ie0-f171.google.com with SMTP id 9so2578358iec.16 for ; Thu, 29 Aug 2013 23:09:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=1lprgTrg5+1W9dmSh+bgOlSx2tjQMQhkJ7MSfDAyRio=; b=ZfMSH/uiE9IUqBHpFR6Ja3cW1e0xWH/is7lkO2jl9laeiEmZDeWOUi77Nb7W6mXuGK vFFBv52CQXpC0eWV/7sVdqV4d1SB8GgAeD3im1HmwexSqY8aQ1M/cpxWHweyM+6HciVo yRLzwjlcMLIO/7H8V82ipOkLxA0T6NjL+r33LwMLE7jzxMJBw71Prf/Fw83RJxvtSEWY HcCd+sATIcS+15aTn5e6SifpRRd7UugaTXqYeq7vdRtTpfKXPWINRAC7IxgSaTP8gzZe ow5exf+vklfSwHk4zq040G3jwibyFAb0txdp4NoDrtcPsQliwwniahVECBeDOEjHJomg fJuA== X-Gm-Message-State: ALoCoQn+uC+St8juVW6P8uj+ebkTo9wCgppFelkaUmuAHIKhHtrggIQCb9hsRjeP5zvB5IWoLX5W MIME-Version: 1.0 X-Received: by 10.50.49.65 with SMTP id s1mr1049682ign.43.1377842963838; Thu, 29 Aug 2013 23:09:23 -0700 (PDT) Received: by 10.43.158.74 with HTTP; Thu, 29 Aug 2013 23:09:23 -0700 (PDT) In-Reply-To: References: <521B9CD7.8010902@bitfrost.no> <521C6C26.7050207@bitfrost.no> Date: Fri, 30 Aug 2013 08:09:23 +0200 Message-ID: Subject: Re: xhci broken on 10-CURRENT and 2013 MacBook Air? From: "Lundberg, Johannes" To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Current , "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: Fri, 30 Aug 2013 06:09:31 -0000 What I got so far is this; USB driver from current stops after xhci0: 32 byte context size While driver from 9.1 continues to the next step which is usbus0 on xhci0 xhci0: usbpf: Attached ... I can try adding some printf's in the code and see if I get some more.. On Tuesday, August 27, 2013, Lundberg, Johannes wrote: > Hi Hans > > Sure, I will try it out later and mail the results. > > Now I'm running current with usb part reverted to 9.1. It gets me pass the > usb probing to the part that I really wanted to confirm. If FreeBSD > supports the SSD drive on the new MacBook Air. It seems that it doesn't so > that one more thing that we need to look into. > > > > Johannes Lundberg > BRILLIANTSERVICE CO., LTD. > > > On Tue, Aug 27, 2013 at 10:06 AM, Hans Petter Selasky > > wrote: > >> On 08/26/13 21:02, Lundberg, Johannes wrote: >> >>> Hi Hans >>> >>> Thanks but nothing of that makes any difference. Well, it's gonna be >>> difficult to find the diff I think... The oldest image I could find was >>> from May. >>> >>> What I'm doing now is compiling a bootonly.iso of current with a xhci.h/c >>> that's reverted to 9.1 release version to see if that will boot. >>> >>> >> Hi, >> >> If it just hangs, can be an IRQ looping issue. >> >> You can also try to boot using bootverbose and configure the xhci driver >> with debugging on in the sys/dev/usb/controller/xhci.c by default to see >> just what is exactly going on. >> >> If you can suggest a patch, that would be great. >> >> --HPS >> >> > -- Johannes Lundberg BRILLIANTSERVICE CO., LTD. From owner-freebsd-usb@FreeBSD.ORG Fri Aug 30 06:13:19 2013 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1CB4B131 for ; Fri, 30 Aug 2013 06:13:19 +0000 (UTC) (envelope-from hps@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id D09C427F6 for ; Fri, 30 Aug 2013 06:13:18 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id 0B9967A1B5; Fri, 30 Aug 2013 08:13:18 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 216968F4943; Fri, 30 Aug 2013 08:13:31 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FzgvWjlh5l1r; Fri, 30 Aug 2013 08:13:30 +0200 (CEST) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id 549F18F46F0; Fri, 30 Aug 2013 08:13:30 +0200 (CEST) Message-ID: <52203846.2040608@bitfrost.no> Date: Fri, 30 Aug 2013 08:14:30 +0200 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130522 Thunderbird/17.0.6 MIME-Version: 1.0 To: Lars Engels Subject: Re: Sharkoon Drakonia laser gaming mouse References: <20130829213032.GM96164@e-new.0x20.net> In-Reply-To: <20130829213032.GM96164@e-new.0x20.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: 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: Fri, 30 Aug 2013 06:13:19 -0000 On 08/29/13 23:30, Lars Engels wrote: > What can I do to get the mouse to work? Have you tried uhidd ? --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Aug 30 06:41:07 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id F29D9791; Fri, 30 Aug 2013 06:41:06 +0000 (UTC) (envelope-from hps@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 81B642988; Fri, 30 Aug 2013 06:41:06 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id 9BC5E7A11F; Fri, 30 Aug 2013 08:41:05 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id B701C8F4F2B; Fri, 30 Aug 2013 08:41:18 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ktsQxUQBBvAx; Fri, 30 Aug 2013 08:41:18 +0200 (CEST) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id C62558F4F28; Fri, 30 Aug 2013 08:41:17 +0200 (CEST) Message-ID: <52203EC9.4060808@bitfrost.no> Date: Fri, 30 Aug 2013 08:42:17 +0200 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130522 Thunderbird/17.0.6 MIME-Version: 1.0 To: "Lundberg, Johannes" Subject: Re: xhci broken on 10-CURRENT and 2013 MacBook Air? References: <521B9CD7.8010902@bitfrost.no> <521C6C26.7050207@bitfrost.no> In-Reply-To: Content-Type: multipart/mixed; boundary="------------030709090608070304030300" Cc: FreeBSD Current , "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: Fri, 30 Aug 2013 06:41:07 -0000 This is a multi-part message in MIME format. --------------030709090608070304030300 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 08/30/13 08:09, Lundberg, Johannes wrote: > What I got so far is this; > > USB driver from current stops after > xhci0: 32 byte context size > > While driver from 9.1 continues to the next step which is > usbus0 on xhci0 > xhci0: usbpf: Attached > ... > > I can try adding some printf's in the code and see if I get some more.. > Hi, There are only a few commits to the xhci driver since 9.1 was releases, so this should be easy to figure out. I'm doing a wild guess. Can you try the attached patch. It will ensure that any BIOS generated interrupts get cleared before we reset the controller. --HPS --------------030709090608070304030300 Content-Type: text/x-patch; name="xhci_irq.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xhci_irq.diff" === sys/dev/usb/controller/xhci.c ================================================================== --- sys/dev/usb/controller/xhci.c (revision 254832) +++ sys/dev/usb/controller/xhci.c (local) @@ -320,6 +320,12 @@ device_printf(sc->sc_bus.parent, "32 byte context size.\n"); } + temp = XREAD4(sc, oper, XHCI_USBSTS); + /* clear all pending interrupts */ + XWRITE4(sc, oper, XHCI_USBSTS, temp); + /* clear and disable leftover interrupts */ + XWRITE4(sc, runt, XHCI_IMAN(0), XHCI_IMAN_INTR_PEND); + /* Reset controller */ XWRITE4(sc, oper, XHCI_USBCMD, XHCI_CMD_HCRST); @@ -385,10 +391,6 @@ sc->sc_exit_lat_max = XHCI_HCS3_U1_DEL(temp) + XHCI_HCS3_U2_DEL(temp) + 250 /* us */; - temp = XREAD4(sc, oper, XHCI_USBSTS); - - /* clear interrupts */ - XWRITE4(sc, oper, XHCI_USBSTS, temp); /* disable all device notifications */ XWRITE4(sc, oper, XHCI_DNCTRL, 0); @@ -462,11 +464,8 @@ XWRITE4(sc, runt, XHCI_ERSTBA_HI(0), (uint32_t)(addr >> 32)); /* Setup interrupter registers */ + XWRITE4(sc, runt, XHCI_IMAN(0), XHCI_IMAN_INTR_ENA); - temp = XREAD4(sc, runt, XHCI_IMAN(0)); - temp |= XHCI_IMAN_INTR_ENA; - XWRITE4(sc, runt, XHCI_IMAN(0), temp); - /* setup command ring control base address */ addr = buf_res.physaddr; addr += (uintptr_t)&((struct xhci_hw_root *)0)->hwr_commands[0]; --------------030709090608070304030300-- From owner-freebsd-usb@FreeBSD.ORG Fri Aug 30 07:06:50 2013 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D382CFD for ; Fri, 30 Aug 2013 07:06:50 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 956CB2B6B for ; Fri, 30 Aug 2013 07:06:50 +0000 (UTC) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id 5FA746A6000; Fri, 30 Aug 2013 09:06:48 +0200 (CEST) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id r7U76mw8072366; Fri, 30 Aug 2013 09:06:48 +0200 (CEST) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id r7U76mBE071963; Fri, 30 Aug 2013 09:06:48 +0200 (CEST) (envelope-from lars) Date: Fri, 30 Aug 2013 09:06:47 +0200 From: Lars Engels To: Hans Petter Selasky Subject: Re: Sharkoon Drakonia laser gaming mouse Message-ID: <20130830070647.GN96164@e-new.0x20.net> References: <20130829213032.GM96164@e-new.0x20.net> <52203846.2040608@bitfrost.no> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yLCsp91D2sDKcV7m" Content-Disposition: inline In-Reply-To: <52203846.2040608@bitfrost.no> X-Editor: VIM - Vi IMproved 7.3 X-Operation-System: FreeBSD 8.4-RELEASE-p3 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: 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: Fri, 30 Aug 2013 07:06:50 -0000 --yLCsp91D2sDKcV7m Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 30, 2013 at 08:14:30AM +0200, Hans Petter Selasky wrote: > On 08/29/13 23:30, Lars Engels wrote: > > What can I do to get the mouse to work? >=20 > Have you tried uhidd ? Not, yet, the uhidd port is broken in HEAD. :-/ --yLCsp91D2sDKcV7m Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (FreeBSD) iEYEARECAAYFAlIgRIcACgkQKc512sD3afhSIgCgnN7BTY5HdA7myOFrIN/Rvjre 62EAnAmHnlsId+lxYLW2dD/sfzp9MGpA =2h8R -----END PGP SIGNATURE----- --yLCsp91D2sDKcV7m-- From owner-freebsd-usb@FreeBSD.ORG Fri Aug 30 07:57:36 2013 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C1E29381 for ; Fri, 30 Aug 2013 07:57:36 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.76.211]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 80F872F16 for ; Fri, 30 Aug 2013 07:57:36 +0000 (UTC) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id BF02B6A6000; Fri, 30 Aug 2013 09:57:34 +0200 (CEST) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id r7U7vY5d084523; Fri, 30 Aug 2013 09:57:34 +0200 (CEST) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id r7U7vYUG083607; Fri, 30 Aug 2013 09:57:34 +0200 (CEST) (envelope-from lars) Date: Fri, 30 Aug 2013 09:57:34 +0200 From: Lars Engels To: Hans Petter Selasky Subject: Re: Sharkoon Drakonia laser gaming mouse Message-ID: <20130830075734.GO96164@e-new.0x20.net> References: <20130829213032.GM96164@e-new.0x20.net> <52203846.2040608@bitfrost.no> <20130830070647.GN96164@e-new.0x20.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="s8GAKpHVZTOrGbze" Content-Disposition: inline In-Reply-To: <20130830070647.GN96164@e-new.0x20.net> X-Editor: VIM - Vi IMproved 7.3 X-Operation-System: FreeBSD 8.4-RELEASE-p3 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: 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: Fri, 30 Aug 2013 07:57:36 -0000 --s8GAKpHVZTOrGbze Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 30, 2013 at 09:06:47AM +0200, Lars Engels wrote: > On Fri, Aug 30, 2013 at 08:14:30AM +0200, Hans Petter Selasky wrote: > > On 08/29/13 23:30, Lars Engels wrote: > > > What can I do to get the mouse to work? > >=20 > > Have you tried uhidd ? >=20 > Not, yet, the uhidd port is broken in HEAD. :-/ I managed to compile uhidd now and it's working! :) Thanks, Hans! --s8GAKpHVZTOrGbze Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (FreeBSD) iEYEARECAAYFAlIgUG4ACgkQKc512sD3afiVwwCgu1ZeiiYa89jfHckHNm47bHMC 4rcAoM0H4QLN0lKu+5GXviaWrA6rmMUg =4vP3 -----END PGP SIGNATURE----- --s8GAKpHVZTOrGbze-- From owner-freebsd-usb@FreeBSD.ORG Fri Aug 30 09:35:35 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 096D7B9F for ; Fri, 30 Aug 2013 09:35:35 +0000 (UTC) (envelope-from johannes@brilliantservice.co.jp) Received: from mail-ie0-f176.google.com (mail-ie0-f176.google.com [209.85.223.176]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CA090257B for ; Fri, 30 Aug 2013 09:35:34 +0000 (UTC) Received: by mail-ie0-f176.google.com with SMTP id s9so2787100iec.21 for ; Fri, 30 Aug 2013 02:35:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=eIAU+Oh4XvXwPRkcIfXfqenl3jH1sLtMkmzLKSC9IFs=; b=C/+sae1x/+hJqXHlw+v44wdtMJCKN3SFfiArWKMLn7cXA28pTh+9xcJgHwzmJxxjR2 wUqtgpdezeToEg6LGlfVVVI7NYsdwHlSvAkiRlBKtWPgp0PD8pvFrtwYde9hLM76pcrB /xe6qEj6GZ5Kx1An7FVHWH+EJEbZLwCARxJQDzwo857Y6H8sI/8HYqy1Qkb42rv/xGFf OFwe+r3j7Us7Zo7aDRa1E38EDhqit0qGA85rDpxr+ftvGkwgyWRpci5+02l7s4B/hYj6 nz0AQgjDrwP3AGWb7xebBjToo7XD/u8mYQgD4pgOEDVs5PPkYMf6dxOapcy3/rsm3xxj wuPg== X-Gm-Message-State: ALoCoQnIv4Hk3YCy6wwCa2dQZHBzbexYvWHn3X8O3wZNFnxxSxHgfWaJSxIPy2Zj8YYLJPAs7a7k X-Received: by 10.50.39.84 with SMTP id n20mr1667901igk.14.1377855328376; Fri, 30 Aug 2013 02:35:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.43.158.74 with HTTP; Fri, 30 Aug 2013 02:35:12 -0700 (PDT) In-Reply-To: <52203EC9.4060808@bitfrost.no> References: <521B9CD7.8010902@bitfrost.no> <521C6C26.7050207@bitfrost.no> <52203EC9.4060808@bitfrost.no> From: "Lundberg, Johannes" Date: Fri, 30 Aug 2013 11:35:12 +0200 Message-ID: Subject: Re: xhci broken on 10-CURRENT and 2013 MacBook Air? To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Current , "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: Fri, 30 Aug 2013 09:35:35 -0000 Hi Hans I tried the patch and the result is the same. However, I found the command that causes the freeze. Also, it is not always it freezes but maybe 9/10 reboots or more frequently. At the end of the function xhci_start_controller(..) there is a for loop: 487 for (i = 0; i != 100; i++) { 488 usb_pause_mtx(NULL, hz / 100); 489 temp = XREAD4(sc, oper, XHCI_USBSTS) & XHCI_STS_HCH; 490 if (!temp) 491 break; 492 } and it freezes at usb_pause_mtx(...) value of i is 0 value of hz is 1000 Johannes Lundberg BRILLIANTSERVICE CO., LTD. On Fri, Aug 30, 2013 at 8:42 AM, Hans Petter Selasky wrote: > On 08/30/13 08:09, Lundberg, Johannes wrote: > >> What I got so far is this; >> >> USB driver from current stops after >> xhci0: 32 byte context size >> >> While driver from 9.1 continues to the next step which is >> usbus0 on xhci0 >> xhci0: usbpf: Attached >> ... >> >> I can try adding some printf's in the code and see if I get some more.. >> >> > Hi, > > There are only a few commits to the xhci driver since 9.1 was releases, so > this should be easy to figure out. > > I'm doing a wild guess. Can you try the attached patch. It will ensure > that any BIOS generated interrupts get cleared before we reset the > controller. > > --HPS > > From owner-freebsd-usb@FreeBSD.ORG Fri Aug 30 10:11:55 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 58275CC1; Fri, 30 Aug 2013 10:11:55 +0000 (UTC) (envelope-from hps@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id D41E32814; Fri, 30 Aug 2013 10:11:54 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id BC84D7A234; Fri, 30 Aug 2013 12:11:52 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id B4FAB8F503B; Fri, 30 Aug 2013 12:12:05 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pejz1jwiK1cK; Fri, 30 Aug 2013 12:12:04 +0200 (CEST) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id C4E7B8F503A; Fri, 30 Aug 2013 12:12:04 +0200 (CEST) Message-ID: <52207030.8050107@bitfrost.no> Date: Fri, 30 Aug 2013 12:13:04 +0200 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130522 Thunderbird/17.0.6 MIME-Version: 1.0 To: "Lundberg, Johannes" Subject: Re: xhci broken on 10-CURRENT and 2013 MacBook Air? References: <521B9CD7.8010902@bitfrost.no> <521C6C26.7050207@bitfrost.no> <52203EC9.4060808@bitfrost.no> In-Reply-To: Content-Type: multipart/mixed; boundary="------------070205030908040509070208" Cc: FreeBSD Current , "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: Fri, 30 Aug 2013 10:11:55 -0000 This is a multi-part message in MIME format. --------------070205030908040509070208 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 08/30/13 11:35, Lundberg, Johannes wrote: > Hi Hans > > I tried the patch and the result is the same. However, I found the command > that causes the freeze. Also, it is not always it freezes but maybe 9/10 > reboots or more frequently. > > At the end of the function xhci_start_controller(..) there is a for loop: > > 487 for (i = 0; i != 100; i++) { > 488 usb_pause_mtx(NULL, hz / 100); > 489 temp = XREAD4(sc, oper, XHCI_USBSTS) & XHCI_STS_HCH; > 490 if (!temp) > 491 break; > 492 } > > and it freezes at usb_pause_mtx(...) > value of i is 0 > value of hz is 1000 Hi, Can you try the attached patch? I think this is a problem inside DELAY(). Maybe you have to select another timing source for DELAY(), mav @ CC'ed? --HPS --------------070205030908040509070208 Content-Type: text/x-patch; name="pause_fix.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="pause_fix.diff" === sys/kern/kern_synch.c ================================================================== --- sys/kern/kern_synch.c (revision 254832) +++ sys/kern/kern_synch.c (local) @@ -356,11 +356,8 @@ int pause_sbt(const char *wmesg, sbintime_t sbt, sbintime_t pr, int flags) { - int sbt_sec; + KASSERT(sbt >= 0, ("pause: timeout must be >= 0")); - sbt_sec = sbintime_getsec(sbt); - KASSERT(sbt_sec >= 0, ("pause: timo must be >= 0")); - /* silently convert invalid timeouts */ if (sbt == 0) sbt = tick_sbt; @@ -370,11 +367,14 @@ * We delay one second at a time to avoid overflowing the * system specific DELAY() function(s): */ - while (sbt_sec > 0) { + while (sbt >= SBT_1S) { DELAY(1000000); - sbt_sec--; + sbt -= SBT_1S; } - DELAY((sbt & 0xffffffff) / SBT_1US); + /* Do the delay remainder */ + sbt /= SBT_1US; + if (sbt != 0) + DELAY(sbt); return (0); } return (_sleep(&pause_wchan[curcpu], NULL, 0, wmesg, sbt, pr, flags)); --------------070205030908040509070208-- From owner-freebsd-usb@FreeBSD.ORG Fri Aug 30 11:54:32 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 27773C36 for ; Fri, 30 Aug 2013 11:54:32 +0000 (UTC) (envelope-from johannes@brilliantservice.co.jp) Received: from mail-ie0-f170.google.com (mail-ie0-f170.google.com [209.85.223.170]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E7E5C2DEA for ; Fri, 30 Aug 2013 11:54:31 +0000 (UTC) Received: by mail-ie0-f170.google.com with SMTP id 16so2658065iea.29 for ; Fri, 30 Aug 2013 04:54:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=pQRovuPWmWz+mqLe6fbANCj99HvL0VVdN1DQagEnEfM=; b=BG+KanJNxif+YChxI8OftQFowfumvwrpjKIwxu3lXL6/udFIGDMrVfzlOzZTGZOZcW DvxZgA4KrbRzeN4cvjugk1qiv3f3ehWXK+l9FZ1FSAmRuTtCinpAzyxryHBvokvIbcQd kBhAhd6CiNgweDAc8IKCmF06diWk7JnQestJ5SSV7WeeUkeb1eLIkDnyM8hheotUzoVv 8cVIFnBnf9S6+gX2D8fgVMwI+2ZSfK09Mg0BmaZUTO7vcvwMzShVs6Ze/lBbmg6QnLeU uuKTGkwXmprWz1Rkn2odEeZm5uIfrXA+MqrVMBNnLt85ts9qXfrjgo806mKfIfnbrrY3 JQ2w== X-Gm-Message-State: ALoCoQlhenuC+nNU3t94kDOw1IzIVPCpAmeGEJT9rPt5NrKKQWN9NDYRKuc4NvYD4rP6mf5g/tpH X-Received: by 10.42.223.134 with SMTP id ik6mr5067774icb.4.1377863670801; Fri, 30 Aug 2013 04:54:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.43.158.74 with HTTP; Fri, 30 Aug 2013 04:54:15 -0700 (PDT) In-Reply-To: <52207030.8050107@bitfrost.no> References: <521B9CD7.8010902@bitfrost.no> <521C6C26.7050207@bitfrost.no> <52203EC9.4060808@bitfrost.no> <52207030.8050107@bitfrost.no> From: "Lundberg, Johannes" Date: Fri, 30 Aug 2013 13:54:15 +0200 Message-ID: Subject: Re: xhci broken on 10-CURRENT and 2013 MacBook Air? To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Current , "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: Fri, 30 Aug 2013 11:54:32 -0000 Still got the same behaviour after applying the patch... Johannes Lundberg BRILLIANTSERVICE CO., LTD. On Fri, Aug 30, 2013 at 12:13 PM, Hans Petter Selasky wrote: > On 08/30/13 11:35, Lundberg, Johannes wrote: > >> Hi Hans >> >> I tried the patch and the result is the same. However, I found the command >> that causes the freeze. Also, it is not always it freezes but maybe 9/10 >> reboots or more frequently. >> >> At the end of the function xhci_start_controller(..) there is a for loop: >> >> 487 for (i = 0; i != 100; i++) { >> 488 usb_pause_mtx(NULL, hz / 100); >> 489 temp = XREAD4(sc, oper, XHCI_USBSTS) & XHCI_STS_HCH; >> 490 if (!temp) >> 491 break; >> 492 } >> >> and it freezes at usb_pause_mtx(...) >> value of i is 0 >> value of hz is 1000 >> > > Hi, > > Can you try the attached patch? > > I think this is a problem inside DELAY(). Maybe you have to select another > timing source for DELAY(), mav @ CC'ed? > > --HPS > > From owner-freebsd-usb@FreeBSD.ORG Fri Aug 30 12:25:02 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 31F5C81C; Fri, 30 Aug 2013 12:25:02 +0000 (UTC) (envelope-from hps@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id AFB852FD9; Fri, 30 Aug 2013 12:25:01 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id 8C4FB7A1D6; Fri, 30 Aug 2013 14:24:59 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id B4F8E8F50DC; Fri, 30 Aug 2013 14:25:12 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I529+-rpETBs; Fri, 30 Aug 2013 14:25:12 +0200 (CEST) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id D94918F50DA; Fri, 30 Aug 2013 14:25:11 +0200 (CEST) Message-ID: <52208F63.4060308@bitfrost.no> Date: Fri, 30 Aug 2013 14:26:11 +0200 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130522 Thunderbird/17.0.6 MIME-Version: 1.0 To: "Lundberg, Johannes" Subject: Re: xhci broken on 10-CURRENT and 2013 MacBook Air? References: <521B9CD7.8010902@bitfrost.no> <521C6C26.7050207@bitfrost.no> <52203EC9.4060808@bitfrost.no> <52207030.8050107@bitfrost.no> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Alexander Motin , FreeBSD Current , "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: Fri, 30 Aug 2013 12:25:02 -0000 On 08/30/13 13:54, Lundberg, Johannes wrote: > Still got the same behaviour after applying the patch... > > Johannes Lundberg > BRILLIANTSERVICE CO., LTD. I've seen something similar with my mac, that the boot menu counter is not always counting stable. I think this problem is inside the following function, if you say that the code is stuck inside pause(): sys/x86/isa/clock.c:DELAY() Maybe you can try this patch instead. Just apply it by hand: === sys/x86/isa/clock.c ================================================================== --- sys/x86/isa/clock.c (revision 254832) +++ sys/x86/isa/clock.c (local) @@ -262,6 +262,7 @@ timecounter_get_t *func; uint64_t end, freq, now; u_int last, mask, u; + int overflow = 0; tc = timecounter; freq = atomic_load_acq_64(&tsc_freq); @@ -281,6 +282,11 @@ sched_pin(); last = func(tc) & mask; do { + if (--overflow == 0) { + printf("DELAY overflow\n"); + break; + } + cpu_spinwait(); u = func(tc) & mask; if (u < last) @@ -304,6 +310,7 @@ DELAY(int n) { int delta, prev_tick, tick, ticks_left; + int overflow = 0; #ifdef DELAYDEBUG int getit_calls = 1; int n1; @@ -365,6 +372,10 @@ / 1000000; while (ticks_left > 0) { + if (--overflow == 0) { + printf("DELAY overflow\n"); + break; + } #ifdef KDB if (kdb_active) { #ifdef PC98 --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Aug 30 13:19:38 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id EBE053A5 for ; Fri, 30 Aug 2013 13:19:38 +0000 (UTC) (envelope-from johannes@brilliantservice.co.jp) Received: from mail-ie0-f176.google.com (mail-ie0-f176.google.com [209.85.223.176]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B6E1123F6 for ; Fri, 30 Aug 2013 13:19:38 +0000 (UTC) Received: by mail-ie0-f176.google.com with SMTP id s9so3043342iec.7 for ; Fri, 30 Aug 2013 06:19:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=oZJ+3IzLFrt0LWypO0OwuaQ5cpFUTn9SQeKw7zkjgC0=; b=eogfl2n1M/nJTAJ8WaZw/+HfYnmlAhjleU+5PVC1HP1Ace+WESxboFM4uRTUclW4yc EpZVbZJpzj4NHWc3Z3izBxOFNI3nN9ru16Zf2SXHfrX/3xBzgwQ9WUW/2Tg+xQKmwQ0V 5+sujW0FJJWXL/siY+qEkkMMWo3FLrxcJsqsXKB2ZW1K3tHmCu6oS0jr26nIUiV2z1r8 zyfhdhCsXctNOfxp4HJcek+3eUmh+b05BebmaWUPro/bOOQtASVb9aGw1IYpc6aaSY3S jlXGyaopHChIcTCqMZEwArPm8w84Pl1jLcWMSnAl9JdBoLkgi/drOU6PXT4HBiIKkxw+ EDDw== X-Gm-Message-State: ALoCoQl4hRhDuvmXH4Rw5daLfA7lllkFxOGtJASCR9s7HvoR1OqF5jQuyy9d0wddoNj8A0Jbd007 X-Received: by 10.50.20.232 with SMTP id q8mr2412431ige.0.1377868777921; Fri, 30 Aug 2013 06:19:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.43.158.74 with HTTP; Fri, 30 Aug 2013 06:19:22 -0700 (PDT) In-Reply-To: <52208F63.4060308@bitfrost.no> References: <521B9CD7.8010902@bitfrost.no> <521C6C26.7050207@bitfrost.no> <52203EC9.4060808@bitfrost.no> <52207030.8050107@bitfrost.no> <52208F63.4060308@bitfrost.no> From: "Lundberg, Johannes" Date: Fri, 30 Aug 2013 15:19:22 +0200 Message-ID: Subject: Re: xhci broken on 10-CURRENT and 2013 MacBook Air? To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Alexander Motin , FreeBSD Current , "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: Fri, 30 Aug 2013 13:19:39 -0000 Hi Hans I tried that too and no change... But, the variable overflow you introduced, it is never increased, right? So, it will never become zero... Johannes Lundberg BRILLIANTSERVICE CO., LTD. On Fri, Aug 30, 2013 at 2:26 PM, Hans Petter Selasky wrote: > On 08/30/13 13:54, Lundberg, Johannes wrote: > >> Still got the same behaviour after applying the patch... >> >> Johannes Lundberg >> BRILLIANTSERVICE CO., LTD. >> > >> > > I've seen something similar with my mac, that the boot menu counter is not > always counting stable. I think this problem is inside the following > function, if you say that the code is stuck inside pause(): > > sys/x86/isa/clock.c:DELAY() > > Maybe you can try this patch instead. Just apply it by hand: > > === sys/x86/isa/clock.c > ==============================**==============================**====== > --- sys/x86/isa/clock.c (revision 254832) > +++ sys/x86/isa/clock.c (local) > @@ -262,6 +262,7 @@ > timecounter_get_t *func; > uint64_t end, freq, now; > u_int last, mask, u; > + int overflow = 0; > > tc = timecounter; > freq = atomic_load_acq_64(&tsc_freq); > @@ -281,6 +282,11 @@ > sched_pin(); > last = func(tc) & mask; > do { > + if (--overflow == 0) { > + printf("DELAY overflow\n"); > + break; > + } > + > cpu_spinwait(); > u = func(tc) & mask; > if (u < last) > @@ -304,6 +310,7 @@ > DELAY(int n) > { > int delta, prev_tick, tick, ticks_left; > + int overflow = 0; > #ifdef DELAYDEBUG > int getit_calls = 1; > int n1; > @@ -365,6 +372,10 @@ > / 1000000; > > while (ticks_left > 0) { > + if (--overflow == 0) { > + printf("DELAY overflow\n"); > + break; > + } > #ifdef KDB > if (kdb_active) { > #ifdef PC98 > > > --HPS > From owner-freebsd-usb@FreeBSD.ORG Fri Aug 30 13:31:16 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E874BDFD; Fri, 30 Aug 2013 13:31:16 +0000 (UTC) (envelope-from hps@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 9E034253B; Fri, 30 Aug 2013 13:31:16 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id DF27E7A164; Fri, 30 Aug 2013 15:31:15 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 0D9F48F5134; Fri, 30 Aug 2013 15:31:29 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EPy454qBpgSy; Fri, 30 Aug 2013 15:31:28 +0200 (CEST) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id C58FB8F5135; Fri, 30 Aug 2013 15:31:27 +0200 (CEST) Message-ID: <52209EEC.6060609@bitfrost.no> Date: Fri, 30 Aug 2013 15:32:28 +0200 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130522 Thunderbird/17.0.6 MIME-Version: 1.0 To: "Lundberg, Johannes" Subject: Re: xhci broken on 10-CURRENT and 2013 MacBook Air? References: <521B9CD7.8010902@bitfrost.no> <521C6C26.7050207@bitfrost.no> <52203EC9.4060808@bitfrost.no> <52207030.8050107@bitfrost.no> <52208F63.4060308@bitfrost.no> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Alexander Motin , FreeBSD Current , "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: Fri, 30 Aug 2013 13:31:17 -0000 On 08/30/13 15:19, Lundberg, Johannes wrote: > Hi Hans > > I tried that too and no change... But, the variable overflow you > introduced, it is never increased, right? So, it will never become zero... > It will become zero when it wraps. Maybe 2**32 is too long. You could add a printf while it is running, and see if it goes == 1000000 for example. --HPS > Johannes Lundberg > BRILLIANTSERVICE CO., LTD. > > > On Fri, Aug 30, 2013 at 2:26 PM, Hans Petter Selasky wrote: > >> On 08/30/13 13:54, Lundberg, Johannes wrote: >> >>> Still got the same behaviour after applying the patch... >>> >>> Johannes Lundberg >>> BRILLIANTSERVICE CO., LTD. From owner-freebsd-usb@FreeBSD.ORG Fri Aug 30 13:54:12 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C6C74E7D for ; Fri, 30 Aug 2013 13:54:12 +0000 (UTC) (envelope-from johannes@brilliantservice.co.jp) Received: from mail-ie0-f178.google.com (mail-ie0-f178.google.com [209.85.223.178]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9133D26CB for ; Fri, 30 Aug 2013 13:54:12 +0000 (UTC) Received: by mail-ie0-f178.google.com with SMTP id f4so3415714iea.9 for ; Fri, 30 Aug 2013 06:54:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=ZFWryosK9HUcnvL6zhlZA8ZN72s3Yoi9n4zC/eZKcAs=; b=MFIJizUjQ5mk8jtNSTfzulJHJkISy+KOJC+Udj2mrozMmmsGi81nhhQRyhUub7k960 ZrWFJ3LUGoDgzY9z4awEDLAZcJNztF38o/9mb5Fy/VYFE0WjIc0l5xA2Z+IpIC9yAkWF VMs0qoFIyLOPpNsTNRfPY5RPhqM2MVbnlrpW1w9LO6dUkW7db+XUfWGGdRGcodURnrcq v7YspxyEb5Pr59RLfa7su6l4rrqZ61Zqf+srCqzwSXuTu2ZCM6uYqxlvI0z7faW6kpOQ dal3eWykPiQrsWny8xaaflHgfmRWvQShfO3KaLFFM1YSjkhr2+k903XVL6G2Q9xj//lN R0/Q== X-Gm-Message-State: ALoCoQlrr+e5OTUy/KyXALM22NDEDlFY+Zr0vqH0AfQXVA6RX27f/ZEsd0J2j0zCVpjhhtnpFIOk X-Received: by 10.50.124.65 with SMTP id mg1mr2389810igb.43.1377870846279; Fri, 30 Aug 2013 06:54:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.43.158.74 with HTTP; Fri, 30 Aug 2013 06:53:51 -0700 (PDT) In-Reply-To: <52209EEC.6060609@bitfrost.no> References: <521B9CD7.8010902@bitfrost.no> <521C6C26.7050207@bitfrost.no> <52203EC9.4060808@bitfrost.no> <52207030.8050107@bitfrost.no> <52208F63.4060308@bitfrost.no> <52209EEC.6060609@bitfrost.no> From: "Lundberg, Johannes" Date: Fri, 30 Aug 2013 15:53:51 +0200 Message-ID: Subject: Re: xhci broken on 10-CURRENT and 2013 MacBook Air? To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Alexander Motin , FreeBSD Current , "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: Fri, 30 Aug 2013 13:54:12 -0000 I added printf at every 100,000th iteration in both locations but I didn't get any output at all.. Seems it stuck in some other place. During my test I actually passed that stage a couple of times but still the xhci_do_command times out and I get the mountroot> prompt.... With the 9.1 driver I never get either of the errors. Johannes Lundberg BRILLIANTSERVICE CO., LTD. On Fri, Aug 30, 2013 at 3:32 PM, Hans Petter Selasky wrote: > On 08/30/13 15:19, Lundberg, Johannes wrote: > >> Hi Hans >> >> I tried that too and no change... But, the variable overflow you >> introduced, it is never increased, right? So, it will never become zero... >> >> > It will become zero when it wraps. Maybe 2**32 is too long. You could add > a printf while it is running, and see if it goes == 1000000 for example. > > --HPS > > Johannes Lundberg >> BRILLIANTSERVICE CO., LTD. >> > >> >> >> On Fri, Aug 30, 2013 at 2:26 PM, Hans Petter Selasky > >wrote: >> >> On 08/30/13 13:54, Lundberg, Johannes wrote: >>> >>> Still got the same behaviour after applying the patch... >>>> >>>> Johannes Lundberg >>>> BRILLIANTSERVICE CO., LTD. >>> http://www.**brilliantservice.co.jp >>>> > >>>> >>> > From owner-freebsd-usb@FreeBSD.ORG Fri Aug 30 14:14:25 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D8C70774; Fri, 30 Aug 2013 14:14:25 +0000 (UTC) (envelope-from hps@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 636A5283A; Fri, 30 Aug 2013 14:14:25 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id BA64D7A315; Fri, 30 Aug 2013 16:14:24 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id E2BA38F5195; Fri, 30 Aug 2013 16:14:37 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nzmQBWH-8MlA; Fri, 30 Aug 2013 16:14:37 +0200 (CEST) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id C39138F5194; Fri, 30 Aug 2013 16:14:36 +0200 (CEST) Message-ID: <5220A908.2000000@bitfrost.no> Date: Fri, 30 Aug 2013 16:15:36 +0200 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130522 Thunderbird/17.0.6 MIME-Version: 1.0 To: "Lundberg, Johannes" Subject: Re: xhci broken on 10-CURRENT and 2013 MacBook Air? References: <521B9CD7.8010902@bitfrost.no> <521C6C26.7050207@bitfrost.no> <52203EC9.4060808@bitfrost.no> <52207030.8050107@bitfrost.no> <52208F63.4060308@bitfrost.no> <52209EEC.6060609@bitfrost.no> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Alexander Motin , FreeBSD Current , "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: Fri, 30 Aug 2013 14:14:25 -0000 On 08/30/13 15:53, Lundberg, Johannes wrote: > I added printf at every 100,000th iteration in both locations but I didn't > get any output at all.. Seems it stuck in some other place. > > During my test I actually passed that stage a couple of times but still the > xhci_do_command times out and I get the mountroot> prompt.... With the 9.1 > driver I never get either of the errors. > > > Johannes Lundberg > BRILLIANTSERVICE CO., LTD. Hi, If you have a git checkout of the FreeBSD source tree, you can try stripping away patches for xhci*.[ch] only, since end of December 2012. The 9- and 10- XHCI code should be almost the same, except for the streams mode support. Here is a list of patches you can try to revert if I get it right: commit 2969ec61bfd9be3fdcaa50432755d24df345874d Author: hselasky Date: Fri Jul 26 06:24:33 2013 +0000 MFC r253532: Fix an XHCI regression: The Block Event Interrupts, BEI, feature does not work like expected with the Renesas XHCI chipsets. Revert feature. While at it correct the TD SIZE computation in case of Zero Length Packet, ZLP, in the end of a multi frame USB transfer. PR: usb/180726 Approved by: re, hrs commit 7dbeb07e555c5e9649fac8079a4b3bcdd57b2cfc Author: hselasky Date: Tue Jun 11 06:18:51 2013 +0000 MFC r251249, r251251, r251252, r2512, r251254 and r251515: Correct XHCI DMA descriptor programming. Correct maximum IRQ rate. commit 1941cac2597eea224c9e0e76a789692dfa8dda91 Author: marius Date: Sat Mar 9 02:36:32 2013 +0000 MFC: r227309 (partial) Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs. The SYSCTL_NODE macro defines a list that stores all child-elements of that node. If there's no SYSCTL_DECL macro anywhere else, there's no reason why it shouldn't be static. commit 9b2efd37b6d3afb84b234348094adf8cc533e2c6 Author: hselasky Date: Wed Feb 6 11:08:11 2013 +0000 MFC r246113 and r246126: Add missing NULL pointer check. Reported by: Lars Engels commit 63af294dc7c2db6a120eba9cec16fabec13aeec1 Author: hselasky Date: Mon Jan 21 07:25:38 2013 +0000 MFC r245132 and r245175: Optimise the XHCI interrupt handling. This patch will save CPU time when the XHCI interrupt is shared with other devices. Only check event rings when interrupt bits are set. Otherwise would indicate hiding possible hardware fault(s). Tested by: sos @ Submitted by: sos @ commit fa4f2cf0b90d6c5ce9eca2417e200fb693d6f239 Author: hselasky Date: Mon Jan 21 07:22:45 2013 +0000 MFC r243780: - Add support for Etron EJ168 USB 3.0 Host Controllers. This brand of controllers expects that the number of contexts specified in the input slot context points to an active endpoint context, else it refuses to operate. - Wrap one or two long lines. Tested by: Markus Pfeiffer (DragonFlyBSD) --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Aug 31 12:59:47 2013 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3FA0B29B for ; Sat, 31 Aug 2013 12:59:47 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.76.211]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F16C82FDD for ; Sat, 31 Aug 2013 12:59:46 +0000 (UTC) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id B84CC6A6008; Sat, 31 Aug 2013 14:59:43 +0200 (CEST) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id r7VCxhXL074987; Sat, 31 Aug 2013 14:59:43 +0200 (CEST) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id r7VCxhml074425; Sat, 31 Aug 2013 14:59:43 +0200 (CEST) (envelope-from lars) Date: Sat, 31 Aug 2013 14:59:43 +0200 From: Lars Engels To: Hans Petter Selasky Subject: Re: Sharkoon Drakonia laser gaming mouse Message-ID: <20130831125943.GB96164@e-new.0x20.net> References: <20130829213032.GM96164@e-new.0x20.net> <52203846.2040608@bitfrost.no> <20130830070647.GN96164@e-new.0x20.net> <20130830075734.GO96164@e-new.0x20.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vy8H1LsWyIRbmCsz" Content-Disposition: inline In-Reply-To: <20130830075734.GO96164@e-new.0x20.net> X-Editor: VIM - Vi IMproved 7.3 X-Operation-System: FreeBSD 8.4-RELEASE-p3 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: 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: Sat, 31 Aug 2013 12:59:47 -0000 --vy8H1LsWyIRbmCsz Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 30, 2013 at 09:57:34AM +0200, Lars Engels wrote: > On Fri, Aug 30, 2013 at 09:06:47AM +0200, Lars Engels wrote: > > On Fri, Aug 30, 2013 at 08:14:30AM +0200, Hans Petter Selasky wrote: > > > On 08/29/13 23:30, Lars Engels wrote: > > > > What can I do to get the mouse to work? > > >=20 > > > Have you tried uhidd ? > >=20 > > Not, yet, the uhidd port is broken in HEAD. :-/ >=20 > I managed to compile uhidd now and it's working! :) >=20 > Thanks, Hans! I just tried the mouse on PC-BSD 9-STABLE and there the mouse just works out of the box without uhidd. 3 devices get created, ums, ukbd and uhid. --vy8H1LsWyIRbmCsz Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (FreeBSD) iEYEARECAAYFAlIh6L8ACgkQKc512sD3afg++gCfQfdT10Wijf6QVvoD0RtJdsJ1 4c4An3D6PBxlEpnjkuciejje8qJDWLln =gkky -----END PGP SIGNATURE----- --vy8H1LsWyIRbmCsz-- From owner-freebsd-usb@FreeBSD.ORG Sat Aug 31 22:33:57 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1D59499D for ; Sat, 31 Aug 2013 22:33:57 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ee0-x22d.google.com (mail-ee0-x22d.google.com [IPv6:2a00:1450:4013:c00::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id ABF7B27E1 for ; Sat, 31 Aug 2013 22:33:56 +0000 (UTC) Received: by mail-ee0-f45.google.com with SMTP id c50so1599313eek.32 for ; Sat, 31 Aug 2013 15:33:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=tUFsVea4vGdC8pnQ/3fo/qU+MZKHLOSZnYimr7Ai+t4=; b=mSvvNgfmy/mofU9nhQrR4MC/sXf8HTX7P11T6f6G4ifeUUwj7wyl2pg1ckMepYJmPH gbUMyaud3ekDQBnwDUuSw0i80gf8ir+z+DXhSnBwQIzQInb2Viy0MWk5IWb9uFe9GSvU cVBBJKIadDfNdfzqnWCikUPXufQunbAy/6r9eC2kBL0Yd+xCE84fJugh/Ge6sOKbfS97 IGMMYJj7OXPWlUFWw9EZt99FPgTPYMAExqtVtjvwS4u9wntEKnE8rlzFkHP+e6Y/xQJE gF/T9Fx1q4dB9b7BrBcj1D/gRULzVr2yOwsNvTLqJbqLGuRRJZ0UJIPQZiLJgMvudRCr X3aA== MIME-Version: 1.0 X-Received: by 10.14.108.9 with SMTP id p9mr23827165eeg.8.1377988434947; Sat, 31 Aug 2013 15:33:54 -0700 (PDT) Received: by 10.223.204.3 with HTTP; Sat, 31 Aug 2013 15:33:54 -0700 (PDT) Date: Sat, 31 Aug 2013 22:33:54 +0000 Message-ID: Subject: usb mass problem From: Paul B Mahol To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Aug 2013 22:33:57 -0000 Hi, If I try to copy some file from usb stick to hard disk or other way around there is big chance process will after some time hang forever with buch of kernel messages about cam in console. The only workaround I found is to use tools like rsync to limit transfer speed. It happens with 2 different laptops and 2 different sticks. In all cases I used CURRENT.