kern/52943
Eugene Grosbein
eugen at grosbein.pp.ru
Sun Aug 17 07:30:16 PDT 2003
The following reply was made to PR kern/52943; it has been noted by GNATS.
From: Eugene Grosbein <eugen at grosbein.pp.ru>
To: Kris Kennaway <kris at obsecurity.org>
Cc: bug-followup at freebsd.org
Subject: Re: kern/52943
Date: Sun, 17 Aug 2003 22:24:56 +0800
Here comes GDB backtrace. Note that after the first 'panic' and 'c'
commands it does not write crashdump and does not reboot.
It just sits idle. After the second 'panic' it works.
The crashdump and kernel.debug are available on request (3.3Mb compressed).
Script started on Sun Aug 17 22:06:37 2003
GNU gdb 4.18 (FreeBSD)
Copyright 1998 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 "i386-unknown-freebsd"...Deprecated bfd_read called at /usr/local/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs
Deprecated bfd_read called at /usr/local/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf
IdlePTD at phsyical address 0x0037d000
initial pcb at physical address 0x002dab00
panicstr: from debugger
panic messages:
---
panic: from debugger
syncing disks...
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x30
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc01d53b7
stack pointer = 0x10:0xc029c39c
frame pointer = 0x10:0xc029c3a4
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = Idle
interrupt mask = tty bio
Fatal trap 3: breakpoint instruction fault while in kernel mode
instruction pointer = 0x8:0xc0236701
stack pointer = 0x10:0xc2e8de6c
frame pointer = 0x10:0xc2e8de74
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, IOPL = 0
current process = 4 (bufdaemon)
interrupt mask = tty bio
panic: from debugger
Uptime: 1m13s
dumping to dev #ad/0x30001, offset 32768
dump ata0: resetting devices .. done
16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
---
#0 dumpsys () at /usr/local/src/sys/kern/kern_shutdown.c:487
487 if (dumping++) {
(kgdb) bt
#0 dumpsys () at /usr/local/src/sys/kern/kern_shutdown.c:487
#1 0xc0153fae in boot (howto=260)
at /usr/local/src/sys/kern/kern_shutdown.c:316
#2 0xc01543fd in panic (fmt=0xc025ff84 "from debugger")
at /usr/local/src/sys/kern/kern_shutdown.c:595
#3 0xc0126f01 in db_panic (addr=-1071421695, have_addr=0, count=-1,
modif=0xc2e8dce8 "") at /usr/local/src/sys/ddb/db_command.c:435
#4 0xc0126ea2 in db_command (last_cmdp=0xc029fa78, cmd_table=0xc029f8b8,
aux_cmd_tablep=0xc02d5d98) at /usr/local/src/sys/ddb/db_command.c:333
#5 0xc0126f66 in db_command_loop () at /usr/local/src/sys/ddb/db_command.c:457
#6 0xc01291bb in db_trap (type=3, code=0)
at /usr/local/src/sys/ddb/db_trap.c:71
#7 0xc02364a2 in kdb_trap (type=3, code=0, regs=0xc2e8de2c)
at /usr/local/src/sys/i386/i386/db_interface.c:158
#8 0xc0244544 in trap_fatal (frame=0xc2e8de2c, eva=0)
at /usr/local/src/sys/i386/i386/trap.c:969
#9 0xc0243a69 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16,
tf_edi = -1070684256, tf_esi = 0, tf_ebp = -1024926092,
tf_isp = -1024926120, tf_ebx = 134, tf_edx = 0, tf_ecx = 32,
tf_eax = 38, tf_trapno = 3, tf_err = 0, tf_eip = -1071421695, tf_cs = 8,
tf_eflags = 582, tf_esp = -1071055937, tf_ss = -1071071063})
at /usr/local/src/sys/i386/i386/trap.c:238
#10 0xc0236701 in Debugger (msg=0xc028c0a9 "manual escape to debugger")
at machine/cpufunc.h:67
---Type <return> to continue, or q <return> to quit---
#11 0xc0231a5e in scgetc (sc=0xc02f63a0, flags=2)
at /usr/local/src/sys/dev/syscons/syscons.c:3164
#12 0xc022e109 in sckbdevent (thiskbd=0xc02e8ea0, event=0, arg=0xc02f63a0)
at /usr/local/src/sys/dev/syscons/syscons.c:617
#13 0xc0225967 in atkbd_intr (kbd=0xc02e8ea0, arg=0x0)
at /usr/local/src/sys/dev/kbd/atkbd.c:464
#14 0xc0250fe8 in atkbd_isa_intr (arg=0xc02e8ea0)
at /usr/local/src/sys/isa/atkbd_isa.c:140
#15 0xc0156ffd in tsleep (ident=0xc02db43c, priority=4,
wmesg=0xc026befe "psleep", timo=100)
at /usr/local/src/sys/kern/kern_synch.c:418
#16 0xc017c94a in buf_daemon () at /usr/local/src/sys/kern/vfs_bio.c:1850
(kgdb) q
Script done on Sun Aug 17 22:06:42 2003
More information about the freebsd-bugs
mailing list