u3g panic

Nick Hibma nick at van-laarhoven.org
Wed Apr 1 03:06:43 PDT 2009


Mike, and others,

We are working on this panic at the moment and there will be a driver out 
for inclusion in 7.2 (hopefully).

It seems to (almost) make ZTE MF626 work as well (mode switch does not work 
reliably yet). According to Mike Tancsa this driver also makes his Novatel 
device work without having to manually switch the device.

I'd appreciate it if poeple could gives this driver a try to see whether it 
works for them too.

	http://people.freebsd.org/~n_hibma/u3g.html

I am using it as we speak to submit this message and upload the driver 
sources, change the HTML text on that page.

Cheers,

Nick

> 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 <ithread_loop>,
> 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: <Novatel Wireless> at usbus0
> u3g0: <Data Interface> on usbus0
> u3g0: Found 2 ports.
>
>
> 0[freebsd-current2]# usbconfig
> ugen0.1: <OHCI root HUB nVidia> at usbus0, cfg=0 md=HOST spd=FULL
> (12Mbps) pwr=ON
> ugen1.1: <EHCI root HUB nVidia> at usbus1, cfg=0 md=HOST spd=HIGH
> (480Mbps) pwr=ON
> ugen0.2: <Novatel Wireless HSUPA Modem Novatel Wireless> at usbus0,
> cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
> ugen0.3: <USB-Serial Controller Prolific Technology Inc.> at usbus0,
> cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
> ugen0.4: <Token 255.255.255.255 2.7.195 Aladdin Knowledge Systems
> Ltd.> 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 at sentex.net
> Providing Internet since 1994                    www.sentex.net
> Cambridge, Ontario Canada                         www.sentex.net/mike
>
> _______________________________________________
> freebsd-usb at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-usb
> To unsubscribe, send any mail to "freebsd-usb-unsubscribe at freebsd.org"




More information about the freebsd-usb mailing list