Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 1996 20:40:45 -0500 (EST)
From:      "Marc G. Fournier" <scrappy@ki.net>
To:        current@freebsd.org
Subject:   PR Appendum: ed PANIC
Message-ID:  <Pine.BSF.3.91.960318203745.29884I-100000@ki.net>

next in thread | raw e-mail | index | archive | help

Hi...

	Got a crash again today when I came into the office, on my -current
machine.  I submitted a PR for it, but at the time I hadn't had a core file
to work with.  After todays, I do, so I tried to "operate" on it, using 
what is detailed in the handbook as a guide, only to come up with...which
looks nothing like what I expected, so figure I did something wrong.

	I've kept the core file, in case there is something else I should
try to do?  Hope this helps some to debug the problem...


Script started on Mon Mar 18 20:23:58 1996
freebsd# cd /usr/debug
freebsd# ls
kernel-sym.0	kernel-sym.1	typescript
freebsd# gdb -k
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.13 (i386-unknown-freebsd), Copyright 1994 Free Software Foundation, Inc.
(kgdb) symbol-file kernel-sym.1
Reading symbols from kernel-sym.1...done.
(kgdb) exec-file /var/crash/kernel.1
(kgdb) core-file /var/crash/vmcore.1
IdlePTD 20b000
current pcb at 1d8d84
panic: from debugger
#0  boot (howto=0) at ../../i386/i386/machdep.c:935
935					dumppcb.pcb_ptd = rcr3();
(kgdb) where
#0  boot (howto=0) at ../../i386/i386/machdep.c:935
(kgdb) list
930			cngetc();
931		} else {
932			if (howto & RB_DUMP) {
933				if (!cold) {
934					savectx(&dumppcb);
935					dumppcb.pcb_ptd = rcr3();
936					dumpsys();
937				}
938	
939				if (PANIC_REBOOT_WAIT_TIME != 0) {
(kgdb) bt
#0  boot (howto=0) at ../../i386/i386/machdep.c:935
(kgdb) up 10
#0  boot (howto=0) at ../../i386/i386/machdep.c:935
935					dumppcb.pcb_ptd = rcr3();
(kgdb) up 10
#0  boot (howto=0) at ../../i386/i386/machdep.c:935
935					dumppcb.pcb_ptd = rcr3();
(kgdb) list
930			cngetc();
931		} else {
932			if (howto & RB_DUMP) {
933				if (!cold) {
934					savectx(&dumppcb);
935					dumppcb.pcb_ptd = rcr3();
936					dumpsys();
937				}
938	
939				if (PANIC_REBOOT_WAIT_TIME != 0) {
(kgdb) where
#0  boot (howto=0) at ../../i386/i386/machdep.c:935
(kgdb) quit
freebsd# gdb -k kernel-sym.1 /var/crash/vmcore.1 
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.13 (i386-unknown-freebsd), 
Copyright 1994 Free Software Foundation, Inc...
IdlePTD 20b000
current pcb at 1d8d84
panic: from debugger
#0  boot (howto=0) at ../../i386/i386/machdep.c:935
935					dumppcb.pcb_ptd = rcr3();
(kgdb) quit
freebsd# exit
exit

Script done on Mon Mar 18 20:33:05 1996

Marc G. Fournier | POP Mail  Telnet Acct  DNS Hosting
System           |  WWW Services   Database Services  | Knowledge, 
  Administrator  |                                    | Information and
 scrappy@ki.net  |      WWW: http://www.ki.net        | Communications, Inc




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960318203745.29884I-100000>