Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2013 14:13:38 +0200
From:      Juris Kaminskis <juris.kaminskis@gmail.com>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Restart of wireless service creates crash in system
Message-ID:  <CAKJAkzttvTkALEMZ0GTHPSsx038eG1Kdu92-t0s5uEjqHNQbNw@mail.gmail.com>
In-Reply-To: <CAJ-Vmomjn%2BdAYfrAiOomGxDUBODomZHM4NX=LSd4JBWacp-djQ@mail.gmail.com>
References:  <CAKJAkzum_tRTg5eHCXRxEBrcuMGsv2TaS5tJToxbr4Qr20heuQ@mail.gmail.com> <CAKJAkzvn6tS7rNbAn6AMf8MikioaMSJfYJzYQjvv%2BFEeTYHW-Q@mail.gmail.com> <CAJ-Vmonz5uW3UvbFYEUHpnXYGtE1ZWifqRqHaXk9gftZf-eJTg@mail.gmail.com> <CAKJAkzvpyUDt4WJgejKSFS0KNXEf9Ob4cnL3ksqaf17hfKSk6g@mail.gmail.com> <CAKJAkztnLyKoeGxjt%2Bxr5-uu6KALt2MdbKi9RgMEaQb8khqtXA@mail.gmail.com> <CAJ-VmomQb21T0ETy7XYTd_6kUAw8n9WYXFrM0CC8qW2zDFAg_g@mail.gmail.com> <CAKJAkzusOQ1ECLYgk2dpah2k6LSdP6FvADKyQFKZWgtHTJ7zFQ@mail.gmail.com> <CAJ-Vmomjn%2BdAYfrAiOomGxDUBODomZHM4NX=LSd4JBWacp-djQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
2013/11/25 Adrian Chadd <adrian@freebsd.org>

> Fire up the krenel core dump in kgdb:
>
> kgdb /boot/kernel/kernel /var/crash/vmcore.X
>
> then 'bt'
>
>
>
find attached file

[-- Attachment #2 --]
root@:/home/juris # kgdb /boot/kernel/kernel /var/crash/vmcore.10 
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"...

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address	= 0xc609d194
fault code		= supervisor read, page not present
instruction pointer	= 0x20:0xc091ee26
stack pointer	        = 0x28:0xcdb1fb40
frame pointer	        = 0x28:0xcdb1fb40
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		= 0 (iwi0 taskq)
trap number		= 12
panic: page fault
cpuid = 0
KDB: stack backtrace:
#0 0xc0861cff at kdb_backtrace+0x4f
#1 0xc082d22f at panic+0x16f
#2 0xc0ae1853 at trap_fatal+0x323
#3 0xc0ae1c2c at trap_pfault+0x3cc
#4 0xc0ae288d at trap+0x43d
#5 0xc0acc15c at calltrap+0x6
#6 0xc0e50e29 at iwi_auth_and_assoc+0x479
#7 0xc0e51439 at iwi_newstate+0x1b9
#8 0xc092aaf1 at ieee80211_newstate_cb+0x181
#9 0xc086e212 at taskqueue_run_locked+0xd2
#10 0xc086f13c at taskqueue_thread_loop+0xbc
#11 0xc07fdb16 at fork_exit+0x96
#12 0xc0acc1d4 at fork_trampoline+0x8
Uptime: 3m3s
Physical memory: 498 MB
Dumping 140 MB: 125 109 93 77 61 45 29 13

Reading symbols from /boot/kernel/if_iwi.ko...Reading symbols from /boot/kernel/if_iwi.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/if_iwi.ko
Reading symbols from /boot/kernel/iwi_bss.ko...Reading symbols from /boot/kernel/iwi_bss.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/iwi_bss.ko
Reading symbols from /boot/kernel/linux.ko...Reading symbols from /boot/kernel/linux.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/linux.ko
Reading symbols from /boot/kernel/radeon.ko...Reading symbols from /boot/kernel/radeon.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/radeon.ko
Reading symbols from /boot/kernel/drm.ko...Reading symbols from /boot/kernel/drm.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/drm.ko
#0  doadump (textdump=1) at pcpu.h:249
249	pcpu.h: No such file or directory.
	in pcpu.h
(kgdb) bt
#0  doadump (textdump=1) at pcpu.h:249
#1  0xc082cf75 in kern_reboot (howto=260)
    at /usr/src/sys/kern/kern_shutdown.c:449
#2  0xc082d272 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:637
#3  0xc0ae1853 in trap_fatal (frame=0xcdb1fb00, eva=3322532244)
    at /usr/src/sys/i386/i386/trap.c:1044
#4  0xc0ae1c2c in trap_pfault (frame=0xcdb1fb00, usermode=0, eva=3322532244)
    at /usr/src/sys/i386/i386/trap.c:957
#5  0xc0ae288d in trap (frame=0xcdb1fb00) at /usr/src/sys/i386/i386/trap.c:555
#6  0xc0acc15c in calltrap () at /usr/src/sys/i386/i386/exception.s:170
#7  0xc091ee26 in node_getrssi (ni=0xc609d000)
    at /usr/src/sys/net80211/ieee80211_node.c:1068
#8  0xc0e50e29 in iwi_auth_and_assoc (sc=0xc4fb1800, vap=0xc6782000)
    at /usr/src/sys/modules/iwi/../../dev/iwi/if_iwi.c:2918
#9  0xc0e51439 in iwi_newstate (vap=0xc6782000, nstate=IEEE80211_S_AUTH, 
    arg=192) at /usr/src/sys/modules/iwi/../../dev/iwi/if_iwi.c:1005
#10 0xc092aaf1 in ieee80211_newstate_cb (xvap=0xc6782000, npending=1)
    at /usr/src/sys/net80211/ieee80211_proto.c:1696
#11 0xc086e212 in taskqueue_run_locked (queue=0xc4faf8c0)
    at /usr/src/sys/kern/subr_taskqueue.c:312
#12 0xc086f13c in taskqueue_thread_loop (arg=0xc4fb4074)
    at /usr/src/sys/kern/subr_taskqueue.c:501
#13 0xc07fdb16 in fork_exit (callout=0xc086f080 <taskqueue_thread_loop>, 
    arg=0xc4fb4074, frame=0xcdb1fd08) at /usr/src/sys/kern/kern_fork.c:992
#14 0xc0acc1d4 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:279
(kgdb)

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKJAkzttvTkALEMZ0GTHPSsx038eG1Kdu92-t0s5uEjqHNQbNw>