kgdb.txt

tero.jaasko.no.spam.please, 07/02/2010 05:31 PM

Download (4.88 KB)

 
1
Fatal trap 12: page fault while in kernel mode
2
mp_lock = 00000000; cpuid = 0; lapic->id = 00000000
3
fault virtual address	= 0x60
4
fault code		= supervisor read data, page not present
5
instruction pointer	= 0x8:0xffffffff80250e17
6
stack pointer	        = 0x10:0xfffffffe37b62ab0
7
frame pointer	        = 0x10:0xfffffffe37b62ad0
8
code segment		= base 0x0, limit 0xfffff, type 0x1b
9
			= DPL 0, pres 1, long 0, def32 0, gran 1
10
processor eflags	= interrupt enabled, resume, IOPL = 0
11
current process		= Idle
12
current thread          = pri 44 (CRIT)
13
trap number		= 12
14
panic: page fault
15
mp_lock = 00000000; cpuid = 0
16
Trace beginning at frame 0xfffffffe37b627f8
17
panic() at panic+0x1fc
18
panic() at panic+0x1fc
19
trap_fatal() at trap_fatal+0x3f4
20
trap_pfault() at trap_pfault+0x158
21
trap() at trap+0x67e
22
calltrap() at calltrap+0x8
23
--- trap 000000000000000c, rip = ffffffff80250e17, rsp = fffffffe37b62ab0, rbp = fffffffe37b62ad0 ---
24
prison_replace_wildcards() at prison_replace_wildcards+0x1f
25
in_pcbbind() at in_pcbbind+0x2e1
26
tcp_connect() at tcp_connect+0x52
27
tcp_usr_connect() at tcp_usr_connect+0xe7
28
netmsg_pru_connect() at netmsg_pru_connect+0x1b
29
netmsg_service() at netmsg_service+0x122
30
tcpmsg_service_loop() at tcpmsg_service_loop+0x26
31
boot() called on cpu#0
32
Uptime: 4m23s
33
Physical memory: 8176 MB
34
Dumping 830 MB: 815 799 783 767 751 735 719 703 687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431 415 399 383 367 351 335 319 
35
303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15
36

    
37
Reading symbols from /boot/modules/acpi.ko...done.
38
Loaded symbols for /boot/modules/acpi.ko
39
Reading symbols from /boot/modules/radeon.ko...done.
40
Loaded symbols for /boot/modules/radeon.ko
41
Reading symbols from /boot/modules/drm.ko...done.
42
Loaded symbols for /boot/modules/drm.ko
43
Reading symbols from /boot/modules/smbfs.ko...done.
44
Loaded symbols for /boot/modules/smbfs.ko
45
Reading symbols from /boot/modules/libmchain.ko...done.
46
Loaded symbols for /boot/modules/libmchain.ko
47
Reading symbols from /boot/modules/libiconv.ko...done.
48
Loaded symbols for /boot/modules/libiconv.ko
49
_get_mycpu (di=0xffffffff806e6400) at ./machine/thread.h:73
50
73	    __asm ("movq %%gs:globaldata,%0" : "=r" (gd) : "m"(__mycpu__dummy));
51
(kgdb) bt
52
#0  _get_mycpu (di=0xffffffff806e6400) at ./machine/thread.h:73
53
#1  md_dumpsys (di=0xffffffff806e6400) at /usr/src/sys/platform/pc64/x86_64/dump_machdep.c:262
54
#2  0xffffffff80263246 in dumpsys () at /usr/src/sys/kern/kern_shutdown.c:839
55
#3  0xffffffff8026394a in boot (howto=<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c:388
56
#4  0xffffffff80263d4a in panic (fmt=0xffffffff804c6e28 "%s") at /usr/src/sys/kern/kern_shutdown.c:745
57
#5  0xffffffff80498507 in trap_fatal (frame=0xfffffffe37b629f8, eva=<value optimized out>) at /usr/src/sys/platform/pc64/x86_64/trap.c:984
58
#6  0xffffffff8049867d in trap_pfault (frame=0xfffffffe37b629f8, usermode=0) at /usr/src/sys/platform/pc64/x86_64/trap.c:889
59
#7  0xffffffff80499bf8 in trap (frame=0xfffffffe37b629f8) at /usr/src/sys/platform/pc64/x86_64/trap.c:611
60
#8  0xffffffff804919be in calltrap () at /usr/src/sys/platform/pc64/x86_64/exception.S:179
61
#9  0xffffffff80250e17 in prison_replace_wildcards (td=0xfffffffe5b19a558, ip=0xfffffffe37b62b00) at /usr/src/sys/kern/kern_jail.c:372
62
#10 0xffffffff803148f4 in in_pcbbind (inp=0xfffffffe32830558, nam=0x0, td=0xfffffffe5b19a558) at /usr/src/sys/netinet/in_pcb.c:330
63
#11 0xffffffff80330234 in tcp_connect (tp=0xfffffffe32830678, flags=0, m=0x0, nam=0xfffffffe5e242b38, td=0xfffffffe5b19a558)
64
    at /usr/src/sys/netinet/tcp_usrreq.c:1020
65
#12 0xffffffff803308e8 in tcp_usr_connect (so=0xfffffffe08572c70, nam=0xfffffffe5e242b38, td=0xfffffffe5b19a558)
66
    at /usr/src/sys/netinet/tcp_usrreq.c:479
67
#13 0xffffffff802ad74e in netmsg_pru_connect (msg=0xfffffffe5e242a18) at /usr/src/sys/kern/uipc_msg.c:486
68
#14 0xffffffff80307e73 in netmsg_service (msg=0xfffffffe5e242a18, mpsafe_mode=934685440, mplocked=0) at /usr/src/sys/net/netisr.c:310
69
#15 0xffffffff803289bd in tcpmsg_service_loop (dummy=<value optimized out>) at /usr/src/sys/netinet/tcp_subr.c:410
70
#16 0xffffffff8026f6aa in lwkt_deschedule_self (td=0xfffffffe5b19a558) at /usr/src/sys/kern/lwkt_thread.c:250
71
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
72
(kgdb) frame 9
73
#9  0xffffffff80250e17 in prison_replace_wildcards (td=0xfffffffe5b19a558, ip=0xfffffffe37b62b00) at /usr/src/sys/kern/kern_jail.c:372
74
372		if ((pr = td->td_ucred->cr_prison) == NULL)
75
(kgdb) print td
76
$1 = (struct thread *) 0xfffffffe5b19a558
77
(kgdb) print td->td_ucred
78
$2 = (struct ucred *) 0x0
79
(kgdb) frame 10
80
#10 0xffffffff803148f4 in in_pcbbind (inp=0xfffffffe32830558, nam=0x0, td=0xfffffffe5b19a558) at /usr/src/sys/netinet/in_pcb.c:330
81
330			if (!prison_replace_wildcards(td, (struct sockaddr *)&jsin)) {
82
(kgdb) print td
83
$3 = (struct thread *) 0xfffffffe5b19a558
84
(kgdb) print jsin
85
$4 = {sin_len = 48 '0', sin_family = 2 '\002', sin_port = 14262, sin_addr = {s_addr = 0}, sin_zero = "\263\v'\200\377\377\377\377"}
86
(kgdb) 
87

    
88