From owner-freebsd-usb@FreeBSD.ORG Fri Mar 27 21:27:20 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B32C510656BB for ; Fri, 27 Mar 2009 21:27:20 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by mx1.freebsd.org (Postfix) with ESMTP id 8B8378FC08 for ; Fri, 27 Mar 2009 21:27:20 +0000 (UTC) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.14.3/8.14.3) with ESMTP id n2RLQjIe052544; Fri, 27 Mar 2009 17:26:46 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <200903272126.n2RLQjIe052544@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Fri, 27 Mar 2009 17:27:17 -0400 To: freebsd-usb@freebsd.org From: Mike Tancsa Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: u3g panic X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2009 21:27:23 -0000 Hi, I was trying the u3g driver in FreeBSD on RELENG_7. The previous version from the webpage seemed to work ok, but the one MFC'd causes a panic if I load the driver and attach the stick Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0xc fault code = supervisor read, page not present instruction pointer = 0x20:0xc357d71f stack pointer = 0x28:0xc2fccbc0 frame pointer = 0x28:0xc2fccbf4 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 = 26 (irq19: uhci1) trap number = 12 panic: page fault cpuid = 0 Uptime: 2m39s Physical memory: 498 MB Dumping 42 MB: 27 11 (kgdb) bt #0 doadump () at pcpu.h:196 #1 0xc07198b7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc0719b89 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:574 #3 0xc09e495c in trap_fatal (frame=0xc2fccb80, eva=12) at /usr/src/sys/i386/i386/trap.c:939 #4 0xc09e4be0 in trap_pfault (frame=0xc2fccb80, usermode=0, eva=12) at /usr/src/sys/i386/i386/trap.c:852 #5 0xc09e558c in trap (frame=0xc2fccb80) at /usr/src/sys/i386/i386/trap.c:530 #6 0xc09c9c6b in calltrap () at /usr/src/sys/i386/i386/exception.s:159 #7 0xc357d71f in u3gstub_BBB_cb (xfer=0xc3578600, priv=0x0, err=USBD_NORMAL_COMPLETION) at /usr/src/sys/modules/u3g/../../dev/usb/u3g.c:475 #8 0xc06950d5 in usb_transfer_complete (xfer=0xc3578600) at /usr/src/sys/dev/usb/usbdi.c:979 #9 0xc06879bb in uhci_transfer_complete (xfer=0xc3578600) at /usr/src/sys/dev/usb/uhci.c:2109 #10 0xc0687b07 in uhci_idone (ii=Variable "ii" is not available. ) at /usr/src/sys/dev/usb/uhci.c:1449 #11 0xc068800d in uhci_softintr (v=0xc319a000) at /usr/src/sys/dev/usb/uhci.c:1324 #12 0xc0690c72 in usb_schedsoftintr (bus=0xc319a000) at /usr/src/sys/dev/usb/usb.c:844 #13 0xc0688ce3 in uhci_intr1 (sc=0xc319a000) at /usr/src/sys/dev/usb/uhci.c:1224 #14 0xc0688fad in uhci_intr (arg=0xc319a000) at /usr/src/sys/dev/usb/uhci.c:1139 #15 0xc06f781b in ithread_loop (arg=0xc31a4000) at /usr/src/sys/kern/kern_intr.c:1088 #16 0xc06f4369 in fork_exit (callout=0xc06f7660 , arg=0xc31a4000, frame=0xc2fccd38) at /usr/src/sys/kern/kern_fork.c:810 #17 0xc09c9ce0 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:264 (kgdb) On CURRENT, it shows and seems to work fine. Root mount waiting for: usbus1 ugen0.2: at usbus0 u3g0: on usbus0 u3g0: Found 2 ports. 0[freebsd-current2]# usbconfig ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen0.3: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen0.4: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON 0[freebsd-current2]# cu -l /dev/cuaU0.0 Connected ati Manufacturer: Novatel Wireless Incorporated Model: Ovation MC950D Card Revision: 3.15.02.0-00 [2008-03-04 09:19:50] IMEI: 356846015465400 +GCAP: +CGSM,+DS,+ES OK -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike