Re: uath panic on insert.

From: Hans Petter Selasky <hselasky_at_c2i.net>
Date: Fri, 8 Feb 2013 21:06:51 +0100
On Friday 08 February 2013 19:21:24 Ian FREISLICH wrote:
> Hi
> 
> I get this panic on insertion of a uath USB dongle.
> 
> On amd-64:
> 
> uath0: <Atheros Communications Inc USB WLAN Device, rev 2.00/0.01, addr 3>
> on us bus1
> 
> 
> Fatal trap 12: page fault while in kernel mode
> cpuid = 1; apic id = 01
> fault virtual address   = 0x0
> fault code              = supervisor write data, page not present
> instruction pointer     = 0x20:0xffffffff80628f6a
> stack pointer           = 0x28:0xffffff8112ee3750
> frame pointer           = 0x28:0xffffff8112ee37b0
> code segment            = base 0x0, limit 0xfffff, type 0x1b
>                         = DPL 0, pres 1, long 1, def32 0, gran 1
> processor eflags        = interrupt enabled, resume, IOPL = 0
> current process         = 14 (usbus1)
> trap number             = 12
> panic: page fault
> cpuid = 1
> Uptime: 7s
> Dumping 237 out of 3971
> MB:..7%..14%..21%..34%..41%..54%..61%..75%..81%..95%
> 
> Reading symbols from /boot/kernel/acpi_asus_wmi.ko...Reading symbols from
> /boot/kernel/acpi_asus_wmi.ko.symbols...done. done.
> Loaded symbols for /boot/kernel/acpi_asus_wmi.ko
> Reading symbols from /boot/kernel/acpi_wmi.ko...Reading symbols from
> /boot/kernel/acpi_wmi.ko.symbols...done. done.
> Loaded symbols for /boot/kernel/acpi_wmi.ko
> Reading symbols from /boot/kernel/if_uath.ko...Reading symbols from
> /boot/kernel/if_uath.ko.symbols...done. done.
> Loaded symbols for /boot/kernel/if_uath.ko
> #0  doadump (textdump=<value optimized out>) at pcpu.h:229
> 229     pcpu.h: No such file or directory.
>         in pcpu.h
> (kgdb) #0  doadump (textdump=<value optimized out>) at pcpu.h:229
> #1  0x0000000000000000 in ?? ()
> 
> The i386 panic is only slightly more useful:
> ugen4.3: <Atheros Communications Inc> at usbus4
> uath0: <Atheros Communications Inc USB WLAN Device, rev 2.00/0.01, addr 3>
> on us bus4
> 
> 
> Fatal trap 12: page fault while in kernel mode
> cpuid = 0; apic id = 00
> fault virtual address   = 0x0
> fault code              = supervisor write, page not present
> instruction pointer     = 0x20:0xc08ae31f
> stack pointer           = 0x28:0xebbf8adc
> frame pointer           = 0x28:0xebbf8b10
> 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         = 14 (usbus4)
> trap number             = 12
> panic: page fault
> cpuid = 0
> Uptime: 16s
> Physical memory: 2027 MB
> Dumping 85 MB: 70 54 38 22 6
> 
> Reading symbols from /boot/kernel/acpi_video.ko...Reading symbols from
> /boot/ker nel/acpi_video.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/acpi_video.ko
> Reading symbols from /boot/kernel/ohci.ko...Reading symbols from
> /boot/kernel/oh ci.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/ohci.ko
> Reading symbols from /boot/kernel/xhci.ko...Reading symbols from
> /boot/kernel/xh ci.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/xhci.ko
> Reading symbols from /boot/kernel/if_uath.ko...Reading symbols from
> /boot/kernel /if_uath.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/if_uath.ko
> Reading symbols from /boot/kernel/u3g.ko...Reading symbols from
> /boot/kernel/u3g .ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/u3g.ko
> #0  doadump (textdump=1) at pcpu.h:249
> 249     pcpu.h: No such file or directory.
>         in pcpu.h
> (kgdb) #0  doadump (textdump=1) at pcpu.h:249
> #1  0xc06a69d5 in kern_reboot (howto=260)
>     at /usr/src/sys/kern/kern_shutdown.c:446
> #2  0xc06a6c32 in panic (fmt=<value optimized out>)
>     at /usr/src/sys/kern/kern_shutdown.c:753
> #3  0xc08b05ac in trap_fatal (frame=0xebbf8a9c, eva=0)
>     at /usr/src/sys/i386/i386/trap.c:1046
> #4  0xc08b06a2 in trap_pfault (frame=0xebbf8a9c, usermode=0, eva=0)
>     at /usr/src/sys/i386/i386/trap.c:899
> #5  0xc08b1476 in trap (frame=0xebbf8a9c) at
> /usr/src/sys/i386/i386/trap.c:556 #6  0xc089b0dc in calltrap () at
> /usr/src/sys/i386/i386/exception.s:169 #7  0xc08ae31f in bzero () at
> /usr/src/sys/i386/i386/support.s:56
> Previous frame inner to this frame (corrupt stack?)
> (kgdb)
> 
> Ian

Can you compile the kernel with debugging enabled?

--HPS
Received on Fri Feb 08 2013 - 19:10:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:34 UTC