From owner-freebsd-usb@FreeBSD.ORG Sun Sep 16 01:12:24 2007 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8E7916A419 for ; Sun, 16 Sep 2007 01:12:24 +0000 (UTC) (envelope-from vss@73rus.com) Received: from tail.lionet.info (tail.lionet.info [216.218.215.226]) by mx1.freebsd.org (Postfix) with ESMTP id 82BFC13C428 for ; Sun, 16 Sep 2007 01:12:24 +0000 (UTC) (envelope-from vss@73rus.com) Received: from [192.168.1.100] (adsl-68-127-208-148.dsl.pltn13.pacbell.net [68.127.208.148]) (authenticated bits=0) by tail.lionet.info (8.13.8/8.13.6) with ESMTP id l8G1CKf1002317 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 15 Sep 2007 18:12:20 -0700 (PDT) (envelope-from vss@73rus.com) Message-ID: <46EC831D.5010808@73rus.com> Date: Sat, 15 Sep 2007 18:13:01 -0700 From: Vlad Skvortsov User-Agent: Thunderbird 1.5.0.13 (Macintosh/20070809) MIME-Version: 1.0 To: Vlad Skvortsov References: <46D36F3B.70400@73rus.com> <46D3B32A.7080603@yandex.ru> <46D47646.7080509@73rus.com> <20070828.150235.1723238677.imp@bsdimp.com> <46D49603.5070301@73rus.com> In-Reply-To: <46D49603.5070301@73rus.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (tail.lionet.info [216.218.215.226]); Sat, 15 Sep 2007 18:12:21 -0700 (PDT) Cc: freebsd-usb@freebsd.org Subject: Re: low USB tranfer rate with external IDE X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Sep 2007 01:12:24 -0000 Vlad Skvortsov wrote: [skipped] > > Ok, I have compiled a kernel with ehci in. Here is a snippet of dmesg > output (right after rebooting the box): > > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-0 device > da0: 40.000MB/s transfers > da0: 238475MB (488397168 512 byte sectors: 255H 63S/T 30401C) > umass0: BBB reset failed, TIMEOUT > umass0: BBB reset failed, TIMEOUT > umass0: Invalid CSW: sig 0x4628f8ff should be 0x53425355 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 > > > Note that it displays high transfer rate this time. I've ran 'diskinfo > -t' to check the actual rate; the seek tests have passed but transfers > hung. 'dd' froze either: > > 13:31 [vss@bear] ~ > dd if=/dev/da0 of=/dev/null bs=1m count=10 > ^C > > Nothing relevant in /var/log/messages. How can I debug it further? > By googling around it seems that these messages may indicate a hardware (enclosure) problem. Can someone share what IDE USB 2.0 enclosures are known to be working OK so that I can rule that possible cause out? -- Vlad Skvortsov, vss@73rus.com, http://vss.73rus.com From owner-freebsd-usb@FreeBSD.ORG Mon Sep 17 03:40:41 2007 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C2B216A46B; Mon, 17 Sep 2007 03:40:41 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3F9EB13C483; Mon, 17 Sep 2007 03:40:41 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l8H3eftK021466; Mon, 17 Sep 2007 03:40:41 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l8H3efp4021462; Mon, 17 Sep 2007 03:40:41 GMT (envelope-from linimon) Date: Mon, 17 Sep 2007 03:40:41 GMT Message-Id: <200709170340.l8H3efp4021462@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-i386@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/115197: can not install from USB stick drive X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Sep 2007 03:40:41 -0000 Synopsis: can not install from USB stick drive Responsible-Changed-From-To: freebsd-i386->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Mon Sep 17 03:40:14 UTC 2007 Responsible-Changed-Why: This does not sound i386-specific. http://www.freebsd.org/cgi/query-pr.cgi?pr=115197 From owner-freebsd-usb@FreeBSD.ORG Mon Sep 17 11:08:23 2007 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0309E16A468 for ; Mon, 17 Sep 2007 11:08:23 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DF67A13C45B for ; Mon, 17 Sep 2007 11:08:22 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l8HB8MeC049569 for ; Mon, 17 Sep 2007 11:08:22 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l8HB8L6G049565 for freebsd-usb@FreeBSD.org; Mon, 17 Sep 2007 11:08:21 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 17 Sep 2007 11:08:21 GMT Message-Id: <200709171108.l8HB8L6G049565@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 Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Sep 2007 11:08:23 -0000 Current FreeBSD problem reports Critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa o usb/91629 usb usbd_abort_pipe() may result in infinite loop 2 problems total. Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/46176 usb [panic] umass causes kernel panic if device removed be o i386/46371 usb USB controller cannot be initialized on IBM Netfinity o usb/57085 usb [umass] umass0 problems, with Sony Vio/USB memory stic o bin/57255 usb usbd and multi-function devices o usb/62088 usb [usb] Logitech Cordless/Optical Mouse not working o usb/63621 usb [usb] USB MemoryStick Reader stalls/crashes system o usb/69006 usb [patch] Apple Cinema Display hangs USB ports o usb/71155 usb [usb] misbehaving usb-printer hangs processes, causes o usb/73307 usb [panic] Kernel panics on USB disconnect o usb/74771 usb [umass] mounting write-protected umass device as read/ o usb/75705 usb [panic] da0 attach / Optio S4 (with backtrace) o usb/75797 usb 5.3-STABLE(2005 1/4) detect USB headset, But can not f o usb/76395 usb USB printer does not work, usbdevs says "addr 0 should o usb/77184 usb [panic] kernel panic on USB device disconnect o usb/77294 usb [ulpcom] [panic] ucom + ulpcom panic o usb/79269 usb USB ohci da0 plug/unplug causes crashes and lockups. o usb/79287 usb [uhci] UHCI hang after interrupt transfer o usb/79524 usb printing to Minolta PagePro 1[23]xxW via USB fails wit a usb/79656 usb [usb] RHSC interrupts lost o usb/79722 usb [usb] wrong alignments in ehci.h o usb/80040 usb [hang] Use of sound mixer causes system freeze with ua o usb/80361 usb [patch] mounting of usb-stick fails o usb/80829 usb possible panic when loading USB-modules o usb/80862 usb [patch] USB locking issues: missing some Giant calls o usb/82350 usb [usb] null pointer dereference in USB stack o usb/82520 usb Reboot when USL101 connected s usb/82569 usb [usb] USB mass storage plug/unplug causes system panic o usb/82660 usb [umass] [panic] EHCI: I/O stuck in state 'physrd'/pani o usb/83563 usb [panic] Page Fault while detaching Mpman Usb device o usb/83677 usb [usb] usb controller often not detected (Sun W2100z) o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/84326 usb [umass] Panic trying to connect SCSI tape drive via US o usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/86031 usb need support usb nic rt2500 in my 5.4 STABLE o usb/86767 usb [usb] [patch] bogus "slice starts beyond end of the di o usb/88743 usb [hang] USB makes kernel hang at boot (regression in 6. o usb/88966 usb [modules] kldunload ucom.ko returns "Device busy" erro o usb/89003 usb LaCie Firewire drive not properly supported under 6.0 o usb/89954 usb [usb] USB Disk driver race condition? o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/91283 usb booting very slow with usb devices connection (regress o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91906 usb [hang] FreeBSD hangs while booting with USB legacy sup o usb/92052 usb [unlpt] usbd causes defunct process with busy file-han o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92142 usb SET_ADDR_FAILED and SHORT_XFER errors from usb drivers o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/93155 usb [ulpt] /dev/ulpt0: device busy, USB printer does not w o usb/93408 usb [mouse] hw.acpi.cpu.cx_lowest=C3 on AMD Turion causes o usb/93640 usb [irq] device ehci causes interrupt storm on this MSI a o usb/93828 usb [panic] ohci causes panic on boot (HP Pavillion d4100e o usb/94166 usb btx halted with a flashcard plugged o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94813 usb [umass] mounting write-protected umass device freezes o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk o usb/95131 usb [install] Boot/setup process does not accept key strok o usb/95348 usb [kbd] USB keyboard unplug causes noise on screen o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb o usb/95636 usb [boot] 5 minute delay at boot when using VT6205 based o usb/96120 usb [mouse] USB mouse not always detected o usb/96224 usb [usb] mount_msdosfs cause page fault in syncer process o usb/96457 usb [panic] fatback on umass = reboot o usb/97286 usb [mouse] MS Wireless Intellimouse Explorer 2.0 doesn't o usb/99431 usb [kbd] FreeBSD on MSI 6566E (Intel 845E motherboards) d o usb/101096 usb [if_ural] [panic] USB WLAN occasionally causes kernel- o usb/101448 usb [ohci] FBSD 6.1-STABLE/AMD64 crashes under heavy USB/O o usb/101752 usb [umass] [panic] 6.1-RELEASE kernel panic on usb device o usb/102066 usb [ukbd] usb keyboard and multimedia keys don't work o usb/102096 usb [patch] /usr/sbin/usbd does not handle multiple device o usb/103025 usb [usb] wrong detection of USB device for FreeBSD 6.1 an o usb/104292 usb [hang] system lockup on forced umount of usb-storage d o usb/104830 usb [umass] system crashes when copying data to umass devi o usb/105186 usb USB 2.0/ehci on FreeBSD 6.2-PRE/AMD64 crashes box o usb/106615 usb [uftdi] uftdi module does not automatically load with o usb/106648 usb [hang] USB Floppy on D1950 10 min Hang on Insert w/o F o usb/106832 usb USB HP printer is not detected by kernel when ACPI ena o usb/107248 usb [umass] [patch] scsi_da.c quirk for Cowon iAUDIO X5 MP o usb/107446 usb [umass] umass problems (usb and fw disks) o usb/107827 usb [panic] ohci_add_done addr not found o usb/107848 usb [umass] cannot access Samsung flash disk o usb/107924 usb [patch] usbd(8) does not call detach o usb/108513 usb [umass] Creative MuVo TX FM fails in 6.2-RELEASE (regr o usb/109274 usb [usb] MCP55 USB Controller fails to attach in AMD64 Cu o usb/109397 usb [panic] on boot from USB flash o usb/110856 usb [ugen] [patch] interrupt in msgs are truncated when bu o usb/110988 usb [umass] [patch] Handling of quirk IGNORE_RESIDUE is um o usb/111753 usb [uhid] [panic] Replicable system panic involving UHID o usb/112568 usb USB mode may wrong when mounting Playstation Pro o usb/112631 usb [panic] Problem with SONY DSC-S80 camera o usb/112640 usb [usb] [hang] Kernel freezes when writing a file to an o usb/113478 usb [boot] FreeBSD could not start on Core2Duo notebook fr o usb/113629 usb [ukbd] Dropped USB keyboard events on Dell Latitude D6 o usb/113672 usb [ehci] [panic] Kernel panic with AEWIN CB6971 o usb/113851 usb [boot] Unable to boot install cd from USB-CDROM o usb/113977 usb [feature request] Need a way to set mode of USB disk's o usb/114310 usb [panic] USB hub attachment panics kernel during libusb o usb/114682 usb USB media-card reader unusable o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/115298 usb Turning off USB printer panics kernel 102 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem o usb/40948 usb [usb] USB HP CDW8200 does not work o usb/48342 usb [PATCH] usbd dynamic device list. f usb/51958 usb [urio] [patch] update for urio driver o usb/52026 usb [usb] feature request: umass driver support for InSyst o usb/56095 usb [usb] [patch] QUIRK: Apacer Pen Drive fails to work o usb/59698 usb [kbd] [patch] Rework of ukbd HID to AT code translatio o usb/62257 usb [umass] card reader UCR-61S2B is only half-supported o usb/63837 usb [uhid] [patch] USB: hid_is_collection() only looks for o usb/65769 usb [usb] Call to tcflush(x, TCIFLUSH) stops input on usb- o usb/66547 usb [usb] Palm Tungsten T USB does not initialize correctl o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/70523 usb [usb] [patch] umct sending/receiving wrong characters o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71455 usb [usb] Slow USB umass performance of 5.3 o usb/72380 usb [usb] USB does not work [dual Celeron Abit] o usb/72733 usb Kyocera 7135 Palm OS connection problem. o usb/73056 usb [usb] Sun Microsystems Type 6 USB mouse not working in o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R f usb/74453 usb [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL11R chip o usb/74557 usb imation 500mb usb key can only be written halfway on f o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn o usb/75928 usb Cytronix SmartMedia card (SMC) reader has problems whe o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device o usb/76732 usb Mouse problems with USB KVM Switch f usb/78984 usb [patch] Creative MUVO umass failure o usb/79723 usb [usb] prepare for high speed isochronous transfers o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " o usb/80776 usb [udav] UDAV device driver shouldn't use usb_add_task o usb/80777 usb usb_rem_task() should wait for callback to complete? o usb/80854 usb suggestion for new iface-no-probe mechanism o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. f usb/81621 usb external hd hangs under load on ehci o usb/83863 usb [ugen] Communication problem between opensc/openct via o usb/85067 usb Cannot attach ScanJet 4300C to usb device o usb/85257 usb [boot] BTX boot loader fails on USB CDROM (HP DL145 Op o usb/86298 usb [mouse] Known good USB mouse won't work with correct s o usb/87224 usb Cannot mount USB Zip750 o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o usb/88408 usb [axe] axe0 read PHY failed o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91811 usb Compact Flash in HP Photosmart 2610 return " Medium n o usb/91896 usb Serial Number of USB Memory Sticks is not passed throu o usb/92852 usb [mouse] [patch] Vertical scroll not working properly o o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/93872 usb [patch] SCSI quirk required for ELTA 8061 OL USB memor o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/95173 usb [umass] [patch] cannot mount external usb harddisk VIA o usb/96381 usb [patch] add a quirk table entry for a flash ram usb st o usb/97175 usb [hang] USB cardreader hangs system o usb/97472 usb [patch] add support for Olympus C150,D390 o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/99538 usb [kbd] while using USB keyboard default params of atkbd o usb/100746 usb [kbd] system does not boot due to USB keyboard problem o usb/101761 usb [patch] usb.h: increase maximal size of report descrip o usb/101775 usb [libusbhid] [patch] possible error in report descripto o usb/102678 usb [kbd] Dell PowerEdge DRAC5 USB Keyboard does not work o usb/102976 usb [panic] Casio Exilim Digital Camera cause panic o usb/103046 usb [ulpt] [patch] ulpt event driven I/O with select(2) an o usb/103289 usb USB 2.0 problems on AMD LX-800 CPU and CS-5536 chipset o usb/103418 usb [usb] [patch] usbhidctl: add ability to write output a o usb/103917 usb USB driver reports "Addr 0 should never happen" o usb/104290 usb [umass] [patch] quirk: TOSHIBA DVD-RAM drive (libretto o usb/104352 usb [ural] [patch] ural driver doesnt work o usb/104645 usb Rave C-201 MP3 player does not communicate o usb/105065 usb [sata] SATA - USB Bridge f usb/105361 usb [panic] Kernel panic during unmounting mass storage (C o usb/106041 usb FreeBSD does not recognise Mustek BearPaw 2400TA usb s o usb/106621 usb [axe] [patch] DLINK DUB-E100 support broken o usb/106861 usb [usbdevs] [patch]: usbdevs update: Add product ACER Ze o usb/107243 usb [patch] Apacer USB Flash Drive quirk o usb/107388 usb [PATCH] Add utoppy device from NetBSD o usb/107496 usb USB device problem on RELENG_6_2 (SHORT_XFER) (regress o usb/107665 usb [usb] [patch] uscanner support for epson stylus DX5050 o usb/107701 usb [usbd] usbd ignores "detach" o usb/107935 usb [uplcom] [panic] panic while accessing /dev/cuaU0 o usb/108056 usb [ohci] Mouse gets powered off during device probe when o usb/108344 usb [panic] kernel with atausb panics when unplugging USB o usb/108509 usb [hang] FreeBSD hang at startup after ehci0 detected (C o usb/110197 usb [umass] Sony PSP umass device does not detach from EHC s usb/110991 usb [patch] QUIRK: Super Top IDE DEVICE (depends on usb/11 o usb/112461 usb [ehci] ehci USB 2.0 doesn't work on nforce4 o usb/112463 usb problem with Samsung USB DVD writer, libscg and FreeBS o usb/112944 usb [patch] Bi-directional access to HP LaserJet 1010 prin o usb/113060 usb [usbdevs] [patch] Samsung printer not working in bidir o usb/113432 usb WARNING: attempt to net_add_domain(netgraph) after dom o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff o usb/114068 usb [umass] [patch] Problems with connection of the umass p usb/114860 usb if_udav / ShanTou ST268 USB NIC o usb/114916 usb USB Maxtor drive (L300RO) requires quirk. o usb/114938 usb can't attach eli-devices on external hd o usb/115080 usb using a Hercules HWGUSB2-54-V2 wifi usb adapter o usb/115197 usb can not install from USB stick drive o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115737 usb uplcom doesn't identify my Prolific 2303 any more o usb/115933 usb RATOC REX-USB60F (usb serial converter) is working o usb/115935 usb [patch] kernel counterproductively attaches to Cyber P o usb/116057 usb [patch] Update quirks for the MetaGeek Wi-Spy o usb/116282 usb Cannot print on USB HP LJ1018 or LJ1300 103 problems total. From owner-freebsd-usb@FreeBSD.ORG Thu Sep 20 21:50:29 2007 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AD1B16A421 for ; Thu, 20 Sep 2007 21:50:29 +0000 (UTC) (envelope-from member@childeric.freeserve.co.uk) Received: from smtp3.freeserve.com (smtp3.wanadoo.co.uk [193.252.22.156]) by mx1.freebsd.org (Postfix) with ESMTP id D46C113C455 for ; Thu, 20 Sep 2007 21:50:28 +0000 (UTC) (envelope-from member@childeric.freeserve.co.uk) Received: from smtp3.freeserve.com (mwinf3213 [172.22.156.41]) by mwinf3205.me.freeserve.com (SMTP Server) with ESMTP id 6C5025802ED1 for ; Thu, 20 Sep 2007 23:21:30 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3213.me.freeserve.com (SMTP Server) with ESMTP id 29F5A1C00085 for ; Thu, 20 Sep 2007 23:21:28 +0200 (CEST) Received: from wwinf3206 (wwinf3206 [172.22.156.33]) by mwinf3213.me.freeserve.com (SMTP Server) with ESMTP id 1A5821C00082 for ; Thu, 20 Sep 2007 23:21:28 +0200 (CEST) X-ME-UUID: 20070920212128108.1A5821C00082@mwinf3213.me.freeserve.com From: Chris Whitehouse To: freebsd-usb@freebsd.org Message-ID: <29508703.14811190323288090.JavaMail.www@wwinf3206> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [87.194.3.32] X-Wum-Nature: EMAIL-NATURE X-WUM-FROM: |~| X-WUM-TO: |~| X-WUM-REPLYTO: |~| Date: Thu, 20 Sep 2007 23:21:28 +0200 (CEST) Subject: Edimax usb wifi adapter X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: member@childeric.freeserve.co.uk List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Sep 2007 21:50:29 -0000 Hi, [Please cc me in any reply as I am not subscribed, thanks] I was wondering if it would be possible to add a usb wifi adapter to a driver. I guess the driver would be ural When I insert it dmesg shows ugen0: Ralink 802.11 bg WLAN, rev 2.00/0.01, addr 2 usbdevs -v: Controller /dev/usb0: addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), nVidia(0x0000 ), rev 1.00 port 1 powered port 2 powered port 3 powered port 4 powered port 5 powered port 6 powered port 7 powered port 8 powered Controller /dev/usb1: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), nVidia(0x0000 ), rev 1.00 port 1 powered port 2 powered port 3 addr 2: high speed, power 300 mA, config 1, 802.11 bg WLAN(0x2573), Rali nk(0x148f), rev 0.01 port 4 powered port 5 powered port 6 powered port 7 powered port 8 powered I have all of the following in my kernel config device ehci device uhci device ohci device usb device ural device wlan Running i386 on amd64 arch uname -a: FreeBSD amd64.childeric.freeserve.co.uk 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu Sep 20 21:48:15 BST 2007 root@amd64.childeric.freeserve.co.uk:/usr/src/sys/i386/compile/AMD64 i386 The CD that came with the device includes various linux drivers in case that's of any use. Thanks very much Chris From owner-freebsd-usb@FreeBSD.ORG Fri Sep 21 17:36:51 2007 Return-Path: Delivered-To: freebsd-usb@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C86C616A418 for ; Fri, 21 Sep 2007 17:36:51 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.freebsd.org (Postfix) with ESMTP id 2D82913C4BC for ; Fri, 21 Sep 2007 17:36:45 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.1/8.14.1) with ESMTP id l8LH8cTw097172 for ; Fri, 21 Sep 2007 19:08:43 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.1/8.14.1/Submit) id l8LH8cpc097171; Fri, 21 Sep 2007 19:08:38 +0200 (CEST) (envelope-from olli) Date: Fri, 21 Sep 2007 19:08:38 +0200 (CEST) Message-Id: <200709211708.l8LH8cpc097171@lurza.secnetix.de> From: Oliver Fromme To: freebsd-usb@FreeBSD.ORG X-Newsgroups: list.freebsd-usb User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.2-STABLE-20070808 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Fri, 21 Sep 2007 19:08:43 +0200 (CEST) Cc: Subject: uscanner: HP ScanJet 4300C X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-usb@FreeBSD.ORG List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Sep 2007 17:36:51 -0000 Hi, I have bought a HP ScanJet 4300C, specifically because this very scanner is listed in FreeBSD's uscanner(4) manpage and in SANE's list of supported USB scanners. However, this is all I get: uscanner0: on uhub0 uscanner0: setting config no failed device_attach: uscanner0 attach returned 6 uhub0: port 4, set config at addr 2 failed uhub0: device problem (TIMEOUT), disabling port 4 That's on 7-current, but it fails the same way on 6-stable. I also tried on two different machines with different USB chipsets, and different ports ... No change. It seems I'm not the only one having that problem, e.g. see PR/93011 (which has been closed because of feedback timeout). Should I open a new PR? Is there anything I can do to help in debugging this problem? The uscanner(4) manpage claims that this scanner should work, so it probably _did_ work at some point in the past ... So either the code suffered from bit-rot and stopped working one day, or HP silently changed something in the scanner so it's not compatible with FreeBSD's code anymore. Any help would be greatly appreciated! I very much hope I can get this scanner to work somehow. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "In My Egoistical Opinion, most people's C programs should be indented six feet downward and covered with dirt." -- Blair P. Houghton From owner-freebsd-usb@FreeBSD.ORG Fri Sep 21 22:09:57 2007 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE99816A41B for ; Fri, 21 Sep 2007 22:09:57 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id 7BDC313C461 for ; Fri, 21 Sep 2007 22:09:57 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [85.19.218.45] (account mc467741@c2i.net [85.19.218.45] verified) by mailfe02.swip.net (CommuniGate Pro SMTP 5.1.10) with ESMTPA id 623534810; Sat, 22 Sep 2007 00:09:53 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, member@childeric.freeserve.co.uk Date: Sat, 22 Sep 2007 00:10:12 +0200 User-Agent: KMail/1.9.7 References: <29508703.14811190323288090.JavaMail.www@wwinf3206> In-Reply-To: <29508703.14811190323288090.JavaMail.www@wwinf3206> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709220010.13380.hselasky@c2i.net> Cc: Subject: Re: Edimax usb wifi adapter X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Sep 2007 22:09:58 -0000 On Thursday 20 September 2007, Chris Whitehouse wrote: > Hi, > > [Please cc me in any reply as I am not subscribed, thanks] > > I was wondering if it would be possible to add a usb wifi adapter to a > driver. I guess the driver would be ural > > When I insert it dmesg shows > ugen0: Ralink 802.11 bg WLAN, rev 2.00/0.01, addr 2 > > usbdevs -v: > Controller /dev/usb0: > addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), > nVidia(0x0000 ), rev 1.00 > port 1 powered > port 2 powered > port 3 powered > port 4 powered > port 5 powered > port 6 powered > port 7 powered > port 8 powered > Controller /dev/usb1: > addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), > nVidia(0x0000 ), rev 1.00 > port 1 powered > port 2 powered > port 3 addr 2: high speed, power 300 mA, config 1, 802.11 bg WLAN(0x2573), > Rali nk(0x148f), rev 0.01 > port 4 powered > port 5 powered > port 6 powered > port 7 powered > port 8 powered > > I have all of the following in my kernel config > device ehci > device uhci > device ohci > device usb > device ural > device wlan > > Running i386 on amd64 arch > uname -a: > FreeBSD amd64.childeric.freeserve.co.uk 6.2-STABLE FreeBSD 6.2-STABLE #0: > Thu Sep 20 21:48:15 BST 2007 > root@amd64.childeric.freeserve.co.uk:/usr/src/sys/i386/compile/AMD64 i386 > > The CD that came with the device includes various linux drivers in case > that's of any use. > > Thanks very much > > Chris Have you tried if_rum ? --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Sep 22 10:47:50 2007 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5696216A417 for ; Sat, 22 Sep 2007 10:47:50 +0000 (UTC) (envelope-from xiaofanc@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by mx1.freebsd.org (Postfix) with ESMTP id E742E13C48A for ; Sat, 22 Sep 2007 10:47:49 +0000 (UTC) (envelope-from xiaofanc@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so1309176waf for ; Sat, 22 Sep 2007 03:47:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=//QEBvz0MGS72YMwitDDh55Tg+14hGUyTHtk26oz/nE=; b=TCktPfIMEStBswCzTNj2iGr/OJSuZ5sqspoL6mgKjHvHqloU9D+3YpryKYz8eggPI1HyXXIvXwPi7FzsZH02GEB7cN8UReoC6wQWCqqBX6eJ+zJ0LxYOpvsc36mGqdbv/2DBzvq7FGnq0NfNKHUYCj322aUesLtjb+eEVwnUs7E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SX5lzFu1g4yf5ZPB8aS8ZjV5kHWu7ZQ37xnRRCJ+cfoUavYO5mieclOf/bofl6neL7wDWDVVQe29yMIXE7ojuUlhYQO+ey7jLn8Cicb15D/i4QeZxQwuhR7pOkA8crWlTpys1JyPkPLkHA8kmKTAljFYwuKR5+iNzTy8mBHosW8= Received: by 10.114.14.1 with SMTP id 1mr3740016wan.1190456496585; Sat, 22 Sep 2007 03:21:36 -0700 (PDT) Received: by 10.114.176.17 with HTTP; Sat, 22 Sep 2007 03:21:36 -0700 (PDT) Message-ID: Date: Sat, 22 Sep 2007 18:21:36 +0800 From: "Xiaofan Chen" To: "M. Warner Losh" In-Reply-To: <20070708.135940.1102529026.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070707.231136.-593229846.imp@bsdimp.com> <20070708.135940.1102529026.imp@bsdimp.com> Cc: freebsd-usb@freebsd.org Subject: Re: libusb usb_interrupt_read hangs under FreeBSD X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Sep 2007 10:47:50 -0000 On 7/9/07, M. Warner Losh wrote: > I need to look it up, but I believe that a clear endpoint stall also > resets the toggle, and that was the bug that was tracked down. > > Remind me when is this clear endpoint stall sent? In 7.x we don't > send one on pipe open unless the device is quirked to require one. On > RELENG_6, at least as of today, we never send one on the open. > I believe we have tracked down the bug with the HID firmware in PICkit 2 and I am waiting for the confirmwation from Microchip. You are exactly right! Thanks. http://forum.microchip.com/tm.aspx?m=275422&mpage=2 "HID framework does not reinitialize data toggle to DATA0 after ClearFeature on IN endpoint". Regards, Xiaofan From owner-freebsd-usb@FreeBSD.ORG Sat Sep 22 16:52:38 2007 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 233ED16A41A for ; Sat, 22 Sep 2007 16:52:38 +0000 (UTC) (envelope-from karl.triebes@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.186]) by mx1.freebsd.org (Postfix) with ESMTP id EFC9113C44B for ; Sat, 22 Sep 2007 16:52:37 +0000 (UTC) (envelope-from karl.triebes@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so941720rvb for ; Sat, 22 Sep 2007 09:52:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=ZTGDw/4/1YB/qVw4emFvBmJC5PfiQWJOcUBGThXV3jM=; b=HPiKzKYNZlnlxvXjzQnyUcLt5WbVz4+khBlobsRCz0DHxAkmWKgyCEcsoQesaRQPmUI5XsW2tfoT9GMxdVqhzmnApLAW76d1zwrkcS3/YrYPk/acwOCAMS2U3Nd1WbhzoHRtJ8ZUhd8/V0jbe5rNiC1xL4Z0nEHAUtEw0yCRL8c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=BPbnbvRs8PLdrV2iwMRrWxMMvkFsdlp9Wg6UjRp64j9KL+15/yDay2BqT3aMWh0pyZE0J5zXujv3bcgskLvwXwvV8XI94Rv/WW8y3guDeY8YhxN8XkgJtKdiCZFgrV7q57emru2DeQnyfYkgtZgM3Ge01aOtZbHgDU9Po0LhdSY= Received: by 10.142.180.5 with SMTP id c5mr1457242wff.1190478492147; Sat, 22 Sep 2007 09:28:12 -0700 (PDT) Received: by 10.142.83.18 with HTTP; Sat, 22 Sep 2007 09:28:12 -0700 (PDT) Message-ID: <26a198490709220928i59d604f5ka71f3013f465f97a@mail.gmail.com> Date: Sat, 22 Sep 2007 09:28:12 -0700 From: "Karl Triebes" To: usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: MT USB when? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Sep 2007 16:52:38 -0000 There's been a lot of talk about making USB multi-threaded. I know Hans has been at it for quite some time now. Do you know when it'll see daylight? Karl. From owner-freebsd-usb@FreeBSD.ORG Sat Sep 22 18:10:46 2007 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F93916A41B for ; Sat, 22 Sep 2007 18:10:46 +0000 (UTC) (envelope-from karl.triebes@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.185]) by mx1.freebsd.org (Postfix) with ESMTP id 2B83013C447 for ; Sat, 22 Sep 2007 18:10:46 +0000 (UTC) (envelope-from karl.triebes@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so953108rvb for ; Sat, 22 Sep 2007 11:10:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=ZTGDw/4/1YB/qVw4emFvBmJC5PfiQWJOcUBGThXV3jM=; b=dlitDkgWMkH5z4jHPTVPYAv7+7kpCoLFuyaJPCJffbeqVZWBwSf3eWYU3pDoP606eJVl4khdpkFhdUZMllGj8gt1UOLhoi8Tka3KqwvaXofQr2zxP5CBSE48eDq0EaqvDaW1OekrkJ1tJu6/Boezr2CVw/GvfprF7Ux95tot/M4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XVfQTUxqrmkFpByR2Du9q+FKF7gnEyQwzoprjuB9w6l6VnVDqq434fYQCnBP++q3VbOy0N5uzCT6OrmF6eU0ZAYClPXGSFxFwqkZwuB2rQDIQIZb5xkUXRGUee77dP7xtH1eRhySQdyKcQBJd4o0nKUz7ihfl5I17KL9aZKbMvE= Received: by 10.142.226.2 with SMTP id y2mr352936wfg.1190483055487; Sat, 22 Sep 2007 10:44:15 -0700 (PDT) Received: by 10.142.83.18 with HTTP; Sat, 22 Sep 2007 10:44:15 -0700 (PDT) Message-ID: <26a198490709221044y21077d86x1fe539d32c057b41@mail.gmail.com> Date: Sat, 22 Sep 2007 10:44:15 -0700 From: "Karl Triebes" To: freebsd-usb@freebsd.org In-Reply-To: <26a198490709220928i59d604f5ka71f3013f465f97a@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <26a198490709220928i59d604f5ka71f3013f465f97a@mail.gmail.com> Subject: MT USB when? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Sep 2007 18:10:46 -0000 There's been a lot of talk about making USB multi-threaded. I know Hans has been at it for quite some time now. Do you know when it'll see daylight? Karl. From owner-freebsd-usb@FreeBSD.ORG Sat Sep 22 21:20:01 2007 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD91516A46B for ; Sat, 22 Sep 2007 21:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CE48E13C455 for ; Sat, 22 Sep 2007 21:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l8MLK1rS017195 for ; Sat, 22 Sep 2007 21:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l8MLK1VN017194; Sat, 22 Sep 2007 21:20:01 GMT (envelope-from gnats) Resent-Date: Sat, 22 Sep 2007 21:20:01 GMT Resent-Message-Id: <200709222120.l8MLK1VN017194@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Pryanishnikov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8739016A418 for ; Sat, 22 Sep 2007 21:18:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 87DC913C468 for ; Sat, 22 Sep 2007 21:18:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l8MLIb7E079763 for ; Sat, 22 Sep 2007 21:18:37 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l8MLIbiX079762; Sat, 22 Sep 2007 21:18:37 GMT (envelope-from nobody) Message-Id: <200709222118.l8MLIbiX079762@www.freebsd.org> Date: Sat, 22 Sep 2007 21:18:37 GMT From: Dmitry Pryanishnikov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/116561: RELENG_6 umodem panic "trying to sleep while sleeping is prohibited" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Sep 2007 21:20:01 -0000 >Number: 116561 >Category: usb >Synopsis: RELENG_6 umodem panic "trying to sleep while sleeping is prohibited" >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 22 21:20:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Dmitry Pryanishnikov >Release: RELENG_6 (csup date 4 May 2007) >Organization: Euroinform LLC >Environment: FreeBSD fkiev.euinf.net 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed May 23 23:07:00 EEST 2007 root@fkiev.euinf.net:/usr/obj/usr/RELENG_6/src/sys/lynx i386 >Description: I'm using USB modem C-motech CCU-550 under RELENG_6 with the simple patch: --- sys/dev/usb/usbdevs.orig Fri May 4 00:35:48 2007 +++ sys/dev/usb/usbdevs Wed May 23 22:47:27 2007 @@ -773,6 +773,7 @@ /* CMOTECH products */ product CMOTECH CNU510 0x5141 CMOTECH CDMA Technologies USB modem +product CMOTECH CCU550 0x5533 CDMA 2000 1xRTT/1xEVDO USB modem product CMOTECH CNU550 0x5543 CDMA 2000 1xRTT/1xEVDO USB modem /* Compaq products */ --- sys/dev/usb/usb_quirks.c.orig Fri May 4 00:35:48 2007 +++ sys/dev/usb/usb_quirks.c Wed May 23 22:48:18 2007 @@ -82,6 +82,8 @@ { USB_VENDOR_LOGITECH, USB_PRODUCT_LOGITECH_UN53B, ANY, { UQ_NO_STRINGS }}, { USB_VENDOR_CMOTECH, USB_PRODUCT_CMOTECH_CNU510, ANY, { UQ_ASSUME_CM_OVER_DATA }}, + { USB_VENDOR_CMOTECH, USB_PRODUCT_CMOTECH_CCU550, + ANY, { UQ_ASSUME_CM_OVER_DATA }}, { USB_VENDOR_CMOTECH, USB_PRODUCT_CMOTECH_CNU550, ANY, { UQ_ASSUME_CM_OVER_DATA }}, { USB_VENDOR_CURITEL, USB_PRODUCT_CURITEL_HX550C, Modems works, but I'm getting seldom irregular panics like this: #11 0xc049d313 in panic (fmt=0xc05f4cc3 "trying to sleep while sleeping is prohibited") at /usr/RELENG_6/src/sys/kern/kern_shutdown.c:549 td = (struct thread *) 0xc2125300 bootopt = 256 newpanic = 1 ap = 0xcbb7facc "\001" buf = "trying to sleep while sleeping is prohibited", '\0' #12 0xc04ba7c0 in sleepq_add (wchan=0xc21fd900, lock=0x0, wmesg=0x12
, flags=0) at /usr/RELENG_6/src/sys/kern/subr_sleepqueue.c:278 sc = (struct sleepqueue_chain *) 0xc064a9a8 sq = (struct sleepqueue *) 0xc1015000 td = (struct thread *) 0xc2125300 #13 0xc04a2b04 in msleep (ident=0xc21fd900, mtx=0x0, priority=76, wmesg=0xc07943eb "usbsyn", timo=0) at /usr/RELENG_6/src/sys/kern/kern_synch.c:191 _giantcnt = 1 Giant__wf = 0x200
Giant__wl = -1038100187 td = (struct thread *) 0xc2125300 p = (struct proc *) 0x1 catch = 0 rval = 0 flags = 0 mtx__wf = 0xc21fd970 "" mtx__wl = 0 #14 0xc07862b5 in usbd_transfer (xfer=0xc21fd900) at /usr/RELENG_6/src/sys/modules/usb/../../dev/usb/usbdi.c:344 pipe = 0xc2385300 err = USBD_IN_PROGRESS size = 0 #15 0xc0786aeb in usbd_do_request_flags_pipe (dev=0xc2385380, pipe=0x12, req=0xcbb7fbbc, data=0x0, flags=0, actlen=0x0, timeout=5000) at /usr/RELENG_6/src/sys/modules/usb/../../dev/usb/usbdi.c:982 xfer = 0xc21fd900 err = USBD_NORMAL_COMPLETION #16 0xc0786bd0 in usbd_do_request_flags (dev=0x12, req=0xcbb7fbbc, data=0x0, flags=0, actlen=0x0, timo=5000) at /usr/RELENG_6/src/sys/modules/usb/../../dev/usb/usbdi.c:953 No locals. #17 0xc0786bee in usbd_do_request (dev=0xc2385380, req=0xcbb7fbbc, data=0x0) at /usr/RELENG_6/src/sys/modules/usb/../../dev/usb/usbdi.c:945 No locals. #18 0xc07c1031 in umodem_set_line_state (sc=0x0) at /usr/RELENG_6/src/sys/modules/umodem/../../dev/usb/umodem.c:703 req = {bmRequestType = 33 '!', bRequest = 34 '"', wValue = "\001", wIndex = "\000", wLength = "\000"} ls = 18 #19 0xc07c10bb in umodem_set (addr=0xc23a6d00, portno=-1, reg=18, onoff=0) at /usr/RELENG_6/src/sys/modules/umodem/../../dev/usb/umodem.c:686 No locals. #20 0xc07c4cef in ucommodem (tp=0x12, sigon=0, sigoff=-1056878592) at /usr/RELENG_6/src/sys/modules/ucom/../../dev/usb/ucom.c:427 sc = (struct ucom_softc *) 0xc23a6d00 mcr = 18 msr = 18 onoff = 18 #21 0xc07c5074 in ucomstart (tp=0xc23a9000) at /usr/RELENG_6/src/sys/modules/ucom/../../dev/usb/ucom.c:552 sc = (struct ucom_softc *) 0xc23a6d00 cbp = (struct cblock *) 0x12 err = USBD_INTERRUPTED data = ( u_char *) 0xc1015000 "Copyright (c) 1992-2007 The FreeBSD Project.\nCopyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994\n\tThe Regents of the University of California. All rights reserved.\nFreeBSD is a re"... cnt = -1036349440 #22 0xc04ccfe6 in ttstart (tp=0x12) at /usr/RELENG_6/src/sys/kern/tty.c:1615 No locals. #23 0xc04ccf82 in ttyblock (tp=0xc23a9000) at /usr/RELENG_6/src/sys/kern/tty.c:1568 No locals. #24 0xc07c53ee in ucomreadcb (xfer=0xc2b55700, p=0xc23a6d00, status=3417832504) at /usr/RELENG_6/src/sys/modules/ucom/../../dev/usb/ucom.c:773 tp = (struct tty *) 0xc23a9000 err = USBD_INTERRUPTED cc = 64 cp = (u_char *) 0xc2216e00 "6\035╣цcЮ\nd\200Й26W\\\220\024*ф╡п\004╒еGN\f\201\200s\233\225Лв╙\003U═Ч\004н\006" lostcc = -877134792 #25 0xc0786a34 in usb_transfer_complete (xfer=0xc2b55700) at /usr/RELENG_6/src/sys/modules/usb/../../dev/usb/usbdi.c:863 pipe = 0xc2b86b80 dmap = (usb_dma_t *) 0xc2b5573c sync = 0 erred = 0 repeat = 0 polling = 0 #26 0xc0789430 in uhci_idone (ii=0x12) at /usr/RELENG_6/src/sys/modules/usb/../../dev/usb/uhci.c:1499 xfer = 0xc2b55700 upipe = (struct uhci_pipe *) 0xc2b86b80 std = (uhci_soft_td_t *) 0x0 status = 0 nstatus = 18 actlen = 64 #27 0xc0789584 in uhci_softintr (v=0xc21dd000) at /usr/RELENG_6/src/sys/modules/usb/../../dev/usb/uhci.c:1374 ii = (uhci_intr_info_t *) 0xc2b55770 nextii = (uhci_intr_info_t *) 0xc2b02e70 #28 0xc078927b in uhci_intr1 (sc=0xc21dd000) at /usr/RELENG_6/src/sys/modules/usb/../../dev/usb/uhci.c:1274 status = 1 ack = 1 #29 0xc0489da2 in ithread_execute_handlers (p=0xc21d4000, ie=0xc2164280) at /usr/RELENG_6/src/sys/kern/kern_intr.c:682 ih = (struct intr_handler *) 0xc220a000 ihn = (struct intr_handler *) 0xc2237100 #30 0xc0489ed2 in ithread_loop (arg=0xc2202b30) at /usr/RELENG_6/src/sys/kern/kern_intr.c:765 intr_event = (struct intr_thread *) 0xc2202b30 ie = (struct intr_event *) 0xc2164280 td = (struct thread *) 0xc2125300 p = (struct proc *) 0xc21d4000 __func__ = "ithread_loop" #31 0xc0489010 in fork_exit (callout=0xc0489e6c , arg=0xc2202b30, frame=0xcbb7fd38) at /usr/RELENG_6/src/sys/kern/kern_fork.c:821 p = (struct proc *) 0xc21d4000 td = (struct thread *) 0x0 #32 0xc05b46cc in fork_trampoline () at /usr/RELENG_6/src/sys/i386/i386/exception.s:208 No locals. >How-To-Repeat: Alas, repeatability of the bug is very poor. I'm using the modem on the notebook w/o serial port, and most panics happen during the X.org session, so computer just instantly reboots (and I can't use serial console). Luckily, several times this happened in text console, so I've managed to get a crash dump. I'm ready to provide further analysis data based on it. I've compared /sys/dev/usb contents of RELENG_6 source tree as of 4 May 2007 with current state, and I can't see changes that could improve things. >Fix: >Release-Note: >Audit-Trail: >Unformatted: