Date: Sat, 16 May 1998 08:55:17 +0300 (EEST) From: Heikki Suonsivu <hsu@clinet.fi> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: kern/6650: Replugging PS/2 keyboard causes a panic Message-ID: <199805160555.IAA20226@katiska.clinet.fi>
next in thread | raw e-mail | index | archive | help
>Number: 6650
>Category: kern
>Synopsis: Replugging PS/2 keyboard causes a panic
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri May 15 23:00:01 PDT 1998
>Last-Modified:
>Originator: Heikki Suonsivu
>Organization:
Clinet, Espoo, Finland
>Release: FreeBSD 2.2.6-STABLE i386
>Environment:
Any FreeBSD 2.2-STABLE we have with PS/2 keyboard (ATX or proprietary
motherboards). Kernels vary but about display/keyboard related things we
do use pcvt, if that matters.
>Description:
When unplugging and replugging the keyboard, the system immediately
panics. This is highly repeatable here. This happened only with PS/2 type
keyboards before, but now we are seeing it in other types of hardware as
well, so it might be that the rot is spreading.
Current directory is /usr/local/src/FreeBSD/crash/
GDB is free software and you are welcome to 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.
GDB 4.16 (i386-unknown-freebsd),
Copyright 1996 Free Software Foundation, Inc...
IdlePTD 26d000
current pcb at 216384
panic: page fault
#0 boot (howto=260) at ../../kern/kern_shutdown.c:266
(kgdb) bt
#0 boot (howto=260) at ../../kern/kern_shutdown.c:266
#1 0xf0112882 in panic (fmt=0xf01d68cf "page fault")
at ../../kern/kern_shutdown.c:390
#2 0xf01d7476 in trap_fatal (frame=0xf022144c) at ../../i386/i386/trap.c:770
#3 0xf01d6f64 in trap_pfault (frame=0xf022144c, usermode=0)
at ../../i386/i386/trap.c:677
#4 0xf01d6c07 in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = 1, tf_esi = 1,
tf_ebp = -266201972, tf_isp = -266201996, tf_ebx = 0,
tf_edx = -1073512390, tf_ecx = 980, tf_eax = -266407296, tf_trapno = 12,
tf_err = 0, tf_eip = -266416133, tf_cs = 8, tf_eflags = 65538,
tf_esp = -1, tf_ss = -266201948}) at ../../i386/i386/trap.c:324
#5 0xf01ecffb in read_kbd_data_no_wait (p=0x0) at ../../i386/isa/kbdio.c:645
#6 0xf01f34ab in sgetc (noblock=1) at ../../i386/isa/pcvt/pcvt_kbd.c:1304
#7 0xf01ef2a5 in pccncheckc (dev=3072) at ../../i386/isa/pcvt/pcvt_drv.c:1244
#8 0xf01caea5 in cncheckc () at ../../i386/i386/cons.c:408
#9 0xf0200351 in wddump (dev=1) at ../../i386/isa/wd.c:1830
#10 0xf0112786 in dumpsys () at ../../kern/kern_shutdown.c:335
#11 0xf01125d2 in boot (howto=260) at ../../kern/kern_shutdown.c:267
#12 0xf0112882 in panic (fmt=0xf01d68cf "page fault")
at ../../kern/kern_shutdown.c:390
#13 0xf01d7476 in trap_fatal (frame=0xf02215e0) at ../../i386/i386/trap.c:770
#14 0xf01d6f64 in trap_pfault (frame=0xf02215e0, usermode=0)
at ../../i386/i386/trap.c:677
#15 0xf01d6c07 in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = 1, tf_esi = 1,
tf_ebp = -266201568, tf_isp = -266201592, tf_ebx = 0,
tf_edx = -1073512390, tf_ecx = 980, tf_eax = -266407296, tf_trapno = 12,
tf_err = 0, tf_eip = -266416133, tf_cs = 8, tf_eflags = 65538,
tf_esp = -1, tf_ss = -266201544}) at ../../i386/i386/trap.c:324
#16 0xf01ecffb in read_kbd_data_no_wait (p=0x0) at ../../i386/isa/kbdio.c:645
#17 0xf01f34ab in sgetc (noblock=1) at ../../i386/isa/pcvt/pcvt_kbd.c:1304
#18 0xf01ef2a5 in pccncheckc (dev=3072) at ../../i386/isa/pcvt/pcvt_drv.c:1244
#19 0xf01caea5 in cncheckc () at ../../i386/i386/cons.c:408
#20 0xf0200351 in wddump (dev=1) at ../../i386/isa/wd.c:1830
#21 0xf0112786 in dumpsys () at ../../kern/kern_shutdown.c:335
#22 0xf01125d2 in boot (howto=260) at ../../kern/kern_shutdown.c:267
#23 0xf0112882 in panic (fmt=0xf01d68cf "page fault")
at ../../kern/kern_shutdown.c:390
#24 0xf01d7476 in trap_fatal (frame=0xf0221774) at ../../i386/i386/trap.c:770
#25 0xf01d6f64 in trap_pfault (frame=0xf0221774, usermode=0)
at ../../i386/i386/trap.c:677
#26 0xf01d6c07 in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = 1, tf_esi = 1,
tf_ebp = -266201164, tf_isp = -266201188, tf_ebx = 0,
tf_edx = -1073512390, tf_ecx = 980, tf_eax = -266407296, tf_trapno = 12,
tf_err = 0, tf_eip = -266416133, tf_cs = 8, tf_eflags = 65538,
tf_esp = -1, tf_ss = -266201140}) at ../../i386/i386/trap.c:324
#27 0xf01ecffb in read_kbd_data_no_wait (p=0x0) at ../../i386/isa/kbdio.c:645
#28 0xf01f34ab in sgetc (noblock=1) at ../../i386/isa/pcvt/pcvt_kbd.c:1304
#29 0xf01ef2a5 in pccncheckc (dev=3072) at ../../i386/isa/pcvt/pcvt_drv.c:1244
#30 0xf01caea5 in cncheckc () at ../../i386/i386/cons.c:408
#31 0xf0200351 in wddump (dev=1) at ../../i386/isa/wd.c:1830
#32 0xf0112786 in dumpsys () at ../../kern/kern_shutdown.c:335
#33 0xf01125d2 in boot (howto=260) at ../../kern/kern_shutdown.c:267
#34 0xf0112882 in panic (fmt=0xf01d68cf "page fault")
at ../../kern/kern_shutdown.c:390
#35 0xf01d7476 in trap_fatal (frame=0xf0221908) at ../../i386/i386/trap.c:770
#36 0xf01d6f64 in trap_pfault (frame=0xf0221908, usermode=0)
at ../../i386/i386/trap.c:677
#37 0xf01d6c07 in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = 1, tf_esi = 1,
tf_ebp = -266200760, tf_isp = -266200784, tf_ebx = 0,
tf_edx = -1073512390, tf_ecx = 980, tf_eax = -266407296, tf_trapno = 12,
tf_err = 0, tf_eip = -266416133, tf_cs = 8, tf_eflags = 65538,
tf_esp = -1, tf_ss = -266200736}) at ../../i386/i386/trap.c:324
#38 0xf01ecffb in read_kbd_data_no_wait (p=0x0) at ../../i386/isa/kbdio.c:645
#39 0xf01f34ab in sgetc (noblock=1) at ../../i386/isa/pcvt/pcvt_kbd.c:1304
#40 0xf01ef2a5 in pccncheckc (dev=3072) at ../../i386/isa/pcvt/pcvt_drv.c:1244
#41 0xf01caea5 in cncheckc () at ../../i386/i386/cons.c:408
#42 0xf0200351 in wddump (dev=1) at ../../i386/isa/wd.c:1830
#43 0xf0112786 in dumpsys () at ../../kern/kern_shutdown.c:335
#44 0xf01125d2 in boot (howto=260) at ../../kern/kern_shutdown.c:267
#45 0xf0112882 in panic (fmt=0xf01d68cf "page fault")
at ../../kern/kern_shutdown.c:390
#46 0xf01d7476 in trap_fatal (frame=0xf0221a9c) at ../../i386/i386/trap.c:770
#47 0xf01d6f64 in trap_pfault (frame=0xf0221a9c, usermode=0)
at ../../i386/i386/trap.c:677
#48 0xf01d6c07 in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = 1, tf_esi = 1,
tf_ebp = -266200356, tf_isp = -266200380, tf_ebx = 0,
tf_edx = -1073512390, tf_ecx = 980, tf_eax = -266407296, tf_trapno = 12,
tf_err = 0, tf_eip = -266416133, tf_cs = 8, tf_eflags = 65538,
tf_esp = -1, tf_ss = -266200332}) at ../../i386/i386/trap.c:324
#49 0xf01ecffb in read_kbd_data_no_wait (p=0x0) at ../../i386/isa/kbdio.c:645
#50 0xf01f34ab in sgetc (noblock=1) at ../../i386/isa/pcvt/pcvt_kbd.c:1304
#51 0xf01ef2a5 in pccncheckc (dev=3072) at ../../i386/isa/pcvt/pcvt_drv.c:1244
#52 0xf01caea5 in cncheckc () at ../../i386/i386/cons.c:408
#53 0xf0200351 in wddump (dev=1) at ../../i386/isa/wd.c:1830
#54 0xf0112786 in dumpsys () at ../../kern/kern_shutdown.c:335
#55 0xf01125d2 in boot (howto=260) at ../../kern/kern_shutdown.c:267
#56 0xf0112882 in panic (fmt=0xf01d68cf "page fault")
at ../../kern/kern_shutdown.c:390
#57 0xf01d7476 in trap_fatal (frame=0xf0221c30) at ../../i386/i386/trap.c:770
#58 0xf01d6f64 in trap_pfault (frame=0xf0221c30, usermode=0)
at ../../i386/i386/trap.c:677
#59 0xf01d6c07 in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = 1, tf_esi = 1,
tf_ebp = -266199952, tf_isp = -266199976, tf_ebx = 0,
tf_edx = -1073512390, tf_ecx = 980, tf_eax = -266407296, tf_trapno = 12,
tf_err = 0, tf_eip = -266416133, tf_cs = 8, tf_eflags = 65538,
tf_esp = -1, tf_ss = -266199928}) at ../../i386/i386/trap.c:324
#60 0xf01ecffb in read_kbd_data_no_wait (p=0x0) at ../../i386/isa/kbdio.c:645
#61 0xf01f34ab in sgetc (noblock=1) at ../../i386/isa/pcvt/pcvt_kbd.c:1304
#62 0xf01ef2a5 in pccncheckc (dev=3072) at ../../i386/isa/pcvt/pcvt_drv.c:1244
#63 0xf01caea5 in cncheckc () at ../../i386/i386/cons.c:408
#64 0xf0200351 in wddump (dev=1) at ../../i386/isa/wd.c:1830
#65 0xf0112786 in dumpsys () at ../../kern/kern_shutdown.c:335
#66 0xf01125d2 in boot (howto=260) at ../../kern/kern_shutdown.c:267
#67 0xf0112882 in panic (fmt=0xf01d68cf "page fault")
at ../../kern/kern_shutdown.c:390
#68 0xf01d7476 in trap_fatal (frame=0xf0221dc4) at ../../i386/i386/trap.c:770
#69 0xf01d6f64 in trap_pfault (frame=0xf0221dc4, usermode=0)
at ../../i386/i386/trap.c:677
#70 0xf01d6c07 in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = 1, tf_esi = 1,
tf_ebp = -266199548, tf_isp = -266199572, tf_ebx = 0,
tf_edx = -1073512390, tf_ecx = 980, tf_eax = -266407296, tf_trapno = 12,
tf_err = 0, tf_eip = -266416133, tf_cs = 8, tf_eflags = 65538,
tf_esp = -1, tf_ss = -266199524}) at ../../i386/i386/trap.c:324
#71 0xf01ecffb in read_kbd_data_no_wait (p=0x0) at ../../i386/isa/kbdio.c:645
#72 0xf01f34ab in sgetc (noblock=1) at ../../i386/isa/pcvt/pcvt_kbd.c:1304
#73 0xf01ef2a5 in pccncheckc (dev=3072) at ../../i386/isa/pcvt/pcvt_drv.c:1244
#74 0xf01caea5 in cncheckc () at ../../i386/i386/cons.c:408
#75 0xf0200351 in wddump (dev=1) at ../../i386/isa/wd.c:1830
#76 0xf0112786 in dumpsys () at ../../kern/kern_shutdown.c:335
#77 0xf01125d2 in boot (howto=260) at ../../kern/kern_shutdown.c:267
#78 0xf0112882 in panic (fmt=0xf01d68cf "page fault")
at ../../kern/kern_shutdown.c:390
#79 0xf01d7476 in trap_fatal (frame=0xf0221f58) at ../../i386/i386/trap.c:770
#80 0xf01d6f64 in trap_pfault (frame=0xf0221f58, usermode=0)
at ../../i386/i386/trap.c:677
#81 0xf01d6c07 in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = 1, tf_esi = 1,
tf_ebp = -266199144, tf_isp = -266199168, tf_ebx = 0,
tf_edx = -1073512390, tf_ecx = 980, tf_eax = -266407296, tf_trapno = 12,
tf_err = 0, tf_eip = -266416133, tf_cs = 8, tf_eflags = 65538,
tf_esp = -1, tf_ss = -266199120}) at ../../i386/i386/trap.c:324
#82 0xf01ecffb in read_kbd_data_no_wait (p=0x0) at ../../i386/isa/kbdio.c:645
#83 0xf01f34ab in sgetc (noblock=1) at ../../i386/isa/pcvt/pcvt_kbd.c:1304
#84 0xf01ef2a5 in pccncheckc (dev=3072) at ../../i386/isa/pcvt/pcvt_drv.c:1244
#85 0xf01caea5 in cncheckc () at ../../i386/i386/cons.c:408
#86 0xf0200351 in wddump (dev=1) at ../../i386/isa/wd.c:1830
#87 0xf0112786 in dumpsys () at ../../kern/kern_shutdown.c:335
#88 0xf01125d2 in boot (howto=260) at ../../kern/kern_shutdown.c:267
#89 0xf0112882 in panic (fmt=0xf01d68cf "page fault")
at ../../kern/kern_shutdown.c:390
#90 0xf01d7476 in trap_fatal (frame=0xf02220ec) at ../../i386/i386/trap.c:770
#91 0xf01d6f64 in trap_pfault (frame=0xf02220ec, usermode=0)
at ../../i386/i386/trap.c:677
#92 0xf01d6c07 in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = 1, tf_esi = 1,
tf_ebp = -266198740, tf_isp = -266198764, tf_ebx = 0,
tf_edx = -1073512390, tf_ecx = 980, tf_eax = -266407296, tf_trapno = 12,
tf_err = 0, tf_eip = -266416133, tf_cs = 8, tf_eflags = 65538,
tf_esp = -1, tf_ss = -266198716}) at ../../i386/i386/trap.c:324
#93 0xf01ecffb in read_kbd_data_no_wait (p=0x0) at ../../i386/isa/kbdio.c:645
#94 0xf01f34ab in sgetc (noblock=1) at ../../i386/isa/pcvt/pcvt_kbd.c:1304
#95 0xf01ef2a5 in pccncheckc (dev=3072) at ../../i386/isa/pcvt/pcvt_drv.c:1244
#96 0xf01caea5 in cncheckc () at ../../i386/i386/cons.c:408
#97 0xf0200351 in wddump (dev=1) at ../../i386/isa/wd.c:1830
#98 0xf0112786 in dumpsys () at ../../kern/kern_shutdown.c:335
#99 0xf01125d2 in boot (howto=260) at ../../kern/kern_shutdown.c:267
#100 0xf0112882 in panic (fmt=0xf01d68cf "page fault")
at ../../kern/kern_shutdown.c:390
#101 0xf01d7476 in trap_fatal (frame=0xf0222280) at ../../i386/i386/trap.c:770
#102 0xf01d6f64 in trap_pfault (frame=0xf0222280, usermode=0)
at ../../i386/i386/trap.c:677
#103 0xf01d6c07 in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = 1,
tf_esi = 1, tf_ebp = -266198336, tf_isp = -266198360, tf_ebx = 0,
tf_edx = -1073512390, tf_ecx = 980, tf_eax = -266407296, tf_trapno = 12,
tf_err = 0, tf_eip = -266416133, tf_cs = 8, tf_eflags = 81922,
tf_esp = -1, tf_ss = -266198312}) at ../../i386/i386/trap.c:324
#104 0xf01ecffb in read_kbd_data_no_wait (p=0x0) at ../../i386/isa/kbdio.c:645
#105 0xf01f34ab in sgetc (noblock=1) at ../../i386/isa/pcvt/pcvt_kbd.c:1304
#106 0xf01ef2a5 in pccncheckc (dev=3072) at ../../i386/isa/pcvt/pcvt_drv.c:1244
#107 0xf01caea5 in cncheckc () at ../../i386/i386/cons.c:408
#108 0xf0200351 in wddump (dev=1) at ../../i386/isa/wd.c:1830
#109 0xf0112786 in dumpsys () at ../../kern/kern_shutdown.c:335
#110 0xf01125d2 in boot (howto=260) at ../../kern/kern_shutdown.c:267
#111 0xf0112882 in panic (fmt=0xf01d6843 "double fault")
at ../../kern/kern_shutdown.c:390
#112 0xf01d750c in trapwrite (addr=0) at ../../i386/i386/trap.c:799
(kgdb) up
#1 0xf0112882 in panic (fmt=0xf01d68cf "page fault")
at ../../kern/kern_shutdown.c:390
(kgdb) down
#0 boot (howto=260) at ../../kern/kern_shutdown.c:266
(kgdb) up
#1 0xf0112882 in panic (fmt=0xf01d68cf "page fault")
at ../../kern/kern_shutdown.c:390
(kgdb)
#2 0xf01d7476 in trap_fatal (frame=0xf022144c) at ../../i386/i386/trap.c:770
(kgdb) print type
$1 = 12
(kgdb) print frame
$2 = (struct trapframe *) 0xf022144c
(kgdb) up
#3 0xf01d6f64 in trap_pfault (frame=0xf022144c, usermode=0)
at ../../i386/i386/trap.c:677
(kgdb) print intr_nesting_level
$3 = 1
(kgdb) print curpcb
$4 = -265887744
(kgdb) set radix 16
Input and output radices now set to decimal 16, hex 10, octal 20.
(kgdb) print curpcb
$5 = 0xf026e000
(kgdb) print *curpcb
$6 = 0x0
(kgdb) up
#4 0xf01d6c07 in trap (frame={tf_es = 0x10, tf_ds = 0x10, tf_edi = 0x1,
tf_esi = 0x1, tf_ebp = 0xf022148c, tf_isp = 0xf0221474, tf_ebx = 0x0,
tf_edx = 0xc003803a, tf_ecx = 0x3d4, tf_eax = 0xf01ef280,
tf_trapno = 0xc, tf_err = 0x0, tf_eip = 0xf01ecffb, tf_cs = 0x8,
tf_eflags = 0x10002, tf_esp = 0xffffffff, tf_ss = 0xf02214a4})
at ../../i386/i386/trap.c:324
(kgdb) print type
$7 = 0x0
(kgdb) up
#5 0xf01ecffb in read_kbd_data_no_wait (p=0x0) at ../../i386/isa/kbdio.c:645
(kgdb) up
#6 0xf01f34ab in sgetc (noblock=0x1) at ../../i386/isa/pcvt/pcvt_kbd.c:1304
(kgdb) down
#5 0xf01ecffb in read_kbd_data_no_wait (p=0x0) at ../../i386/isa/kbdio.c:645
(kgdb) up
#6 0xf01f34ab in sgetc (noblock=0x1) at ../../i386/isa/pcvt/pcvt_kbd.c:1304
(kgdb) up
#7 0xf01ef2a5 in pccncheckc (dev=0xc00) at ../../i386/isa/pcvt/pcvt_drv.c:1244
(kgdb) up
#8 0xf01caea5 in cncheckc () at ../../i386/i386/cons.c:408
(kgdb) down
#7 0xf01ef2a5 in pccncheckc (dev=0xc00) at ../../i386/isa/pcvt/pcvt_drv.c:1244
(kgdb) down
#6 0xf01f34ab in sgetc (noblock=0x1) at ../../i386/isa/pcvt/pcvt_kbd.c:1304
(kgdb) print c
$8 = 0x0
(kgdb) down
#5 0xf01ecffb in read_kbd_data_no_wait (p=0x0) at ../../i386/isa/kbdio.c:645
(kgdb) down
#4 0xf01d6c07 in trap (frame={tf_es = 0x10, tf_ds = 0x10, tf_edi = 0x1,
tf_esi = 0x1, tf_ebp = 0xf022148c, tf_isp = 0xf0221474, tf_ebx = 0x0,
tf_edx = 0xc003803a, tf_ecx = 0x3d4, tf_eax = 0xf01ef280,
tf_trapno = 0xc, tf_err = 0x0, tf_eip = 0xf01ecffb, tf_cs = 0x8,
tf_eflags = 0x10002, tf_esp = 0xffffffff, tf_ss = 0xf02214a4})
at ../../i386/i386/trap.c:324
(kgdb) up
#5 0xf01ecffb in read_kbd_data_no_wait (p=0x0) at ../../i386/isa/kbdio.c:645
(kgdb) up
#6 0xf01f34ab in sgetc (noblock=0x1) at ../../i386/isa/pcvt/pcvt_kbd.c:1304
(kgdb)
#7 0xf01ef2a5 in pccncheckc (dev=0xc00) at ../../i386/isa/pcvt/pcvt_drv.c:1244
(kgdb)
#8 0xf01caea5 in cncheckc () at ../../i386/i386/cons.c:408
(kgdb)
#9 0xf0200351 in wddump (dev=0x1) at ../../i386/isa/wd.c:1830
(kgdb)
#10 0xf0112786 in dumpsys () at ../../kern/kern_shutdown.c:335
(kgdb)
#11 0xf01125d2 in boot (howto=0x104) at ../../kern/kern_shutdown.c:267
(kgdb)
#12 0xf0112882 in panic (fmt=0xf01d68cf "page fault")
at ../../kern/kern_shutdown.c:390
(kgdb)
#13 0xf01d7476 in trap_fatal (frame=0xf02215e0) at ../../i386/i386/trap.c:770
(kgdb) print trap_msg[type]
$9 = 0xf01d68cf "page fault"
(kgdb) print type
$10 = 0xc
(kgdb) up
#14 0xf01d6f64 in trap_pfault (frame=0xf02215e0, usermode=0x0)
at ../../i386/i386/trap.c:677
(kgdb) up
#15 0xf01d6c07 in trap (frame={tf_es = 0x10, tf_ds = 0x10, tf_edi = 0x1,
tf_esi = 0x1, tf_ebp = 0xf0221620, tf_isp = 0xf0221608, tf_ebx = 0x0,
tf_edx = 0xc003803a, tf_ecx = 0x3d4, tf_eax = 0xf01ef280,
tf_trapno = 0xc, tf_err = 0x0, tf_eip = 0xf01ecffb, tf_cs = 0x8,
tf_eflags = 0x10002, tf_esp = 0xffffffff, tf_ss = 0xf0221638})
at ../../i386/i386/trap.c:324
(kgdb) up
#16 0xf01ecffb in read_kbd_data_no_wait (p=0x0) at ../../i386/isa/kbdio.c:645
(kgdb) up
#17 0xf01f34ab in sgetc (noblock=0x1) at ../../i386/isa/pcvt/pcvt_kbd.c:1304
(kgdb)
#18 0xf01ef2a5 in pccncheckc (dev=0xc00) at ../../i386/isa/pcvt/pcvt_drv.c:1244
(kgdb)
#19 0xf01caea5 in cncheckc () at ../../i386/i386/cons.c:408
(kgdb)
#20 0xf0200351 in wddump (dev=0x1) at ../../i386/isa/wd.c:1830
(kgdb)
#21 0xf0112786 in dumpsys () at ../../kern/kern_shutdown.c:335
(kgdb)
#22 0xf01125d2 in boot (howto=0x104) at ../../kern/kern_shutdown.c:267
(kgdb)
#23 0xf0112882 in panic (fmt=0xf01d68cf "page fault")
at ../../kern/kern_shutdown.c:390
(kgdb)
#24 0xf01d7476 in trap_fatal (frame=0xf0221774) at ../../i386/i386/trap.c:770
(kgdb)
#25 0xf01d6f64 in trap_pfault (frame=0xf0221774, usermode=0x0)
at ../../i386/i386/trap.c:677
(kgdb)
#26 0xf01d6c07 in trap (frame={tf_es = 0x10, tf_ds = 0x10, tf_edi = 0x1,
tf_esi = 0x1, tf_ebp = 0xf02217b4, tf_isp = 0xf022179c, tf_ebx = 0x0,
tf_edx = 0xc003803a, tf_ecx = 0x3d4, tf_eax = 0xf01ef280,
tf_trapno = 0xc, tf_err = 0x0, tf_eip = 0xf01ecffb, tf_cs = 0x8,
tf_eflags = 0x10002, tf_esp = 0xffffffff, tf_ss = 0xf02217cc})
at ../../i386/i386/trap.c:324
(kgdb)
#27 0xf01ecffb in read_kbd_data_no_wait (p=0x0) at ../../i386/isa/kbdio.c:645
(kgdb)
#28 0xf01f34ab in sgetc (noblock=0x1) at ../../i386/isa/pcvt/pcvt_kbd.c:1304
(kgdb)
#29 0xf01ef2a5 in pccncheckc (dev=0xc00) at ../../i386/isa/pcvt/pcvt_drv.c:1244
(kgdb)
#30 0xf01caea5 in cncheckc () at ../../i386/i386/cons.c:408
(kgdb)
#31 0xf0200351 in wddump (dev=0x1) at ../../i386/isa/wd.c:1830
(kgdb)
#32 0xf0112786 in dumpsys () at ../../kern/kern_shutdown.c:335
(kgdb)
#33 0xf01125d2 in boot (howto=0x104) at ../../kern/kern_shutdown.c:267
(kgdb)
#34 0xf0112882 in panic (fmt=0xf01d68cf "page fault")
at ../../kern/kern_shutdown.c:390
(kgdb)
#35 0xf01d7476 in trap_fatal (frame=0xf0221908) at ../../i386/i386/trap.c:770
(kgdb)
#36 0xf01d6f64 in trap_pfault (frame=0xf0221908, usermode=0x0)
at ../../i386/i386/trap.c:677
(kgdb)
#37 0xf01d6c07 in trap (frame={tf_es = 0x10, tf_ds = 0x10, tf_edi = 0x1,
tf_esi = 0x1, tf_ebp = 0xf0221948, tf_isp = 0xf0221930, tf_ebx = 0x0,
tf_edx = 0xc003803a, tf_ecx = 0x3d4, tf_eax = 0xf01ef280,
tf_trapno = 0xc, tf_err = 0x0, tf_eip = 0xf01ecffb, tf_cs = 0x8,
tf_eflags = 0x10002, tf_esp = 0xffffffff, tf_ss = 0xf0221960})
at ../../i386/i386/trap.c:324
(kgdb)
#38 0xf01ecffb in read_kbd_data_no_wait (p=0x0) at ../../i386/isa/kbdio.c:645
(kgdb)
#39 0xf01f34ab in sgetc (noblock=0x1) at ../../i386/isa/pcvt/pcvt_kbd.c:1304
(kgdb)
#40 0xf01ef2a5 in pccncheckc (dev=0xc00) at ../../i386/isa/pcvt/pcvt_drv.c:1244
(kgdb)
#41 0xf01caea5 in cncheckc () at ../../i386/i386/cons.c:408
(kgdb)
#42 0xf0200351 in wddump (dev=0x1) at ../../i386/isa/wd.c:1830
(kgdb)
#43 0xf0112786 in dumpsys () at ../../kern/kern_shutdown.c:335
(kgdb)
#44 0xf01125d2 in boot (howto=0x104) at ../../kern/kern_shutdown.c:267
(kgdb)
#45 0xf0112882 in panic (fmt=0xf01d68cf "page fault")
at ../../kern/kern_shutdown.c:390
(kgdb)
#46 0xf01d7476 in trap_fatal (frame=0xf0221a9c) at ../../i386/i386/trap.c:770
(kgdb)
#47 0xf01d6f64 in trap_pfault (frame=0xf0221a9c, usermode=0x0)
at ../../i386/i386/trap.c:677
(kgdb)
#48 0xf01d6c07 in trap (frame={tf_es = 0x10, tf_ds = 0x10, tf_edi = 0x1,
tf_esi = 0x1, tf_ebp = 0xf0221adc, tf_isp = 0xf0221ac4, tf_ebx = 0x0,
tf_edx = 0xc003803a, tf_ecx = 0x3d4, tf_eax = 0xf01ef280,
tf_trapno = 0xc, tf_err = 0x0, tf_eip = 0xf01ecffb, tf_cs = 0x8,
tf_eflags = 0x10002, tf_esp = 0xffffffff, tf_ss = 0xf0221af4})
at ../../i386/i386/trap.c:324
(kgdb)
#49 0xf01ecffb in read_kbd_data_no_wait (p=0x0) at ../../i386/isa/kbdio.c:645
(kgdb)
#50 0xf01f34ab in sgetc (noblock=0x1) at ../../i386/isa/pcvt/pcvt_kbd.c:1304
(kgdb)
#51 0xf01ef2a5 in pccncheckc (dev=0xc00) at ../../i386/isa/pcvt/pcvt_drv.c:1244
(kgdb)
#52 0xf01caea5 in cncheckc () at ../../i386/i386/cons.c:408
(kgdb)
#53 0xf0200351 in wddump (dev=0x1) at ../../i386/isa/wd.c:1830
(kgdb)
#54 0xf0112786 in dumpsys () at ../../kern/kern_shutdown.c:335
(kgdb)
#55 0xf01125d2 in boot (howto=0x104) at ../../kern/kern_shutdown.c:267
(kgdb)
#56 0xf0112882 in panic (fmt=0xf01d68cf "page fault")
at ../../kern/kern_shutdown.c:390
(kgdb)
#57 0xf01d7476 in trap_fatal (frame=0xf0221c30) at ../../i386/i386/trap.c:770
(kgdb)
#58 0xf01d6f64 in trap_pfault (frame=0xf0221c30, usermode=0x0)
at ../../i386/i386/trap.c:677
(kgdb)
#59 0xf01d6c07 in trap (frame={tf_es = 0x10, tf_ds = 0x10, tf_edi = 0x1,
tf_esi = 0x1, tf_ebp = 0xf0221c70, tf_isp = 0xf0221c58, tf_ebx = 0x0,
tf_edx = 0xc003803a, tf_ecx = 0x3d4, tf_eax = 0xf01ef280,
tf_trapno = 0xc, tf_err = 0x0, tf_eip = 0xf01ecffb, tf_cs = 0x8,
tf_eflags = 0x10002, tf_esp = 0xffffffff, tf_ss = 0xf0221c88})
at ../../i386/i386/trap.c:324
(kgdb)
#60 0xf01ecffb in read_kbd_data_no_wait (p=0x0) at ../../i386/isa/kbdio.c:645
(kgdb)
#61 0xf01f34ab in sgetc (noblock=0x1) at ../../i386/isa/pcvt/pcvt_kbd.c:1304
(kgdb)
#62 0xf01ef2a5 in pccncheckc (dev=0xc00) at ../../i386/isa/pcvt/pcvt_drv.c:1244
(kgdb)
#63 0xf01caea5 in cncheckc () at ../../i386/i386/cons.c:408
(kgdb)
#64 0xf0200351 in wddump (dev=0x1) at ../../i386/isa/wd.c:1830
(kgdb)
#65 0xf0112786 in dumpsys () at ../../kern/kern_shutdown.c:335
(kgdb)
#66 0xf01125d2 in boot (howto=0x104) at ../../kern/kern_shutdown.c:267
(kgdb)
#67 0xf0112882 in panic (fmt=0xf01d68cf "page fault")
at ../../kern/kern_shutdown.c:390
(kgdb)
#68 0xf01d7476 in trap_fatal (frame=0xf0221dc4) at ../../i386/i386/trap.c:770
(kgdb)
#69 0xf01d6f64 in trap_pfault (frame=0xf0221dc4, usermode=0x0)
at ../../i386/i386/trap.c:677
(kgdb)
#70 0xf01d6c07 in trap (frame={tf_es = 0x10, tf_ds = 0x10, tf_edi = 0x1,
tf_esi = 0x1, tf_ebp = 0xf0221e04, tf_isp = 0xf0221dec, tf_ebx = 0x0,
tf_edx = 0xc003803a, tf_ecx = 0x3d4, tf_eax = 0xf01ef280,
tf_trapno = 0xc, tf_err = 0x0, tf_eip = 0xf01ecffb, tf_cs = 0x8,
tf_eflags = 0x10002, tf_esp = 0xffffffff, tf_ss = 0xf0221e1c})
at ../../i386/i386/trap.c:324
(kgdb)
#71 0xf01ecffb in read_kbd_data_no_wait (p=0x0) at ../../i386/isa/kbdio.c:645
(kgdb)
#72 0xf01f34ab in sgetc (noblock=0x1) at ../../i386/isa/pcvt/pcvt_kbd.c:1304
(kgdb)
#73 0xf01ef2a5 in pccncheckc (dev=0xc00) at ../../i386/isa/pcvt/pcvt_drv.c:1244
(kgdb)
#74 0xf01caea5 in cncheckc () at ../../i386/i386/cons.c:408
(kgdb)
#75 0xf0200351 in wddump (dev=0x1) at ../../i386/isa/wd.c:1830
(kgdb)
#76 0xf0112786 in dumpsys () at ../../kern/kern_shutdown.c:335
(kgdb)
#77 0xf01125d2 in boot (howto=0x104) at ../../kern/kern_shutdown.c:267
(kgdb)
#78 0xf0112882 in panic (fmt=0xf01d68cf "page fault")
at ../../kern/kern_shutdown.c:390
(kgdb)
#79 0xf01d7476 in trap_fatal (frame=0xf0221f58) at ../../i386/i386/trap.c:770
(kgdb)
#80 0xf01d6f64 in trap_pfault (frame=0xf0221f58, usermode=0x0)
at ../../i386/i386/trap.c:677
(kgdb)
#81 0xf01d6c07 in trap (frame={tf_es = 0x10, tf_ds = 0x10, tf_edi = 0x1,
tf_esi = 0x1, tf_ebp = 0xf0221f98, tf_isp = 0xf0221f80, tf_ebx = 0x0,
tf_edx = 0xc003803a, tf_ecx = 0x3d4, tf_eax = 0xf01ef280,
tf_trapno = 0xc, tf_err = 0x0, tf_eip = 0xf01ecffb, tf_cs = 0x8,
tf_eflags = 0x10002, tf_esp = 0xffffffff, tf_ss = 0xf0221fb0})
at ../../i386/i386/trap.c:324
(kgdb)
#82 0xf01ecffb in read_kbd_data_no_wait (p=0x0) at ../../i386/isa/kbdio.c:645
(kgdb)
#83 0xf01f34ab in sgetc (noblock=0x1) at ../../i386/isa/pcvt/pcvt_kbd.c:1304
(kgdb)
#84 0xf01ef2a5 in pccncheckc (dev=0xc00) at ../../i386/isa/pcvt/pcvt_drv.c:1244
(kgdb)
#85 0xf01caea5 in cncheckc () at ../../i386/i386/cons.c:408
(kgdb)
#86 0xf0200351 in wddump (dev=0x1) at ../../i386/isa/wd.c:1830
(kgdb)
#87 0xf0112786 in dumpsys () at ../../kern/kern_shutdown.c:335
(kgdb)
#88 0xf01125d2 in boot (howto=0x104) at ../../kern/kern_shutdown.c:267
(kgdb)
#89 0xf0112882 in panic (fmt=0xf01d68cf "page fault")
at ../../kern/kern_shutdown.c:390
(kgdb)
#90 0xf01d7476 in trap_fatal (frame=0xf02220ec) at ../../i386/i386/trap.c:770
(kgdb)
#91 0xf01d6f64 in trap_pfault (frame=0xf02220ec, usermode=0x0)
at ../../i386/i386/trap.c:677
(kgdb)
#92 0xf01d6c07 in trap (frame={tf_es = 0x10, tf_ds = 0x10, tf_edi = 0x1,
tf_esi = 0x1, tf_ebp = 0xf022212c, tf_isp = 0xf0222114, tf_ebx = 0x0,
tf_edx = 0xc003803a, tf_ecx = 0x3d4, tf_eax = 0xf01ef280,
tf_trapno = 0xc, tf_err = 0x0, tf_eip = 0xf01ecffb, tf_cs = 0x8,
tf_eflags = 0x10002, tf_esp = 0xffffffff, tf_ss = 0xf0222144})
at ../../i386/i386/trap.c:324
(kgdb)
#93 0xf01ecffb in read_kbd_data_no_wait (p=0x0) at ../../i386/isa/kbdio.c:645
(kgdb)
#94 0xf01f34ab in sgetc (noblock=0x1) at ../../i386/isa/pcvt/pcvt_kbd.c:1304
(kgdb)
#95 0xf01ef2a5 in pccncheckc (dev=0xc00) at ../../i386/isa/pcvt/pcvt_drv.c:1244
(kgdb)
#96 0xf01caea5 in cncheckc () at ../../i386/i386/cons.c:408
(kgdb)
#97 0xf0200351 in wddump (dev=0x1) at ../../i386/isa/wd.c:1830
(kgdb)
#98 0xf0112786 in dumpsys () at ../../kern/kern_shutdown.c:335
(kgdb)
#99 0xf01125d2 in boot (howto=0x104) at ../../kern/kern_shutdown.c:267
(kgdb)
#100 0xf0112882 in panic (fmt=0xf01d68cf "page fault")
at ../../kern/kern_shutdown.c:390
(kgdb)
#101 0xf01d7476 in trap_fatal (frame=0xf0222280) at ../../i386/i386/trap.c:770
(kgdb)
#102 0xf01d6f64 in trap_pfault (frame=0xf0222280, usermode=0x0)
at ../../i386/i386/trap.c:677
(kgdb)
#103 0xf01d6c07 in trap (frame={tf_es = 0x10, tf_ds = 0x10, tf_edi = 0x1,
tf_esi = 0x1, tf_ebp = 0xf02222c0, tf_isp = 0xf02222a8, tf_ebx = 0x0,
tf_edx = 0xc003803a, tf_ecx = 0x3d4, tf_eax = 0xf01ef280,
tf_trapno = 0xc, tf_err = 0x0, tf_eip = 0xf01ecffb, tf_cs = 0x8,
tf_eflags = 0x14002, tf_esp = 0xffffffff, tf_ss = 0xf02222d8})
at ../../i386/i386/trap.c:324
(kgdb)
#104 0xf01ecffb in read_kbd_data_no_wait (p=0x0) at ../../i386/isa/kbdio.c:645
(kgdb)
#105 0xf01f34ab in sgetc (noblock=0x1) at ../../i386/isa/pcvt/pcvt_kbd.c:1304
(kgdb)
#106 0xf01ef2a5 in pccncheckc (dev=0xc00)
at ../../i386/isa/pcvt/pcvt_drv.c:1244
(kgdb)
#107 0xf01caea5 in cncheckc () at ../../i386/i386/cons.c:408
(kgdb)
#108 0xf0200351 in wddump (dev=0x1) at ../../i386/isa/wd.c:1830
(kgdb)
#109 0xf0112786 in dumpsys () at ../../kern/kern_shutdown.c:335
(kgdb)
#110 0xf01125d2 in boot (howto=0x104) at ../../kern/kern_shutdown.c:267
(kgdb)
#111 0xf0112882 in panic (fmt=0xf01d6843 "double fault")
at ../../kern/kern_shutdown.c:390
(kgdb)
#112 0xf01d750c in trapwrite (addr=0x0) at ../../i386/i386/trap.c:799
(kgdb)
Initial frame selected; you cannot go up.
(kgdb) print pcb
$11 = (struct pcb *) 0xf026e000
(kgdb) print *pcb
$12 = {pcb_tss = {tss_link = 0x0, tss_esp0 = 0xefc00000, tss_ss0 = 0x10,
tss_esp1 = 0x0, tss_ss1 = 0x0, tss_esp2 = 0x0, tss_ss2 = 0x0,
tss_cr3 = 0x26d000, tss_eip = 0xf01f49fe, tss_eflags = 0x10202,
tss_eax = 0xf0200050, tss_ecx = 0x18, tss_edx = 0xa, tss_ebx = 0x4700,
tss_esp = 0xf0204000, tss_ebp = 0xf020401c, tss_esi = 0xf0248f44,
tss_edi = 0xa, tss_es = 0x10, tss_cs = 0x8, tss_ss = 0x10, tss_ds = 0x10,
tss_fs = 0x1f, tss_gs = 0x27, tss_ldt = 0x0, tss_ioopt = 0x680000},
pcb_ldt = 0x0, pcb_ldt_len = 0x0, pcb_savefpu = {sv_env = {en_cw = 0x0,
en_sw = 0x0, en_tw = 0x0, en_fip = 0x0, en_fcs = 0x0, en_opcode = 0x0,
en_foo = 0x0, en_fos = 0x0}, sv_ac = {{
fp_bytes = "\000\000\000\000\000\000\000\000\000"}, {
fp_bytes = "\000\000\000\000\000\000\000\000\000"}, {
fp_bytes = "\000\000\000\000\000\000\000\000\000"}, {
fp_bytes = "\000\000\000\000\000\000\000\000\000"}, {
fp_bytes = "\000\000\000\000\000\000\000\000\000"}, {
fp_bytes = "\000\000\000\000\000\000\000\000\000"}, {
fp_bytes = "\000\000\000\000\000\000\000\000\000"}, {
fp_bytes = "\000\000\000\000\000\000\000\000\000"}}, sv_ex_sw = 0x0,
sv_pad = '\000' <repeats 63 times>}, pcb_flags = 0x0, pcb_onfault = 0x0}
(kgdb)
>How-To-Repeat:
remove and replug PS/2 keyboard, or use an mechanical
monitor/keyboard switch. If it does not happen, add PCVT to kernel and
retry. If still no success, as me to send you a couple of kernels. I can
also provide crash dumps if necessary.
>Fix:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805160555.IAA20226>
