From owner-freebsd-usb@FreeBSD.ORG Sun Jun 26 09:20:10 2005 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2D2416A41F for ; Sun, 26 Jun 2005 09:20:10 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAAEF43D53 for ; Sun, 26 Jun 2005 09:20:10 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j5Q9KATW029483 for ; Sun, 26 Jun 2005 09:20:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j5Q9KAbk029480; Sun, 26 Jun 2005 09:20:10 GMT (envelope-from gnats) Resent-Date: Sun, 26 Jun 2005 09:20:10 GMT Resent-Message-Id: <200506260920.j5Q9KAbk029480@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, Stefan Walter Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 07DF116A41C for ; Sun, 26 Jun 2005 09:16:33 +0000 (GMT) (envelope-from sw@gegenunendlich.de) Received: from mail.onlinefix.de (mail2-out.titan-networks.de [217.140.72.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9479E43D49 for ; Sun, 26 Jun 2005 09:16:31 +0000 (GMT) (envelope-from sw@gegenunendlich.de) Received: from kyuzo.dunkelkammer.void ([217.140.77.242]) (authenticated bits=0) by mail.onlinefix.de (8.12.3/8.12.3/Debian-7.1) with ESMTP id j5Q9GSdk005134 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Sun, 26 Jun 2005 11:16:29 +0200 Received: by kyuzo.dunkelkammer.void (Postfix, from userid 1002) id 775DD3A1D; Sun, 26 Jun 2005 11:16:28 +0200 (CEST) Message-Id: <20050626091628.775DD3A1D@kyuzo.dunkelkammer.void> Date: Sun, 26 Jun 2005 11:16:28 +0200 (CEST) From: Stefan Walter To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: usb/82660: EHCI: I/O stuck in state 'physrd'/panic X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stefan Walter List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jun 2005 09:20:11 -0000 >Number: 82660 >Category: usb >Synopsis: EHCI: I/O stuck in state 'physrd'/panic >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jun 26 09:20:10 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Stefan Walter >Release: FreeBSD 5.4-STABLE i386 >Organization: Infinity Approximation Task Force >Environment: System: FreeBSD kyuzo.dunkelkammer.void 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri Jun 24 15:41:24 CEST 2005 root@kyuzo.dunkelkammer.void:/usr/src/sys/i386/compile/KYUZO i386 >Description: After updating to a recent RELENG_5 (see environment data), I thought I'd give USB 2.0 a try to speed up data exchange with my USB sticks. The controller is correctly identified, it seems: ehci0: mem 0xdbfdf700-0xdbfdf7ff irq 3 at device 16.3 on pci0 When plugging in an USB stick, it is correctly identified, too: umass0: USB Flash Disk, rev 2.00/2.00, addr 2 da2 at umass-sim0 bus 0 target 0 lun 0 da2: < USB BAR 2.00> Removable Direct Access SCSI-2 device da2: 40.000MB/s transfers da2: 124MB (255744 512 byte sectors: 64H 32S/T 124C) I can also list the content of the FAT filesystem with mtools' mdir command. When trying to copy a file from the stick to a local filesystem, however, mcopy is almost immediately stuck in state "physrd" (according to top(1)) after copying a varying number of bytes (between 100 and 2200 KB is what I've seen so far). I cannot kill the mtools process, but pulling out the USB stick helps - it panics some time after doing that, though. The same happens when trying to dump the whole USB stick to a file with "dd if=/dev/da2 of=stickimage bs=1024". The dd process also hangs in state "physrd" eventually. It doesn't seem to be a problem with IRQ sharing, as both "vmstat -i" and dmesg indicate that ehci0 doesn't share its IRQ with anything else. The USB stick works fine (with ehci, too) on a notebook with an Intel ICH4 chipset. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Mon Jun 27 11:02:04 2005 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 46D3516A421 for ; Mon, 27 Jun 2005 11:02:04 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD05343D58 for ; Mon, 27 Jun 2005 11:02:03 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j5RB23Uk043229 for ; Mon, 27 Jun 2005 11:02:03 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j5RB22DM043223 for freebsd-usb@freebsd.org; Mon, 27 Jun 2005 11:02:02 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 27 Jun 2005 11:02:02 GMT Message-Id: <200506271102.j5RB22DM043223@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter 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, 27 Jun 2005 11:02:04 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/07/19] kern/40792 usb signals lead to data loss on device ugen o [2002/12/10] kern/46176 usb umass causes kernel panic if device remov o [2002/12/19] i386/46371 usb USB controller cannot be initialized on I f [2003/02/17] kern/48359 usb SiS 5597/8 USB + uscanner breakage f [2003/03/05] kern/48952 usb uscanner0 hangs o [2003/09/26] bin/57255 usb usbd and multi-function devices f [2003/12/11] kern/60131 usb [usb] Page fault on disconnect of USB dev s [2003/12/15] kern/60276 usb [usb] Kernel panic when plugging in USB ( f [2004/01/11] kern/61191 usb [usb] panic: USB vs. Serial problems o [2004/01/20] kern/61627 usb [usb] [patch] New USB printer not support o [2004/01/24] kern/61841 usb [boot] 5.2 Boot freeze if memorybird (USB f [2004/01/30] kern/62088 usb [usb] Logitech Cordless/Optical Mouse not f [2004/01/30] kern/62123 usb [usb] LaCie 160GB USB drive umass: BBB re f [2004/02/23] i386/63251 usb [usb] USB stops working after 2nd APM sus f [2004/03/01] kern/63621 usb [usb] USB MemoryStick Reader stalls/crash f [2004/04/07] kern/65292 usb [panic] random page faults (usb-related?) o [2004/07/13] kern/69006 usb [patch] Apple Cinema Display hangs USB po o [2004/08/30] kern/71155 usb [usb] misbehaving usb-printer hangs proce o [2004/10/30] kern/73307 usb Kernel panics on USB disconnect f [2004/11/18] kern/74088 usb ohci ehci uhub: port disabled on connecti o [2005/01/13] usb/76204 usb panic while using usb attached modem o [2005/01/18] usb/76395 usb USB printer does not work, usbdevs says " o [2005/01/21] usb/76554 usb Panram "yoyo" USB MP3 player causes panic f [2005/01/25] usb/76684 usb Toshiba PDR-M4 camera connected via USB h f [2005/01/26] usb/76727 usb usb printing locks machine f [2005/01/30] usb/76847 usb ukbd panics on boot o [2005/02/06] usb/77184 usb kernel panic on USB device disconnect o [2005/02/09] usb/77294 usb ucom + ulpcom panic o [2005/02/16] usb/77604 usb Sluggish Logitch LX700 USB Mouse o [2005/02/23] kern/77940 usb insertion of usb keyboard panics system o [2005/03/18] usb/78989 usb please add USB keyboard support to instal o [2005/03/22] usb/79140 usb WD Firewire/USB Combo hangs under load on o [2005/03/27] usb/79269 usb USB ohci da0 plug/unplug causes crashes a o [2005/03/27] usb/79287 usb UHCI hang after interrupt transfer o [2005/04/02] usb/79436 usb Panic: ohci_abort_xfer: not in process co o [2005/04/04] usb/79524 usb printing to Minolta PagePro 1[23]xxW via o [2005/04/07] usb/79656 usb [usb] RHSC interrupts lost o [2005/04/09] usb/79722 usb [usb] wrong alignments in ehci.h o [2005/04/17] usb/80040 usb [hang] Use of sound mixer causes system f o [2005/04/22] usb/80260 usb Travan USB tape drive fails to write o [2005/04/26] usb/80361 usb mounting of usb-stick fails o [2005/04/26] usb/80373 usb usb keyboard does not respond o [2005/05/04] usb/80628 usb recent USB MFCs cause panics o [2005/05/06] usb/80685 usb panic in usb_cold_explore() at begining o [2005/05/09] usb/80829 usb possible panic when loading USB-modules o [2005/05/10] usb/80862 usb USB locking issues o [2005/05/20] usb/81308 usb Polling a ugen(4) control endpoint causes o [2005/05/26] usb/81524 usb panic: usb_cold_explore: busses to explor o [2005/06/01] usb/81774 usb 2nd generation iPod mini cannot be mounte o [2005/06/13] usb/82198 usb Panic on attaching of ONKI N-338 USB MP3 o [2005/06/15] usb/82272 usb Can not recognize Casio camera EX-Z40 as o [2005/06/22] usb/82520 usb Reboot when USL101 connected o [2005/06/26] usb/82660 usb EHCI: I/O stuck in state 'physrd'/panic 53 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2001/09/30] conf/30929 usb [patch] use usbd to initialize USB ADSL m o [2001/12/09] kern/32652 usb [patch] A new ioctl to uscanner s [2001/12/09] ports/32653 usb Added patches to improve USB scanner supp f [2002/07/24] kern/40948 usb [usb] USB HP CDW8200 does not work o [2002/08/07] kern/41415 usb [usb] [patch] Some USB scanners cannot ta o [2003/02/16] bin/48342 usb [PATCH] usbd dynamic device list. f [2003/03/19] kern/50110 usb [usb] Astra 2100U scanner being detected o [2003/05/08] kern/51958 usb [usb] [patch] update for urio driver o [2003/05/10] kern/52026 usb [usb] feature request: umass driver suppo f [2003/05/19] bin/52432 usb [sysinstall] drivers.flp won't load with o [2003/06/08] kern/53025 usb [PATCH] ugen does not allow O_NONBLOCK fo f [2003/09/19] kern/56999 usb FreeCom USB CD/RW problem on FreeBSD 5.1 f [2003/11/10] i386/59147 usb [usb] USB active extension cable not reco o [2003/11/11] kern/59169 usb [patch] ulpt is missing read operation o [2003/12/15] kern/60248 usb [patch] Problem with USB printer HP Laser o [2004/01/12] bin/61234 usb [usb] [patch] usbhidaction doesn't suppor f [2004/02/13] kern/62788 usb need quirks for Super Talent Flash USB 2. f [2004/03/04] kern/63779 usb [usb] USB-mass storage (USB to IDE Conver o [2004/03/06] kern/63837 usb [patch] USB: hid_is_collection() only loo o [2004/04/11] kern/65436 usb QUIRK: [patch] to add support for PNY Att o [2004/04/19] kern/65769 usb [usb] Call to tcflush(x, TCIFLUSH) stops f [2004/05/11] kern/66547 usb [usb] Palm Tungsten T USB does not initia o [2004/06/23] kern/68232 usb [patch] ugen(4) isochronous handling corr o [2004/06/27] kern/68412 usb [usb] [patch] QUIRK: Philips KEY013 USB M o [2004/07/06] i386/68719 usb [usb] USB 2.0 mobil rack+ fat32 performan o [2004/08/16] kern/70523 usb [usb] [patch] umct sending/receiving wron o [2004/08/25] kern/70942 usb [usb] Genius Wireless USB mouse: moused d o [2004/09/06] kern/71416 usb [usb] Cryptoflex e-gate USB token (ugen0) o [2004/09/06] kern/71417 usb [usb] Cryptoflex e-gate USB token (ugen0) o [2004/09/07] kern/71455 usb [usb] Slow USB umass performance of 5.3 o [2004/09/11] kern/71605 usb [usb] [patch] umass doesn't recognize mul o [2004/10/05] kern/72344 usb [usb] [patch] QUIRK: Dane-Elec zMate 512 f [2004/10/06] i386/72380 usb [usb] USB does not work [dual Celeron Abi o [2004/10/23] i386/73056 usb [usb] Sun Microsystems Type 6 USB mouse n f [2004/11/02] i386/73421 usb [usb] USB not recgnized/working on Toshib o [2004/11/30] usb/74557 usb imation 500mb usb key can only be written o [2004/12/12] usb/74989 usb (regression) Lost USB support between 5.2 o [2004/12/28] usb/75578 usb [patch] QUIRK: PNY USB flash key o [2005/01/07] usb/75928 usb Cytronix SmartMedia card (SMC) reader has o [2005/01/19] usb/76461 usb disklabel of umass(4)-CAM(4)-da(4) not us o [2005/01/27] usb/76732 usb Mouse problems with USB KVM Switch f [2005/03/03] usb/78371 usb Philips Wearable Audio Player (128) fails o [2005/03/07] usb/78543 usb [patch] Support for Trip-Lite USB 2 Seria o [2005/03/18] usb/78984 usb Creative MUVO umass failure o [2005/04/09] usb/79723 usb [usb] prepare for high speed isochronous o [2005/04/09] usb/79725 usb [patch] [usb] USB device speed is not dou o [2005/04/14] kern/79893 usb New usbdevs/umass quirks derived from Lin o [2005/04/16] usb/80010 usb Add support for the AEI USB to LAN adapte o [2005/04/27] usb/80383 usb [PATCH] Add quirk for uhid to ignore cert o [2005/04/27] usb/80420 usb atapicam stops iPod functionality o [2005/05/08] usb/80773 usb "usbd_get_string()" could have taken a le o [2005/05/08] usb/80774 usb have "usbd_find_desc" in line with the ot o [2005/05/08] usb/80776 usb UDAV device driver shouldn't use usb_add_ o [2005/05/08] usb/80777 usb usb_rem_task() should wait for callback t o [2005/05/10] usb/80854 usb suggestion for new iface-no-probe mechani o [2005/05/12] usb/80935 usb uvisor.c is not work with CLIE TH55. o [2005/05/15] usb/81073 usb [patch] fix umass NO_GETMAXLUN quirk o [2005/05/18] usb/81191 usb Support for Curitel HX-550C USB modem to o [2005/05/29] usb/81621 usb external hd hangs under load on ehci o [2005/05/30] usb/81656 usb umass problem with Minolta DiMage S414 Di o [2005/06/20] usb/82436 usb USL101 Host-to-Host bridge support on Fre 61 problems total. From owner-freebsd-usb@FreeBSD.ORG Wed Jun 29 13:58:09 2005 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60D8316A41C for ; Wed, 29 Jun 2005 13:58:09 +0000 (GMT) (envelope-from sw@gegenunendlich.de) Received: from mail.onlinefix.de (mail2-out.titan-networks.de [217.140.72.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id E368F43D48 for ; Wed, 29 Jun 2005 13:58:07 +0000 (GMT) (envelope-from sw@gegenunendlich.de) Received: from kyuzo.dunkelkammer.void ([217.140.77.242]) (authenticated bits=0) by mail.onlinefix.de (8.12.3/8.12.3/Debian-7.1) with ESMTP id j5TDw3MO001595 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 29 Jun 2005 15:58:04 +0200 Received: by kyuzo.dunkelkammer.void (Postfix, from userid 1002) id 65EC33A1D; Wed, 29 Jun 2005 15:58:02 +0200 (CEST) Date: Wed, 29 Jun 2005 15:58:02 +0200 From: Stefan Walter To: Hans Petter Selasky Message-ID: <20050629135802.GA976@kyuzo.dunkelkammer.void> References: <20050626091628.775DD3A1D@kyuzo.dunkelkammer.void> <200506261415.46921.hselasky@c2i.net> <20050628172321.GA3464@kyuzo.dunkelkammer.void> <200506291225.36375.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zYM0uCDKw75PZbzx" Content-Disposition: inline In-Reply-To: <200506291225.36375.hselasky@c2i.net> Organization: Infinity Approximation Task Force X-PGP-key: http://www.gegenunendlich.de/swalter-rsa.asc X-PGP-fingerprint: 85D8 6A49 22C7 6CD9 B011 5D6A 5691 111B 12B9 E0B3 User-Agent: Mutt/1.5.9i Cc: freebsd-usb@freebsd.org Subject: Re: usb/82660: EHCI: I/O stuck in state 'physrd'/panic 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: Wed, 29 Jun 2005 13:58:09 -0000 --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [Cc'd usb@, maybe someone else wants to comment on this, too.] Hans Petter Selasky, 29.06.05, 12:25h CEST: > On Tuesday 28 June 2005 19:23, you wrote: > > Hi, > > > > Hans Petter Selasky, 26.06.05, 14:15h CEST: > > > I know there is bug related to the alignments of hardware structures = in > > > the existing EHCI driver. The EHCI driver works with generic intel ch= ips, > > > but not others. > > > > > > Could you have tried my USB driver and see if the problem is the same? > > > > I tried your driver today, but unfortunately the same thing happened: I= /O > > got stuck after reading a few KBytes. >=20 > OK, then your problem is most likely inside /sys/dev/usb/umass.c. > =20 > Try "sysctl hw.usb.umass.debug=3D15" while you have the my driver in the = kernel,=20 > hence it has got debugging flags enabled by default. Else you need to add= =20 > something like "option USB_DEBUG" to your kernel config file. I'm not sur= e if=20 > you can compile the modules with debugging support unless you use my USB= =20 > driver. >=20 > See if any errors show up. >=20 > Then try "sysctl hw.usb.debug=3D15". See if any errors appear. I tried that with the official FreeBSD driver for now (USB_DEBUG and ehci in the kernel). hw.usb.umass.debug=3D15 didn't show me any messages during the transfer, only when (dis)connecting the device. hw.usb.debug=3D15 dumped a lot of output. It's available here: http://www.gegenunendlich.de/stuff/messages_-_until_pullout.bz2 (Output before I pulled the stick out again) http://www.gegenunendlich.de/stuff/messages_-_after_pullout.diff (Output after pulling it out) I haven't tried the same with your driver, yet - would that bring more info? Regards, Stefan --zYM0uCDKw75PZbzx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iQGVAwUBQsKo6laRERsSueCzAQKj3wwAhheO29LA3RgRYPa4z3bhEh2F5ibU3vlu 2PlxXPuX7/goOxPNwZLGrPBj8CrXtvNvugHH3nEBmfj91iFEh7DSbss8qujLGSe3 BbwkoQBHtmR/ztF/Q3f7VqOCogPy69Cin5N+pa+/LWRNfnyCC4/JvB96irPh+8m0 VLTIO75OvD7YkKkaPcXdz6l21m174NsnJFg+Uvr2crcSpeQ8tbcXEHTJfclcGgCx Kt63kJbt4mWeKjLCjcOzrB1VDmpbMJusM0y7mqG2SuAcKGWSDCxF4hDIw3aGq4bY 2ef776Kf7M1m33HpZIfAgrHQ63XD6Bk1CQYgcWUr2pFuBgYmwA3ooFQYbOILRs/k pxzytBpTPy9+a0fybmsVOrMeQUxC8YydLDmnduqJjFp5rsoWsLS/kXmjvOaS6zH4 7B+fECxoK1oQsDlnYL11INgTM2PlNVat/oUlUKSb5lt006rAqrThcHHhBakbZ1AT CgA6HlgYXUUkMRh2srH6BgA4frnaNt6E =0b6F -----END PGP SIGNATURE----- --zYM0uCDKw75PZbzx-- From owner-freebsd-usb@FreeBSD.ORG Wed Jun 29 14:54:09 2005 Return-Path: X-Original-To: freebsd-usb@FreeBSD.org Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4440716A41C; Wed, 29 Jun 2005 14:54:09 +0000 (GMT) (envelope-from sw@gegenunendlich.de) Received: from mail.onlinefix.de (mail2-out.titan-networks.de [217.140.72.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id C97D343D48; Wed, 29 Jun 2005 14:54:08 +0000 (GMT) (envelope-from sw@gegenunendlich.de) Received: from kyuzo.dunkelkammer.void ([217.140.77.242]) (authenticated bits=0) by mail.onlinefix.de (8.12.3/8.12.3/Debian-7.1) with ESMTP id j5TEs6MO022054 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 29 Jun 2005 16:54:06 +0200 Received: by kyuzo.dunkelkammer.void (Postfix, from userid 1002) id 5BE883F58; Wed, 29 Jun 2005 16:54:05 +0200 (CEST) Date: Wed, 29 Jun 2005 16:54:05 +0200 From: Stefan Walter To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-usb@FreeBSD.org Message-ID: <20050629145405.GA867@kyuzo.dunkelkammer.void> References: <20050626091628.775DD3A1D@kyuzo.dunkelkammer.void> <200506260920.j5Q9KA3e029437@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline In-Reply-To: <200506260920.j5Q9KA3e029437@freefall.freebsd.org> Organization: Infinity Approximation Task Force X-PGP-key: http://www.gegenunendlich.de/swalter-rsa.asc X-PGP-fingerprint: 85D8 6A49 22C7 6CD9 B011 5D6A 5691 111B 12B9 E0B3 User-Agent: Mutt/1.5.9i Cc: Subject: Re: usb/82660: EHCI: I/O stuck in state 'physrd'/panic 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: Wed, 29 Jun 2005 14:54:09 -0000 --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Playing around with debug flags, I found out that I/O doesn't hang at all when I set hw.usb.ehci.debug=15. The transfer seems slower than it could be, though, and the machine becomes almost unresponsible until it's done (i.e. switching from one window to another in X or typing a command in an xterm takes a while). Stefan --gKMricLos+KVdGMg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iQGVAwUBQsK2DVaRERsSueCzAQIKWAwAnmlmhPh8so+wmQxoscx+/MpIV6xuTCBy +wQ3xsWKNdKazN/gFTZM6/uXzXkjsZTjcAJboJ1McBloZ+ZktSbBS4+TZR5AxWW+ VFfXQtfJI/KiNlUOM/FRJQCGV1qFV3Wu9Lgm0bfs09MdyLPXx0IPc+Fqyu0aAiEg msMTgF0QmMpIdmBLVOU/Gqult3Qu+9AOQ7ju342IqC/HwObaUueyFP65w7ds2ezK cxPiFLk4A2zGWcBfEhmfbLhGHEa+hpG23tMQQCsFiRcALFtH6ouSni9eLBczVOCb 2QIyIByz4ilHpT0tC94a0IWjwKeM7rak1XMkERxrKDC/8P2OJfRnzAjaOlAub7ID eOoRgCtebJcPqP6EDMYXACyrwVs0Gk9IWpytpE9t+4eDpBnhKJXTOvFoIEaVTP0W aBQ7SWgmSBucIp+wUb4TPdt9VmS+RpRC3cSZlbiQcoBViJgWmasH8wmqS1Hj9C8a kEM6FWbA62b2aYmADmveKf/4UkamyzMB =Icvr -----END PGP SIGNATURE----- --gKMricLos+KVdGMg-- From owner-freebsd-usb@FreeBSD.ORG Wed Jun 29 15:00:40 2005 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 427F916A41C for ; Wed, 29 Jun 2005 15:00:40 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 282F943D4C for ; Wed, 29 Jun 2005 15:00:40 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j5TF0djp054392 for ; Wed, 29 Jun 2005 15:00:39 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j5TF0duU054391; Wed, 29 Jun 2005 15:00:39 GMT (envelope-from gnats) Date: Wed, 29 Jun 2005 15:00:39 GMT Message-Id: <200506291500.j5TF0duU054391@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Stefan Walter Cc: Subject: Re: usb/82660: EHCI: I/O stuck in state 'physrd'/panic X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stefan Walter List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2005 15:00:40 -0000 The following reply was made to PR usb/82660; it has been noted by GNATS. From: Stefan Walter To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-usb@FreeBSD.org Cc: Hans Petter Selasky Subject: Re: usb/82660: EHCI: I/O stuck in state 'physrd'/panic Date: Wed, 29 Jun 2005 16:54:05 +0200 --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Playing around with debug flags, I found out that I/O doesn't hang at all when I set hw.usb.ehci.debug=15. The transfer seems slower than it could be, though, and the machine becomes almost unresponsible until it's done (i.e. switching from one window to another in X or typing a command in an xterm takes a while). Stefan --gKMricLos+KVdGMg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iQGVAwUBQsK2DVaRERsSueCzAQIKWAwAnmlmhPh8so+wmQxoscx+/MpIV6xuTCBy +wQ3xsWKNdKazN/gFTZM6/uXzXkjsZTjcAJboJ1McBloZ+ZktSbBS4+TZR5AxWW+ VFfXQtfJI/KiNlUOM/FRJQCGV1qFV3Wu9Lgm0bfs09MdyLPXx0IPc+Fqyu0aAiEg msMTgF0QmMpIdmBLVOU/Gqult3Qu+9AOQ7ju342IqC/HwObaUueyFP65w7ds2ezK cxPiFLk4A2zGWcBfEhmfbLhGHEa+hpG23tMQQCsFiRcALFtH6ouSni9eLBczVOCb 2QIyIByz4ilHpT0tC94a0IWjwKeM7rak1XMkERxrKDC/8P2OJfRnzAjaOlAub7ID eOoRgCtebJcPqP6EDMYXACyrwVs0Gk9IWpytpE9t+4eDpBnhKJXTOvFoIEaVTP0W aBQ7SWgmSBucIp+wUb4TPdt9VmS+RpRC3cSZlbiQcoBViJgWmasH8wmqS1Hj9C8a kEM6FWbA62b2aYmADmveKf/4UkamyzMB =Icvr -----END PGP SIGNATURE----- --gKMricLos+KVdGMg-- From owner-freebsd-usb@FreeBSD.ORG Thu Jun 30 12:07:26 2005 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC32A16A41C for ; Thu, 30 Jun 2005 12:07:26 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8246743D4C for ; Thu, 30 Jun 2005 12:07:26 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: gvlK0tOCzrqh9CPROFOFPw== Received: from mp-217-209-38.daxnet.no ([193.217.209.38] verified) by mailfe03.swip.net (CommuniGate Pro SMTP 4.3.4) with ESMTP id 213002183; Thu, 30 Jun 2005 14:07:24 +0200 From: Hans Petter Selasky To: Stefan Walter Date: Thu, 30 Jun 2005 14:08:18 +0200 User-Agent: KMail/1.7 References: <20050626091628.775DD3A1D@kyuzo.dunkelkammer.void> <200506291225.36375.hselasky@c2i.net> <20050629135802.GA976@kyuzo.dunkelkammer.void> In-Reply-To: <20050629135802.GA976@kyuzo.dunkelkammer.void> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506301408.20619.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: usb/82660: EHCI: I/O stuck in state 'physrd'/panic X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hselasky@c2i.net List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jun 2005 12:07:27 -0000 On Wednesday 29 June 2005 15:58, Stefan Walter wrote: > [Cc'd usb@, maybe someone else wants to comment on this, too.] > > Hans Petter Selasky, 29.06.05, 12:25h CEST: > > On Tuesday 28 June 2005 19:23, you wrote: > > > Hi, > > > > > > Hans Petter Selasky, 26.06.05, 14:15h CEST: > > > > I know there is bug related to the alignments of hardware structures > > > > in the existing EHCI driver. The EHCI driver works with generic intel > > > > chips, but not others. > > > > > > > > Could you have tried my USB driver and see if the problem is the > > > > same? > > > > > > I tried your driver today, but unfortunately the same thing happened: > > > I/O got stuck after reading a few KBytes. > > > > OK, then your problem is most likely inside /sys/dev/usb/umass.c. > > > > Try "sysctl hw.usb.umass.debug=15" while you have the my driver in the > > kernel, hence it has got debugging flags enabled by default. Else you > > need to add something like "option USB_DEBUG" to your kernel config file. > > I'm not sure if you can compile the modules with debugging support unless > > you use my USB driver. > > > > See if any errors show up. > > > > Then try "sysctl hw.usb.debug=15". See if any errors appear. > > I tried that with the official FreeBSD driver for now (USB_DEBUG and ehci > in the kernel). > > hw.usb.umass.debug=15 didn't show me any messages during the transfer, > only when (dis)connecting the device. hw.usb.debug=15 dumped a lot of > output. It's available here: Try "sysctl hw.usb.umass.debug=-1" while "hw.usb.debug=0". You should get some error messages, hence your logs show that transfers are failing: Jun 29 15:26:58 kyuzo kernel: usb_transfer_complete: pipe=0xc2068d00 xfer=0xc215a300 status=17 actlen=0 (STALL) This can indicate that EHCI got the data toggle wrong. Jun 29 15:28:43 kyuzo kernel: usb_transfer_complete: pipe=0xc2068d00 xfer=0xc215a300 status=15 actlen=0 (TIMEOUT) If you are loading umass as a module, you need to add #ifndef USB_DEBUG #define USB_DEBUG #endif before #ifdef USB_DEBUG in the file /sys/dev/usb/umass.c, and then recompile and install the module: make -C/sys/modules/umass depend all install clean You might also want to add: #undef DIF #define DIF(args...) after the ifdef/endif USB_DEBUG, to limit the debugging output, if there is too much dmsg. > > I haven't tried the same with your driver, yet - would that bring more > info? You will get something similar. --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Jun 30 16:28:30 2005 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD6B416A41C for ; Thu, 30 Jun 2005 16:28:30 +0000 (GMT) (envelope-from sw@gegenunendlich.de) Received: from mail.onlinefix.de (mail2-out.titan-networks.de [217.140.72.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4387F43D1F for ; Thu, 30 Jun 2005 16:28:29 +0000 (GMT) (envelope-from sw@gegenunendlich.de) Received: from kyuzo.dunkelkammer.void ([217.140.77.242]) (authenticated bits=0) by mail.onlinefix.de (8.12.3/8.12.3/Debian-7.1) with ESMTP id j5UGSPMO002229 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 30 Jun 2005 18:28:26 +0200 Received: by kyuzo.dunkelkammer.void (Postfix, from userid 1002) id 47C9D39FB; Thu, 30 Jun 2005 18:28:24 +0200 (CEST) Date: Thu, 30 Jun 2005 18:28:23 +0200 From: Stefan Walter To: Hans Petter Selasky Message-ID: <20050630162823.GA817@kyuzo.dunkelkammer.void> References: <20050626091628.775DD3A1D@kyuzo.dunkelkammer.void> <200506291225.36375.hselasky@c2i.net> <20050629135802.GA976@kyuzo.dunkelkammer.void> <200506301408.20619.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UugvWAfsgieZRqgk" Content-Disposition: inline In-Reply-To: <200506301408.20619.hselasky@c2i.net> Organization: Infinity Approximation Task Force X-PGP-key: http://www.gegenunendlich.de/swalter-rsa.asc X-PGP-fingerprint: 85D8 6A49 22C7 6CD9 B011 5D6A 5691 111B 12B9 E0B3 User-Agent: Mutt/1.5.9i Cc: freebsd-usb@freebsd.org Subject: Re: usb/82660: EHCI: I/O stuck in state 'physrd'/panic 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: Thu, 30 Jun 2005 16:28:30 -0000 --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hans Petter Selasky, 30.06.05, 14:08h CEST: > > > Try "sysctl hw.usb.umass.debug=3D15" while you have the my driver in = the > > > kernel, hence it has got debugging flags enabled by default. Else you > > > need to add something like "option USB_DEBUG" to your kernel config f= ile. > > > I'm not sure if you can compile the modules with debugging support un= less > > > you use my USB driver. > > > > > > See if any errors show up. > > > > > > Then try "sysctl hw.usb.debug=3D15". See if any errors appear. > > > > I tried that with the official FreeBSD driver for now (USB_DEBUG and eh= ci > > in the kernel). > > > > hw.usb.umass.debug=3D15 didn't show me any messages during the transfer, > > only when (dis)connecting the device. hw.usb.debug=3D15 dumped a lot of > > output. It's available here: >=20 > Try "sysctl hw.usb.umass.debug=3D-1" while "hw.usb.debug=3D0". I did that. I don't know enough about the USB stuff to interpret the output myself, so here it is: http://www.gegenunendlich.de/stuff/umass-messages-until-pullout.bz2.=20 > If you are loading umass as a module, you need to add [...snip...] All USB stuff is compiled into the kernel. Regards, Stefan --UugvWAfsgieZRqgk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iQGVAwUBQsQdp1aRERsSueCzAQJQdAv9GPm69nuB5vtCuatGbtCSdaQZmf7FOqrh FM08yBJ0jcwmwPtIPnhUKucZeNyuKcduLjPjNEJWDW2NUmx5Lok+g1z4RHPGr360 wUmqdayycBDt7kFXdCAJBDfhTqwPrWXgJrl9t0Xx9n0IYq+e/Of91U0+VeO98cvn TVENwdk+h05WW3+nJGIofUMajamO9vhaYu4Y9HZASVV9qDY36qsRucohCrfrMd+r El0ZE6sU+hKzMVm17YK9vMna5Di3fzFb3RdKlWBcmBfeWApANQ16gTr8deqKxNel k5skk7VmYwtZa/A2KxuNcjQ71hNjyALANJLMJe+GudpqCmRD4lJM0gZuWEPwQNEU uPZ5MKwxJe7O3Vx3rM5cr2K4E2a/UKB19hApYtRASLzb21OQEn3ONJ0EUgThDFDZ UHbn41gGSLs7GCtmOtBPgxEoKo6ipPgQeJnHYwdKjV1ssF6UpqPJN7WkKsSj0WyN BHMAssFUUmw/sybYWPTAOofnsiQ/t3VX =qtVm -----END PGP SIGNATURE----- --UugvWAfsgieZRqgk-- From owner-freebsd-usb@FreeBSD.ORG Thu Jun 30 19:40:13 2005 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8727516A425 for ; Thu, 30 Jun 2005 19:40:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3CEC43D49 for ; Thu, 30 Jun 2005 19:40:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j5UJeCB3022389 for ; Thu, 30 Jun 2005 19:40:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j5UJeCTT022388; Thu, 30 Jun 2005 19:40:12 GMT (envelope-from gnats) Resent-Date: Thu, 30 Jun 2005 19:40:12 GMT Resent-Message-Id: <200506301940.j5UJeCTT022388@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, Mike Durian Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC1AB16A41C for ; Thu, 30 Jun 2005 19:35:52 +0000 (GMT) (envelope-from durian@boogie.com) Received: from shadetreesoftware.com (ip-64-139-19-166.dsl.den.megapath.net [64.139.19.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4689243D1D for ; Thu, 30 Jun 2005 19:35:52 +0000 (GMT) (envelope-from durian@boogie.com) Received: from mailhost.boogie.com (root@cpe-66-87-52-132.co.sprintbbd.net [66.87.52.132]) by shadetreesoftware.com (8.13.3/8.13.3) with ESMTP id j5UJZmRN005225 for ; Thu, 30 Jun 2005 13:35:49 -0600 (MDT) (envelope-from durian@boogie.com) Received: from boogie.com (man.boogie.com [192.168.1.3]) by mailhost.boogie.com (8.13.3/8.13.3) with ESMTP id j5UJZmcT086628 for ; Thu, 30 Jun 2005 13:35:48 -0600 (MDT) (envelope-from durian@fever.boogie.com) Received: from man.boogie.com (localhost [127.0.0.1]) by boogie.com (8.13.3/8.13.3) with ESMTP id j5UJZgmW023429 for ; Thu, 30 Jun 2005 13:35:42 -0600 (MDT) (envelope-from durian@man.boogie.com) Received: (from durian@localhost) by man.boogie.com (8.13.3/8.13.1/Submit) id j5UJZfbO023428; Thu, 30 Jun 2005 13:35:41 -0600 (MDT) (envelope-from durian) Message-Id: <200506301935.j5UJZfbO023428@man.boogie.com> Date: Thu, 30 Jun 2005 13:35:41 -0600 (MDT) From: Mike Durian To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: usb/82839: Patch to add support for Aceeca Mez1000 device to uvisor.c X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mike Durian List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jun 2005 19:40:13 -0000 >Number: 82839 >Category: usb >Synopsis: Patch to add support for Aceeca Mez1000 device to uvisor.c >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jun 30 19:40:12 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Mike Durian >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD man.boogie.com 5.4-STABLE FreeBSD 5.4-STABLE #22: Wed May 18 22:47:08 MDT 2005 root@man.boogie.com:/disk2/obj/disk2/src/sys/BOOGIE i386 >Description: The patch below adds support to uvisor.c for the Aceeca Mez1000 "Rugged Digital Assistant" - marketing speak for an industrial PDA. >How-To-Repeat: N/A >Fix: --- usbdevs.orig Thu Jun 30 13:10:33 2005 +++ usbdevs Thu Jun 30 13:12:32 2005 @@ -377,6 +377,7 @@ vendor VIDZMEDIA 0x3275 VidzMedia Pte Ltd vendor DAISY 0x3579 Daisy Technology vendor DELL 0x413c Dell +vendor ACEECA 0x4766 Aceeca vendor SITECOM 0x6189 Sitecom vendor INTEL 0x8086 Intel vendor HP2 0xf003 Hewlett Packard @@ -415,6 +416,9 @@ /* Accton products */ product ACCTON USB320_EC 0x1046 USB320-EC Ethernet Adapter product ACCTON SS1001 0x5046 SpeedStream Ethernet Adapter + +/* Aceeca products */ +product ACEECA MEZ1000 0x0001 Aceeca Mez1000 RDA /* Acer Peripherals, Inc. products */ product ACERP ACERSCAN_C310U 0x12a6 Acerscan C310U --- uvisor.c.orig Thu Jun 30 13:08:07 2005 +++ uvisor.c Thu Jun 30 13:14:35 2005 @@ -209,6 +209,7 @@ #define PALM4 0x0001 }; static const struct uvisor_type uvisor_devs[] = { + {{ USB_VENDOR_ACEECA, USB_PRODUCT_ACEECA_MEZ1000 }, PALM4 }, {{ USB_VENDOR_HANDSPRING, USB_PRODUCT_HANDSPRING_VISOR }, 0 }, {{ USB_VENDOR_HANDSPRING, USB_PRODUCT_HANDSPRING_TREO }, PALM4 }, {{ USB_VENDOR_HANDSPRING, USB_PRODUCT_HANDSPRING_TREO600 }, PALM4 }, >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Fri Jul 1 06:53:20 2005 Return-Path: X-Original-To: usb@freebsd.org Delivered-To: freebsd-usb@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8634B16A41C; Fri, 1 Jul 2005 06:53:20 +0000 (GMT) (envelope-from wsk@gddsn.org.cn) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id C93D043D48; Fri, 1 Jul 2005 06:53:16 +0000 (GMT) (envelope-from wsk@gddsn.org.cn) Received: from [192.168.168.138] (unknown [192.168.168.138]) by gddsn.org.cn (Postfix) with ESMTP id 541B038CB4B; Fri, 1 Jul 2005 14:53:13 +0800 (CST) Message-ID: <42C4E84C.2070905@gddsn.org.cn> Date: Fri, 01 Jul 2005 14:53:00 +0800 From: wsk User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; zh-CN; rv:1.7.6) Gecko/20050326 X-Accept-Language: zh-cn,zh MIME-Version: 1.0 To: current@freebsd.org, usb@freebsd.org Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 7bit Cc: Subject: ipod photo can't attach to SCSI device help 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, 01 Jul 2005 06:53:20 -0000 hi lists: while connected my ipod photo to USB2.0 ports under CURRENT, the SCSI device couldn't attached ?? hereis the dmesg: umass0: Apple iPod, rev 2.00/0.01, addr 3 and camcontrol devlist -v list: wsk# camcontrol devlist -v scbus0 on umass-sim0 bus 0: scbus-1 on xpt0 bus 0: < > at scbus-1 target -1 lun -1 (xpt0) thanks in advance From owner-freebsd-usb@FreeBSD.ORG Fri Jul 1 10:09:31 2005 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 779CD16A41C for ; Fri, 1 Jul 2005 10:09:31 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id F24DD43D1D for ; Fri, 1 Jul 2005 10:09:30 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: gvlK0tOCzrqh9CPROFOFPw== Received: from mp-217-201-198.daxnet.no ([193.217.201.198] verified) by mailfe04.swip.net (CommuniGate Pro SMTP 4.3.4) with ESMTP id 411117043; Fri, 01 Jul 2005 12:09:28 +0200 From: Hans Petter Selasky To: Stefan Walter Date: Fri, 1 Jul 2005 12:10:22 +0200 User-Agent: KMail/1.7 References: <20050626091628.775DD3A1D@kyuzo.dunkelkammer.void> <200506301408.20619.hselasky@c2i.net> <20050630162823.GA817@kyuzo.dunkelkammer.void> In-Reply-To: <20050630162823.GA817@kyuzo.dunkelkammer.void> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507011210.25250.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: usb/82660: EHCI: I/O stuck in state 'physrd'/panic X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hselasky@c2i.net List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jul 2005 10:09:31 -0000 On Thursday 30 June 2005 18:28, Stefan Walter wrote: > Hans Petter Selasky, 30.06.05, 14:08h CEST: > > > > Try "sysctl hw.usb.umass.debug=15" while you have the my driver in > > > > the kernel, hence it has got debugging flags enabled by default. Else > > > > you need to add something like "option USB_DEBUG" to your kernel > > > > config file. I'm not sure if you can compile the modules with > > > > debugging support unless you use my USB driver. > > > > > > > > See if any errors show up. > > > > > > > > Then try "sysctl hw.usb.debug=15". See if any errors appear. > > > > > > I tried that with the official FreeBSD driver for now (USB_DEBUG and > > > ehci in the kernel). > > > > > > hw.usb.umass.debug=15 didn't show me any messages during the transfer, > > > only when (dis)connecting the device. hw.usb.debug=15 dumped a lot of > > > output. It's available here: > > > > Try "sysctl hw.usb.umass.debug=-1" while "hw.usb.debug=0". > > I did that. I don't know enough about the USB stuff to interpret the > output myself, so here it is: > http://www.gegenunendlich.de/stuff/umass-messages-until-pullout.bz2. > Could you try to reproduce the error while logging? --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Jul 1 11:27:45 2005 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A844B16A41C for ; Fri, 1 Jul 2005 11:27:45 +0000 (GMT) (envelope-from sw@gegenunendlich.de) Received: from mail.onlinefix.de (mail2-out.titan-networks.de [217.140.72.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3554B43D1D for ; Fri, 1 Jul 2005 11:27:44 +0000 (GMT) (envelope-from sw@gegenunendlich.de) Received: from kyuzo.dunkelkammer.void ([217.140.77.242]) (authenticated bits=0) by mail.onlinefix.de (8.12.3/8.12.3/Debian-7.1) with ESMTP id j61BReMO002411 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 1 Jul 2005 13:27:41 +0200 Received: by kyuzo.dunkelkammer.void (Postfix, from userid 1002) id BF3173A5B; Fri, 1 Jul 2005 13:27:39 +0200 (CEST) Date: Fri, 1 Jul 2005 13:27:39 +0200 From: Stefan Walter To: Hans Petter Selasky Message-ID: <20050701112739.GA1796@kyuzo.dunkelkammer.void> References: <20050626091628.775DD3A1D@kyuzo.dunkelkammer.void> <200506301408.20619.hselasky@c2i.net> <20050630162823.GA817@kyuzo.dunkelkammer.void> <200507011210.25250.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline In-Reply-To: <200507011210.25250.hselasky@c2i.net> Organization: Infinity Approximation Task Force X-PGP-key: http://www.gegenunendlich.de/swalter-rsa.asc X-PGP-fingerprint: 85D8 6A49 22C7 6CD9 B011 5D6A 5691 111B 12B9 E0B3 User-Agent: Mutt/1.5.9i Cc: freebsd-usb@freebsd.org Subject: Re: usb/82660: EHCI: I/O stuck in state 'physrd'/panic 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, 01 Jul 2005 11:27:45 -0000 --AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hans Petter Selasky, 01.07.05, 12:10h CEST: > On Thursday 30 June 2005 18:28, Stefan Walter wrote: > > Hans Petter Selasky, 30.06.05, 14:08h CEST: > > > > > Try "sysctl hw.usb.umass.debug=3D15" while you have the my driver= in > > > > > the kernel, hence it has got debugging flags enabled by default. = Else > > > > > you need to add something like "option USB_DEBUG" to your kernel > > > > > config file. I'm not sure if you can compile the modules with > > > > > debugging support unless you use my USB driver. > > > > > > > > > > See if any errors show up. > > > > > > > > > > Then try "sysctl hw.usb.debug=3D15". See if any errors appear. > > > > > > > > I tried that with the official FreeBSD driver for now (USB_DEBUG and > > > > ehci in the kernel). > > > > > > > > hw.usb.umass.debug=3D15 didn't show me any messages during the tran= sfer, > > > > only when (dis)connecting the device. hw.usb.debug=3D15 dumped a lo= t of > > > > output. It's available here: > > > > > > Try "sysctl hw.usb.umass.debug=3D-1" while "hw.usb.debug=3D0". > > > > I did that. I don't know enough about the USB stuff to interpret the > > output myself, so here it is: > > http://www.gegenunendlich.de/stuff/umass-messages-until-pullout.bz2. > > >=20 > Could you try to reproduce the error while logging? Well, that *is* the output from the exact same situation as before: I plugged in the USB stick and tried to copy a file to the hard disk with mcopy; the mcopy process eventually stalled. The output is the tail of /var/log/messages at that point of time, including all USB debug messages. When I pulled the stick out afterwards, the console only showed the same message again and again, seemingly in an endless loop: umass0: CAM poll I had to reset the machine. I didn't do anything different except setting hw.usb.umass.debug=3D-1. I'll retry the same thing once more later. If anything's different, then, I'll let you know. Stefan --AhhlLboLdkugWU4S Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iQGVAwUBQsUoq1aRERsSueCzAQKHGQwAsjQcwVi/m/vhBOxSlHEMW8PPMB4Nvqef kEy25Ui2tr+hrK6dXaO9ZLa01Np1U2Wf1uykM54MpASMyNW1DARGw/uZ0WH9Lu5J FWTLT5asscsPjqJBlZAPOinm5AFt1t4PCy42jdOGAQifIVn96XR+lsXmseyIrav0 0gheK+NC7d17Wk2/ZZ1SSotr6Y6ibxi9U0pCQkL69bHIWxLYHQhhUy6DwMz2qRMT qVwgJ/Hb++UmbCxXdxRtpzOAyGO3XwHn3uHTIwrzGqrf/Rd0sJl3UR+CtpMQqX40 txhgr1vYSh7BeqRmMOcQBDhTzFwAoJwGr0BjydJYWlb4mA1Zim3v/dHwNlWIJKl8 +CbIvAmMKlo5noe4yMq9vrC/b0WW2lQWGnvdrNYM2o0Hk2hfBm5QG40g5yrrh1uW RjewFCQ102aW2LVHEXPhES4ARyD+GF2KwF3zYOVV+OuqPucO3hz+m6cjlr3gECGP DXrbzlsAvA+CjHIjwyXdtxFo9a7vqCFS =PO8f -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S-- From owner-freebsd-usb@FreeBSD.ORG Fri Jul 1 11:42:21 2005 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B2AA16A41C for ; Fri, 1 Jul 2005 11:42:21 +0000 (GMT) (envelope-from sw@gegenunendlich.de) Received: from mail.onlinefix.de (mail2-out.titan-networks.de [217.140.72.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C63E43D48 for ; Fri, 1 Jul 2005 11:42:20 +0000 (GMT) (envelope-from sw@gegenunendlich.de) Received: from kyuzo.dunkelkammer.void ([217.140.77.242]) (authenticated bits=0) by mail.onlinefix.de (8.12.3/8.12.3/Debian-7.1) with ESMTP id j61Bg8MO006808 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 1 Jul 2005 13:42:09 +0200 Received: by kyuzo.dunkelkammer.void (Postfix, from userid 1002) id AF26239FB; Fri, 1 Jul 2005 13:42:07 +0200 (CEST) Date: Fri, 1 Jul 2005 13:42:07 +0200 From: Stefan Walter To: Hans Petter Selasky Message-ID: <20050701114207.GA826@kyuzo.dunkelkammer.void> References: <20050626091628.775DD3A1D@kyuzo.dunkelkammer.void> <200506301408.20619.hselasky@c2i.net> <20050630162823.GA817@kyuzo.dunkelkammer.void> <200507011210.25250.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3V7upXqbjpZ4EhLz" Content-Disposition: inline In-Reply-To: <200507011210.25250.hselasky@c2i.net> Organization: Infinity Approximation Task Force X-PGP-key: http://www.gegenunendlich.de/swalter-rsa.asc X-PGP-fingerprint: 85D8 6A49 22C7 6CD9 B011 5D6A 5691 111B 12B9 E0B3 User-Agent: Mutt/1.5.9i Cc: freebsd-usb@freebsd.org Subject: Re: usb/82660: EHCI: I/O stuck in state 'physrd'/panic 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, 01 Jul 2005 11:42:21 -0000 --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hans Petter Selasky, 01.07.05, 12:10h CEST: > Could you try to reproduce the error while logging? OK, seems like it did behave differently this time - after I pulled out, I didn't get the "umass0: CAM poll" messages. This time's output is here (again, the mtools process got stuck in state 'physrd'): http://www.gegenunendlich.de/stuff/messages-umass-until-pullout.bz2 http://www.gegenunendlich.de/stuff/messages-umass-after-pullout.diff Sorry, I don't know what went wrong the first time. Stefan --3V7upXqbjpZ4EhLz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iQGVAwUBQsUsD1aRERsSueCzAQLU4wv9Gs8z5cQOwxZAXuiIRjJ2rl62uXp9vpJf 0Sws5jsY/8egAxZWvS+r3ELCGzm/+Vjc5nijPJNwXxIn4v8H+V8cPgKBQp8xdLRQ /jPLJdskIPllw5XQh1R6UL2wI2hG9iu3yDpmm89NSC29YfrD6XPAduhJcZZdLApi ZQF+cm0yDTYaUKjjGf/T09OlWUKQFFqG7u4+Ja49BCA3wseqNBhjHyMiT8GEkvTU rRyJOmdBaBIHdPU6cCgwr4ybyEEEFik3QDm4UEDqqm9Yufw2BdTUFhIvJM+tlrIi 1MYmWZau6uc/slbUeZnTyOQXUOHo0rpCHS64IBhv50nYhkM2wbWaQ+35gLsKZKrR Eb6gLB30GcxziETaPe9+224YaK9bP1aVi6obc9uCNuIg3xtK6JrlNXHaDH6igLOO SSJ8LeQQrZ3rV1tcc5s/iBsbAo8SHYdcsgS478Zq9hQUTje/6N/E/6kOVUZGVeIL 8kh2NkO3H53Rk9DAFheayb9zBkn0Ospj =kYcR -----END PGP SIGNATURE----- --3V7upXqbjpZ4EhLz-- From owner-freebsd-usb@FreeBSD.ORG Fri Jul 1 13:19:37 2005 Return-Path: X-Original-To: usb@freebsd.org Delivered-To: freebsd-usb@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B80F416A41C; Fri, 1 Jul 2005 13:19:37 +0000 (GMT) (envelope-from amf@hobbit.neveragain.de) Received: from hobbit.neveragain.de (neveragain.de [217.69.76.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F9A543D1D; Fri, 1 Jul 2005 13:19:36 +0000 (GMT) (envelope-from amf@hobbit.neveragain.de) Received: from hobbit.neveragain.de (amf@localhost [127.0.0.1]) by hobbit.neveragain.de (8.13.4/8.13.4/Debian-3) with ESMTP id j61DJYPt021449 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 1 Jul 2005 15:19:34 +0200 Received: (from amf@localhost) by hobbit.neveragain.de (8.13.4/8.13.4/Submit) id j61DJXmc021448; Fri, 1 Jul 2005 15:19:33 +0200 Date: Fri, 1 Jul 2005 15:19:33 +0200 From: Dennis Koegel To: wsk Message-ID: <20050701131933.GA15816@neveragain.de> References: <42C4E84C.2070905@gddsn.org.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42C4E84C.2070905@gddsn.org.cn> X-PGP-KeyID: 0D73E19A User-Agent: Mutt/1.5.9i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.4 (hobbit.neveragain.de [127.0.0.1]); Fri, 01 Jul 2005 15:19:34 +0200 (CEST) Cc: usb@freebsd.org, current@freebsd.org Subject: Re: ipod photo can't attach to SCSI device help 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, 01 Jul 2005 13:19:37 -0000 On Fri, Jul 01, 2005 at 02:53:00PM +0800, wsk wrote: > while connected my ipod photo to USB2.0 ports under CURRENT, > the SCSI device couldn't attached ?? > hereis the dmesg: > umass0: Apple iPod, rev 2.00/0.01, addr 3 > and camcontrol devlist -v list: > wsk# camcontrol devlist -v > scbus0 on umass-sim0 bus 0: > scbus-1 on xpt0 bus 0: > < > at scbus-1 target -1 lun -1 (xpt0) In case some more information is helpful: I have the same problem here on a ThinkPad X31, on RELENG_5 as well as on CURRENT. The kernel recognizes the umass device but doesn't create or mention any scsi-da device. Scheduler, Preemption and ACPI don't seem to matter. When running camcontrol rescan, it just hangs. What's most interesting: After detaching the device, the machine often simply reboots. Sometimes immediately, sometimes after a short while (delays from just some seconds up to about a minute seen so far). In some cases of luck, detaching and re-attaching the cable several times makes the kernel recognize the da device and it works fine! Maybe it's some weird timing problem... The reboot happens in that case as well, though. - D. From owner-freebsd-usb@FreeBSD.ORG Fri Jul 1 13:58:24 2005 Return-Path: X-Original-To: usb@freebsd.org Delivered-To: freebsd-usb@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20DAF16A41C; Fri, 1 Jul 2005 13:58:24 +0000 (GMT) (envelope-from thierry@herbelot.com) Received: from postfix3-1.free.fr (postfix3-1.free.fr [213.228.0.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id C325343D69; Fri, 1 Jul 2005 13:58:21 +0000 (GMT) (envelope-from thierry@herbelot.com) Received: from herbelot.dyndns.org (bne75-4-82-227-159-103.fbx.proxad.net [82.227.159.103]) by postfix3-1.free.fr (Postfix) with ESMTP id E97B1173482; Fri, 1 Jul 2005 15:58:19 +0200 (CEST) Received: from diversion.herbelot.nom (diversion.herbelot.nom [192.168.2.6]) by herbelot.dyndns.org (8.13.3/8.13.3) with ESMTP id j61DuWS2008242; Fri, 1 Jul 2005 15:56:36 +0200 (CEST) From: Thierry Herbelot To: freebsd-current@freebsd.org Date: Fri, 1 Jul 2005 15:56:27 +0200 User-Agent: KMail/1.8.1 References: <42C4E84C.2070905@gddsn.org.cn> <20050701131933.GA15816@neveragain.de> In-Reply-To: <20050701131933.GA15816@neveragain.de> X-Warning: Windows can lose your files X-Op-Sys: Le FriBi de la mort qui tue X-Org: TfH&Co X-MailScanner: Found to be clean MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200507011556.30163.thierry@herbelot.com> Cc: usb@freebsd.org, Dennis Koegel , current@freebsd.org, wsk Subject: Re: ipod photo can't attach to SCSI device help X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: thierry@herbelot.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jul 2005 13:58:24 -0000 Le Friday 1 July 2005 15:19, Dennis Koegel a écrit : > On Fri, Jul 01, 2005 at 02:53:00PM +0800, wsk wrote: > > while connected my ipod photo to USB2.0 ports under CURRENT, > > the SCSI device couldn't attached ?? > > hereis the dmesg: > > umass0: Apple iPod, rev 2.00/0.01, addr 3 > > and camcontrol devlist -v list: > > wsk# camcontrol devlist -v > > scbus0 on umass-sim0 bus 0: > > scbus-1 on xpt0 bus 0: > > < > at scbus-1 target -1 lun -1 (xpt0) > Me too I also tried to use an iPod with various machines (running under REL-4 / REL-5 or -Current) with no success. As a work around, I have bought a firewire cable (around $20), and this combination works very fine (iPod correctly detected, and GTKPod runs as expected). TfH From owner-freebsd-usb@FreeBSD.ORG Sat Jul 2 11:11:19 2005 Return-Path: X-Original-To: usb@freebsd.org Delivered-To: freebsd-usb@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1103B16A41C; Sat, 2 Jul 2005 11:11:19 +0000 (GMT) (envelope-from morganw@chemikals.org) Received: from ms-smtp-02-eri0.southeast.rr.com (ms-smtp-02-lbl.southeast.rr.com [24.25.9.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE02543D1D; Sat, 2 Jul 2005 11:11:18 +0000 (GMT) (envelope-from morganw@chemikals.org) Received: from volatile.chemikals.org (cpe-024-211-118-154.sc.res.rr.com [24.211.118.154]) by ms-smtp-02-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id j62BBDl8028815; Sat, 2 Jul 2005 07:11:14 -0400 (EDT) Received: from volatile.chemikals.org (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.13.3/8.13.3) with ESMTP id j62BB74H050393; Sat, 2 Jul 2005 07:11:07 -0400 (EDT) (envelope-from morganw@chemikals.org) Received: from localhost (morganw@localhost) by volatile.chemikals.org (8.13.3/8.13.3/Submit) with ESMTP id j62BAwNe050380; Sat, 2 Jul 2005 07:10:59 -0400 (EDT) (envelope-from morganw@chemikals.org) X-Authentication-Warning: volatile.chemikals.org: morganw owned process doing -bs Date: Sat, 2 Jul 2005 07:10:56 -0400 (EDT) From: Wesley Morgan To: Dennis Koegel In-Reply-To: <20050701131933.GA15816@neveragain.de> Message-ID: <20050702070945.W16797@volatile.chemikals.org> References: <42C4E84C.2070905@gddsn.org.cn> <20050701131933.GA15816@neveragain.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Symantec AntiVirus Scan Engine Cc: usb@freebsd.org, current@freebsd.org, wsk Subject: Re: ipod photo can't attach to SCSI device help 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, 02 Jul 2005 11:11:19 -0000 On Fri, 1 Jul 2005, Dennis Koegel wrote: > On Fri, Jul 01, 2005 at 02:53:00PM +0800, wsk wrote: >> while connected my ipod photo to USB2.0 ports under CURRENT, >> the SCSI device couldn't attached ?? >> hereis the dmesg: >> umass0: Apple iPod, rev 2.00/0.01, addr 3 >> and camcontrol devlist -v list: >> wsk# camcontrol devlist -v >> scbus0 on umass-sim0 bus 0: >> scbus-1 on xpt0 bus 0: >> < > at scbus-1 target -1 lun -1 (xpt0) > > In case some more information is helpful: I have the same problem here > on a ThinkPad X31, on RELENG_5 as well as on CURRENT. The kernel > recognizes the umass device but doesn't create or mention any scsi-da > device. > > Scheduler, Preemption and ACPI don't seem to matter. > > When running camcontrol rescan, it just hangs. > > What's most interesting: After detaching the device, the machine often > simply reboots. Sometimes immediately, sometimes after a short while > (delays from just some seconds up to about a minute seen so far). > > In some cases of luck, detaching and re-attaching the cable several > times makes the kernel recognize the da device and it works fine! Maybe > it's some weird timing problem... The reboot happens in that case as > well, though. Do you have GEOM_MBR and GEOM_LABEL in your kernel? -- Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread! From owner-freebsd-usb@FreeBSD.ORG Sat Jul 2 13:53:01 2005 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48BDB16A41C for ; Sat, 2 Jul 2005 13:53:01 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe09.swip.net [212.247.155.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id D780D43D1F for ; Sat, 2 Jul 2005 13:53:00 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: gvlK0tOCzrqh9CPROFOFPw== Received: from 217-231-18.511210.adsl.tele2.no ([193.217.231.18] verified) by mailfe09.swip.net (CommuniGate Pro SMTP 4.3.4) with ESMTP id 193107979; Sat, 02 Jul 2005 15:52:58 +0200 From: Hans Petter Selasky To: Stefan Walter Date: Sat, 2 Jul 2005 15:53:47 +0200 User-Agent: KMail/1.7 References: <20050626091628.775DD3A1D@kyuzo.dunkelkammer.void> <200507011210.25250.hselasky@c2i.net> <20050701114207.GA826@kyuzo.dunkelkammer.void> In-Reply-To: <20050701114207.GA826@kyuzo.dunkelkammer.void> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507021553.49043.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: usb/82660: EHCI: I/O stuck in state 'physrd'/panic X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hselasky@c2i.net List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jul 2005 13:53:01 -0000 On Friday 01 July 2005 13:42, Stefan Walter wrote: > Hans Petter Selasky, 01.07.05, 12:10h CEST: > > Could you try to reproduce the error while logging? > > OK, seems like it did behave differently this time - after I pulled out, I > didn't get the "umass0: CAM poll" messages. This time's output is here > (again, the mtools process got stuck in state 'physrd'): > > http://www.gegenunendlich.de/stuff/messages-umass-until-pullout.bz2 > http://www.gegenunendlich.de/stuff/messages-umass-after-pullout.diff The end of the log is just before you pulled out your device, when the error happened, right? I'm not sure what is wrong. From what I can see the problem is in an upper layer, hence UMASS's USB transfers should timeout at least, if they get stuck. While having [umass] debugging enabled, could you have tried playing around with "camcontrol" and see if it changes anything: man camcontrol camcontrol devlist camcontrol reset scbus0:0:0 # replace "0:0" with "target" and "lun" for the device you are reading from Could you have tried another brand of USB 2.0 flash disks and see if the problem is the same? --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Jul 2 13:57:50 2005 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B251A16A41C for ; Sat, 2 Jul 2005 13:57:50 +0000 (GMT) (envelope-from chu@h33.erkki.ton.tut.fi) Received: from h33.erkki.ton.tut.fi (h33.erkki.ton.tut.fi [193.166.84.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05E1B43D48 for ; Sat, 2 Jul 2005 13:57:49 +0000 (GMT) (envelope-from chu@h33.erkki.ton.tut.fi) Received: from [10.10.1.4] (helo=localhost) by h33.erkki.ton.tut.fi with esmtp (Exim 4.50 (FreeBSD)) id 1DoiT5-000JLm-Iz; Sat, 02 Jul 2005 16:55:39 +0300 Date: Sat, 02 Jul 2005 16:57:47 +0300 To: gphoto-devel@lists.sourceforge.net From: "Vladimir Chukharev" Organization: @home Content-Type: multipart/mixed; boundary=----------SdQRMp4LQVwPKdkne3iLU3 MIME-Version: 1.0 Message-ID: User-Agent: Opera M2/8.01 (FreeBSD, build 1204) Cc: freebsd-usb@freebsd.org Subject: usb degradation with FreeBSD 4 -> 5 upgrade 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, 02 Jul 2005 13:57:50 -0000 ------------SdQRMp4LQVwPKdkne3iLU3 Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, I have Cannon IXUS 400 digital camera. I use gtkam to load the photos from it to my computer under FreeBSD-4 Under FreeBSD 5.4-STABLE gtkam cannot make connection the camera. I have asked already in freebsd-usb@ list http://docs.freebsd.org/cgi/getmsg.cgi?fetch=2837+0+archive/2005/freebsd-usb/20050529.freebsd-usb but received no response. Now I found out a bit more information about the problem, namely I attach the output of the command env LANG=C gphoto2 --debug -l 2> gphoto.out1 I suspect that the problem is in the USB stack of FreeBSD -STABLE, but how to demonstrate this? What can I do to narrow possible reasons down? Best regards, -- V.Chukharev ------------SdQRMp4LQVwPKdkne3iLU3 Content-Disposition: attachment; filename=gphoto.out1 Content-Type: application/octet-stream; name=gphoto.out1 Content-Transfer-Encoding: Base64 MC4wMDAwMzggbWFpbigyKTogQUxXQVlTIElOQ0xVREUgVEhFIEZPTExPV0lORyBM SU5FUyBXSEVOIFNFTkRJTkcgREVCVUcgTUVTU0FHRVMgVE8gVEhFIE1BSUxJTkcg TElTVDoKMC4wMDAxOTggbWFpbigyKTogZ3Bob3RvMiAyLjEuNQowLjAwMDIxNC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G9ydCgyKTogQ2xv c2luZyBwb3J0Li4uCioqKiBFcnJvciAoLTEwMjogJ0NvcnJ1cHRlZCBkYXRhJykg KioqICAgICAgIAoKMC4wNjAyNDggZ3AtY2FtZXJhKDIpOiBGcmVlaW5nIGNhbWVy YS4uLgowLjA2MDI2MyBncGhvdG8yLXBvcnQoMik6IEZyZWVpbmcgcG9ydC4uLgow LjA2MDI3MiBncGhvdG8yLXBvcnQoMik6IENsb3NpbmcgcG9ydC4uLgowLjA2MDMz MSBsaWJncGhvdG8yL2dwaG90bzItZmlsZXN5cy5jKDIpOiBDbGVhcmluZyBmc2Nh Y2hlIExSVSBsaXN0Li4uCjAuMDYwMzQzIGxpYmdwaG90bzIvZ3Bob3RvMi1maWxl c3lzLmMoMik6IGZzY2FjaGUgTFJVIGxpc3QgYWxyZWFkeSBlbXB0eQowLjA2MDM1 MyBncGhvdG8yLWZpbGVzeXN0ZW0oMik6IEludGVybmFsbHkgZGVsZXRpbmcgYWxs IGZvbGRlcnMgZnJvbSAnLycuLi4K ------------SdQRMp4LQVwPKdkne3iLU3-- From owner-freebsd-usb@FreeBSD.ORG Sat Jul 2 14:36:07 2005 Return-Path: X-Original-To: usb@freebsd.org Delivered-To: freebsd-usb@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B80F716A41C; Sat, 2 Jul 2005 14:36:07 +0000 (GMT) (envelope-from randy@psg.com) Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id A074943D1F; Sat, 2 Jul 2005 14:36:05 +0000 (GMT) (envelope-from randy@psg.com) Received: from localhost ([127.0.0.1] helo=roam.psg.com) by rip.psg.com with esmtp (Exim 4.51 (FreeBSD)) id 1Doj65-000Bxw-Dg; Sat, 02 Jul 2005 14:35:57 +0000 Received: from [127.0.0.1] (helo=roam.psg.com.psg.com) by roam.psg.com with esmtp (Exim 4.51 (FreeBSD)) id 1Doj65-0009Q5-06; Sat, 02 Jul 2005 15:35:57 +0100 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17094.42572.292252.691098@roam.psg.com> Date: Sat, 2 Jul 2005 07:35:56 -0700 To: Dennis Koegel References: <42C4E84C.2070905@gddsn.org.cn> <20050701131933.GA15816@neveragain.de> Cc: usb@freebsd.org, current@freebsd.org, wsk Subject: Re: ipod photo can't attach to SCSI device help 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, 02 Jul 2005 14:36:07 -0000 > What's most interesting: After detaching the device, the machine often > simply reboots. Sometimes immediately, sometimes after a short while > (delays from just some seconds up to about a minute seen so far). this is likely a general usb problem. i get it with a number of devices. randy From owner-freebsd-usb@FreeBSD.ORG Sat Jul 2 17:19:03 2005 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BFC916A41C for ; Sat, 2 Jul 2005 17:19:03 +0000 (GMT) (envelope-from chu@h33.erkki.ton.tut.fi) Received: from h33.erkki.ton.tut.fi (h33.erkki.ton.tut.fi [193.166.84.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5F5943D48 for ; Sat, 2 Jul 2005 17:19:02 +0000 (GMT) (envelope-from chu@h33.erkki.ton.tut.fi) Received: from [10.10.1.4] (helo=localhost) by h33.erkki.ton.tut.fi with esmtp (Exim 4.50 (FreeBSD)) id 1Dolbn-000JSD-Sv; Sat, 02 Jul 2005 20:16:51 +0300 To: gphoto-devel@lists.sourceforge.net References: Message-ID: Date: Sat, 02 Jul 2005 20:19:01 +0300 From: "Vladimir Chukharev" Organization: @home Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Opera M2/8.01 (FreeBSD, build 1204) Cc: freebsd-usb@freebsd.org Subject: Re: usb degradation with FreeBSD 4 -> 5 upgrade 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, 02 Jul 2005 17:19:03 -0000 On Sat, 02 Jul 2005 16:57:47 +0300, Vladimir Chukharev wrote: > Hi, > > I have Cannon IXUS 400 digital camera. I use gtkam > to load the photos from it to my computer under FreeBSD-4 > Under FreeBSD 5.4-STABLE gtkam cannot make connection the camera. > I have asked already in freebsd-usb@ list > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=2837+0+archive/2005/freebsd-usb/20050529.freebsd-usb > but received no response. > > Now I found out a bit more information about the problem, > namely I attach the output of the command > env LANG=C gphoto2 --debug -l 2> gphoto.out1 > > I suspect that the problem is in the USB stack of FreeBSD -STABLE, > but how to demonstrate this? What can I do to narrow possible > reasons down? > > Best regards, It seems the attachment is not show on sorceforge. OK, I cut'n'paste it to the end of this message. -- V.Chukharev 0.000038 main(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST: 0.000198 main(2): gphoto2 2.1.5 0.000214 main(2): gphoto2 has been compiled with the following options: 0.000223 main(2): + cc (C compiler used) 0.000233 main(2): + popt (for handling command-line parameters) 0.000242 main(2): + exif (for displaying EXIF information) 0.000251 main(2): + no cdk (for accessing configuration options) 0.000260 main(2): + aa (for displaying live previews) 0.000269 main(2): + jpeg (for displaying live previews in JPEG format) 0.000278 main(2): + readline (for easy navigation in the shell) 0.000294 main(2): libgphoto2 2.1.5 0.000306 main(2): libgphoto2 has been compiled with the following options: 0.000315 main(2): + cc (C compiler used) 0.000325 main(2): + EXIF (for special handling of EXIF files) 0.000334 main(2): + no ltdl (working around buggy libltdl, eh? :-) 0.000343 main(2): + no /proc/meminfo (adapts cache size to memory available) 0.000358 main(2): libgphoto2_port 0.5.1 0.000370 main(2): libgphoto2_port has been compiled with the following options: 0.000379 main(2): + cc (C compiler used) 0.000388 main(2): + USB (for USB cameras) 0.000397 main(2): + serial (for serial cameras) 0.000406 main(2): + no resmgr (serial port access and locking) 0.000415 main(2): + no baudboy (serial port locking) 0.000424 main(2): + no ttylock (serial port locking) 0.000433 main(2): + no lockdev (serial port locking) 0.000442 main(2): + no ltdl (working around buggy libltdl, eh? :-) 0.000589 main(2): The user has not specified both a model and a port. Try to figure them out. 0.000623 gp-port-info-list(2): Loading io-drivers from '/usr/local/lib/gphoto2_port/0.5.1'... 0.001011 gphoto2-port-serial(2): Trying to lock '/dev/cuaa0'... 0.001084 gphoto2-port-serial(2): Trying to lock '/dev/cuaa1'... 0.001133 gphoto2-port-serial(2): Trying to lock '/dev/cuaa2'... 0.001154 gphoto2-port-serial(2): Trying to lock '/dev/cuaa3'... 0.001174 gphoto2-port-serial(2): Trying to lock '/dev/cuaa4'... 0.001193 gphoto2-port-serial(2): Trying to lock '/dev/cuaa5'... 0.001264 gphoto2-port-serial(2): Trying to lock '/dev/cuaa6'... 0.001284 gphoto2-port-serial(2): Trying to lock '/dev/cuaa7'... 0.001304 gphoto2-port-serial(2): Trying to lock '/dev/cuaa8'... 0.001324 gphoto2-port-serial(2): Trying to lock '/dev/cuaa9'... 0.001344 gphoto2-port-serial(2): Trying to lock '/dev/cuaaa'... 0.001364 gphoto2-port-serial(2): Trying to lock '/dev/cuaab'... 0.001384 gphoto2-port-serial(2): Trying to lock '/dev/cuaac'... 0.001404 gphoto2-port-serial(2): Trying to lock '/dev/cuaad'... 0.001423 gphoto2-port-serial(2): Trying to lock '/dev/cuaae'... 0.001443 gphoto2-port-serial(2): Trying to lock '/dev/cuaaf'... 0.001474 gphoto2-port-core(2): Loaded '' (^serial) from 'libgphoto2_port_serial.so' 0.015856 gphoto2-port-core(2): Loaded 'Universal Serial Bus' (usb:) from 'libgphoto2_port_usb.so' 0.016135 gphoto2-port-info-list(2): Counting entries (2 available)... 0.016162 gphoto2-port-info-list(2): 1 regular entries available. 0.016172 gphoto2-port(2): Creating new device... 0.016193 gphoto2-port-info-list(2): Getting info of entry 0 (2 available)... 0.029861 gphoto2-port(2): Setting timeout to 5000 millisecond(s)... 0.029909 gphoto2-port(2): Setting settings... 0.029922 gphoto2-abilities-list.c(1): Auto-detecting USB cameras... 0.029989 gphoto2-port(0): Could not find USB device (vendor 0x553, product 0x202). Make sure this device is connected to the computer. 0.030009 gphoto2-port(0): Could not find USB device (vendor 0x6bd, product 0x403). Make sure this device is connected to the computer. 0.030027 gphoto2-port(0): Could not find USB device (vendor 0x6bd, product 0x404). Make sure this device is connected to the computer. 0.030044 gphoto2-port(0): Could not find USB device (vendor 0x4fc, product 0x504b). Make sure this device is connected to the computer. 0.030062 gphoto2-port(0): Could not find USB device (vendor 0x553, product 0x202). Make sure this device is connected to the computer. 0.030079 gphoto2-port(0): Could not find USB device (vendor 0x4fc, product 0x504a). Make sure this device is connected to the computer. 0.030134 gphoto2-port(0): Could not find USB device (vendor 0x553, product 0x202). Make sure this device is connected to the computer. 0.030152 gphoto2-port(0): Could not find USB device (vendor 0x8ca, product 0x111). Make sure this device is connected to the computer. 0.030170 gphoto2-port(0): Could not find USB device (vendor 0x4fc, product 0x504a). Make sure this device is connected to the computer. 0.030188 gphoto2-port(0): Could not find USB device (vendor 0x4fc, product 0x504b). Make sure this device is connected to the computer. 0.030206 gphoto2-port(0): Could not find USB device (vendor 0x553, product 0x202). Make sure this device is connected to the computer. 0.030223 gphoto2-port(0): Could not find USB device (vendor 0x2770, product 0x9120). Make sure this device is connected to the computer. 0.030241 gphoto2-port(0): Could not find USB device (vendor 0x2770, product 0x913c). Make sure this device is connected to the computer. 0.030259 gphoto2-port(0): Could not find USB device (vendor 0x919, product 0x100). Make sure this device is connected to the computer. 0.030276 gphoto2-port(0): Could not find USB device (vendor 0x4a5, product 0x3003). Make sure this device is connected to the computer. 0.030294 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3047). Make sure this device is connected to the computer. 0.030312 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3072). Make sure this device is connected to the computer. 0.030329 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x304d). Make sure this device is connected to the computer. 0.030347 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x3066). Make sure this device is connected to the computer. 0.030364 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product 0x30bf). Make sure this device is connected to the computer. 0.030379 gphoto2-port-usb(1): Looking for USB device (vendor 0x4a9, product 0x3075)... found. 0.030397 gphoto2-abilities-list.c(2): Found 'Canon Digital IXUS 400' (0x4a9,0x3075) 0.030421 gphoto2-port(2): Freeing port... 0.030436 gphoto2-port(2): Closing port... 0.030564 gphoto2-camera(2): Setting abilities ('Canon Digital IXUS 400')... 0.030583 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto 0.030719 setting/gphoto2-setting.c(2): Loading settings from file "/home/chu/.gphoto/settings" 0.030783 gphoto2-setting(2): Setting key 'model' to value 'Canon Digital IXUS 400' (gphoto2) 0.030799 gphoto2-setting(2): Saving 4 setting(s) to file "/home/chu/.gphoto/settings" 0.030915 gp-port-info-list(2): Loading io-drivers from '/usr/local/lib/gphoto2_port/0.5.1'... 0.031102 gphoto2-port-serial(2): Trying to lock '/dev/cuaa0'... 0.031135 gphoto2-port-serial(2): Trying to lock '/dev/cuaa1'... 0.031170 gphoto2-port-serial(2): Trying to lock '/dev/cuaa2'... 0.031191 gphoto2-port-serial(2): Trying to lock '/dev/cuaa3'... 0.031211 gphoto2-port-serial(2): Trying to lock '/dev/cuaa4'... 0.031231 gphoto2-port-serial(2): Trying to lock '/dev/cuaa5'... 0.031251 gphoto2-port-serial(2): Trying to lock '/dev/cuaa6'... 0.031271 gphoto2-port-serial(2): Trying to lock '/dev/cuaa7'... 0.031291 gphoto2-port-serial(2): Trying to lock '/dev/cuaa8'... 0.031312 gphoto2-port-serial(2): Trying to lock '/dev/cuaa9'... 0.031331 gphoto2-port-serial(2): Trying to lock '/dev/cuaaa'... 0.031352 gphoto2-port-serial(2): Trying to lock '/dev/cuaab'... 0.031372 gphoto2-port-serial(2): Trying to lock '/dev/cuaac'... 0.031392 gphoto2-port-serial(2): Trying to lock '/dev/cuaad'... 0.031412 gphoto2-port-serial(2): Trying to lock '/dev/cuaae'... 0.031432 gphoto2-port-serial(2): Trying to lock '/dev/cuaaf'... 0.031459 gphoto2-port-core(2): Loaded '' (^serial) from 'libgphoto2_port_serial.so' 0.044670 gphoto2-port-core(2): Loaded 'Universal Serial Bus' (usb:) from 'libgphoto2_port_usb.so' 0.044727 gphoto2-port-info-list(2): Looking for path 'usb:' (2 entries available)... 0.044749 gphoto2-port-info-list(2): Getting info of entry 0 (2 available)... 0.044786 gphoto2-camera(2): Setting port info for port 'Universal Serial Bus' at 'usb:'... 0.058664 gphoto2-port(2): Setting timeout to 5000 millisecond(s)... 0.058683 gphoto2-port(2): Setting settings... 0.058694 gphoto2-setting(2): Setting key 'port' to value 'usb:' (gphoto2) 0.058708 gphoto2-setting(2): Saving 4 setting(s) to file "/home/chu/.gphoto/settings" 0.058830 foreach(2): Executing action 'List Folders' for folder '/'. 0.058939 gphoto2-camera(2): Listing folders in '/'... 0.058955 gphoto2-camera(2): Initializing camera... 0.058979 gphoto2-port-usb(1): Looking for USB device (vendor 0x4a9, product 0x3075)... found. 0.058991 gphoto2-camera(2): Loading '/usr/local/lib/gphoto2/2.1.5/libgphoto2_canon.so'... 0.059200 gphoto2-port(2): Opening USB port... 0.059264 canon/library.c(2): canon camera_init() 0.059304 canon/library.c(2): GPhoto tells us that we should use a USB link. 0.059320 canon/usb.c(2): Initializing the (USB) camera. 0.059338 gphoto2-port(2): Setting settings... 0.059371 canon/usb.c(2): canon_usb_camera_init() 0.059395 canon/usb.c(2): canon_usb_identify: USB ID match 0x04a9:0x3075 (model name "Canon:Digital IXUS 400") 0.059419 context(2): Detected a 'Canon:Digital IXUS 400'. Detected a 'Canon:Digital IXUS 400'. 0.059440 gphoto2-port(2): Reading message (request=0xc value=0x55 index=0x0 size=1=0x1)... 0.059471 context(0): Could not establish initial contact with camera *** Error *** Could not establish initial contact with camera 0.059498 gphoto2-port(2): Closing port... *** Error (-102: 'Corrupted data') *** 0.060248 gp-camera(2): Freeing camera... 0.060263 gphoto2-port(2): Freeing port... 0.060272 gphoto2-port(2): Closing port... 0.060331 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list... 0.060343 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty 0.060353 gphoto2-filesystem(2): Internally deleting all folders from '/'...