stable/9 i386 panic [ACPI/timer?]
Andriy Gapon
avg at FreeBSD.org
Mon Dec 24 22:35:28 UTC 2012
on 24/12/2012 23:16 David Wolfskill said the following:
> albert(9.1-P)[3] kgdb /boot/kernel/kernel.symbols vmcore.0
> GNU gdb 6.1.1 [FreeBSD]
> Copyright 2004 Free Software Foundation, Inc.
> ...
> Unread portion of the kernel message buffer:
> kernel trap 12 with interrupts disabled
>
>
> Fatal trap 12: page fault while in kernel mode
> cpuid = 0; apic id = 00
> fault virtual address = 0x34
> fault code = supervisor read, page not present
> instruction pointer = 0x20:0xc0ad475c
> stack pointer = 0x28:0xc6fba9d8
> frame pointer = 0x28:0xc6fbaa18
> code segment = base 0x0, limit 0xfffff, type 0x1b
> = DPL 0, pres 1, def32 1, gran 1
> processor eflags = resume, IOPL = 0
> current process = 11 (idle: cpu0)
> trap number = 12
> panic: page fault
> ...
> Loaded symbols for /boot/kernel/drm.ko
> #0 doadump (textdump=<value optimized out>) at pcpu.h:249
> 249 pcpu.h: No such file or directory.
> in pcpu.h
> (kgdb) frame 7
> #7 0xc0ad475c in tc_windup () at /usr/src/sys/kern/kern_tc.c:450
> 450 /usr/src/sys/kern/kern_tc.c: No such file or directory.
> in /usr/src/sys/kern/kern_tc.c
> Current language: auto; currently minimal
> (kgdb) p timehands
> $1 = (struct timehands * volatile) 0xc11ba910
> (kgdb) p th0
> $2 = {th_counter = 0xc115174c, th_adjustment = 51068786373500,
> th_scale = 1690726758248, th_offset_count = 3989950369, th_offset = {
> sec = 25906, frac = 2057132249855343962}, th_microtime = {
> tv_sec = 1356376278, tv_usec = 180944}, th_nanotime = {
> tv_sec = 1356376278, tv_nsec = 180944041}, th_generation = 669311,
> th_next = 0xc112a7e4}
> (kgdb) p th1
> $3 = {th_counter = 0xc115174c, th_adjustment = 51068786373500,
> th_scale = 1690726758248, th_offset_count = 3990015836, th_offset = {
> sec = 25906, frac = 2167819058537565778}, th_microtime = {
> tv_sec = 1356376278, tv_usec = 186944}, th_nanotime = {
> tv_sec = 1356376278, tv_nsec = 186944385}, th_generation = 669311,
> th_next = 0xc112a820}
> (kgdb) p th2
> $4 = {th_counter = 0xc115174c, th_adjustment = 51068786373500,
> th_scale = 1690726758248, th_offset_count = 3990048555, th_offset = {
> sec = 25906, frac = 2223137947340682090}, th_microtime = {
> tv_sec = 1356376278, tv_usec = 189943}, th_nanotime = {
> tv_sec = 1356376278, tv_nsec = 189943228}, th_generation = 669311,
> th_next = 0xc112a85c}
> (kgdb) p th3
> $5 = {th_counter = 0xc115174c, th_adjustment = 51068786373500,
> th_scale = 1690726758248, th_offset_count = 3990059490, th_offset = {
> sec = 25906, frac = 2241626044442123970}, th_microtime = {
> tv_sec = 1356376278, tv_usec = 190945}, th_nanotime = {
> tv_sec = 1356376278, tv_nsec = 190945470}, th_generation = 669311,
> th_next = 0xc112a898}
> (kgdb) p th4
> $6 = {th_counter = 0xc115174c, th_adjustment = 51068786373500,
> th_scale = 1690726758248, th_offset_count = 3990070376, th_offset = {
> sec = 25906, frac = 2260031295932411698}, th_microtime = {
> tv_sec = 1356376278, tv_usec = 191943}, th_nanotime = {
> tv_sec = 1356376278, tv_nsec = 191943220}, th_generation = 669311,
> th_next = 0xc112a8d4}
> (kgdb) p th5
> $7 = {th_counter = 0xc115174c, th_adjustment = 51068786373500,
> th_scale = 1690726758248, th_offset_count = 3990081323, th_offset = {
> sec = 25906, frac = 2278539681754952554}, th_microtime = {
> tv_sec = 1356376278, tv_usec = 192946}, th_nanotime = {
> tv_sec = 1356376278, tv_nsec = 192946562}, th_generation = 669311,
> th_next = 0xc11ba910}
> (kgdb) p th6
> $8 = {th_counter = 0xc115174c, th_adjustment = 51068786373500,
> th_scale = 1690726758248, th_offset_count = 3989906722, th_offset = {
> sec = 25906, frac = 1983337099038093506}, th_microtime = {
> tv_sec = 1356376278, tv_usec = 176943}, th_nanotime = {
> tv_sec = 1356376278, tv_nsec = 176943598}, th_generation = 669310,
> th_next = 0xc112a94c}
> (kgdb) p th7
> $9 = {th_counter = 0xc115174c, th_adjustment = 51068786373500,
> th_scale = 1690726758248, th_offset_count = 3989927028, th_offset = {
> sec = 25906, frac = 2017668996591077394}, th_microtime = {
> tv_sec = 1356376278, tv_usec = 178804}, th_nanotime = {
> tv_sec = 1356376278, tv_nsec = 178804734}, th_generation = 669310,
> th_next = 0xc112a988}
> (kgdb) p th8
> $10 = {th_counter = 0xc115174c, th_adjustment = 51068786373500,
> th_scale = 1690726758248, th_offset_count = 3989928549, th_offset = {
> sec = 25906, frac = 2020240591990372602}, th_microtime = {
> tv_sec = 1356376278, tv_usec = 178944}, th_nanotime = {
> tv_sec = 1356376278, tv_nsec = 178944140}, th_generation = 669310,
> th_next = 0xc112a9c4}
> (kgdb) p th9
> $11 = {th_counter = 0xc115174c, th_adjustment = 51068786373500,
> th_scale = 1690726758248, th_offset_count = 3989939440, th_offset = {
> sec = 25906, frac = 2038654297114451570}, th_microtime = {
> tv_sec = 1356376278, tv_usec = 179942}, th_nanotime = {
> tv_sec = 1356376278, tv_nsec = 179942349}, th_generation = 669310,
> th_next = 0xc112a7a8}
> (kgdb) disassemble tc_windup
> Dump of assembler code for function tc_windup:
> 0xc0ad4740 <tc_windup+0>: push %ebp
> 0xc0ad4741 <tc_windup+1>: mov %esp,%ebp
> 0xc0ad4743 <tc_windup+3>: and $0xfffffff8,%esp
> 0xc0ad4749 <tc_windup+9>: push %ebx
> 0xc0ad474a <tc_windup+10>: push %edi
> 0xc0ad474b <tc_windup+11>: push %esi
> 0xc0ad474c <tc_windup+12>: sub $0x34,%esp
> 0xc0ad474f <tc_windup+15>: mov 0xc112a6c8,%ecx
> 0xc0ad4755 <tc_windup+21>: mov %ecx,0x14(%esp)
> 0xc0ad4759 <tc_windup+25>: mov 0x38(%ecx),%ebx
> 0xc0ad475c <tc_windup+28>: mov 0x34(%ebx),%eax
Could you please also provide from the same frame
i reg
p &timehands
?
Thank you.
--
Andriy Gapon
More information about the freebsd-stable
mailing list