From owner-freebsd-bugs@FreeBSD.ORG Mon Mar 17 09:40:00 2014 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AC619C36 for ; Mon, 17 Mar 2014 09:40:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8907D9E1 for ; Mon, 17 Mar 2014 09:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2H9e0Lb083183 for ; Mon, 17 Mar 2014 09:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2H9e0p6083182; Mon, 17 Mar 2014 09:40:00 GMT (envelope-from gnats) Resent-Date: Mon, 17 Mar 2014 09:40:00 GMT Resent-Message-Id: <201403170940.s2H9e0p6083182@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Robert David Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E92C3B1B for ; Mon, 17 Mar 2014 09:35:59 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BC55E9B7 for ; Mon, 17 Mar 2014 09:35:59 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s2H9Zx64021698 for ; Mon, 17 Mar 2014 09:35:59 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s2H9ZxQB021689; Mon, 17 Mar 2014 09:35:59 GMT (envelope-from nobody) Message-Id: <201403170935.s2H9ZxQB021689@cgiserv.freebsd.org> Date: Mon, 17 Mar 2014 09:35:59 GMT From: Robert David To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: kern/187654: Panic on system resume (swi4: clock) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Mar 2014 09:40:00 -0000 >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@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: