From owner-freebsd-stable@FreeBSD.ORG Mon Oct 1 14:55:06 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 02E38106564A for ; Mon, 1 Oct 2012 14:55:05 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id C42BB8FC16 for ; Mon, 1 Oct 2012 14:55:05 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 22F4BB91E; Mon, 1 Oct 2012 10:55:05 -0400 (EDT) From: John Baldwin To: Randy Bush Date: Mon, 1 Oct 2012 09:48:38 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p20; KDE/4.5.5; amd64; ; ) References: <201210010855.02130.jhb@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201210010948.38713.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 01 Oct 2012 10:55:05 -0400 (EDT) Cc: freebsd-stable@freebsd.org Subject: Re: atkbd attach excitement during boot X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Oct 2012 14:55:06 -0000 On Monday, October 01, 2012 9:00:36 am Randy Bush wrote: > >> Fatal trap 12: page fault while in kernel mode > >> cpuid = 0; apic id = 00 > >> fault virtual address = 0x38 > >> fault code = supervisor read data, page not present > >> instruction pointer = 0x20:0xffffffff80704740 > >> stack pointer = 0x28:0xffffffff815336e0 > >> frame pointer = 0x28:0xffffffff81533730 > >> 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 = 0 (swapper) > >> trap number = 12 > >> panic: page fault > >> cpuid = 0 > >> KDB: stack backtrace: > >> #0 0xffffffff809221d6 at kdb_backtrace+0x66 > >> #1 0xffffffff808ec40e at panic+0x1ce > >> #2 0xffffffff80bd91a0 at trap_fatal+0x290 > >> #3 0xffffffff80bd94d8 at trap_pfault+0x1e8 > >> #4 0xffffffff80bd9ade at trap+0x3be > >> #5 0xffffffff80bc33ff at calltrap+0x8 > >> #6 0xffffffff80be95fb at atkbd_intr+0xab > > > > Can you run 'gdb /boot/kernel/kernel' and do 'l *atkbd_intr+0xab'? > > > >> #7 0xffffffff80be9dd6 at atkbd_timeout+0x96 > >> #8 0xffffffff80be9e94 at atkbd_attach_unit+0xb4 > >> #9 0xffffffff80bea0c8 at atkbdattach+0x78 > > fbsd64.psg.com:/root# gdb /boot/kernel/kernel > 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 "amd64-marcel-freebsd"... > (gdb) l *atkbd_intr+0xab > 0xffffffff80be95fb is in atkbd_intr (/usr/src/sys/dev/atkbdc/atkbd.c:512). > 507 do { > 508 c = atkbd_read_char(kbd, FALSE); > 509 } while (c != NOKEY); > 510 } > 511 return 0; > 512 } Humm. It seems this wasn't the actual faulting instruction. Can you do 'l *0xffffffff80704740'? -- John Baldwin