Re: Panic 7.0 BETA-3 (page fault) using D-Link DWL-G122

From: Oliver Herold <oliver_at_akephalos.de>
Date: Fri, 14 Dec 2007 12:30:39 +0100
Hi,

it just happens, imho, if I'm using WPA. While using WEP there is no
panic at all. Together with WPA it happens afters some minutes with or
without network traffic.

Cheers, Oliver

On Fri, Dec 14, 2007 at 11:59:03AM +0100, Leonardo Midolo wrote:
> Thanks for your reply,
> I downloaded the if_rum.c rev 1.15 and recompiled the kernel (BETA-3, 2
> dec). I still get a page fault:
> 
> (kgdb) bt
> #0  doadump () at pcpu.h:195
> #1  0xc0752e37 in boot (howto=260)
> at /usr/src/sys/kern/kern_shutdown.c:409
> #2  0xc07530f9 in panic (fmt=) at /usr/src/sys/kern/kern_shutdown.c:563
> #3  0xc0a1852c in trap_fatal (frame=0xe296cb78, eva=4)
>     at /usr/src/sys/i386/i386/trap.c:872
> #4  0xc0a18790 in trap_pfault (frame=0xe296cb78, usermode=0, eva=4)
>     at /usr/src/sys/i386/i386/trap.c:785
> #5  0xc0a190e2 in trap (frame=0xe296cb78)
> at /usr/src/sys/i386/i386/trap.c:463
> #6  0xc09ffafb in calltrap () at /usr/src/sys/i386/i386/exception.s:139
> #7  0xc0811f72 in ieee80211_free_node (ni=0x0)
>     at /usr/src/sys/net80211/ieee80211_node.c:1289
> #8  0xc06b984d in rum_txeof (xfer=0xc43d1200, priv=0xc40a7498, 
>     status=USBD_NORMAL_COMPLETION) at /usr/src/sys/dev/usb/if_rum.c:861
> #9  0xc06d2fd5 in usb_transfer_complete (xfer=0xc43d1200)
>     at /usr/src/sys/dev/usb/usbdi.c:977
> #10 0xc06a5ba1 in ehci_softintr (v=0xc3fe5800)
>     at /usr/src/sys/dev/usb/ehci.c:884
> #11 0xc06ceb82 in usb_schedsoftintr (bus=0xc3fe5800)
>     at /usr/src/sys/dev/usb/usb.c:844
> #12 0xc06a737e in ehci_intr1 (sc=0xc3fe5800)
>     at /usr/src/sys/dev/usb/ehci.c:603
> #13 0xc06a7db5 in ehci_intr (v=0xc3fe5800)
> at /usr/src/sys/dev/usb/ehci.c:562
> #14 0xc07366fb in ithread_loop (arg=0xc4057b00)
>     at /usr/src/sys/kern/kern_intr.c:1036
> #15 0xc0733639 in fork_exit (callout=0xc0736550 <ithread_loop>, 
>     arg=0xc4057b00, frame=0xe296cd38)
> at /usr/src/sys/kern/kern_fork.c:754
> #16 0xc09ffb70 in fork_trampoline ()
> at /usr/src/sys/i386/i386/exception.s:205
> 
> Thanks,
> best regards.
> 
> Leonardo Midolo
> 
> 
> > Hello Leonardo,
> > 
> > I think your problem is a known issue and commited a fix to HEAD.  Can
> > you try to test the rum(4) HEAD driver?
> > 
> > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/usb/if_rum.c
> > (rev 1.15)
> > 
> > Regards,
> > Weongyo Jeong
> > 
> > On Sun, Dec 02, 2007 at 12:07:56PM +0100, Leonardo Midolo wrote:
> > > Hello everyone
> > > I'm tracking RELENG_7 (i386, SCHED_SMP, last build: today, 2 dec) on my
> > > laptop (core 2 duo) and I've recently bought an usb wireless adapter
> > > (D-Link DWL-G122 rev C1). 
> > > Everything works properly (i can connect to the access point using WPA
> > > and do normal network activities) but sometimes (I must say, randomly) I
> > > get a kernel panic. 
> > > 
> > > Here's the debug info, hope it helps:
> > > 
> > > Fatal trap 12: page fault while in kernel mode
> > > cpuid = 1; apic id = 01
> > > fault virtual address = 0x12
> > > fault code = supervisor read, page not present
> > > instruction pointer = 0x20:0xc06b976a
> > > stack pointer         = 0x28:0xe296cbe4
> > > frame pointer         = 0x28:0xe296cbfc
> > > 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 = 24 (irq23: uhci0 ehci0)
> > > trap number = 12
> > > panic: page fault
> > > cpuid = 1
> > > Uptime: 3m44s
> > > Physical memory: 1009 MB
> > > Dumping 107 MB: 92 76 60 44 28 12
> > > 
> > > Backtrace
> > > #0  doadump () at pcpu.h:195
> > > #1  0xc0752e07 in boot (howto=260)
> > > at /usr/src/sys/kern/kern_shutdown.c:409
> > > #2  0xc07530c9 in panic (fmt=) at /usr/src/sys/kern/kern_shutdown.c:563
> > > #3  0xc0a184fc in trap_fatal (frame=0xe296cba4, eva=18)
> > >     at /usr/src/sys/i386/i386/trap.c:872
> > > #4  0xc0a18760 in trap_pfault (frame=0xe296cba4, usermode=0, eva=18)
> > >     at /usr/src/sys/i386/i386/trap.c:785
> > > #5  0xc0a190b2 in trap (frame=0xe296cba4)
> > > at /usr/src/sys/i386/i386/trap.c:463
> > > #6  0xc09ffacb in calltrap () at /usr/src/sys/i386/i386/exception.s:139
> > > #7  0xc06b976a in rum_txeof (xfer=0xc4343800, priv=0xc40a7498, 
> > >     status=USBD_NORMAL_COMPLETION) at /usr/src/sys/dev/usb/if_rum.c:842
> > > #8  0xc06d2fa5 in usb_transfer_complete (xfer=0xc4343800)
> > >     at /usr/src/sys/dev/usb/usbdi.c:977
> > > #9  0xc06a5ba1 in ehci_softintr (v=0xc3fe5800)
> > >     at /usr/src/sys/dev/usb/ehci.c:884
> > > #10 0xc06ceb52 in usb_schedsoftintr (bus=0xc3fe5800)
> > >     at /usr/src/sys/dev/usb/usb.c:844
> > > #11 0xc06a737e in ehci_intr1 (sc=0xc3fe5800)
> > >     at /usr/src/sys/dev/usb/ehci.c:603
> > > #12 0xc06a7db5 in ehci_intr (v=0xc3fe5800)
> > > at /usr/src/sys/dev/usb/ehci.c:562
> > > #13 0xc07366cb in ithread_loop (arg=0xc4057b00)
> > >     at /usr/src/sys/kern/kern_intr.c:1036
> > > #14 0xc0733609 in fork_exit (callout=0xc0736520 <ithread_loop>, 
> > >     arg=0xc4057b00, frame=0xe296cd38)
> > > at /usr/src/sys/kern/kern_fork.c:754
> > > #15 0xc09ffb40 in fork_trampoline ()
> > > at /usr/src/sys/i386/i386/exception.s:205
> > > 
> > > Thanks,
> > > Leonardo
> > > 
> > > _______________________________________________
> > > freebsd-current_at_freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"

-- 
If you fool around with something long enough, it will eventually break.
Received on Fri Dec 14 2007 - 10:57:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:24 UTC