Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Oct 2012 14:00:36 +0100
From:      Randy Bush <randy@psg.com>
To:        John Baldwin <jhb@freebsd.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: atkbd attach excitement during boot
Message-ID:  <m2bogmqrd7.wl%randy@psg.com>
In-Reply-To: <201210010855.02130.jhb@freebsd.org>
References:  <m2a9w7v3bs.wl%randy@psg.com> <201210010855.02130.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>> 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     }
513
514     /* test the interface to the device */
515     static int
516     atkbd_test_if(keyboard_t *kbd)

randy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m2bogmqrd7.wl%randy>