From owner-freebsd-usb@FreeBSD.ORG Mon Mar 20 05:30:17 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8708E16A423 for ; Mon, 20 Mar 2006 05:30:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E226143D49 for ; Mon, 20 Mar 2006 05:30:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2K5UFRC056806 for ; Mon, 20 Mar 2006 05:30:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2K5UFxJ056805; Mon, 20 Mar 2006 05:30:15 GMT (envelope-from gnats) Resent-Date: Mon, 20 Mar 2006 05:30:15 GMT Resent-Message-Id: <200603200530.k2K5UFxJ056805@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, Alexey Illarionov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF83F16A41F for ; Mon, 20 Mar 2006 05:21:53 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8455D43D45 for ; Mon, 20 Mar 2006 05:21:53 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k2K5LrZt062350 for ; Mon, 20 Mar 2006 05:21:53 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k2K5LrUM062346; Mon, 20 Mar 2006 05:21:53 GMT (envelope-from nobody) Message-Id: <200603200521.k2K5LrUM062346@www.freebsd.org> Date: Mon, 20 Mar 2006 05:21:53 GMT From: Alexey Illarionov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: usb/94717: Reading from /dev/ulpt can break work of a UHCI hub 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, 20 Mar 2006 05:30:17 -0000 >Number: 94717 >Category: usb >Synopsis: Reading from /dev/ulpt can break work of a UHCI hub >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 20 05:30:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Alexey Illarionov >Release: >Organization: >Environment: FreeBSD ls.orionet.ru 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #5: Fri Mar 17 11:13:17 MSK 2006 alexey@ls.orionet.ru:/usr/obj/usr/src/sys/LS i386 >Description: Reading from /dev/ulpt with the insufficient buffer can break work of a UHCI hub I use a following configuration: uhci0: port 0xcc00-0xcc1f irq 9 at device 7.2 on pci0 uhci0: [GIANT-LOCKED] uhci0: LegSup = 0xa000 usb0: on uhci0 usb0: USB revision 1.0 usbd_get_string: getting lang failed, using 0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xd000-0xd01f irq 9 at device 7.3 on pci0 uhci1: [GIANT-LOCKED] uhci1: LegSup = 0xa000 usb1: on uhci1 usb1: USB revision 1.0 usbd_get_string: getting lang failed, using 0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ums0: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM), rev 1.10/3.00, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. ulpt0: Canon Canon CAPT USB Printer, rev 1.10/1.00, addr 3, iclass 7/1 ulpt0: using bi-directional mode And test program: #include #include #include #include #include #define NBYTES 16 const char port[] = "/dev/ulpt0"; const char req[] = {0xa0, 0xa0, 0x04, 0x0}; int main() { int d; size_t size; char ack[100]; d = open(port, O_RDWR); if (d < 0) { perror("open error"); return 1; } size = write(d, req, sizeof(req)); if (size != sizeof(req)) { perror("write error"); return 2; } size = read(d, ack, NBYTES); if (size == -1){ perror("read error"); return 3; } printf("size: %i\n", size); close(d); return 0; } When NBYTES = 16, all work normally, printer return 16 bytes of data. But if define NBYTES=4 (i.e. not enough size for store the ack from the printer), then read() return input/output error and after that both the USB mouse, and the printer will not work until reboot. I get the same results at testing by other machine with a following USB hardware: uhci0: port 0xd000-0xd01f irq 11 at device 7.2 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 usbd_get_string: getting lang failed, using 0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered I get the same results at testing by other machine with a following USB hardware: uhci0: port 0xd000-0xd01f irq 11 at device 7.2 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 usbd_get_string: getting lang failed, using 0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered By the third machine with OHCI controller (ATI SB400 USB Controller) it is little bit better. read() returns input/output error, but the hub is not disconnected. The debugging information from first configuration: ulptread ulptread: transfer 4 bytes usbd_bulk_transfer: start transfer 4 bytes usbd_transfer: xfer=0xc1ac0a00, flags=5, pipe=0xc1a74b00, running=0 usbd_dump_queue: pipe=0xc1a74b00 usb_insert_transfer: pipe=0xc1a74b00 running=0 timeout=0 uhci_device_bulk_start: xfer=0xc1ac0a00 len=4 flags=5 ii=0xc1ac0a70 uhci_alloc_std_chain: addr=2 endpt=2 len=4 speed=2 flags=0x5 uhci_alloc_std_chain: maxp=64 ntd=1 uhci_alloc_std_chain: nexttog=1 uhci_device_bulk_transfer: data(1) TD(0xc1630ee0) at 0f8a4ee0 = link=0x00000005 status=0x398003ff token=0x00610269 buffer=0x0f66a000 5 398003ff,errcnt=3,actlen=0 pid=69,addr=2,endpt=2,D=0,maxlen=4 uhci_add_bulk: sqh=0xc1631d40 uhci_start_loop: add uhci_device_bulk_transfer: data(2) TD(0xc1630ee0) at 0f8a4ee0 = link=0x00000005 status=0x398003ff token=0x00610269 buffer=0x0f66a000 5 398003ff,errcnt=3,actlen=0 pid=69,addr=2,endpt=2,D=0,maxlen=4 uhci_intr: real interrupt usb0: uhci_intr1 usb0 regs: cmd=0081, sts=0003, intr=000f, frnum=03f7, flbase=00208000, sof=0040, portsc1=0495, portsc2=05a5 usb_schedsoftintr: polling=0 usb0: uhci_softintr (0) uhci_check_intr: ii=0xc1ac0a70 uhci_check_intr: ii=0xc1ac0a70 done uhci_idone: ii=0xc1ac0a70 uhci_idone: ii=0xc1ac0a70, xfer=0xc1ac0a00, pipe=0xc1a74b00 ready TD(0xc1630ee0) at 0f8a4ee0 = link=0x00000005 status=0x19500003 token=0x00610269 buffer=0x0f66a000 5 19500003,errcnt=3,actlen=4 pid=69,addr=2,endpt=2,D=0,maxlen=4 uhci_idone: actlen=4, status=0x500000 uhci_idone: error, addr=2, endpt=0x82, status 0x500000 usb_transfer_complete: pipe=0xc1a74b00 xfer=0xc1ac0a00 status=13 actlen=4 usb_transfer_complete: repeat=0 new head=0 uhci_device_bulk_done: xfer=0xc1ac0a00 ii=0xc1ac0a70 sc=0xc15f7000 upipe=0xc1a74b00 uhci_remove_bulk: sqh=0xc1631d40 uhci_end_loop: remove uhci_find_prev_qh: pqh=0xc1632fc0 sqh=0xc1631d40 uhci_device_bulk_done: length=4 usbd_start_next: pipe=0xc1a74b00, xfer=0 uhci_idone: ii=0xc1ac0a70 done uhci_check_intr: ii=0xc1627670 uhci_check_intr: active ii=0xc1627670 uhci_check_intr: ii=0xc1627670 std=0xc1630f40 still active usb0: uhci_intr: exit uhci_intr: real interrupt usb1: uhci_intr1 usb1 regs: cmd=0081, sts=0000, intr=000f, frnum=019f, flbase=0f67f000, sof=0040, portsc1=0480, portsc2=0480 usbd_bulk_transfer: transferred 4 usbd_bulk_transfer: error=13 usbd_clear_endpoint_stall usbd_alloc_xfer() = 0xc1ac0c00 usbd_transfer: xfer=0xc1ac0c00, flags=2, pipe=0xc1adb600, running=0 usbd_dump_queue: pipe=0xc1adb600 usb_insert_transfer: pipe=0xc1adb600 running=0 timeout=5000 uhci_device_control type=0x02, request=0x01, wValue=0x0000, wIndex=0x0082 len=0, addr=2, endpt=0 uhci_device_request: before transfer TD(0xc1630f20) at 0f8a4f20 = link=0x0f8a4f04 status=0x18800000 token=0x00e0022d buffer=0x0f8c3e80 f8a4f04 18800000,errcnt=3,actlen=1 pid=2d,addr=2,endpt=0,D=0,maxlen=8 TD(0xc1630f00) at 0f8a4f00 = link=0x00000001 status=0x19800000 token=0xffe80269 buffer=0x00000000 1 19800000,errcnt=3,actlen=1 pid=69,addr=2,endpt=0,D=1,maxlen=0 uhci_add_ctrl: sqh=0xc1631d60 uhci_enter_ctl_q: follow from [0] TD(0xc1633fc0) at 0f967fc0 = link=0x0f8c6f62 status=0x02000000 token=0x00000000 buffer=0x00000000 f8c6f62 2000000,errcnt=0,actlen=1 pid=00,addr=0,endpt=0,D=0,maxlen=1 QH(0xc1632f60) at 0f8c6f60: hlink=0f965f22 elink=00000001 QH(0xc1632f60) at 0f8c6f60: hlink=0f965f22 elink=00000001 QH(0xc1631f20) at 0f965f20: hlink=0f8c6f82 elink=0f8a4f40 QH(0xc1632f80) at 0f8c6f80: hlink=0f8c6fa2 elink=00000001 QH(0xc1632fc0) at 0f8c6fc0: hlink=0f8c6fe2 elink=00000001 QH(0xc1632fe0) at 0f8c6fe0: hlink=00000001 elink=0f967fe0 Enqueued QH: QH(0xc1631d60) at 0f965d60: hlink=0f8c6fc2 elink=0f8a4f20 TD(0xc1630f20) at 0f8a4f20 = link=0x0f8a4f04 status=0x18800000 token=0x00e0022d buffer=0x0f8c3e80 f8a4f04 18800000,errcnt=3,actlen=1 pid=2d,addr=2,endpt=0,D=0,maxlen=8 TD(0xc1630f00) at 0f8a4f00 = link=0x00000001 status=0x19800000 token=0xffe80269 buffer=0x00000000 1 19800000,errcnt=3,actlen=1 pid=69,addr=2,endpt=0,D=1,maxlen=0 uhci_timeout: uxfer=0xc1ac0c00 usb_add_task: task=0xc1ac0c88 usb_task_thread: woke up task=0xc1ac0c88 uhci_timeout_task: xfer=0xc1ac0c00 uhci_abort_xfer: xfer=0xc1ac0c00, status=15 uhci_abort_xfer: stop ii=0xc1ac0c70 usb_schedsoftintr: polling=0 usb0: uhci_softintr (0) uhci_check_intr: ii=0xc1ac0c70 uhci_check_intr: aborted xfer=0xc1ac0c00 uhci_check_intr: ii=0xc1627670 uhci_check_intr: active ii=0xc1627670 uhci_check_intr: ii=0xc1627670 std=0xc1630f40 still active uhci_abort_xfer: callback usb_transfer_complete: pipe=0xc1adb600 xfer=0xc1ac0c00 status=15 actlen=0 usb_transfer_complete: repeat=0 new head=0 uhci_remove_hs_ctrl: sqh=0xc1631d60 uhci_find_prev_qh: pqh=0xc1632fa0 sqh=0xc1631d60 uhci_device_ctrl_done: length=0 usbd_start_next: pipe=0xc1adb600, xfer=0 usbd_free_xfer: 0xc1ac0c00 ulptread: error=13 usbd_ar_pipe: pipe=0xc1829480 usbd_dump_queue: pipe=0xc1829480 usbd_free_xfer: 0xc1ac0b00 usb_freemem: large free usb_block_freemem: size=4096 usbd_ar_pipe: pipe=0xc1a74b00 usbd_dump_queue: pipe=0xc1a74b00 usbd_free_xfer: 0xc1ac0a00 usb_freemem: large free usb_block_freemem: size=4096 ulptclose: closed >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Mon Mar 20 11:03:21 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 272C416A401 for ; Mon, 20 Mar 2006 11:03:21 +0000 (UTC) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02EC343D4C for ; Mon, 20 Mar 2006 11:03:19 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2KB3I5I082725 for ; Mon, 20 Mar 2006 11:03:18 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2KB3Gwa082719 for freebsd-usb@freebsd.org; Mon, 20 Mar 2006 11:03:16 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 20 Mar 2006 11:03:16 GMT Message-Id: <200603201103.k2KB3Gwa082719@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Mar 2006 11:03:21 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2005/08/10] usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_ o [2006/01/11] usb/91629 usb usbd_abort_pipe() may result in infinite 2 problems total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/07/19] usb/40792 usb signals lead to data loss on device ugen o [2002/12/10] usb/46176 usb [panic] umass causes kernel panic if devi o [2002/12/19] i386/46371 usb USB controller cannot be initialized on I f [2003/08/13] usb/55555 usb [ums] system freezes with access to /dev/ o [2003/09/26] bin/57255 usb usbd and multi-function devices o [2004/01/30] usb/62088 usb [usb] Logitech Cordless/Optical Mouse not o [2004/02/03] usb/62309 usb [ugen] [panic] panic: ugen(4) driver o [2004/03/01] usb/63621 usb [usb] USB MemoryStick Reader stalls/crash o [2004/07/13] usb/69006 usb [patch] Apple Cinema Display hangs USB po o [2004/08/30] usb/71155 usb [usb] misbehaving usb-printer hangs proce o [2004/10/30] usb/73307 usb [panic] Kernel panics on USB disconnect o [2004/12/06] usb/74771 usb [umass] mounting write-protected umass de o [2005/01/01] usb/75705 usb [panic] da0 attach / Optio S4 (with backt o [2005/01/04] usb/75797 usb 5.3-STABLE(2005 1/4) detect USB headset, f [2005/01/13] usb/76204 usb panic while using usb attached modem o [2005/01/18] usb/76395 usb USB printer does not work, usbdevs says " f [2005/01/25] usb/76684 usb [hang] Toshiba PDR-M4 camera connected vi o [2005/02/06] usb/77184 usb kernel panic on USB device disconnect o [2005/02/09] usb/77294 usb ucom + ulpcom panic o [2005/02/16] usb/77604 usb Sluggish Logitch LX700 USB Mouse o [2005/02/23] usb/77940 usb [patch] [panic] insertion of usb keyboard f [2005/03/01] i386/78218 usb [kue] kue not detected on Sony PCG-F370 V o [2005/03/18] usb/78989 usb please add USB keyboard support to instal o [2005/03/22] usb/79140 usb WD Firewire/USB Combo hangs under load on o [2005/03/27] usb/79269 usb USB ohci da0 plug/unplug causes crashes a o [2005/03/27] usb/79287 usb UHCI hang after interrupt transfer o [2005/04/04] usb/79524 usb printing to Minolta PagePro 1[23]xxW via f [2005/04/07] usb/79656 usb [usb] RHSC interrupts lost o [2005/04/09] usb/79722 usb [usb] wrong alignments in ehci.h o [2005/04/17] usb/80040 usb [hang] Use of sound mixer causes system f f [2005/04/22] usb/80260 usb Travan USB tape drive fails to write o [2005/04/26] usb/80361 usb mounting of usb-stick fails o [2005/04/26] usb/80373 usb usb keyboard does not respond f [2005/05/06] usb/80685 usb panic in usb_cold_explore() at begining o [2005/05/09] usb/80829 usb possible panic when loading USB-modules o [2005/05/10] usb/80862 usb [patch] USB locking issues: missing some o [2005/05/20] usb/81308 usb [ugen] [patch] polling a ugen(4) control f [2005/06/13] usb/82198 usb Panic on attaching of ONKI N-338 USB MP3 f [2005/06/15] usb/82272 usb Can not recognize Casio camera EX-Z40 as o [2005/06/17] usb/82350 usb [usb] null pointer dereference in USB sta o [2005/06/22] usb/82520 usb Reboot when USL101 connected o [2005/06/26] usb/82660 usb EHCI: I/O stuck in state 'physrd'/panic o [2005/07/15] usb/83504 usb [usb] SpeedTouch USB stop working on rece o [2005/07/16] usb/83563 usb [panic] Page Fault while detaching Mpman o [2005/07/18] usb/83677 usb [usb] usb controller often not detected ( o [2005/07/19] usb/83756 usb Microsoft Intellimouse Explorer 4.0A does o [2005/07/24] usb/83977 usb [ucom] [panic] ucom1: open bulk out error o [2005/07/30] usb/84326 usb [umass] Panic trying to connect SCSI tape o [2005/07/30] usb/84336 usb [usb] [reboot] instant system reboot when o [2005/08/15] usb/84936 usb install - usb keyboard not recognized o [2005/09/12] usb/86031 usb need support usb nic rt2500 in my 5.4 STA o [2005/09/30] usb/86767 usb [usb] bogus "slice starts beyond end of t o [2005/10/08] usb/87099 usb panic: ohci_add_done: addr 0x000d1bf0 not o [2005/10/16] usb/87519 usb [kbd] cannot install on USB-only system o [2005/10/17] usb/87565 usb [PATCH] Support for Vodaphone 3G/UMTS car o [2005/11/09] usb/88743 usb [hang] USB makes kernel hang at boot (reg o [2005/11/14] usb/88966 usb kldunload ucom.ko returns "Device busy" e o [2005/11/14] usb/89003 usb LaCie Firewire drive not properly support o [2005/11/18] usb/89218 usb flash disk o [2005/12/05] usb/89954 usb [usb] USB Disk driver race condition? f [2005/12/05] usb/89997 usb [umass] [panic] panic on iPod mini detach o [2005/12/09] usb/90162 usb [usb] [patch] Add support for the MS Wire o [2005/12/20] usb/90700 usb Kernel panic on connect/mount/use umass d o [2006/01/02] usb/91238 usb USB tape unit fails to write a second tap o [2006/01/03] usb/91263 usb [patch] USB quirk needed for Logitec USB o [2006/01/09] usb/91538 usb Unable to print to EPSON CX3500 o [2006/01/17] usb/91906 usb FreeBSD hangs while booting with USB lega o [2006/01/20] usb/92052 usb usbd causes defunct process with busy fil o [2006/01/22] usb/92142 usb SET_ADDR_FAILED and SHORT_XFER errors fro o [2006/01/22] usb/92171 usb [panic] panic unplugging Vodafone Mobile o [2006/02/10] usb/93155 usb /dev/ulpt0: device busy USB printer doe o [2006/02/15] usb/93408 usb hw.acpi.cpu.cx_lowest=C3 on AMD Turion ca f [2006/02/17] usb/93496 usb USB2.0 umass stalls on VIA o [2006/02/21] usb/93640 usb device ehci causes interrupt storm on thi o [2006/02/23] usb/93738 usb [ukbd] [patch] ukbd_check_char returns FA o [2006/02/25] usb/93828 usb ohci causes panic on boot (HP Pavillion d o [2006/02/28] usb/93949 usb ugen(4)-related repeatable kernel panic i o [2006/03/07] usb/94166 usb btx halted with a flashcard plugged o [2006/03/20] usb/94717 usb Reading from /dev/ulpt can break work of 79 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2001/09/30] conf/30929 usb [patch] use usbd to initialize USB ADSL m s [2001/12/09] usb/32653 usb Added patches to improve USB scanner supp o [2002/07/24] usb/40948 usb [usb] USB HP CDW8200 does not work f [2002/08/07] usb/41415 usb [usb] [patch] Some USB scanners cannot ta o [2003/02/16] usb/48342 usb [PATCH] usbd dynamic device list. o [2003/05/08] kern/51958 usb [usb] [patch] update for urio driver o [2003/05/10] kern/52026 usb [usb] feature request: umass driver suppo o [2003/06/08] usb/53025 usb [ugen] [patch] ugen does not allow O_NONB o [2003/08/28] usb/56095 usb [usb] [patch] QUIRK: Apacer Pen Drive fai f [2003/12/15] usb/60248 usb [patch] Problem with USB printer HP Laser o [2004/01/12] usb/61234 usb [usb] [patch] usbhidaction(1) doesn't sup o [2004/03/06] usb/63837 usb [uhid] [patch] USB: hid_is_collection() o o [2004/04/19] kern/65769 usb [usb] Call to tcflush(x, TCIFLUSH) stops o [2004/05/11] kern/66547 usb [usb] Palm Tungsten T USB does not initia o [2004/06/23] usb/68232 usb [ugen] [patch] ugen(4) isochronous handli o [2004/06/27] usb/68412 usb [usb] [patch] QUIRK: Philips KEY013 USB M o [2004/08/16] usb/70523 usb [usb] [patch] umct sending/receiving wron o [2004/08/25] usb/70942 usb [usb] Genius Wireless USB mouse: moused d o [2004/09/06] usb/71416 usb [usb] Cryptoflex e-gate USB token (ugen0) o [2004/09/06] usb/71417 usb [usb] Cryptoflex e-gate USB token (ugen0) o [2004/09/07] usb/71455 usb [usb] Slow USB umass performance of 5.3 o [2004/09/11] usb/71605 usb [umass] [patch] umass doesn't recognize m o [2004/10/06] usb/72380 usb [usb] USB does not work [dual Celeron Abi o [2004/10/15] usb/72732 usb [patch] Kyocera 7135 quirk. o [2004/10/15] usb/72733 usb Kyocera 7135 Palm OS connection problem. o [2004/10/23] usb/73056 usb [usb] Sun Microsystems Type 6 USB mouse n f [2004/11/05] usb/73553 usb [usb] Microsoft USB Internet Keyboard not o [2004/11/21] usb/74211 usb USB flash drive causes CAM status 0x4 on f [2004/11/25] usb/74358 usb [umass] unplugging at boot time an umass o [2004/11/27] usb/74453 usb Q-lity CD-RW USB ECW-043 (ScanLogic SL11R o [2004/11/30] usb/74557 usb imation 500mb usb key can only be written o [2004/12/02] usb/74609 usb [usb] [patch] allowing cdma modems to wor o [2004/12/08] usb/74849 usb [usb] [patch] Samsung SPH-i500 does not a o [2004/12/09] usb/74880 usb [usb] [patch] Samsung N400 cellphone/acm o [2005/01/04] usb/75800 usb ucom1: init failed STALLED error in time o [2005/01/07] usb/75928 usb Cytronix SmartMedia card (SMC) reader has o [2005/01/19] usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4 o [2005/01/27] usb/76732 usb Mouse problems with USB KVM Switch f [2005/03/03] usb/78371 usb Philips Wearable Audio Player (128) fails f [2005/03/18] usb/78984 usb Creative MUVO umass failure o [2005/04/09] usb/79723 usb [usb] prepare for high speed isochronous o [2005/04/09] usb/79725 usb [usb] [patch] USB device speed is not dou o [2005/04/14] usb/79893 usb [umass] [patch] new usbdevs/umass quirks o [2005/04/16] usb/80010 usb [aue] [patch] add support for the AEI USB f [2005/04/27] usb/80420 usb atapicam stops iPod functionality f [2005/05/08] usb/80773 usb "usbd_get_string()" could have taken a le o [2005/05/08] usb/80774 usb have "usbd_find_desc" in line with the ot o [2005/05/08] usb/80776 usb [udav] UDAV device driver shouldn't use u o [2005/05/08] usb/80777 usb usb_rem_task() should wait for callback t o [2005/05/10] usb/80854 usb suggestion for new iface-no-probe mechani o [2005/05/12] usb/80935 usb uvisor.c is not work with CLIE TH55. o [2005/05/15] usb/81073 usb [umass] [patch] fix umass NO_GETMAXLUN qu o [2005/05/18] usb/81191 usb Support for Curitel HX-550C USB modem to f [2005/05/29] usb/81621 usb external hd hangs under load on ehci o [2005/06/20] usb/82436 usb [patch] USL101 Host-to-Host bridge suppor o [2005/06/30] usb/82839 usb [patch] add support for Aceeca Mez1000 de o [2005/07/05] usb/83022 usb ALI USB 2.0 EHCI Controller is not detect o [2005/07/21] usb/83863 usb Communication problem between opensc/open o [2005/08/18] usb/85067 usb Cannot attach ScanJet 4300C to usb device o [2005/09/11] usb/85992 usb [uhid] [patch] USB stops working when try o [2005/09/16] usb/86195 usb [patch] allow USB Ethernet Adaptor "ELECO o [2005/09/18] usb/86298 usb Known good USB mouse won't work with corr o [2005/09/21] usb/86438 usb Fix for non-working iPod over USB is in N o [2005/10/10] usb/87224 usb Cannot mount USB Zip750 o [2005/10/19] usb/87648 usb [mouse] Logitech USB-optical mouse proble o [2005/11/02] usb/88408 usb axe0 read PHY failed o [2005/11/13] usb/88939 usb Fix cheapy Myson USB-IDE adapter f [2005/11/15] usb/89087 usb usb external harddrive hangs with BBB res f [2006/01/01] usb/91191 usb HP LaserJet 1020 (USB printer) not recogn f [2006/01/08] usb/91516 usb [umass] umass0 problems, with Freecom Cla o [2006/01/09] usb/91546 usb [umodem][path] Nokia 6630 mobile phone do o [2006/01/15] usb/91811 usb Compact Flash in HP Photosmart 2610 retur o [2006/01/16] usb/91863 usb Philips USB webcam driver o [2006/01/17] usb/91896 usb Serial Number of USB Memory Sticks is not o [2006/01/25] usb/92306 usb [quirk] [patch] Support for iRiver U10 US o [2006/01/27] usb/92403 usb uplcom.c needs new entry for 4.00 revisio o [2006/01/28] usb/92462 usb [patch] Add support for Epson CX3500/3600 o [2006/02/05] usb/92852 usb Vertical scroll not working properly on A o [2006/02/08] usb/93011 usb HP ScanJet 6200C & uscanner problem o [2006/02/15] usb/93389 usb Digital Camera Pentax S60 don't work o [2006/02/17] usb/93484 usb [umass] [patch] QUIRK: Toshiba TransMemor o [2006/02/26] usb/93872 usb [patch] SCSI quirk required for ELTA 8061 o [2006/03/06] usb/94132 usb USB QUIRK for CENTURY EX35QUAT disk enclo f [2006/03/06] usb/94147 usb doesn't recognise my USB keyboard o [2006/03/06] usb/94148 usb Make if_cdce work with ARM linux handheld o [2006/03/11] usb/94311 usb [ugen][PATCH] allow interrupt IN transact o [2006/03/14] usb/94439 usb [patch] Add support for JNC MP3 Player o [2006/03/14] usb/94440 usb Add support for JNC MP3 Player 88 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Mar 20 15:11:55 2006 Return-Path: X-Original-To: freebsd-usb@FreeBSD.org Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F38D316A400 for ; Mon, 20 Mar 2006 15:11:54 +0000 (UTC) (envelope-from p-celej@o2.pl) Received: from poczta.o2.pl (mx2.go2.pl [193.17.41.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 603A943D75 for ; Mon, 20 Mar 2006 15:11:53 +0000 (GMT) (envelope-from p-celej@o2.pl) Received: from [192.168.0.25] (unknown [80.50.246.86]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by poczta.o2.pl (Postfix) with ESMTP id 5D1B0748074 for ; Mon, 20 Mar 2006 16:11:51 +0100 (CET) Message-ID: <441EC668.4050705@o2.pl> Date: Mon, 20 Mar 2006 16:12:40 +0100 From: =?ISO-8859-2?Q?Przemys=B3aw_Celej?= User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: freebsd-usb@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: ugen(4)-related repeatable kernel panic in 6.1-PRERELEASE 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, 20 Mar 2006 15:11:55 -0000 Hi Why this bug[1] isn't mentioned on 6.1R TODO list ? [1]: http://www.freebsd.org/cgi/query-pr.cgi?pr=93949 -- Pozdrawiam Przemysław Celej From owner-freebsd-usb@FreeBSD.ORG Mon Mar 20 17:57:08 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B758116A400; Mon, 20 Mar 2006 17:57:08 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76BEE43D46; Mon, 20 Mar 2006 17:57:08 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2KHv8A0014839; Mon, 20 Mar 2006 17:57:08 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2KHv8gc014835; Mon, 20 Mar 2006 17:57:08 GMT (envelope-from linimon) Date: Mon, 20 Mar 2006 17:57:08 GMT From: Mark Linimon Message-Id: <200603201757.k2KHv8gc014835@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-usb@FreeBSD.org Cc: Subject: Re: usb/94742: [umass] [patch] umass driver does not recognise YANO external USB-HDD. 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, 20 Mar 2006 17:57:08 -0000 Old Synopsis: [patch] umass driver does not recognise YANO external USB-HDD. New Synopsis: [umass] [patch] umass driver does not recognise YANO external USB-HDD. Responsible-Changed-From-To: freebsd-bugs->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Mon Mar 20 17:56:48 UTC 2006 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=94742 From owner-freebsd-usb@FreeBSD.ORG Mon Mar 20 18:27:46 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA9BA16A420 for ; Mon, 20 Mar 2006 18:27:46 +0000 (UTC) (envelope-from matheusber@yahoo.com.br) Received: from web36712.mail.mud.yahoo.com (web36712.mail.mud.yahoo.com [209.191.85.46]) by mx1.FreeBSD.org (Postfix) with SMTP id 3994043D55 for ; Mon, 20 Mar 2006 18:27:45 +0000 (GMT) (envelope-from matheusber@yahoo.com.br) Received: (qmail 22962 invoked by uid 60001); 20 Mar 2006 18:27:45 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=T1EO/nLsS2MgDafcrXMnEAsQRYaGl2vRnJtr/YpsmW4wKH84RkD9OB7a/Rah57BQy/sYKViwD1l12tqmzPD4oSaonXkBiQlhbxvkf8ndQqVhgw4oNvPC2T9NcUp8I9JqpbmwqZ6E+MZR0UsdH5/UOVUQwYh70aXrOFEzFVt9zgc= ; Message-ID: <20060320182745.22960.qmail@web36712.mail.mud.yahoo.com> Received: from [150.165.63.137] by web36712.mail.mud.yahoo.com via HTTP; Mon, 20 Mar 2006 10:27:45 PST Date: Mon, 20 Mar 2006 10:27:45 -0800 (PST) From: Nenhum de Nos To: FreeBSD-usb In-Reply-To: <20060307161741.2x9opfeji8c8wcgw@netchild.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: external usb dvdrw 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, 20 Mar 2006 18:27:46 -0000 --- Alexander Leidinger wrote: > Nenhum de Nos wrote: > > > hello, > > > > i have a LG dvdrw and a vipower external > enclosure, > > and a toshiba notebook that can burn dvd's and > cd's > > using it. > > > > every command that is not reading a cd/dvd gets me > an > > error. when i run dvd+rw-mediainfo /dev/cd0 it > > produces an 0x46 error in dmesg. > > There where some commits regarding something like > this to -current recently. > I don't know if they will be in 6.1-RELEASE or not, > but the probability is > high that those changes will be merged to 6.1. > > Bye, > Alexander. > > -- > http://www.Leidinger.net Alexander @ Leidinger.net: > PGP ID = B0063FE7 > http://www.FreeBSD.org netchild @ FreeBSD.org : > PGP ID = 72077137 > Kerr's Three Rules for a Successful College: > Have plenty of football for the alumni, sex for the > students, > and parking for the faculty. > > > "Throw off those chains of reason And your prison disappears." __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-usb@FreeBSD.ORG Tue Mar 21 00:25:14 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C3DD16A423; Tue, 21 Mar 2006 00:25:14 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F64043D49; Tue, 21 Mar 2006 00:25:13 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2L0PDtG041532; Tue, 21 Mar 2006 00:25:13 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2L0PCMm041528; Tue, 21 Mar 2006 00:25:12 GMT (envelope-from linimon) Date: Tue, 21 Mar 2006 00:25:12 GMT From: Mark Linimon Message-Id: <200603210025.k2L0PCMm041528@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-i386@FreeBSD.org, freebsd-usb@FreeBSD.org Cc: Subject: Re: usb/94384: kernel panic with usb2 hardware 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, 21 Mar 2006 00:25:14 -0000 Synopsis: kernel panic with usb2 hardware Responsible-Changed-From-To: freebsd-i386->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Tue Mar 21 00:24:11 UTC 2006 Responsible-Changed-Why: Reassign. http://www.freebsd.org/cgi/query-pr.cgi?pr=94384 From owner-freebsd-usb@FreeBSD.ORG Tue Mar 21 01:03:54 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B17D616A401; Tue, 21 Mar 2006 01:03:54 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D76743D49; Tue, 21 Mar 2006 01:03:54 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2L13sMq045926; Tue, 21 Mar 2006 01:03:54 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2L13sSf045922; Tue, 21 Mar 2006 01:03:54 GMT (envelope-from linimon) Date: Tue, 21 Mar 2006 01:03:54 GMT From: Mark Linimon Message-Id: <200603210103.k2L13sSf045922@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-i386@FreeBSD.org, freebsd-usb@FreeBSD.org Cc: Subject: Re: usb/91283: booting very slow with usb devices connection (regression vs. 5.2) 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, 21 Mar 2006 01:03:54 -0000 Synopsis: booting very slow with usb devices connection (regression vs. 5.2) Responsible-Changed-From-To: freebsd-i386->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Tue Mar 21 01:03:28 UTC 2006 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=91283 From owner-freebsd-usb@FreeBSD.ORG Tue Mar 21 01:11:55 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16F6416A420 for ; Tue, 21 Mar 2006 01:11:55 +0000 (UTC) (envelope-from matheusber@yahoo.com.br) Received: from web36703.mail.mud.yahoo.com (web36703.mail.mud.yahoo.com [209.191.85.37]) by mx1.FreeBSD.org (Postfix) with SMTP id 711C043D77 for ; Tue, 21 Mar 2006 01:11:44 +0000 (GMT) (envelope-from matheusber@yahoo.com.br) Received: (qmail 11314 invoked by uid 60001); 21 Mar 2006 01:11:43 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=1ZfbZQcAXcjP5bFW47aamndbqBkqiTIk6c3+MXglnYNXw+r+NG2mkfaFUd8Cu3XTci9nyf4Y+FiRYft4zJsL3loAQ0chMj84NSUgpjwp5Z03v0xZRF+UGIOEMrImYcWqahylIcxuj/Q4hVSxjhAnLHqcHH+rek4H7gS3g6WhENk= ; Message-ID: <20060321011143.11312.qmail@web36703.mail.mud.yahoo.com> Received: from [200.165.187.220] by web36703.mail.mud.yahoo.com via HTTP; Mon, 20 Mar 2006 17:11:43 PST Date: Mon, 20 Mar 2006 17:11:43 -0800 (PST) From: Nenhum de Nos To: FreeBSD-usb MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: external usb dvdrw 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, 21 Mar 2006 01:11:55 -0000 ok, so first of all i'd like to apologise for the blank mail ... and here is the question, how can i find this patches ? i looked in freebsd.org and got nothing. there was a patch-finder like thing, but i didnt suceed :( if anyone knows, please share :) thanks matheus --- Alexander Leidinger wrote: > Am Mon, 20 Mar 2006 10:27:23 -0800 (PST) > schrieb Nenhum de Nos : > > > how can i find these commits ? how can i apply > these > > patchs ? > > Uhm.. you have to ask the people which did the work. > I don't know if > they apply to RELENG_6 or not. Maybe you should ask > on current@ or on > usb@. > > Bye, > Alexander. > > -- > Reboot America. > http://www.Leidinger.net > Alexander @ Leidinger.net > GPG fingerprint = C518 BC70 E67F 143F BE91 3365 > 79E2 9C60 B006 3FE7 > WL > http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/ > "Throw off those chains of reason And your prison disappears." __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-usb@FreeBSD.ORG Tue Mar 21 19:09:19 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFB9A16A400; Tue, 21 Mar 2006 19:09:19 +0000 (UTC) (envelope-from weshasmail@cmtk.net) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.200.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72E5543D6A; Tue, 21 Mar 2006 19:09:19 +0000 (GMT) (envelope-from weshasmail@cmtk.net) Received: from [192.168.1.2] (c-67-175-209-25.hsd1.il.comcast.net[67.175.209.25]) by comcast.net (sccrmhc13) with ESMTP id <2006032119091701300efp1te>; Tue, 21 Mar 2006 19:09:18 +0000 Date: Tue, 21 Mar 2006 13:07:14 -0600 From: Wesha the Leopard X-Mailer: The Bat! (v3.71.01) Professional X-Priority: 3 (Normal) Message-ID: <144860699.20060321130714@cmtk.net> To: Ian Dowse In-Reply-To: <200602250449.k1P4n5aW055990@freefall.freebsd.org> References: <200602250449.k1P4n5aW055990@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-bugs@wesha.name, freebsd-usb@FreeBSD.org Subject: Re[2]: usb/93496: USB2.0 umass stalls on VIA 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, 21 Mar 2006 19:09:20 -0000 Hello Ian, Friday, February 24, 2006, 10:49:05 PM, you wrote: ID> Could you try updating to 6-stable? There are new workarounds in ID> place for interrupt loss on VIA controllers. I tested 6.0-RELEASE with 6.0-CURRENT usb subtree patch on the production box, and it still stalls. See the log below. Again, this is *WITH* all USB changes (including ehci) from -current. -- dev attach: Mar 19 20:02:23 wesha kernel: umass0: Cypress Semiconductor USB2.0 Storage Device, rev 2.00/0.01, addr 2 Mar 19 20:02:23 wesha kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000 Mar 19 20:02:23 wesha kernel: umass0: Get Max Lun not supported (STALLED) Mar 19 20:02:23 wesha kernel: umass0:0:0:-1: Attached to scbus0 Mar 19 20:02:31 wesha kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Mar 19 20:02:31 wesha kernel: da0: Fixed Direct Access SCSI-0 device Mar 19 20:02:31 wesha kernel: da0: 40.000MB/s transfers Mar 19 20:02:31 wesha kernel: da0: 286188MB (586114704 512 byte sectors: 255H 63S/T 36483C) -- started copying from the USB drive to /dev/null Mar 19 20:23:25 wesha kernel: ehci_alloc_sqtd_chain: start len=16384 Mar 19 20:23:25 wesha kernel: ehci_alloc_sqtd_chain: start len=65536 Mar 19 20:23:25 wesha kernel: ehci_alloc_sqtd_chain: start len=65536 Mar 19 20:23:25 wesha kernel: ehci_alloc_sqtd_chain: start len=49152 Mar 19 20:23:25 wesha kernel: ehci_alloc_sqtd_chain: start len=16384 Mar 19 20:23:25 wesha kernel: ehci_alloc_sqtd_chain: start len=65536 Mar 19 20:23:25 wesha last message repeated 197 times -- stalls: Mar 19 20:24:30 wesha kernel: ehci_timeout: exfer=0xc1a58900 Mar 19 20:24:30 wesha kernel: ehci_timeout_task: xfer=0xc1a58900 Mar 19 20:24:30 wesha kernel: ehci_abort_xfer: xfer=0xc1a58900 pipe=0xc1a6e100 Mar 19 20:24:30 wesha kernel: ehci_intr1: door bell Mar 19 20:24:30 wesha kernel: ehci_device_clear_toggle: epipe=0xc1a6e100 status=0x0 Mar 19 20:24:30 wesha kernel: usbd_dump_pipe: pipe=0xc1a6e100 Mar 19 20:24:30 wesha kernel: usbd_dump_iface: iface=0xc185f180 Mar 19 20:24:30 wesha kernel: device=0xc1a71000 idesc=0xc185fc89 index=0 altindex=0 priv=0 Mar 19 20:24:30 wesha kernel: usbd_dump_device: dev=0xc1a71000 Mar 19 20:24:30 wesha kernel: bus=0xc1556000 default_pipe=0xc1a70e00 Mar 19 20:24:30 wesha kernel: address=2 config=1 depth=1 speed=3 self_powered=1 power=0 langid=1033 Mar 19 20:24:30 wesha kernel: usbd_dump_endpoint: endp=0xc1a9da8c Mar 19 20:24:30 wesha kernel: edesc=0xc185fc99 refcnt=1 Mar 19 20:24:30 wesha kernel: bEndpointAddress=0x88 Mar 19 20:24:30 wesha kernel: (usbd_dump_pipe:) Mar 19 20:24:30 wesha kernel: refcnt=1 running=1 aborting=0 Mar 19 20:24:30 wesha kernel: intrxfer=0, repeat=0, interval=-1 -- note this moment Mar 19 20:25:35 wesha kernel: ehci_timeout: exfer=0xc19e5500 Mar 19 20:25:35 wesha kernel: ehci_timeout_task: xfer=0xc19e5500 Mar 19 20:25:35 wesha kernel: ehci_abort_xfer: xfer=0xc19e5500 pipe=0xc1a6e100 Mar 19 20:25:35 wesha kernel: ehci_intr1: door bell Mar 19 20:25:36 wesha kernel: ehci_device_clear_toggle: epipe=0xc1a6e100 status=0x0 Mar 19 20:25:36 wesha kernel: usbd_dump_pipe: pipe=0xc1a6e100 Mar 19 20:25:36 wesha kernel: usbd_dump_iface: iface=0xc185f180 Mar 19 20:25:36 wesha kernel: device=0xc1a71000 idesc=0xc185fc89 index=0 altindex=0 priv=0 Mar 19 20:25:36 wesha kernel: usbd_dump_device: dev=0xc1a71000 Mar 19 20:25:36 wesha kernel: bus=0xc1556000 default_pipe=0xc1a70e00 Mar 19 20:25:36 wesha kernel: address=2 config=1 depth=1 speed=3 self_powered=1 power=0 langid=1033 Mar 19 20:25:36 wesha kernel: usbd_dump_endpoint: endp=0xc1a9da8c Mar 19 20:25:36 wesha kernel: edesc=0xc185fc99 refcnt=1 Mar 19 20:25:36 wesha kernel: bEndpointAddress=0x88 Mar 19 20:25:36 wesha kernel: (usbd_dump_pipe:) Mar 19 20:25:36 wesha kernel: refcnt=1 running=0 aborting=0 Mar 19 20:25:36 wesha kernel: intrxfer=0, repeat=0, interval=-1 Mar 19 20:25:36 wesha kernel: ehci_device_clear_toggle: epipe=0xc1a70380 status=0x80008c00 Mar 19 20:25:36 wesha kernel: usbd_dump_pipe: pipe=0xc1a70380 Mar 19 20:25:36 wesha kernel: usbd_dump_iface: iface=0xc185f180 Mar 19 20:25:36 wesha kernel: device=0xc1a71000 idesc=0xc185fc89 index=0 altindex=0 priv=0 Mar 19 20:25:36 wesha kernel: usbd_dump_device: dev=0xc1a71000 Mar 19 20:25:36 wesha kernel: bus=0xc1556000 default_pipe=0xc1a70e00 Mar 19 20:25:36 wesha kernel: address=2 config=1 depth=1 speed=3 self_powered=1 power=0 langid=1033 Mar 19 20:25:36 wesha kernel: usbd_dump_endpoint: endp=0xc1a9da80 Mar 19 20:25:36 wesha kernel: edesc=0xc185fc92 refcnt=1 Mar 19 20:25:36 wesha kernel: bEndpointAddress=0x02 Mar 19 20:25:36 wesha kernel: (usbd_dump_pipe:) Mar 19 20:25:36 wesha kernel: refcnt=1 running=0 aborting=0 Mar 19 20:25:36 wesha kernel: intrxfer=0, repeat=0, interval=-1 -- resumes copying normally: Mar 19 20:25:36 wesha kernel: ehci_alloc_sqtd_chain: start len=65536 Mar 19 20:25:36 wesha last message repeated 176 times Mar 19 20:25:36 wesha kernel: ehci_alloc_sqtd_chain: start len=32768 Mar 19 20:25:36 wesha kernel: ehci_alloc_sqtd_chain: start len=65536 Mar 19 20:25:37 wesha last message repeated 136 times Mar 19 20:25:37 wesha kernel: ehci_alloc_sqtd_chain: start len=16384 Mar 19 20:25:37 wesha kernel: ehci_alloc_sqtd_chain: start len=32768 Mar 19 20:25:37 wesha kernel: ehci_alloc_sqtd_chain: start len=16384 Mar 19 20:25:37 wesha kernel: ehci_alloc_sqtd_chain: start len=65536 Mar 19 20:25:39 wesha last message repeated 511 times Mar 19 20:25:39 wesha kernel: ehci_alloc_sqtd_chain: start len=16384 Mar 19 20:25:39 wesha kernel: ehci_alloc_sqtd_chain: start len=49152 (and so on) -- Best regards, Wesha mailto:weshasmail@cmtk.net From owner-freebsd-usb@FreeBSD.ORG Tue Mar 21 20:07:21 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4776316A420; Tue, 21 Mar 2006 20:07:21 +0000 (UTC) (envelope-from mistry.7@osu.edu) Received: from mail.united-ware.com (am-productions.biz [69.61.164.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBFA943D48; Tue, 21 Mar 2006 20:07:20 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.100] (am-productions.biz [69.61.164.22]) (authenticated bits=0) by mail.united-ware.com (8.13.4/8.13.4) with ESMTP id k2LKKqu7082636 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 21 Mar 2006 15:20:57 -0500 (EST) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: freebsd-usb@freebsd.org Date: Tue, 21 Mar 2006 15:10:10 -0500 User-Agent: KMail/1.9.1 References: <4412B83F.1080100@oslonett.no> <4417BC48.9060802@yubc.net> In-Reply-To: <4417BC48.9060802@yubc.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1253457.Nfv71lNkQt"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200603211510.18064.mistry.7@osu.edu> X-Spam-Status: No, score=-11.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, MYFREEBSD2,MYFREEBSD3 autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on mail.united-ware.com X-Virus-Scanned: ClamAV 0.88/1347/Tue Mar 21 11:35:25 2006 on mail.united-ware.com X-Virus-Status: Clean Cc: Ian Dowse Subject: Re: [PATCH] Logitech USB Receiver mouse workaround patch 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, 21 Mar 2006 20:07:21 -0000 --nextPart1253457.Nfv71lNkQt Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 15 March 2006 02:03, Nenad Kljajic wrote: > I have tested your hid.c patch and I can say that it is working. > Due to date of your patch, I was under the impression that it > was included in 6.0 release. > > Morten Johansen wrote: > >Nenad Kljajic wrote: > >>There is some problem with hid_report_size() function > >>and Logitech USB receiver in /usr/src/sys/dev/usb/ums.c. > >>The returned value is 14 but it should be 8. > >>This results in subsamling mouse data and jerky cursor movement. > >> > >>I have tested this workaround patch for > >>Logitech=AE Cordless Desktop=AE MX=99 3100 > >>and it works fine now. > > > >Can you try the attached patch to hid.c instead the workaround? > >There is also an open PR usb/77604 on this. I've just tested this and it works. It fixes the problem, rather than=20 hacking around it like the last commit to hid.c. Ian, can you see that this makes it into 6.1? =2D-=20 Anish Mistry --nextPart1253457.Nfv71lNkQt Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEIF2qxqA5ziudZT0RAgi9AKDNVy840IMhLnysSpfJNq5VjQMpewCfc7Dc 34/JDzsI+HJKytAxe5HspbU= =r4BP -----END PGP SIGNATURE----- --nextPart1253457.Nfv71lNkQt-- From owner-freebsd-usb@FreeBSD.ORG Tue Mar 21 20:29:55 2006 Return-Path: X-Original-To: freebsd-usb@FreeBSD.org Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C776516A400 for ; Tue, 21 Mar 2006 20:29:55 +0000 (UTC) (envelope-from iedowse@iedowse.com) Received: from nowhere.iedowse.com (nowhere.iedowse.com [82.195.144.75]) by mx1.FreeBSD.org (Postfix) with SMTP id 1CBE243D45 for ; Tue, 21 Mar 2006 20:29:49 +0000 (GMT) (envelope-from iedowse@iedowse.com) Received: from localhost ([127.0.0.1] helo=iedowse.com) by nowhere.iedowse.com via local-iedowse id ; 21 Mar 2006 20:29:46 +0000 (GMT) To: Wesha the Leopard In-Reply-To: Your message of "Tue, 21 Mar 2006 13:07:14 CST." <144860699.20060321130714@cmtk.net> Date: Tue, 21 Mar 2006 20:29:45 +0000 From: Ian Dowse Message-ID: <200603212029.aa89962@nowhere.iedowse.com> Cc: freebsd-bugs@wesha.name, freebsd-usb@FreeBSD.org Subject: Re: Re[2]: usb/93496: USB2.0 umass stalls on VIA 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, 21 Mar 2006 20:29:55 -0000 In message <144860699.20060321130714@cmtk.net>, Wesha the Leopard writes: >Hello Ian, > >Friday, February 24, 2006, 10:49:05 PM, you wrote: > >ID> Could you try updating to 6-stable? There are new workarounds in >ID> place for interrupt loss on VIA controllers. > >I tested 6.0-RELEASE with 6.0-CURRENT usb subtree patch on the >production box, and it still stalls. See the log below. Again, this is >*WITH* all USB changes (including ehci) from -current. Thanks for the update. It would be useful if you could apply the following change to ehci.c to get more information - sorry, you'll need to apply it manually as I've just pasted it from a larger diff: @@ -2666,8 +2738,11 @@ DPRINTF(("ehci_timeout: exfer=%p\n", exfer)); #ifdef USB_DEBUG - if (ehcidebug > 1) + if (ehcidebug > 1) { usbd_dump_pipe(exfer->xfer.pipe); + ehci_dump_sqh(epipe->sqh); + ehci_dump_sqtds(epipe->sqh->sqtd); + } #endif if (sc->sc_dying) { I now have one hardware configuration here where I can reproduce stalls with a VIA VT6202 and a USB 2.0 flash drive, but I've been unable so far to find the cause - in my case the flash drive completes a normal umass BBB transfer and returns the BBB status block, but then the next BBB command times out and the drive never responds again to anything, including reset requests. Interestingly out of two different USB 2.0 hubs I have, connecting the flash drive through one particular hub seems to make the stalls go away, but not if I use the other one, and the drive seems to work fine on an Intel EHCI controller. There are however quite a few other areas where the ehci driver is not following the specification, such as in the way it appends new transfer descriptors to queue heads, so hopefully a patch for one of those issues might help you. The debug output from the patch above will at least indicate whether the request that timed out was properly set up by the driver. Ian From owner-freebsd-usb@FreeBSD.ORG Tue Mar 21 22:00:35 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91CAE16A427 for ; Tue, 21 Mar 2006 22:00:35 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF9AF43D49 for ; Tue, 21 Mar 2006 22:00:34 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2LM0Y67037757 for ; Tue, 21 Mar 2006 22:00:34 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2LM0YMp037756; Tue, 21 Mar 2006 22:00:34 GMT (envelope-from gnats) Resent-Date: Tue, 21 Mar 2006 22:00:34 GMT Resent-Message-Id: <200603212200.k2LM0YMp037756@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, Jan Zach Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DDF916A422 for ; Tue, 21 Mar 2006 21:58:47 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2511543D4C for ; Tue, 21 Mar 2006 21:58:47 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k2LLwkdB035319 for ; Tue, 21 Mar 2006 21:58:46 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k2LLwkdQ035318; Tue, 21 Mar 2006 21:58:46 GMT (envelope-from nobody) Message-Id: <200603212158.k2LLwkdQ035318@www.freebsd.org> Date: Tue, 21 Mar 2006 21:58:46 GMT From: Jan Zach To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: usb/94813: mounting write-protected umass device freezes computer 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, 21 Mar 2006 22:00:35 -0000 >Number: 94813 >Category: usb >Synopsis: mounting write-protected umass device freezes computer >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 21 22:00:33 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Jan Zach >Release: 6.0-RELEASE-p3 >Organization: >Environment: FreeBSD golem.zach.eu 6.0-RELEASE-p3 FreeBSD 6.0-RELEASE-p3 #3: Thu Feb 9 15:46:42 CET 2006 >Description: Mounting write-protected umass device freezes computer. Cold reset required. >How-To-Repeat: Plug a write-protected memory stick. Mount mount_msdosfs /dev/da0s1 /mnt. Reset :-) >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Wed Mar 22 02:06:33 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B0B516A423; Wed, 22 Mar 2006 02:06:33 +0000 (UTC) (envelope-from iedowse@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F190443D53; Wed, 22 Mar 2006 02:06:29 +0000 (GMT) (envelope-from iedowse@FreeBSD.org) Received: from freefall.freebsd.org (iedowse@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2M26T6o053631; Wed, 22 Mar 2006 02:06:29 GMT (envelope-from iedowse@freefall.freebsd.org) Received: (from iedowse@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2M26Tl5053627; Wed, 22 Mar 2006 02:06:29 GMT (envelope-from iedowse) Date: Wed, 22 Mar 2006 02:06:29 GMT From: Ian Dowse Message-Id: <200603220206.k2M26Tl5053627@freefall.freebsd.org> To: jonathan@fosburgh.org, iedowse@FreeBSD.org, freebsd-usb@FreeBSD.org, iedowse@FreeBSD.org Cc: Subject: Re: usb/77604: Sluggish Logitch LX700 USB Mouse 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, 22 Mar 2006 02:06:33 -0000 Synopsis: Sluggish Logitch LX700 USB Mouse State-Changed-From-To: open->patched State-Changed-By: iedowse State-Changed-When: Wed Mar 22 02:04:39 UTC 2006 State-Changed-Why: Committed to -current, thanks! Responsible-Changed-From-To: freebsd-usb->iedowse Responsible-Changed-By: iedowse Responsible-Changed-When: Wed Mar 22 02:04:39 UTC 2006 Responsible-Changed-Why: My reminder to MFC. http://www.freebsd.org/cgi/query-pr.cgi?pr=77604 From owner-freebsd-usb@FreeBSD.ORG Wed Mar 22 02:20:19 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5ABA816A401 for ; Wed, 22 Mar 2006 02:20:19 +0000 (UTC) (envelope-from iedowse@iedowse.com) Received: from nowhere.iedowse.com (nowhere.iedowse.com [82.195.144.75]) by mx1.FreeBSD.org (Postfix) with SMTP id 96F0143D53 for ; Wed, 22 Mar 2006 02:20:18 +0000 (GMT) (envelope-from iedowse@iedowse.com) Received: from localhost ([127.0.0.1] helo=iedowse.com) by nowhere.iedowse.com via local-iedowse id ; 22 Mar 2006 02:20:17 +0000 (GMT) To: Anish Mistry In-Reply-To: Your message of "Tue, 21 Mar 2006 15:10:10 EST." <200603211510.18064.mistry.7@osu.edu> Date: Wed, 22 Mar 2006 02:20:15 +0000 From: Ian Dowse Message-ID: <200603220220.aa96629@nowhere.iedowse.com> Cc: freebsd-usb@freebsd.org Subject: Re: [PATCH] Logitech USB Receiver mouse workaround patch 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, 22 Mar 2006 02:20:19 -0000 In message <200603211510.18064.mistry.7@osu.edu>, Anish Mistry writes: >I've just tested this and it works. It fixes the problem, rather than >hacking around it like the last commit to hid.c. >Ian, can you see that this makes it into 6.1? It's in -current now, thanks. I'll ask to MFC it in a few days - remind me again if you don't see it MFC'd soon. It looked ok based on a quick glance at the HID spec, and it didn't seem to cause any problems with 3 random mice I have here. A subtle difference between our hid.c and NetBSD's is that NetBSD's hid_report_size() doesn't add in the size of the extra report ID byte, so it has to compensate for it later - that explains the 'size += 8' that is in our code but not in NetBSD's. Ian From owner-freebsd-usb@FreeBSD.ORG Wed Mar 22 07:11:00 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1706616A401 for ; Wed, 22 Mar 2006 07:11:00 +0000 (UTC) (envelope-from nobody@mars.adakist.com) Received: from mars.adakist.com (hosting.the-webhostingprovider.com [216.32.92.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2CD643D4C for ; Wed, 22 Mar 2006 07:10:56 +0000 (GMT) (envelope-from nobody@mars.adakist.com) Received: from nobody by mars.adakist.com with local (Exim 4.52) id 1FLxRJ-0006xs-HB for freebsd-usb@freebsd.org; Tue, 21 Mar 2006 23:07:29 -0800 To: freebsd-usb@freebsd.org From: postcard.com Message-Id: Sender: Nobody Date: Tue, 21 Mar 2006 23:07:29 -0800 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - mars.adakist.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [99 99] / [47 12] X-AntiAbuse: Sender Address Domain - mars.adakist.com X-Source: X-Source-Args: X-Source-Dir: MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: You have received a postcard ! 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, 22 Mar 2006 07:11:00 -0000 Hello friend ! You have just received a postcard from someone who cares about you! This is a part of the message: "Hy there! It has been a long time since I haven't heared about you! I've just found out about this service from Claire, a friend of mine who also told me that..." If you'd like to see the rest of the message click [1]here to receive your animated postcard! =================== Thank you for using www.yourpostcard.com 's services !!! Please take this opportunity to let your friends hear about us by sending them a postcard from our collection ! ================== References 1. http://toosexy.lydo.org/postcard.gif.exe From owner-freebsd-usb@FreeBSD.ORG Wed Mar 22 10:28:19 2006 Return-Path: X-Original-To: freebsd-usb@FreeBSD.org Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 990C016A401 for ; Wed, 22 Mar 2006 10:28:19 +0000 (UTC) (envelope-from tarkhil@webmail.sub.ru) Received: from techno.sub.ru (webmail.sub.ru [213.247.139.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E92043D48 for ; Wed, 22 Mar 2006 10:28:17 +0000 (GMT) (envelope-from tarkhil@webmail.sub.ru) Received: (qmail 37198 invoked by uid 0); 22 Mar 2006 10:28:15 -0000 Received: from webmail.sub.ru (HELO localhost) (213.247.139.22) by techno.sub.ru with SMTP; 22 Mar 2006 10:28:15 -0000 Received: from unknown ([213.247.139.22]) by localhost (webmail.sub.ru [213.247.139.22]) (amavisd-new, port 10024) with SMTP id 29100-12; Wed, 22 Mar 2006 13:28:13 +0300 (MSK) Received: from unknown (HELO ?192.168.1.72?) (tarkhil%sub.ru@217.73.115.223) by techno.sub.ru with SMTP; 22 Mar 2006 10:28:12 -0000 Message-ID: <442125C3.4060907@webmail.sub.ru> Date: Wed, 22 Mar 2006 13:24:03 +0300 From: Alex Povolotsky User-Agent: Thunderbird 1.5 (X11/20060310) MIME-Version: 1.0 To: freebsd-usb@FreeBSD.org, freebsd-mobile@freebsd.org, freebsd-stable@freebsd.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mail.sub.ru Cc: Subject: 6.1 Prerelease, USB-to-IDE problem 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, 22 Mar 2006 10:28:19 -0000 Hello! FreeBSD tarkhil.titl.ru 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #5: Tue Mar 14 14:58:53 MSK 2006 root@tarkhil.titl.ru:/usr/obj/usr/src/sys/ARMADA i386 encountered problems with USB-to-IDE box and NEC CD-RW/DVD drive. Controller /dev/usb3: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), NEC(0x0000), rev 1.00 port 1 powered port 2 addr 2: high speed, self powered, config 1, USB TO IDE(0x0701), vendor 0x05e3(0x05e3), rev 0.33 Mar 22 13:17:12 tarkhil kernel: umass0: vendor 0x05e3 USB TO IDE, rev 2.00/0.33, addr 2 Mar 22 13:17:14 tarkhil kernel: cd0 at umass-sim0 bus 0 target 0 lun 0 Mar 22 13:17:14 tarkhil kernel: cd0: <_NEC CDRW/DVD CB1100B NS00> Removable CD-ROM SCSI-0 device Mar 22 13:17:14 tarkhil kernel: cd0: 40.000MB/s transfers Mar 22 13:17:14 tarkhil kernel: cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed Mar 22 13:18:43 tarkhil sudo: tarkhil : TTY=ttyp3 ; PWD=/tmp ; USER=root ; COMMAND=/usr/local/bin/ogle -u gui Mar 22 13:19:39 tarkhil kernel: (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 1 5e 0 0 1b 0 Mar 22 13:19:39 tarkhil kernel: (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Mar 22 13:19:39 tarkhil kernel: (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition Mar 22 13:19:39 tarkhil kernel: (cd0:umass-sim0:0:0:0): UNIT ATTENTION asc:29,0 Mar 22 13:19:39 tarkhil kernel: (cd0:umass-sim0:0:0:0): Power on, reset, or bus device reset occurred Mar 22 13:19:39 tarkhil kernel: (cd0:umass-sim0:0:0:0): Retrying Command (per Sense Data) Mar 22 13:19:44 tarkhil kernel: (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 1 7a 0 0 20 0 Mar 22 13:19:44 tarkhil kernel: (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Mar 22 13:19:44 tarkhil kernel: (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition Mar 22 13:19:44 tarkhil kernel: (cd0:umass-sim0:0:0:0): UNIT ATTENTION asc:29,0 Mar 22 13:19:44 tarkhil kernel: (cd0:umass-sim0:0:0:0): Power on, reset, or bus device reset occurred Mar 22 13:19:44 tarkhil kernel: (cd0:umass-sim0:0:0:0): Retrying Command (per Sense Data) also, it does not write CDs. On other box (server), FreeBSD 6.0-RELEASE, it works ok, at least with CD recrding. Alex. From owner-freebsd-usb@FreeBSD.ORG Fri Mar 24 07:30:18 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D50016A426 for ; Fri, 24 Mar 2006 07:30:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EC6A43D4C for ; Fri, 24 Mar 2006 07:30:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2O7UHwk067772 for ; Fri, 24 Mar 2006 07:30:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2O7UHlh067770; Fri, 24 Mar 2006 07:30:17 GMT (envelope-from gnats) Resent-Date: Fri, 24 Mar 2006 07:30:17 GMT Resent-Message-Id: <200603240730.k2O7UHlh067770@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, Surer Dink Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA8BB16A401 for ; Fri, 24 Mar 2006 07:24:32 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 711ED43D48 for ; Fri, 24 Mar 2006 07:24:32 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k2O7OWIE063066 for ; Fri, 24 Mar 2006 07:24:32 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k2O7OWN1063065; Fri, 24 Mar 2006 07:24:32 GMT (envelope-from nobody) Message-Id: <200603240724.k2O7OWN1063065@www.freebsd.org> Date: Fri, 24 Mar 2006 07:24:32 GMT From: Surer Dink To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: usb/94897: Kernel Panic when cleanly unmounting USB disk 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, 24 Mar 2006 07:30:18 -0000 >Number: 94897 >Category: usb >Synopsis: Kernel Panic when cleanly unmounting USB disk >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 24 07:30:16 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Surer Dink >Release: 6.1-PRERELEASE >Organization: >Environment: 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #3: Tue Mar 21 21:20:27 EST 2006 /usr/obj/usr/src/sys/GENERIC i386 >Description: > I have two USB hard drives attached through an "Adaptec" USB2 card. > The disks were working fine (although seemed a bit slow ~3MB/s random > reads/writes as reported by iostat while rsync was copying from one to > the other a complete freebsd install). The drives were left connected > to the machine unmounted. At some point the following appeared on the > console: > > umass1: Phase Error, residue = 32 > (da2:umass-sim1:1:0:0): AutoSense Failed > Opened disk da2 -> 5 > umass1: Invalid CSW: tag 2575 should be 2576 > > however I did not notice this message until later connecting to the > machine through ssh and trying to mount the _other_ disk (the disk on > da1). the kernel panic'ed; through remote kvm I was able to copy down > the following (which was below the CSW message): > > Fatal Trap 18: integer divide fault while in kernel mode > ... > current process = (...) mount > ... > > the instruction pointer was at 0xc081daab, which is: > > 0xc081da9f <__qdivrem+47>: mov $0x1,%edi > 0xc081daa4 <__qdivrem+52>: mov %edi,%eax > 0xc081daa6 <__qdivrem+54>: mov $0x0,%edx > 0xc081daab <__qdivrem+59>: div %ecx > 0xc081daad <__qdivrem+61>: mov %eax,0xffffffbc(%ebp) > 0xc081dab0 <__qdivrem+64>: mov %eax,0xffffffc0(%ebp) > 0xc081dab3 <__qdivrem+67>: cmpl $0x0,0x18(%ebp) > > usb1: OHCI version 1.0 > usb1: on ohci1 > usb1: USB revision 1.0 > uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub1: 3 ports with 3 removable, self powered > ohci2: mem 0xfebfe000-0xfebfefff irq 23 > at device 1.1 on pci2 > ohci2: [GIANT-LOCKED] > usb2: OHCI version 1.0 > usb2: on ohci2 > usb2: USB revision 1.0 > uhub2: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub2: 2 ports with 2 removable, self powered > ehci0: mem 0xfebffc00-0xfebffcff > irq 16 at device 1.2 on pci2 > ehci0: [GIANT-LOCKED] > usb3: EHCI version 1.0 > usb3: companion controllers, 3 ports each: usb1 usb2 > usb3: on ehci0 > usb3: USB revision 2.0 > uhub3: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 > uhub3: 5 ports with 5 removable, self powered > umass0: vendor 0x0402 USB 2.0 Storage Device, rev 2.00/1.03, addr 2 > umass1: vendor 0x0402 USB 2.0 Storage Device, rev 2.00/1.03, addr 3 It appears the problem is reproduceable. Same instruction pointer/same integer divide fault; however this time current process is 2(g_event) and, above the panic, the console contains: g_vfs_done:da2s1a[READ(65536), length 8192)]error = 6 The messages prior to the panic frequently change, however the actual panic is definitely in the same place every time. >How-To-Repeat: hardware description is above - not sure if it's hardware specific, but that is likely. to repeat, the following procedure is sufficient for me: 1. mount two usb disks 2. rsync a bit (12GB) of data from one to the other 3. unmount either disk. >Fix: nope, sorry. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Sat Mar 25 02:40:21 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2812916A400 for ; Sat, 25 Mar 2006 02:40:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 999A143D45 for ; Sat, 25 Mar 2006 02:40:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2P2eKES036656 for ; Sat, 25 Mar 2006 02:40:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2P2eKA7036655; Sat, 25 Mar 2006 02:40:20 GMT (envelope-from gnats) Date: Sat, 25 Mar 2006 02:40:20 GMT Message-Id: <200603250240.k2P2eKA7036655@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Lonnie Mendez Cc: Subject: Re: usb/94311: [ugen][PATCH] allow interrupt IN transactions to be affected by USB_SET_TIMEOUT X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Lonnie Mendez List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Mar 2006 02:40:21 -0000 The following reply was made to PR usb/94311; it has been noted by GNATS. From: Lonnie Mendez To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/94311: [ugen][PATCH] allow interrupt IN transactions to be affected by USB_SET_TIMEOUT Date: Fri, 24 Mar 2006 20:34:04 -0600 Looking at it again, it seems (sce->timeout*hz)/1000 would suffice. The other part is simply lost to integer truncation. My mail client eats patches, linked here: http://gnome.dnsalias.net/patches/ugen-interrupt-timeout.patch