kern/187654: Panic on system resume (swi4: clock)
Robert David
robert.david.public at gmail.com
Mon Mar 17 09:40:00 UTC 2014
>Number: 187654
>Category: kern
>Synopsis: Panic on system resume (swi4: clock)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 17 09:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Robert David
>Release: stabel/10
>Organization:
none
>Environment:
FreeBSD notebook.linsystem.net 10.0-STABLE FreeBSD 10.0-STABLE #0 a887dd1(HEAD): Mon Mar 17 09:56:16 CET 2014 root at notebook.linsystem.net:/usr/obj/rpool/FREEBSD/src/sys/thinkpad_03 amd64
>Description:
On resume form acpisleep (S3) the system PANICS.
Revision that works ok: a887dd1976ef3a88756e362b7933a80b0dccc608
Tested on rev: 394eaed7a53ca7a3c3e21479e56edd8e009e8f67
branch: stable/10
Trace:
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address = 0x30
fault code = supervisor read data, page not present
instruction pointer = 0x20:0xffffffff808a8ed3
stack pointer = 0x28:0xfffffe00f3176a20
frame pointer = 0x28:0xfffffe00f3176af0
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 = 12 (swi4: clock)
trap number = 12
panic: page fault
cpuid = 0
KDB: stack backtrace:
#0 0xffffffff808cc440 at kdb_backtrace+0x60
#1 0xffffffff80893e15 at panic+0x155
#2 0xffffffff80c76032 at trap_fatal+0x3a2
#3 0xffffffff80c76309 at trap_pfault+0x2c9
#4 0xffffffff80c75a9b at trap+0x5bb
#5 0xffffffff80c5cd52 at calltrap+0x8
#6 0xffffffff808a92e4 at softclock+0x94
#7 0xffffffff8086827b at intr_event_execute_handlers+0xab
#8 0xffffffff808686c6 at ithread_loop+0x96
#9 0xffffffff80865f2a at fork_exit+0x9a
#10 0xffffffff80c5d28e at fork_trampoline+0xe
I use custom kernel config (since I need unload and load usb modules on suspend):
include GENERIC
ident THINKPAD
# set newcons
nodevice sc
nodevice vga
device vt
device vt_vga
nooptions VESA
# disable kernel debug
nooptions DDB
nooptions GDB
nooptions INVARIANTS
nooptions INVARIANT_SUPPORT
nooptions WITNESS
nooptions WITNESS_SKIPSPIN
# disable usb builtin
nodevice uhci
nodevice ohci
nodevice ehci
nodevice xhci
nodevice ukbd
nodevice umass
>How-To-Repeat:
suspend: acpiconf -s3
resume -> PANICS
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list