From owner-freebsd-usb@FreeBSD.ORG Sun Jan 25 10:39:18 2009 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 86AF6106566B for ; Sun, 25 Jan 2009 10:39:18 +0000 (UTC) (envelope-from lehmann@ans-netz.de) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [78.111.72.186]) by mx1.freebsd.org (Postfix) with SMTP id D0D1D8FC13 for ; Sun, 25 Jan 2009 10:39:17 +0000 (UTC) (envelope-from lehmann@ans-netz.de) Received: (qmail 71568 invoked by uid 89); 25 Jan 2009 10:12:34 -0000 Received: from unknown (HELO kartoffel.salatschuessel.net) (78.111.72.187) by avocado.salatschuessel.net with SMTP; 25 Jan 2009 10:12:34 -0000 Date: Sun, 25 Jan 2009 11:12:19 +0100 From: Oliver Lehmann To: freebsd-stable@freebsd.org Message-Id: <20090125111219.56ca189f.lehmann@ans-netz.de> X-Mailer: Sylpheed 2.6.0 (GTK+ 2.12.11; amd64-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: recently happend kernel panics regarding usb 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, 25 Jan 2009 10:39:19 -0000 Hi, I'm experiencing recently happend kernel panics while making bacula backups on my external USB harddisk. It first happened some days ago while I was running 6.4-PRERLEASE. I then updated to 6.4-STABLE and enabled all the kernel debugging stuff. I've uploaded "screenshots" (including backtrace) here: http://pics.pofo.de/gallery/v/misc/ I'm now not sure if the external USB-case, the PATA harddisk or the USB controler is dying - or if it is a FreeBSD problem. The USB case which I had before died after 1.5 years of usage without any notice from one day to another... maybe this one here is now dying too but with some noise? -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/ From owner-freebsd-usb@FreeBSD.ORG Sun Jan 25 16:30:03 2009 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 5F62E106564A for ; Sun, 25 Jan 2009 16:30:03 +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 4D7528FC08 for ; Sun, 25 Jan 2009 16:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0PGU33k045712 for ; Sun, 25 Jan 2009 16:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0PGU3Em045701; Sun, 25 Jan 2009 16:30:03 GMT (envelope-from gnats) Date: Sun, 25 Jan 2009 16:30:03 GMT Message-Id: <200901251630.n0PGU3Em045701@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Renato Botelho Cc: Subject: Re: usb/130024: [newusb] Sun Type 7 Unix keyboard doesn't work with usb2 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Renato Botelho List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2009 16:30:03 -0000 The following reply was made to PR usb/130024; it has been noted by GNATS. From: Renato Botelho To: Hans Petter Selasky Cc: bug-followup@freebsd.org, Nathan Whitehorn Subject: Re: usb/130024: [newusb] Sun Type 7 Unix keyboard doesn't work with usb2 Date: Sun, 25 Jan 2009 14:26:51 -0200 On Sat, Jan 24, 2009 at 11:48:48AM +0100, Hans Petter Selasky wrote: > Hi, > > This issue has been resolved. Patches are on its way to -current. If you want, i can test it here before you commit to -current, just let me know where i can get patches Thanks -- Renato Botelho GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc Promising costs nothing, it's the delivering that kills you. From owner-freebsd-usb@FreeBSD.ORG Sun Jan 25 16:40:05 2009 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 5EBA4106564A for ; Sun, 25 Jan 2009 16:40:05 +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 4D0E98FC0C for ; Sun, 25 Jan 2009 16:40:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0PGe5Yv054837 for ; Sun, 25 Jan 2009 16:40:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0PGe5jj054836; Sun, 25 Jan 2009 16:40:05 GMT (envelope-from gnats) Date: Sun, 25 Jan 2009 16:40:05 GMT Message-Id: <200901251640.n0PGe5jj054836@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/130024: [newusb] Sun Type 7 Unix keyboard doesn't work with usb2 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2009 16:40:05 -0000 The following reply was made to PR usb/130024; it has been noted by GNATS. From: Hans Petter Selasky To: Renato Botelho Cc: bug-followup@freebsd.org, Nathan Whitehorn Subject: Re: usb/130024: [newusb] Sun Type 7 Unix keyboard doesn't work with usb2 Date: Sun, 25 Jan 2009 17:39:44 +0100 On Sunday 25 January 2009, Renato Botelho wrote: > On Sat, Jan 24, 2009 at 11:48:48AM +0100, Hans Petter Selasky wrote: > > Hi, > > > > This issue has been resolved. Patches are on its way to -current. > > If you want, i can test it here before you commit to -current, just let me > know where i can get patches > > Thanks In /sys/dev/usb2/controller/uhci2.c Change the "if()" inside "uhci_set_hw_power()" to "if(1)". This is not the complete patch, but will show if my patch will work or not. --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Jan 26 11:07:05 2009 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 500961065670 for ; Mon, 26 Jan 2009 11:07:05 +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 373E38FC18 for ; Mon, 26 Jan 2009 11:07:05 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0QB75bu024434 for ; Mon, 26 Jan 2009 11:07:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0QB74gY024430 for freebsd-usb@FreeBSD.org; Mon, 26 Jan 2009 11:07:04 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 26 Jan 2009 11:07:04 GMT Message-Id: <200901261107.n0QB74gY024430@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 freebsd-usb@FreeBSD.org 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, 26 Jan 2009 11:07:09 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/130736 usb Page fault unplugging USB stick o usb/130325 usb [usb] [patch] fix tools/tools/usb/print-usb-if-vids.sh o usb/130230 usb Samsung Electronics YP-U3 does not attach in 7.1-RELEA o usb/130208 usb Boot process severely hampered by umass0 error o usb/130122 usb [newusb] DVD drive detects as 'da' device o usb/130066 usb [newusb] Serial adaptor use fail with 'unsupported spe o usb/130024 usb [newusb] Sun Type 7 Unix keyboard doesn't work with us o usb/129964 usb [newusb] disconnection of ugen devices isn't logged o bin/129963 usb [newusb] usbconfig(8) fails with misleading error when o docs/129962 usb [newusb] usbconfig(8) refers to non-existant usb2_core o usb/129945 usb [usbdevs] [patch] add u3g support for Longcheer WM66 U o usb/129766 usb [usb] plugging in usb modem HUAWEI E226 panics system o usb/129758 usb [uftdi] [patch] add Pyramid LCD usb support o usb/129673 usb [uhci] uhci (uhub) confused on replugging USB 1.1 scan o usb/129522 usb [ubsa] [patch] add support for ZTE AC8700 modem o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o usb/129311 usb [usb] [panic] Instant crash with an USB card reader o usb/129251 usb [usbdevs] [patch] Liebert UPS being assigned uhid and o usb/129173 usb [uplcom] [patch] Add support for Corega CG-USBRS232R a s usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa o usb/128977 usb [usb] [patch] uaudio is not full duplex o usb/128803 usb [usbdevs] [patch] Quirk for I-Tuner Networks USBLCD4X2 o usb/128590 usb [patch] [newusb] Updates to NOTES for new USB stack o usb/128485 usb [umodem] [patch] Nokia N80 modem support o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive f usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/128324 usb [uplcom] [patch] remove baud rate restriction for PL23 o usb/127980 usb [umass] [patch] Fix Samsung YP U2 MP3 player on 7.x an o usb/127926 usb [boot] USB Timeout during bootup o usb/127549 usb [umass] [patch] Meizu MiniPlayer M6 (SL) requires some s usb/127453 usb [request] ubsa, uark, ubser, uftdi, and friends should o usb/127423 usb [boot] BTX halted on Gigabyte GA-MA69VM-S2 / AMD Sempr o usb/127342 usb [boot] cannot enable usb keyboard and mouse support in o kern/127222 usb [ohci]: Regression in 7.0 usb storage generic driver o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c f usb/126848 usb [usb]: USB Keyboard hangs during Installation o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be o usb/126519 usb [usb] [panic] panic when plugging in an iphone o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device o usb/125736 usb [ukbd] [hang] system hangs after AT keyboard detect if o usb/125631 usb [ums] [panic] kernel panic during bootup while 'Logite o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d o usb/125450 usb [panic] Removing USB flash card while being accessed c o usb/125264 usb [patch] sysctl for set usb mouse rate (very useful for o usb/125238 usb [ums] Habu Mouse turns off in X o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U o usb/125072 usb [uplcom] [patch] add Mobile Action MA-620 Infrared Ada o usb/124980 usb [panic] kernel panic on detaching unmounted umass devi o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe o usb/124758 usb [rum] [panic] rum panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach o usb/124604 usb [ums] Microsoft combo wireless mouse doesn't work o usb/123969 usb [usb] Supermicro H8SMi-2 usb problem: port reset faile o usb/123714 usb [usb] [panic] Panic when hald-storage-probe runs with o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb [usb] [panic] Panic on USB device insertion when usb l o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o usb/123509 usb [umass] continuous reset Samsung SGH-G600 phone o usb/123352 usb [usbdevs] [patch] Add Option GTMAX3.6/7.2 and Quallcom o usb/123351 usb [usbdevs] [patch] Add Reiner SCT cyberJack, Omnikey [2 o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o usb/122956 usb [ubsa] [patch] add support for Novatel Wireless XU870 o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa o usb/122819 usb [usb] [patch] Patch to provide dynamic additions to th o usb/122813 usb [udbp] [request] udbp driver should be removed in favo o usb/122621 usb [patch] [request] New driver for Sierra Wireless 3G US o usb/122547 usb [ehci] USB Printer not being recognized after reboot o usb/122539 usb [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci o usb/122483 usb [panic] [ulpt] Repeatable panic in 7.0-STABLE o usb/122119 usb [umass] umass device causes creation of daX but not da o usb/122025 usb [uscanner] [patch] uscanner does not attach to Epson R o usb/121755 usb [ohci] [patch] Fix panic after ohci/uhub cardbus devic o usb/121734 usb [ugen] ugen HP1022 printer device not working since up o usb/121708 usb [keyboard] nforce 650i mobo w/ usb keyboard infinite k o usb/121474 usb [cam] [patch] QUIRK: SAMSUNG HM250JI in LaCie usb hard o usb/121426 usb [patch] [uscanner] add HP ScanJet 3570C o usb/121275 usb [boot] FreeBSD fails to boot with usb legacy support e o usb/121232 usb [usb] [panic] USB CardBus card removal causes reboot s p usb/121184 usb [uipaq] [patch] add ids from linux ipaq driver (plus a o usb/121169 usb [umass] Issues with usb mp3 player o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS o usb/120786 usb [usb] [panic] Kernel panic when forced umount of a det o usb/120729 usb [panic] fault while in kernel mode with connecting USB o usb/120572 usb [umass] [patch] quirk to support ASUS P535 as umass (a o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/120017 usb [ehci] [patch] CS5536 (AMD Geode) USB 2.0 quirk o usb/119981 usb [axe] [patch] add support for LOGITEC LAN-GTJ/U2 gigab o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression] o usb/119513 usb [irq] inserting dlink dwl-g630 wireless card results i o usb/119509 usb [usb] USB flaky on Dell Optiplex 755 o usb/119481 usb [hang] FreeBSD not responding after connecting USB-Mas o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/119201 usb [cam] [patch] Quirks for Olympus FE-210 camera, LG and o usb/118686 usb [usbdevs] [patch] teach usbdevs / ubsa(4) about Huawei o usb/118485 usb [usbdevs] [patch] Logitech Headset Workaround o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work o usb/117893 usb [umass] Lacie USB DVD writing failing o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o usb/117598 usb [uaudio] [patch] Not possible to record with Plantroni o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach o usb/117185 usb [umodem] [patch] Add support for UNION interface descr o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a o usb/116947 usb [ukbd] [patch] [regression] enable boot protocol on th o usb/116699 usb [usbhid] USB HID devices do not initialize at system b o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300 o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches o usb/115933 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/114682 usb [umass] generic USB media-card reader unusable o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker o usb/114068 usb [umass] [patch] Problems with connection of the umass o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff s usb/113977 usb [request] Need a way to set mode of USB disk's write c o usb/113672 usb [ehci] [panic] Kernel panic with AEWIN CB6971 s usb/113629 usb [ukbd] Dropped USB keyboard events on Dell Latitude D6 o usb/113432 usb [ucom] WARNING: attempt to net_add_domain(netgraph) af a usb/113060 usb [usbdevs] [patch] Samsung printer not working in bidir o usb/112944 usb [ulpt] [patch] Bi-directional access to HP LaserJet 10 o usb/112640 usb [usb] [hang] Kernel freezes when writing a file to an o usb/112631 usb [panic] Problem with SONY DSC-S80 camera on umount s usb/112568 usb [umass] [request] USB mode may wrong when mounting Pla o usb/112463 usb [umass] problem with Samsung USB DVD writer, libscg an o usb/112461 usb [ehci] [request] ehci USB 2.0 doesn't work on nforce4 o usb/111753 usb [uhid] [panic] Replicable system panic involving UHID s usb/110991 usb [usbdevs] [patch] QUIRK: Super Top IDE DEVICE (depends o usb/110988 usb [umass] [patch] Handling of quirk IGNORE_RESIDUE is um o usb/110856 usb [ugen] [patch] interrupt in msgs are truncated when bu o usb/110197 usb [umass] Sony PSP umass device does not detach from EHC o usb/109397 usb [panic] on boot from USB flash o usb/109274 usb [usb] MCP55 USB Controller fails to attach in AMD64 Cu o usb/108513 usb [umass] Creative MuVo TX FM fails in 6.2-RELEASE [regr s usb/108344 usb [panic] kernel with atausb panics when unplugging USB o usb/108056 usb [ohci] Mouse gets powered off during device probe when o usb/107935 usb [uplcom] [panic] panic while accessing /dev/cuaU0 o usb/107924 usb [patch] usbd(8) does not call detach o usb/107848 usb [umass] [request] cannot access Samsung flash disk o usb/107827 usb [ohci] [panic] ohci_add_done addr not found o usb/107496 usb [uhub] USB device problem on RELENG_6_2 (SHORT_XFER) [ o usb/107446 usb [umass] umass problems (usb and fw disks) o usb/107388 usb [patch] [request] new driver: add utoppy device from N o usb/107248 usb [umass] [patch] scsi_da.c quirk for Cowon iAUDIO X5 MP o usb/107243 usb [cam] [patch] Apacer USB Flash Drive quirk o usb/106861 usb [usbdevs] [patch]: usbdevs update: Add product ACER Ze s usb/106832 usb [usb] USB HP printer is not detected by kernel when AC o usb/106648 usb [umass] [hang] USB Floppy on D1950 10 min Hang on Inse o usb/106621 usb [axe] [patch] DLINK DUB-E100 support broken o usb/106615 usb [uftdi] uftdi module does not automatically load with o usb/106041 usb [usb] [request] FreeBSD does not recognise Mustek Bear o usb/105361 usb [panic] Kernel panic during unmounting mass storage (C o usb/105186 usb [ehci] [panic] USB 2.0/ehci on FreeBSD 6.2-PRE/AMD64 c o usb/105065 usb [ata] [usb] SATA - USB Bridge o usb/104830 usb [umass] system crashes when copying data to umass devi o usb/104645 usb [umass] [request] Rave C-201 MP3 player does not commu o usb/104352 usb [ural] [patch] ural driver doesnt work o usb/104292 usb [umass] [hang] system lockup on forced umount of usb-s o usb/104290 usb [umass] [patch] quirk: TOSHIBA DVD-RAM drive (libretto o usb/103917 usb [uhub] USB driver reports "Addr 0 should never happen" o usb/103418 usb usbhidctl(1): [patch] [request] usbhidctl: add ability o usb/103289 usb [request] USB 2.0 problems on AMD LX-800 CPU and CS-55 o usb/103046 usb [ulpt] [patch] ulpt event driven I/O with select(2) an o usb/103025 usb [uhub] [panic] wrong detection of USB device for FreeB o usb/102976 usb [panic] Casio Exilim Digital Camera causes panic on in o usb/102678 usb [keyboard] Dell PowerEdge DRAC5 USB Keyboard does not o usb/102066 usb [ukbd] usb keyboard and multimedia keys don't work o usb/101775 usb [libusbhid] [patch] possible error in report descripto o usb/101761 usb [usb] [patch] [request] usb.h: increase maximal size o o usb/101752 usb [umass] [panic] 6.1-RELEASE kernel panic on usb device o usb/101448 usb [ohci] FBSD 6.1-STABLE/AMD64 crashes under heavy USB/O o usb/101096 usb [ural] [panic] USB WLAN occasionally causes kernel-pan o usb/100746 usb [keyboard] system does not boot due to USB keyboard pr o usb/99538 usb [keyboard] while using USB keyboard default params of o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/97472 usb [cam] [patch] add support for Olympus C150,D390 s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2. o usb/97175 usb [umass] [hang] USB cardreader hangs system o usb/96457 usb [umass] [panic] fatback on umass = reboot o usb/96381 usb [cam] [patch] add a quirk table entry for a flash ram o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync s usb/96120 usb [ums] [request] USB mouse not always detected s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620 o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb s usb/95348 usb [keyboard] USB keyboard unplug causes noise on screen o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/93872 usb [cam] [patch] SCSI quirk required for ELTA 8061 OL USB o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion o usb/93408 usb [mouse] hw.acpi.cpu.cx_lowest=C3 on AMD Turion causes o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/93155 usb [ulpt] /dev/ulpt0: device busy, USB printer does not w o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg o usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91629 usb [usb] usbd_abort_pipe() may result in infinite loop o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91283 usb [boot] [regression] booting very slow with usb devices o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/89954 usb [umass] [panic] USB Disk driver race condition? s usb/89003 usb [request] LaCie Firewire drive not properly supported o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg o usb/88408 usb [axe] axe0 read PHY failed o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o usb/87224 usb [usb] Cannot mount USB Zip750 o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/86298 usb [mouse] Known good USB mouse won't work with correct s s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device f usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa s usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/84326 usb [umass] Panic trying to connect SCSI tape drive via US o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/83863 usb [ugen] Communication problem between opensc/openct via o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe f usb/83677 usb [usb] [request] usb controller often not detected (Sun o usb/83563 usb [umass] [panic] Page Fault while detaching Mpman Usb d o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent o usb/82660 usb [ehci] [panic] EHCI: I/O stuck in state 'physrd'/panic s usb/82569 usb [umass] [panic] USB mass storage plug/unplug causes sy o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. o usb/80862 usb [patch] USB locking issues: missing some Giant calls o usb/80854 usb [patch] [request] suggestion for new iface-no-probe me o usb/80829 usb [modules] [panic] possible panic when loading USB-modu s usb/80777 usb [request] usb_rem_task() should wait for callback to c s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_ o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails o usb/80040 usb [hang] Use of sound mixer causes system freeze with ua o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/79722 usb [ehci] wrong alignments in ehci.h a usb/79656 usb [ehci] RHSC interrupts lost o usb/79524 usb [ulpt] printing to Minolta PagePro 1[23]xxW via USB fa o usb/79287 usb [uhci] [hang] UHCI hang after interrupt transfer o usb/79269 usb [ohci] USB ohci da0 plug/unplug causes crashes and loc o usb/78984 usb [umass] [patch] Creative MUVO umass failure o usb/77294 usb [ucom] [panic] ucom + ulpcom panic o usb/77184 usb [umass] [panic] kernel panic on USB device disconnect, o usb/76732 usb [ums] Mouse problems with USB KVM Switch o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by o usb/76395 usb [uhci] USB printer does not work, usbdevs says "addr 0 s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn o usb/75797 usb [sound] 5.3-STABLE(2005 1/4) detect USB headset, But c o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) o usb/74771 usb [umass] [hang] mounting write-protected umass device a s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R o usb/73307 usb [panic] Kernel panics on USB disconnect s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl o usb/71455 usb [umass] Slow USB umass performance of 5.3 o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s o usb/59698 usb [keyboard] [patch] Rework of ukbd HID to AT code trans s bin/57255 usb [patch] usbd(8) and multi-function devices s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 s usb/51958 usb [urio] [patch] update for urio driver o i386/46371 usb USB controller cannot be initialized on IBM Netfinity o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 299 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Jan 26 19:03:38 2009 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 06CD6106566B for ; Mon, 26 Jan 2009 19:03:38 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Received: from mail.e-commercepark.com (mail2.e-commercepark.com [200.124.131.10]) by mx1.freebsd.org (Postfix) with ESMTP id 99B418FC1D for ; Mon, 26 Jan 2009 19:03:37 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Received: from exchange01.ecp.noc ([200.124.129.7]) by mail.e-commercepark.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 26 Jan 2009 14:53:20 -0400 Received: from Pickup by exchange01.ecp.noc with Microsoft SMTP Server id 8.1.240.5; Mon, 26 Jan 2009 18:52:58 +0000 X-Sender: lehmann@ans-netz.de X-Receiver: otmar@e-commercepark.com x-endofinjectedxheaders: 3983 X-Original-To: otmar@e-commercepark.com Delivered-To: otmar@ns1.e-commercepark.com Delivered-To: freebsd-stable@freebsd.org Date: Sun, 25 Jan 2009 11:12:19 +0100 From: Oliver Lehmann To: X-OldMsgId: <20090125111219.56ca189f.lehmann@ans-netz.de> X-Mailer: Sylpheed 2.6.0 (GTK+ 2.12.11; amd64-portbld-freebsd7.1) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: Errors-To: owner-freebsd-stable@freebsd.org Status: X-GFI-P2E: EXCHANGE01 Message-ID: <1c80fd50-1e5c-4be7-a8dc-3f6f29c4f02a@exchange01.ecp.noc> X-OriginalArrivalTime: 26 Jan 2009 18:53:20.0631 (UTC) FILETIME=[5B83D870:01C97FE7] Cc: freebsd-usb@freebsd.org Subject: recently happend kernel panics regarding usb X-BeenThere: freebsd-usb@freebsd.org List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2009 19:03:38 -0000 Hi, I'm experiencing recently happend kernel panics while making bacula backups on my external USB harddisk. It first happened some days ago while I was running 6.4-PRERLEASE. I then updated to 6.4-STABLE and enabled all the kernel debugging stuff. I've uploaded "screenshots" (including backtrace) here: http://pics.pofo.de/gallery/v/misc/ I'm now not sure if the external USB-case, the PATA harddisk or the USB controler is dying - or if it is a FreeBSD problem. The USB case which I had before died after 1.5 years of usage without any notice from one day to another... maybe this one here is now dying too but with some noise? -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/ _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Mon Jan 26 20:20:06 2009 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 D28E010656C9; Mon, 26 Jan 2009 20:20:06 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.swipnet.se [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id 3DBC18FC18; Mon, 26 Jan 2009 20:20:05 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=Hx6-E_cA8v0A:10 a=7GqkK0gDHGQA:10 a=wmDv9TDcCAk7fyRkF-cA:9 a=yV9Z0f56YxlUe1orvLRQd5MqBEkA:4 a=9aOQ2cSd83gA:10 a=LY0hPdMaydYA:10 Received: from [85.19.218.115] (account mc467741@c2i.net HELO [10.37.1.92]) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1013806667; Mon, 26 Jan 2009 21:20:04 +0100 From: Hans Petter Selasky To: "M. Warner Losh" Date: Mon, 26 Jan 2009 21:22:29 +0100 User-Agent: KMail/1.9.7 References: <200901022123.57193.hselasky@c2i.net> <200901030028.38064.hselasky@c2i.net> <20090103.122938.-532678760.imp@bsdimp.com> In-Reply-To: <20090103.122938.-532678760.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901262122.29724.hselasky@c2i.net> Cc: FreeBSD-gnats-submit@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usb/130122: [hpsusb] DVD drive detects as 'da' device 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, 26 Jan 2009 20:20:07 -0000 On Saturday 03 January 2009, M. Warner Losh wrote: > In message: <200901030028.38064.hselasky@c2i.net> I think this issue might be fixed in -current now, as of today. Please give it a spin. --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Jan 26 20:30:10 2009 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 EEF3E10656C5 for ; Mon, 26 Jan 2009 20:30:09 +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 C6B728FC2C for ; Mon, 26 Jan 2009 20:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0QKU3JB050353 for ; Mon, 26 Jan 2009 20:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0QKU3ar050350; Mon, 26 Jan 2009 20:30:03 GMT (envelope-from gnats) Date: Mon, 26 Jan 2009 20:30:03 GMT Message-Id: <200901262030.n0QKU3ar050350@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/130122: [hpsusb] DVD drive detects as 'da' device X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2009 20:30:23 -0000 The following reply was made to PR usb/130122; it has been noted by GNATS. From: Hans Petter Selasky To: "M. Warner Losh" Cc: freebsd-usb@freebsd.org, FreeBSD-gnats-submit@freebsd.org Subject: Re: usb/130122: [hpsusb] DVD drive detects as 'da' device Date: Mon, 26 Jan 2009 21:22:29 +0100 On Saturday 03 January 2009, M. Warner Losh wrote: > In message: <200901030028.38064.hselasky@c2i.net> I think this issue might be fixed in -current now, as of today. Please give it a spin. --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Jan 26 22:26:06 2009 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 D8CE610656E9 for ; Mon, 26 Jan 2009 22:26:06 +0000 (UTC) (envelope-from mah@jump-ing.de) Received: from mail.ud03.udmedia.de (ud03.udmedia.de [194.117.254.43]) by mx1.freebsd.org (Postfix) with ESMTP id 385E28FC12 for ; Mon, 26 Jan 2009 22:26:06 +0000 (UTC) (envelope-from mah@jump-ing.de) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=mail.ud03.udmedia.de; h= in-reply-to:references:mime-version:content-type:message-id:cc: content-transfer-encoding:from:subject:date:to; q=dns/txt; s= beta; bh=9UfXtxmUku2LPO9OczgEUyZozAILz310IgElUI+uF5E=; b=QkOrGgH eanGRnrMMB1ljngpymq/biCUCaDMc8R75ObhUTSZkYZpp6ehdgQsMHHZW8ByEpok P4a6TzbTvKc+A5ivvYnpCPEbIM9kj1pqaBJ/IAbzV1fktLce0Mp77w5PwJ4jhIkY P+1pkw5twYmQNgvYIMdNS6MRptPjAaGpgEH4= Received: (qmail 15194 invoked from network); 26 Jan 2009 23:26:04 +0100 Received: from unknown (HELO ?10.0.0.50?) (ud03?291p1@78.42.122.63) by mail.ud03.udmedia.de with ESMTPA; 26 Jan 2009 23:26:04 +0100 In-Reply-To: <1c80fd50-1e5c-4be7-a8dc-3f6f29c4f02a@exchange01.ecp.noc> References: <1c80fd50-1e5c-4be7-a8dc-3f6f29c4f02a@exchange01.ecp.noc> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <9B0861C2-EF09-4FC4-A8E4-51C654117B98@jump-ing.de> Content-Transfer-Encoding: 7bit From: Markus Hitter Date: Mon, 26 Jan 2009 23:26:02 +0100 To: Oliver Lehmann X-Mailer: Apple Mail (2.753.1) Cc: freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: recently happend kernel panics regarding usb 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, 26 Jan 2009 22:26:07 -0000 Am 25.01.2009 um 11:12 schrieb Oliver Lehmann: > I'm experiencing recently happend kernel panics while making bacula > backups on my external USB harddisk. It first happened some days ago > while I was running 6.4-PRERLEASE. I then updated to 6.4-STABLE and > enabled all the kernel debugging stuff. Looking at your screenshots, I'm getting plenty of these g_vfs_done() = 5 errors with an ordinary pen drive on various stages of stable/7 as well. The pen drive works flawlessly on other computers. Same for another pen drive I tried for verification. If you throw the EHCI driver out of the kernel your drive will use either OHCI or UHCI (both are slow). This seems to help, at least for the limited things I use this pen drive now. The good thing is, you obviously had a FreeBSD installation which worked fine with USB 2.0 drives. This would be a good starting point for the search of a fix. Any chance you can get back to that state? If the panics appeared without any change on the system, could you stress test this drive a little on another computer? MarKus - - - - - - - - - - - - - - - - - - - Dipl. Ing. Markus Hitter http://www.jump-ing.de/ From owner-freebsd-usb@FreeBSD.ORG Tue Jan 27 05:51:12 2009 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 962DD1065672 for ; Tue, 27 Jan 2009 05:51:12 +0000 (UTC) (envelope-from lehmann@ans-netz.de) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [78.111.72.186]) by mx1.freebsd.org (Postfix) with SMTP id DDFCB8FC22 for ; Tue, 27 Jan 2009 05:51:11 +0000 (UTC) (envelope-from lehmann@ans-netz.de) Received: (qmail 52414 invoked by uid 89); 27 Jan 2009 05:51:09 -0000 Received: from unknown (HELO kartoffel.salatschuessel.net) (78.111.72.187) by avocado.salatschuessel.net with SMTP; 27 Jan 2009 05:51:09 -0000 Date: Tue, 27 Jan 2009 06:51:08 +0100 From: Oliver Lehmann To: Markus Hitter Message-Id: <20090127065108.45623019.lehmann@ans-netz.de> In-Reply-To: <9B0861C2-EF09-4FC4-A8E4-51C654117B98@jump-ing.de> References: <1c80fd50-1e5c-4be7-a8dc-3f6f29c4f02a@exchange01.ecp.noc> <9B0861C2-EF09-4FC4-A8E4-51C654117B98@jump-ing.de> X-Mailer: Sylpheed 2.6.0 (GTK+ 2.14.7; amd64-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: recently happend kernel panics regarding usb 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: Tue, 27 Jan 2009 05:51:13 -0000 Markus Hitter wrote: > If you throw the EHCI driver out of the kernel your drive will use > either OHCI or UHCI (both are slow). This seems to help, at least for > the limited things I use this pen drive now. I'm not sure, that this g_vfs_done is related to the panic. I've attached the drive to an uhci drived port on the same machine, started an fsck and I've got an immediate panic: trying to sleep while sleeping is prohibited If I remember it correctly. The driver has some power saving feature which shuts the drive down if it is not used for some time and spins it up when a request arrives. But yesterday I powered the drive up... waited some secunds and started then a fsck. So I guess it was not in a "shutdown" state - So I wonder who requested a sleep ;) -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/ From owner-freebsd-usb@FreeBSD.ORG Tue Jan 27 07:56:33 2009 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 79825106564A for ; Tue, 27 Jan 2009 07:56:33 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outW.internet-mail-service.net (outw.internet-mail-service.net [216.240.47.246]) by mx1.freebsd.org (Postfix) with ESMTP id 5E04D8FC1B for ; Tue, 27 Jan 2009 07:56:33 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 72D2924EC; Mon, 26 Jan 2009 23:56:57 -0800 (PST) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 740992D600D; Mon, 26 Jan 2009 23:56:32 -0800 (PST) Message-ID: <497EBE30.8060106@elischer.org> Date: Mon, 26 Jan 2009 23:56:32 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Oliver Lehmann References: <1c80fd50-1e5c-4be7-a8dc-3f6f29c4f02a@exchange01.ecp.noc> <9B0861C2-EF09-4FC4-A8E4-51C654117B98@jump-ing.de> <20090127065108.45623019.lehmann@ans-netz.de> In-Reply-To: <20090127065108.45623019.lehmann@ans-netz.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Markus Hitter , freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: recently happend kernel panics regarding usb 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: Tue, 27 Jan 2009 07:56:33 -0000 Oliver Lehmann wrote: > Markus Hitter wrote: > >> If you throw the EHCI driver out of the kernel your drive will use >> either OHCI or UHCI (both are slow). This seems to help, at least for >> the limited things I use this pen drive now. > > I'm not sure, that this g_vfs_done is related to the panic. I've attached > the drive to an uhci drived port on the same machine, started an fsck and > I've got an immediate panic: > > trying to sleep while sleeping is prohibited when you hold a mutex in the kernel you are not allowed to go to sleep as other kernel actors may need that mutex.. OR a interrupt thread is trying to sleep. I doubt it has anything to do with a usb device hibernating. > > If I remember it correctly. The driver has some power saving feature > which shuts the drive down if it is not used for some time and spins it > up when a request arrives. But yesterday I powered the drive up... waited > some secunds and started then a fsck. So I guess it was not in a > "shutdown" state - So I wonder who requested a sleep ;) > > > From owner-freebsd-usb@FreeBSD.ORG Tue Jan 27 12:10:05 2009 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 5BBE5106564A for ; Tue, 27 Jan 2009 12:10:05 +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 4A2558FC0C for ; Tue, 27 Jan 2009 12:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0RCA5EG096816 for ; Tue, 27 Jan 2009 12:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0RCA56G096815; Tue, 27 Jan 2009 12:10:05 GMT (envelope-from gnats) Date: Tue, 27 Jan 2009 12:10:05 GMT Message-Id: <200901271210.n0RCA56G096815@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Renato Botelho Cc: Subject: Re: usb/130024: [newusb] Sun Type 7 Unix keyboard doesn't work with usb2 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Renato Botelho List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2009 12:10:05 -0000 The following reply was made to PR usb/130024; it has been noted by GNATS. From: Renato Botelho To: Hans Petter Selasky Cc: bug-followup@freebsd.org, Nathan Whitehorn Subject: Re: usb/130024: [newusb] Sun Type 7 Unix keyboard doesn't work with usb2 Date: Tue, 27 Jan 2009 10:01:26 -0200 On Sat, Jan 24, 2009 at 11:48:48AM +0100, Hans Petter Selasky wrote: > Hi, > > This issue has been resolved. Patches are on its way to -current. I've updated my kernel to r187767 and everything is working fine, thanks!! -- Renato Botelho GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc One of the pleasures of reading old letters is the knowledge that they need no answer. -- George Gordon, Lord Byron From owner-freebsd-usb@FreeBSD.ORG Tue Jan 27 22:36:41 2009 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 BBAAE10656D6; Tue, 27 Jan 2009 22:36:41 +0000 (UTC) (envelope-from lehmann@ans-netz.de) Received: from exchange.physicalsegment.com (78-105-106-222.zone3.bethere.co.uk [78.105.106.222]) by mx1.freebsd.org (Postfix) with ESMTP id EEA2A8FC1D; Tue, 27 Jan 2009 22:36:40 +0000 (UTC) (envelope-from lehmann@ans-netz.de) Received: from mail pickup service by exchange.physicalsegment.com with Microsoft SMTPSVC; Tue, 27 Jan 2009 21:32:14 +0000 Received: from mx2.freebsd.org ([69.147.83.53]) by tsplpt01.thespinney.local with Microsoft SMTPSVC(6.0.2600.5512); Tue, 27 Jan 2009 05:51:39 +0000 Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 2CFDA16377B; Tue, 27 Jan 2009 05:51:24 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id F3D261065673; Tue, 27 Jan 2009 05:51:22 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96ED81065673 for ; Tue, 27 Jan 2009 05:51:12 +0000 (UTC) (envelope-from lehmann@ans-netz.de) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [78.111.72.186]) by mx1.freebsd.org (Postfix) with SMTP id DDEE78FC21 for ; Tue, 27 Jan 2009 05:51:11 +0000 (UTC) (envelope-from lehmann@ans-netz.de) Received: (qmail 52414 invoked by uid 89); 27 Jan 2009 05:51:09 -0000 Received: from unknown (HELO kartoffel.salatschuessel.net) (78.111.72.187) by avocado.salatschuessel.net with SMTP; 27 Jan 2009 05:51:09 -0000 Date: Tue, 27 Jan 2009 06:51:08 +0100 From: Oliver Lehmann To: Markus Hitter Message-Id: <20090127065108.45623019.lehmann@ans-netz.de> In-Reply-To: <9B0861C2-EF09-4FC4-A8E4-51C654117B98@jump-ing.de> References: <1c80fd50-1e5c-4be7-a8dc-3f6f29c4f02a@exchange01.ecp.noc> <9B0861C2-EF09-4FC4-A8E4-51C654117B98@jump-ing.de> X-Mailer: Sylpheed 2.6.0 (GTK+ 2.14.7; amd64-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-stable@freebsd.org Errors-To: owner-freebsd-stable@freebsd.org X-OriginalArrivalTime: 27 Jan 2009 05:51:39.0536 (UTC) FILETIME=[52B27100:01C98043] Cc: freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: recently happend kernel panics regarding usb X-BeenThere: freebsd-usb@freebsd.org List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2009 22:36:44 -0000 Markus Hitter wrote: > If you throw the EHCI driver out of the kernel your drive will use > either OHCI or UHCI (both are slow). This seems to help, at least for > the limited things I use this pen drive now. I'm not sure, that this g_vfs_done is related to the panic. I've attached the drive to an uhci drived port on the same machine, started an fsck and I've got an immediate panic: trying to sleep while sleeping is prohibited If I remember it correctly. The driver has some power saving feature which shuts the drive down if it is not used for some time and spins it up when a request arrives. But yesterday I powered the drive up... waited some secunds and started then a fsck. So I guess it was not in a "shutdown" state - So I wonder who requested a sleep ;) -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/ _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Tue Jan 27 22:36:46 2009 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 9969A1065873; Tue, 27 Jan 2009 22:36:46 +0000 (UTC) (envelope-from julian@elischer.org) Received: from exchange.physicalsegment.com (78-105-106-222.zone3.bethere.co.uk [78.105.106.222]) by mx1.freebsd.org (Postfix) with ESMTP id F34C48FC08; Tue, 27 Jan 2009 22:36:45 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mail pickup service by exchange.physicalsegment.com with Microsoft SMTPSVC; Tue, 27 Jan 2009 21:33:28 +0000 Received: from mx2.freebsd.org ([69.147.83.53]) by tsplpt01.thespinney.local with Microsoft SMTPSVC(6.0.2600.5512); Tue, 27 Jan 2009 08:10:59 +0000 Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id E0FC2163DAB; Tue, 27 Jan 2009 08:10:46 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 9F19D1065731; Tue, 27 Jan 2009 08:10:43 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 225651065676 for ; Tue, 27 Jan 2009 08:10:34 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outL.internet-mail-service.net (outl.internet-mail-service.net [216.240.47.235]) by mx1.freebsd.org (Postfix) with ESMTP id 060BA8FC1E for ; Tue, 27 Jan 2009 08:10:33 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 72D2924EC; Mon, 26 Jan 2009 23:56:57 -0800 (PST) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 740992D600D; Mon, 26 Jan 2009 23:56:32 -0800 (PST) Message-ID: <497EBE30.8060106@elischer.org> Date: Mon, 26 Jan 2009 23:56:32 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Oliver Lehmann References: <1c80fd50-1e5c-4be7-a8dc-3f6f29c4f02a@exchange01.ecp.noc> <9B0861C2-EF09-4FC4-A8E4-51C654117B98@jump-ing.de> <20090127065108.45623019.lehmann@ans-netz.de> In-Reply-To: <20090127065108.45623019.lehmann@ans-netz.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-stable@freebsd.org Errors-To: owner-freebsd-stable@freebsd.org X-OriginalArrivalTime: 27 Jan 2009 08:10:59.0848 (UTC) FILETIME=[C9D4D080:01C98056] Cc: Markus Hitter , freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: recently happend kernel panics regarding usb X-BeenThere: freebsd-usb@freebsd.org List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2009 22:36:50 -0000 Oliver Lehmann wrote: > Markus Hitter wrote: > >> If you throw the EHCI driver out of the kernel your drive will use >> either OHCI or UHCI (both are slow). This seems to help, at least for >> the limited things I use this pen drive now. > > I'm not sure, that this g_vfs_done is related to the panic. I've attached > the drive to an uhci drived port on the same machine, started an fsck and > I've got an immediate panic: > > trying to sleep while sleeping is prohibited when you hold a mutex in the kernel you are not allowed to go to sleep as other kernel actors may need that mutex.. OR a interrupt thread is trying to sleep. I doubt it has anything to do with a usb device hibernating. > > If I remember it correctly. The driver has some power saving feature > which shuts the drive down if it is not used for some time and spins it > up when a request arrives. But yesterday I powered the drive up... waited > some secunds and started then a fsck. So I guess it was not in a > "shutdown" state - So I wonder who requested a sleep ;) > > > _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Tue Jan 27 22:37:22 2009 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 2B353106599B; Tue, 27 Jan 2009 22:37:22 +0000 (UTC) (envelope-from mah@jump-ing.de) Received: from exchange.physicalsegment.com (78-105-106-222.zone3.bethere.co.uk [78.105.106.222]) by mx1.freebsd.org (Postfix) with ESMTP id 836688FC34; Tue, 27 Jan 2009 22:37:21 +0000 (UTC) (envelope-from mah@jump-ing.de) Received: from mail pickup service by exchange.physicalsegment.com with Microsoft SMTPSVC; Tue, 27 Jan 2009 21:31:40 +0000 Received: from mx2.freebsd.org ([69.147.83.53]) by tsplpt01.thespinney.local with Microsoft SMTPSVC(6.0.2600.5512); Mon, 26 Jan 2009 22:54:43 +0000 Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 8CAB31A8C44; Mon, 26 Jan 2009 22:52:59 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 5B4C010657BB; Mon, 26 Jan 2009 22:52:57 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F76B106571E for ; Mon, 26 Jan 2009 22:52:47 +0000 (UTC) (envelope-from mah@jump-ing.de) Received: from mail.ud03.udmedia.de (ud03.udmedia.de [194.117.254.43]) by mx1.freebsd.org (Postfix) with ESMTP id A2DCA8FC2C for ; Mon, 26 Jan 2009 22:52:46 +0000 (UTC) (envelope-from mah@jump-ing.de) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=mail.ud03.udmedia.de; h= in-reply-to:references:mime-version:content-type:message-id:cc: content-transfer-encoding:from:subject:date:to; q=dns/txt; s= beta; bh=9UfXtxmUku2LPO9OczgEUyZozAILz310IgElUI+uF5E=; b=QkOrGgH eanGRnrMMB1ljngpymq/biCUCaDMc8R75ObhUTSZkYZpp6ehdgQsMHHZW8ByEpok P4a6TzbTvKc+A5ivvYnpCPEbIM9kj1pqaBJ/IAbzV1fktLce0Mp77w5PwJ4jhIkY P+1pkw5twYmQNgvYIMdNS6MRptPjAaGpgEH4= Received: (qmail 15194 invoked from network); 26 Jan 2009 23:26:04 +0100 Received: from unknown (HELO ?10.0.0.50?) (ud03?291p1@78.42.122.63) by mail.ud03.udmedia.de with ESMTPA; 26 Jan 2009 23:26:04 +0100 In-Reply-To: <1c80fd50-1e5c-4be7-a8dc-3f6f29c4f02a@exchange01.ecp.noc> References: <1c80fd50-1e5c-4be7-a8dc-3f6f29c4f02a@exchange01.ecp.noc> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <9B0861C2-EF09-4FC4-A8E4-51C654117B98@jump-ing.de> Content-Transfer-Encoding: 7bit From: Markus Hitter Date: Mon, 26 Jan 2009 23:26:02 +0100 To: Oliver Lehmann X-Mailer: Apple Mail (2.753.1) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-stable@freebsd.org Errors-To: owner-freebsd-stable@freebsd.org X-OriginalArrivalTime: 26 Jan 2009 22:54:43.0630 (UTC) FILETIME=[140E1CE0:01C98009] Cc: freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: recently happend kernel panics regarding usb X-BeenThere: freebsd-usb@freebsd.org List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2009 22:37:24 -0000 Am 25.01.2009 um 11:12 schrieb Oliver Lehmann: > I'm experiencing recently happend kernel panics while making bacula > backups on my external USB harddisk. It first happened some days ago > while I was running 6.4-PRERLEASE. I then updated to 6.4-STABLE and > enabled all the kernel debugging stuff. Looking at your screenshots, I'm getting plenty of these g_vfs_done() = 5 errors with an ordinary pen drive on various stages of stable/7 as well. The pen drive works flawlessly on other computers. Same for another pen drive I tried for verification. If you throw the EHCI driver out of the kernel your drive will use either OHCI or UHCI (both are slow). This seems to help, at least for the limited things I use this pen drive now. The good thing is, you obviously had a FreeBSD installation which worked fine with USB 2.0 drives. This would be a good starting point for the search of a fix. Any chance you can get back to that state? If the panics appeared without any change on the system, could you stress test this drive a little on another computer? MarKus - - - - - - - - - - - - - - - - - - - Dipl. Ing. Markus Hitter http://www.jump-ing.de/ _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Wed Jan 28 08:30:02 2009 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 E4E271065670 for ; Wed, 28 Jan 2009 08:30:02 +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 B85358FC24 for ; Wed, 28 Jan 2009 08:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0S8U2nW054664 for ; Wed, 28 Jan 2009 08:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0S8U2Zt054661; Wed, 28 Jan 2009 08:30:02 GMT (envelope-from gnats) Resent-Date: Wed, 28 Jan 2009 08:30:02 GMT Resent-Message-Id: <200901280830.n0S8U2Zt054661@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, "Marat N.Afanasyev" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A054106566B for ; Wed, 28 Jan 2009 08:20:22 +0000 (UTC) (envelope-from marat@zealot.ksu.ru) Received: from mx.kzn.ru (mx.kzn.ru [194.85.243.39]) by mx1.freebsd.org (Postfix) with ESMTP id A81338FC1C for ; Wed, 28 Jan 2009 08:20:20 +0000 (UTC) (envelope-from marat@zealot.ksu.ru) Received: from mail.ksu.ru (HELO ruby.ksu.ru) ([193.232.252.56]) by iout.kzn.ru with ESMTP; 28 Jan 2009 11:20:16 +0300 Received: from zealot.ksu.ru ([194.85.245.161]) by ksu.ru (8.13.4/8.13.4) with ESMTP id n0S8HAOS009877 for ; Wed, 28 Jan 2009 08:17:10 GMT Received: from zealot.ksu.ru (localhost.lnet [127.0.0.1]) by zealot.ksu.ru (8.14.3/8.14.3) with ESMTP id n0S8JO5G085365 for ; Wed, 28 Jan 2009 11:19:24 +0300 (MSK) (envelope-from marat@zealot.ksu.ru) Received: (from marat@localhost) by zealot.ksu.ru (8.14.3/8.14.3/Submit) id n0S8JOcu085364; Wed, 28 Jan 2009 11:19:24 +0300 (MSK) (envelope-from marat) Message-Id: <200901280819.n0S8JOcu085364@zealot.ksu.ru> Date: Wed, 28 Jan 2009 11:19:24 +0300 (MSK) From: "Marat N.Afanasyev" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: usb/131074: no run-time detection of usb devices plugged into external usb hub X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Marat N.Afanasyev" List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2009 08:30:03 -0000 >Number: 131074 >Category: usb >Synopsis: no run-time detection of usb devices plugged into external usb hub >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 28 08:30:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Marat N.Afanasyev >Release: FreeBSD 7.1-STABLE amd64 >Organization: >Environment: System: FreeBSD zealot.ksu.ru 7.1-STABLE FreeBSD 7.1-STABLE #1: Tue Jan 20 05:47:24 MSK 2009 root@zealot.ksu.ru:/usr/obj/usr/src/sys/ZEALOT amd64 dmesg.boot: Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.1-STABLE #1: Tue Jan 20 05:47:24 MSK 2009 root@zealot.ksu.ru:/usr/obj/usr/src/sys/ZEALOT Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) Dual Core Processor 4850e (2500.19-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x60fb2 Stepping = 2 Features=0x178bfbff Features2=0x2001 AMD Features=0xea500800 AMD Features2=0x11f Cores per package: 2 usable memory = 4285681664 (4087 MB) avail memory = 4124286976 (3933 MB) ACPI APIC Table: <122408 APIC1032> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard netsmb_dev: loaded acpi0: <122408 RSDT1032> on motherboard ACPI: Overriding _OS definition with "Linux" acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of ffb80000, 80000 (3) failed acpi0: reservation of fff00000, 100000 (3) failed acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, cff00000 (3) failed ACPI HPET table warning: Sequence is non-zero (2) Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 2.0 on pci0 pci1: on pcib1 vgapci0: port 0xc000-0xc0ff mem 0xd0000000-0xdfffffff,0xfeaf0000-0xfeafffff irq 18 at device 0.0 on pci1 drm0: on vgapci0 vgapci0: child drm0 requested pci_enable_busmaster info: [drm] Initialized radeon 1.29.0 20080613 vgapci1: mem 0xfeae0000-0xfeaeffff at device 0.1 on pci1 pcib2: at device 6.0 on pci0 pci2: on pcib2 re0: port 0xd800-0xd8ff mem 0xfebff000-0xfebfffff irq 18 at device 0.0 on pci2 re0: Using 2 MSI messages re0: Chip rev. 0x38000000 re0: MAC rev. 0x00000000 miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto re0: Ethernet address: 00:1d:92:da:0c:b0 re0: [FILTER] re0: [FILTER] atapci0: port 0xb000-0xb007,0xa000-0xa003,0x9000-0x9007,0x8000-0x8003,0x7000-0x700f mem 0xfe9ff800-0xfe9ffbff irq 22 at device 18.0 on pci0 atapci0: [ITHREAD] atapci0: AHCI Version 01.10 controller with 4 ports detected ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] ata4: on atapci0 ata4: [ITHREAD] ata5: on atapci0 ata5: [ITHREAD] ohci0: mem 0xfe9fe000-0xfe9fefff irq 16 at device 19.0 on pci0 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered ohci1: mem 0xfe9fd000-0xfe9fdfff irq 17 at device 19.1 on pci0 ohci1: [GIANT-LOCKED] ohci1: [ITHREAD] usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered ohci2: mem 0xfe9fc000-0xfe9fcfff irq 18 at device 19.2 on pci0 ohci2: [GIANT-LOCKED] ohci2: [ITHREAD] usb2: OHCI version 1.0, legacy support usb2: SMM does not respond, resetting usb2: on ohci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered ohci3: mem 0xfe9fb000-0xfe9fbfff irq 17 at device 19.3 on pci0 ohci3: [GIANT-LOCKED] ohci3: [ITHREAD] usb3: OHCI version 1.0, legacy support usb3: SMM does not respond, resetting usb3: on ohci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ohci4: mem 0xfe9fa000-0xfe9fafff irq 18 at device 19.4 on pci0 ohci4: [GIANT-LOCKED] ohci4: [ITHREAD] usb4: OHCI version 1.0, legacy support usb4: SMM does not respond, resetting usb4: on ohci4 usb4: USB revision 1.0 uhub4: on usb4 uhub4: 2 ports with 2 removable, self powered ehci0: mem 0xfe9ff000-0xfe9ff0ff irq 19 at device 19.5 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb5: EHCI version 1.0 usb5: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4 usb5: on ehci0 usb5: USB revision 2.0 uhub5: on usb5 uhub5: 10 ports with 10 removable, self powered uhub6: on uhub5 uhub6: multiple transaction translators uhub6: 6 ports with 6 removable, self powered ucom0: on uhub6 uhub7: on uhub5 uhub7: single transaction translator uhub7: 4 ports with 4 removable, self powered umass0: on uhub7 pci0: at device 20.0 (no driver attached) atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 20.1 on pci0 ata0: on atapci1 ata0: [ITHREAD] pci0: at device 20.2 (no driver attached) isab0: at device 20.3 on pci0 isa0: on isab0 pcib3: at device 20.4 on pci0 pci3: on pcib3 pci3: at device 3.0 (no driver attached) pci3: at device 3.1 (no driver attached) k8temp0: on hostb4 acpi_button0: on acpi0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio0: [FILTER] atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse Explorer, device ID 4 cpu0: on acpi0 acpi_throttle0: on cpu0 acpi_throttle0: CLK_VAL field overlaps THT_EN bit device_attach: acpi_throttle0 attach returned 6 powernow0: on cpu0 cpu1: on acpi0 powernow1: on cpu1 orm0: at iomem 0xc0000-0xcf7ff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 uscanner0: on uhub2 ulpt0: on uhub2 ulpt0: using bi-directional mode Timecounters tick every 1.000 msec ipfw2 initialized, divert enabled, nat loadable, rule-based forwarding enabled, default to accept, logging limited to 1000 packets/entry by default acd0: DVDR at ata0-master UDMA66 ad4: 238475MB at ata2-master SATA300 ad6: 476940MB at ata3-master SATA300 acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x48 0x00 0x01 SMP: AP CPU #1 Launched! cd0 at ata0 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 66.000MB/s transfers cd0: cd present [2288832 x 2048 byte records] da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present da1 at umass-sim0 bus 0 target 0 lun 1 da1: Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present da2 at umass-sim0 bus 0 target 0 lun 2 da2: Removable Direct Access SCSI-0 device da2: 40.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present da3 at umass-sim0 bus 0 target 0 lun 3 da3: Removable Direct Access SCSI-0 device da3: 40.000MB/s transfers da3: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/ad4s1a re0: link state changed to UP vlan1: link state changed to UP vlan3: link state changed to UP vlan4: link state changed to UP vlan11: link state changed to UP uscanner0 and ulpt0 plugged into root hub on motherboard, da0-da3 are fixed slots on usb card-reader with 3 self-powered usb 2.0 ports (uhub7) and ucom0 is plugged into uhub6 (6 self-powered usb 2.0 ports) on my monitor. No device plugged into uhub6 or uhub7 is detected in run-time, such devices can be detected only in boot-time. >Description: usb devices plugged into external usb hub are detected only in boot-time, no detection of such devices in run-time. >How-To-Repeat: boot system with external usb hub, try to plug in any usb device in this hub, see no reaction from system >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Wed Jan 28 16:24:39 2009 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 0B5A0106566B; Wed, 28 Jan 2009 16:24:39 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D47888FC17; Wed, 28 Jan 2009 16:24:38 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from freefall.freebsd.org (thompsa@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0SGOcFQ018818; Wed, 28 Jan 2009 16:24:38 GMT (envelope-from thompsa@freefall.freebsd.org) Received: (from thompsa@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0SGOci8018814; Wed, 28 Jan 2009 16:24:38 GMT (envelope-from thompsa) Date: Wed, 28 Jan 2009 16:24:38 GMT Message-Id: <200901281624.n0SGOci8018814@freefall.freebsd.org> To: garga@FreeBSD.org, thompsa@FreeBSD.org, freebsd-usb@FreeBSD.org From: thompsa@FreeBSD.org Cc: Subject: Re: usb/130024: [newusb] Sun Type 7 Unix keyboard doesn't work with usb2 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, 28 Jan 2009 16:24:39 -0000 Synopsis: [newusb] Sun Type 7 Unix keyboard doesn't work with usb2 State-Changed-From-To: open->closed State-Changed-By: thompsa State-Changed-When: Wed Jan 28 16:24:10 UTC 2009 State-Changed-Why: Submitter reports this is now fixed, thanks for the PR. http://www.freebsd.org/cgi/query-pr.cgi?pr=130024 From owner-freebsd-usb@FreeBSD.ORG Fri Jan 30 07:00:07 2009 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 90D94106564A; Fri, 30 Jan 2009 07:00:07 +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 5B80E8FC13; Fri, 30 Jan 2009 07:00:07 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0U707HY006267; Fri, 30 Jan 2009 07:00:07 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0U707cn006263; Fri, 30 Jan 2009 07:00:07 GMT (envelope-from linimon) Date: Fri, 30 Jan 2009 07:00:07 GMT Message-Id: <200901300700.n0U707cn006263@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/131123: [patch] re-add UQ_ASSUME_CM_OVER_DATA USB quirk 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, 30 Jan 2009 07:00:08 -0000 Old Synopsis: New Synopsis: [patch] re-add UQ_ASSUME_CM_OVER_DATA USB quirk Responsible-Changed-From-To: freebsd-bugs->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Fri Jan 30 06:58:02 UTC 2009 Responsible-Changed-Why: Fix Synopsis and reclassify. http://www.freebsd.org/cgi/query-pr.cgi?pr=131123 From owner-freebsd-usb@FreeBSD.ORG Fri Jan 30 07:01:00 2009 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 4BE46106567E; Fri, 30 Jan 2009 07:01:00 +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 210B18FC26; Fri, 30 Jan 2009 07:01:00 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0U710TV011983; Fri, 30 Jan 2009 07:01:00 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0U70xvW011961; Fri, 30 Jan 2009 07:00:59 GMT (envelope-from linimon) Date: Fri, 30 Jan 2009 07:00:59 GMT Message-Id: <200901300700.n0U70xvW011961@freefall.freebsd.org> To: imp@bsdimp.com, linimon@FreeBSD.org, gnats-admin@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/131125: Re: [patch] re-add UQ_ASSUME_CM_OVER_DATA USB quirk 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, 30 Jan 2009 07:01:00 -0000 Old Synopsis: New Synopsis: Re: [patch] re-add UQ_ASSUME_CM_OVER_DATA USB quirk State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Fri Jan 30 06:58:57 UTC 2009 State-Changed-Why: Misfiled followup to usb/131123; content migrated. Responsible-Changed-From-To: gnats-admin->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Fri Jan 30 06:58:57 UTC 2009 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=131125 From owner-freebsd-usb@FreeBSD.ORG Fri Jan 30 07:01:45 2009 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 667211065708; Fri, 30 Jan 2009 07:01:45 +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 3A8A88FC2C; Fri, 30 Jan 2009 07:01:45 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0U71jaf013199; Fri, 30 Jan 2009 07:01:45 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0U71iaa013195; Fri, 30 Jan 2009 07:01:44 GMT (envelope-from linimon) Date: Fri, 30 Jan 2009 07:01:44 GMT Message-Id: <200901300701.n0U71iaa013195@freefall.freebsd.org> To: cejkar@fit.vutbr.cz, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/131123: [patch] re-add UQ_ASSUME_CM_OVER_DATA USB quirk 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, 30 Jan 2009 07:01:46 -0000 Synopsis: [patch] re-add UQ_ASSUME_CM_OVER_DATA USB quirk State-Changed-From-To: open->feedback State-Changed-By: linimon State-Changed-When: Fri Jan 30 07:01:20 UTC 2009 State-Changed-Why: >From misfiled PR usb/131125: Date: Thu, 29 Jan 2009 08:35:03 -0700 (MST) From: "M. Warner Losh" To: cejkar@fit.vutbr.cz The sc_cm_over_data flag is never checked elsewhere. Are you saying that the umodem_set_comm_feature() causes the problem? Warner http://www.freebsd.org/cgi/query-pr.cgi?pr=131123 From owner-freebsd-usb@FreeBSD.ORG Fri Jan 30 10:43:52 2009 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 555D6106564A; Fri, 30 Jan 2009 10:43:52 +0000 (UTC) (envelope-from cejkar@fit.vutbr.cz) Received: from kazi.fit.vutbr.cz (kazi6.fit.vutbr.cz [IPv6:2001:718:802:808::93e5:80c]) by mx1.freebsd.org (Postfix) with ESMTP id D56978FC0C; Fri, 30 Jan 2009 10:43:51 +0000 (UTC) (envelope-from cejkar@fit.vutbr.cz) Received: from kazi.fit.vutbr.cz (localhost [127.0.0.1]) by kazi.fit.vutbr.cz (envelope-from cejkar@fit.vutbr.cz) (8.14.3/8.14.3) with ESMTP id n0UAhorx063985 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 30 Jan 2009 11:43:50 +0100 (CET) Received: (from cejkar@localhost) by kazi.fit.vutbr.cz (8.14.3/8.13.1/Submit) id n0UAholD063984; Fri, 30 Jan 2009 11:43:50 +0100 (CET) (envelope-from cejkar@fit.vutbr.cz) X-Authentication-Warning: kazi.fit.vutbr.cz: cejkar set sender to cejkar@fit.vutbr.cz using -f Date: Fri, 30 Jan 2009 11:43:50 +0100 From: Rudolf Cejka To: linimon@FreeBSD.org Message-ID: <20090130104349.GA60105@fit.vutbr.cz> References: <200901300701.n0U71iaa013195@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200901300701.n0U71iaa013195@freefall.freebsd.org> User-Agent: Mutt/1.5.16 (2007-06-09) X-Scanned-By: MIMEDefang 2.64 on 147.229.8.12 Cc: freebsd-usb@FreeBSD.org Subject: Re: usb/131123: [patch] re-add UQ_ASSUME_CM_OVER_DATA USB quirk 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, 30 Jan 2009 10:43:52 -0000 linimon@FreeBSD.org wrote (2009/01/30): > The sc_cm_over_data flag is never checked elsewhere. Are you saying > that the umodem_set_comm_feature() causes the problem? Yes, I can imagine three possible reasons: 1) There is not any bug in umodem_set_comm_feature(), but the device would be buggy and could not accept requested settings, which I suppose are according to the specifications. 2) There is some bug in umodem_set_comm_feature(). 3) It seems, that the device does not survive two configuration settings, however I do not understand which. See Linux discussion about this device https://kerneltrap.org/mailarchive/linux-usb-devel/2007/10/27/361160/thread and Matthias Fuchs: ... I found out that the 2.4 kernels send two 'set configuration' requests to the USB modem. Either this is not allowed or the modem's firmware does not like this. After the 2nd set configuration request the device disconnects... Maybe FreeBSD had the same problem and configuration settings are performed in another place too. If you are interested, I can do any software tests you need or want to do, so that you can really understand what happens. In all events, MC75/ES75 immediately disconnects and resets. Attempts are repeated every 10 seconds (Unknown USB device is written by devd, I do not know why - but after patch it disappears): ... Jan 28 18:14:00 kernel: ucom0: detached Jan 28 18:14:09 root: Unknown USB device: vendor 0x0681 product 0x0034 bus uhub0 Jan 28 18:14:09 kernel: ucom0: on uhub0 Jan 28 18:14:09 kernel: ucom0: iclass 2/2 Jan 28 18:14:09 kernel: ucom0: data interface 1, has CM over data, has no break Jan 28 18:14:09 kernel: ucom0: status change notification available Jan 28 18:14:09 kernel: ucom0: at uhub0 port 1 (addr 2) disconnected Jan 28 18:14:09 kernel: ucom0: detached Jan 28 18:14:20 root: Unknown USB device: vendor 0x0681 product 0x0034 bus uhub0 ... -- Rudolf Cejka http://www.fit.vutbr.cz/~cejkar Brno University of Technology, Faculty of Information Technology Bozetechova 2, 612 66 Brno, Czech Republic From owner-freebsd-usb@FreeBSD.ORG Fri Jan 30 12:10:04 2009 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 C71991065673 for ; Fri, 30 Jan 2009 12:10:04 +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 A0B1A8FC0C for ; Fri, 30 Jan 2009 12:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0UCA4qr057933 for ; Fri, 30 Jan 2009 12:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0UCA4ld057932; Fri, 30 Jan 2009 12:10:04 GMT (envelope-from gnats) Date: Fri, 30 Jan 2009 12:10:04 GMT Message-Id: <200901301210.n0UCA4ld057932@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: linimon@lonesome.com (Mark Linimon) Cc: Subject: Re: usb/131123: [patch] re-add UQ_ASSUME_CM_OVER_DATA USB quirk X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mark Linimon List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2009 12:10:13 -0000 The following reply was made to PR usb/131123; it has been noted by GNATS. From: linimon@lonesome.com (Mark Linimon) To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/131123: [patch] re-add UQ_ASSUME_CM_OVER_DATA USB quirk Date: Fri, 30 Jan 2009 06:09:05 -0600 ----- Forwarded message from Rudolf Cejka ----- From: Rudolf Cejka To: linimon@FreeBSD.org Cc: freebsd-usb@FreeBSD.org Subject: Re: usb/131123: [patch] re-add UQ_ASSUME_CM_OVER_DATA USB quirk linimon@FreeBSD.org wrote (2009/01/30): > The sc_cm_over_data flag is never checked elsewhere. Are you saying > that the umodem_set_comm_feature() causes the problem? Yes, I can imagine three possible reasons: 1) There is not any bug in umodem_set_comm_feature(), but the device would be buggy and could not accept requested settings, which I suppose are according to the specifications. 2) There is some bug in umodem_set_comm_feature(). 3) It seems, that the device does not survive two configuration settings, however I do not understand which. See Linux discussion about this device https://kerneltrap.org/mailarchive/linux-usb-devel/2007/10/27/361160/thread and Matthias Fuchs: ... I found out that the 2.4 kernels send two 'set configuration' requests to the USB modem. Either this is not allowed or the modem's firmware does not like this. After the 2nd set configuration request the device disconnects... Maybe FreeBSD had the same problem and configuration settings are performed in another place too. If you are interested, I can do any software tests you need or want to do, so that you can really understand what happens. In all events, MC75/ES75 immediately disconnects and resets. Attempts are repeated every 10 seconds (Unknown USB device is written by devd, I do not know why - but after patch it disappears): ... Jan 28 18:14:00 kernel: ucom0: detached Jan 28 18:14:09 root: Unknown USB device: vendor 0x0681 product 0x0034 bus uhub0 Jan 28 18:14:09 kernel: ucom0: on uhub0 Jan 28 18:14:09 kernel: ucom0: iclass 2/2 Jan 28 18:14:09 kernel: ucom0: data interface 1, has CM over data, has no break Jan 28 18:14:09 kernel: ucom0: status change notification available Jan 28 18:14:09 kernel: ucom0: at uhub0 port 1 (addr 2) disconnected Jan 28 18:14:09 kernel: ucom0: detached Jan 28 18:14:20 root: Unknown USB device: vendor 0x0681 product 0x0034 bus uhub0 ... -- Rudolf Cejka http://www.fit.vutbr.cz/~cejkar Brno University of Technology, Faculty of Information Technology Bozetechova 2, 612 66 Brno, Czech Republic ----- End forwarded message ----- From owner-freebsd-usb@FreeBSD.ORG Sat Jan 31 02:00:56 2009 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 E05E71065670 for ; Sat, 31 Jan 2009 02:00:56 +0000 (UTC) (envelope-from stevecalfee@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id 738CE8FC13 for ; Sat, 31 Jan 2009 02:00:56 +0000 (UTC) (envelope-from stevecalfee@gmail.com) Received: by ey-out-2122.google.com with SMTP id d26so93712eyd.7 for ; Fri, 30 Jan 2009 18:00:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=SaAMzsmp3gOPMIcNI3zeYHYb/FZzY2PtrWlRPBi3t3o=; b=Qbo+VsBfhhaloZ4UrkDVKquYTtadWfGGkzAEj6TcmSo3s+Hyz6KiicDwxaFNVm8ChK h940qhLVNjU0fJsJD5POTaSaRGjs0G7tYqDty1fujrEflb7vlXoMnV/0caETW1PytBqW HyzP7xIaIXyfMZ5pNcAIVGxFxGd2P+WJdCdts= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=BoJ66v0T7j1i23V76YJ6EdvWc8rGJ8y5qxWV4qyEZkiodbOfo8fD0SY2fpgXsH2+uP 6OdohCE0oXfGzlkJ2a4LSTq9E49gVjmTXK0puW6Oyk4v1hIHxgT2YzSx2ISWtIJ2Y7ln 4qCmKDCzL4zsdPWpGEd4FZEElnUN3vSoZcl58= MIME-Version: 1.0 Received: by 10.210.92.8 with SMTP id p8mr1205330ebb.143.1233365533997; Fri, 30 Jan 2009 17:32:13 -0800 (PST) Date: Fri, 30 Jan 2009 17:32:13 -0800 Message-ID: <4a5ff6bc0901301732t7233335ch1077a74605fffb81@mail.gmail.com> From: Steve Calfee To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: newusb/usb2 build breakage in tinybsd 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, 31 Jan 2009 02:00:57 -0000 Hi, I am trying to backport usb2 to freebsd7.0. I have followed the instructions at http://www.selasky.org/hans_petter/usb4bsd/index.html and things work ok on the install until I get to the recommended make step for me to manually handle (printed out by your make file). Incidentally, your web site should say to build in the FreeBSD.usb2 directory, I think. One complication is that I am crosscompiling with the tinybsd script - at least the target is an x86. I was held up for awhile because I missed the instruction echo'ed from the ..../FreeBSD.usb2/Makefile telling me to patch/change kmod.mk. Missing that causes the make to stop because usb2_if.h is missing. I had other build breakage due probably to kernel changes, so I just removed the build files for serial_xxx and storage_rio and wlan(_xxx) from /sys/modules/usb2/Makefile. Then, there are two backporting issues. The first looks pretty safe, I included the little finit routine into usb2_dev.c. That routine does not exist in FreeBSD 7.0. The other Issue I am not sure I have safely solved -- Apparently some extra info (file descriptor ptr) is tucked into struct thread called td_fpop. I could not tell what it is used for - it is stored to in the USB_VNOPS_FO_CLOSE macro, then fo_close is called, and then it is nulled. I just commented out both accesses to td_fpop - the fp is also passed to fo_close, so I don't think it is needed. Do you know of any issues around td_fpop? Thanks, and I am sure I will have some more rookie questions as I go forward, Steve From owner-freebsd-usb@FreeBSD.ORG Sat Jan 31 10:11:39 2009 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 1CBAC106566C for ; Sat, 31 Jan 2009 10:11:39 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe05.swip.net [212.247.154.129]) by mx1.freebsd.org (Postfix) with ESMTP id 7C7D68FC2A for ; Sat, 31 Jan 2009 10:11:38 +0000 (UTC) (envelope-from hselasky@freebsd.org) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=D8-CMe1FivAA:10 a=ndaoGXS1AAAA:8 a=42zoKLcn54pncsX8PhUA:9 a=rYENXYcxVcRJ31fFP2YA:7 a=xVIkaN-7UtbKrSW8ZCCwoWaqYakA:4 a=50e4U0PicR4A:10 Received: from [85.19.218.115] (account mc467741@c2i.net HELO [10.37.1.92]) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1086368322; Sat, 31 Jan 2009 10:11:35 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sat, 31 Jan 2009 10:13:59 +0100 User-Agent: KMail/1.9.7 References: <4a5ff6bc0901301732t7233335ch1077a74605fffb81@mail.gmail.com> In-Reply-To: <4a5ff6bc0901301732t7233335ch1077a74605fffb81@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901311014.01419.hselasky@freebsd.org> Cc: Subject: Re: newusb/usb2 build breakage in tinybsd 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, 31 Jan 2009 10:11:39 -0000 Hi Steve, On Saturday 31 January 2009, Steve Calfee wrote: > Hi, > > I am trying to backport usb2 to freebsd7.0. I have followed the > instructions at http://www.selasky.org/hans_petter/usb4bsd/index.html > and things work ok on the install until I get to the recommended make > step for me to manually handle (printed out by your make file). > Incidentally, your web site should say to build in the FreeBSD.usb2 > directory, I think. > > One complication is that I am crosscompiling with the tinybsd script - > at least the target is an x86. > > I was held up for awhile because I missed the instruction echo'ed from > the ..../FreeBSD.usb2/Makefile telling me to patch/change kmod.mk. > Missing that causes the make to stop because usb2_if.h is missing. Are you building the kernel or Modules? > > I had other build breakage due probably to kernel changes, so I just > removed the build files for serial_xxx and storage_rio and wlan(_xxx) > from /sys/modules/usb2/Makefile. Yes, the API's these modules use in the system has changed a lot between 7.x and 8.x ! > > Then, there are two backporting issues. The first looks pretty safe, I > included the little finit routine into usb2_dev.c. That routine does > not exist in FreeBSD 7.0. > > The other Issue I am not sure I have safely solved -- > > Apparently some extra info (file descriptor ptr) is tucked into struct > thread called td_fpop. I could not tell what it is used for - it is > stored to in the USB_VNOPS_FO_CLOSE macro, then fo_close is called, > and then it is nulled. I just commented out both accesses to td_fpop - > the fp is also passed to fo_close, so I don't think it is needed. Do > you know of any issues around td_fpop? I think it is safe to remove setting that variable, because the routine that needs it is no longer called. > > Thanks, and I am sure I will have some more rookie questions as I go > forward, --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Jan 31 11:19:58 2009 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 EE44C106568A for ; Sat, 31 Jan 2009 11:19:58 +0000 (UTC) (envelope-from drl@bsd.my) Received: from tomoyo.MyBSD.org.my (tomoyo.mybsd.org.my [IPv6:2001:328:2002:ace::3000]) by mx1.freebsd.org (Postfix) with ESMTP id A28B18FC08 for ; Sat, 31 Jan 2009 11:19:58 +0000 (UTC) (envelope-from drl@bsd.my) Received: from matrix.bsd.my (matrix.bsd.my [IPv6:2001:328:2002:10ee:216:cbff:feb8:9988]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Speedy Gonzales) with ESMTPSA id 7BE9311441 for ; Sat, 31 Jan 2009 19:19:57 +0800 (MYT) Date: Sat, 31 Jan 2009 19:19:56 +0800 From: Darryl Yeoh To: freebsd-usb@freebsd.org Message-Id: <20090131191956.30d95081.drl@bsd.my> Organization: MyBSD X-Mailer: Sylpheed 2.6.0 (GTK+ 2.14.7; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: FreeBSD no longer detects my USB stick X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: drl@BSD.my List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2009 11:20:00 -0000 Hi lists, Need some help. My USB stick no longer gets detected. If I plug it in, nothing happens and I see this in syslog shortly after: Jan 31 18:48:37 matrix kernel: uhub5: device problem (TIMEOUT), disabling port 3 Here's the relevant part from usbdevs -dv Controller /dev/usb5: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), ATI(0x0000), rev 1.00 port 1 powered port 2 powered port 3 addr 0 should never happen! <-- ?? port 4 powered port 5 powered port 6 powered port 7 powered port 8 powered port 9 powered port 10 powered Here's my uname: FreeBSD matrix.bsd.my 7.1-STABLE FreeBSD 7.1-STABLE #0: Fri Jan 30 13:36:16 MYT 2009 root@matrix.bsd.my:/usr/src/sys/i386/compile/INSP_1501 i386 I'm not sure, but all this happened after upgrading Xorg to 7.4. I've tried booting with dbus/hald disabled and still no go. The weird thing is it works if I boot directly into single-user. I have a USB mouse and it works if I plug it in. Somehow it looks like it effects USB sticks for now. What can be causing this to happen ? Please CC me as I'm not subscribe to the maillinglists. Darryl From owner-freebsd-usb@FreeBSD.ORG Sat Jan 31 23:39:50 2009 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 27B331065701 for ; Sat, 31 Jan 2009 23:39:50 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id E22508FC14 for ; Sat, 31 Jan 2009 23:39:49 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id B2E85FF74; Sun, 1 Feb 2009 12:20:01 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FweRWS3ARCum; Sun, 1 Feb 2009 12:19:58 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Sun, 1 Feb 2009 12:19:58 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id A76591142D; Sun, 1 Feb 2009 12:19:57 +1300 (NZDT) Date: Sat, 31 Jan 2009 15:19:57 -0800 From: Andrew Thompson To: freebsd-usb@freebsd.org Message-ID: <20090131231957.GB31825@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Subject: USB2 patches 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, 31 Jan 2009 23:39:50 -0000 Hi, I have several patches in my svn user branch that I would like to see committed to HEAD. Some of these change the usb2 core code so I am interested in feedback or shootdowns. I am right behind the change to USB2 and this is an effort to help. The patch can be found here, http://people.freebsd.org/~thompsa/usb_head1.diff 73 files changed, 9229 insertions(+), 13261 deletions(-) but its rather large so it may be easier to look at the various changes via the svn web interface. http://svn.freebsd.org/viewvc/base/user/thompsa/usb/ r187750 http://svn.freebsd.org/viewvc/base?view=revision&revision=187750 Change over to using taskqueue(9) instead of hand rolled threads and the config_td system. This removes the config_td code and makes the API much simpler to use. r187751, r187752, r187753, r187754, r187755, r187756 http://svn.freebsd.org/viewvc/base?view=revision&revision=187751 Change over to usb2_proc w/ taskqueues for the usb2/ethernet, usb2/serial and usb2/wlan code. r187965 http://svn.freebsd.org/viewvc/base?view=revision&revision=187965 Move most of the ifnet logic into the usb2_ethernet module, this includes, - make all usb ethernet interfaces named ue%d - handle all threading in usb2_ethernet - provide default ioctl handler - handle mbuf rx - provide locked callbacks for init,start,stop,etc The drivers are not much more than data pushers now. regards, Andrew