Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Feb 1996 22:47:07 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-current@FreeBSD.org (FreeBSD-current users)
Subject:   panic report
Message-ID:  <199602252147.WAA04115@uriah.heep.sax.de>

next in thread | raw e-mail | index | archive | help
My machine just panicked, immediately when logging in (after launching
X11, and shutting it down again).

Here's the kgdb log.  The structures look a bit strange, so i wouldn't
trust it too much.  I'll keep the core for ~ 3 days, just in case
somebody needs more information.

uriah # gdb -k kernel /tmp/crash/vmcore.0
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 227000
current pcb at 1f073c
panic: from debugger
#0  boot (howto=256) at ../../i386/i386/machdep.c:940
940                                     dumppcb.pcb_ptd = rcr3();
(kgdb) where
#0  boot (howto=256) at ../../i386/i386/machdep.c:940
#1  0xf01157e4 in panic ()
#2  0xf0101215 in db_panic ()
#3  0xf01010fe in db_command ()
#4  0xf010127d in db_command_loop ()
#5  0xf01035e8 in db_trap ()
#6  0xf01a6dfa in kdb_trap ()
#7  0xf01b2207 in trap_fatal (frame=0xefbffe0c) at ../../i386/i386/trap.c:755
#8  0xf01b1d84 in trap_pfault (frame=0xefbffe0c, usermode=0)
    at ../../i386/i386/trap.c:681
#9  0xf01b19bf in trap (frame={tf_es = -222035952, tf_ds = -272695280, 
      tf_edi = -2147483648, tf_esi = -265569472, tf_ebp = -272630188, 
      tf_isp = -272630220, tf_ebx = 136265728, tf_edx = -188620800, 
      tf_ecx = -254204828, tf_eax = 32, tf_trapno = 12, tf_err = -266797056, 
      tf_eip = -266665426, tf_cs = -254279672, tf_eflags = 66066, 
      tf_esp = -265817664, tf_ss = -254159360}) at ../../i386/i386/trap.c:320
#10 0xf01a7661 in calltrap ()
#11 0xf019e802 in vm_object_pmap_copy (object=0xf0d9d600, start=0, end=30)
    at ../../vm/vm_page.h:296
#12 0xf019c537 in vm_map_copy_entry (src_map=0xf0d92900, dst_map=0xf0d98b00, 
    src_entry=0xf0d95d00, dst_entry=0xf0c6e600) at ../../vm/vm_map.c:1817
#13 0xf019c727 in vmspace_fork (vm1=0xf0d92900) at ../../vm/vm_map.c:1945
#14 0xf0199beb in vm_fork ()
#15 0xf010af41 in fork1 ()
#16 0xf010ab56 in vfork ()
#17 0xf01b24f3 in syscall (frame={tf_es = 327719, tf_ds = -272695257, 
      tf_edi = 2, tf_esi = 0, tf_ebp = -272641252, tf_isp = -272629788, 
      tf_ebx = 3, tf_edx = -272641344, tf_ecx = 110773, tf_eax = 66, 
      tf_trapno = 0, tf_err = 642, tf_eip = 134852066, tf_cs = 31, 
      tf_eflags = 642, tf_esp = -272641340, tf_ss = 39})
    at ../../i386/i386/trap.c:919
#18 0xf01a76ad in Xsyscall ()
#19 0x1b63f in ?? ()
#20 0x3be7 in ?? ()
#21 0x3410 in ?? ()
#22 0x2fd1 in ?? ()
#23 0x2c54 in ?? ()
#24 0x10e8 in ?? ()
(kgdb) up 9
#9  0xf01b19bf in trap (frame={tf_es = -222035952, tf_ds = -272695280, 
      tf_edi = -2147483648, tf_esi = -265569472, tf_ebp = -272630188, 
      tf_isp = -272630220, tf_ebx = 136265728, tf_edx = -188620800, 
      tf_ecx = -254204828, tf_eax = 32, tf_trapno = 12, tf_err = -266797056, 
      tf_eip = -266665426, tf_cs = -254279672, tf_eflags = 66066, 
      tf_esp = -265817664, tf_ss = -254159360}) at ../../i386/i386/trap.c:320
320                             (void) trap_pfault(&frame, FALSE);
(kgdb) frame frame->tf_ebp frame->tf_eip
#0  0xf01b022e in pmap_page_protect (phys=18567168, prot=1)
    at ../../i386/i386/pmap.c:229
229             if (pmap && *pmap_pde(pmap, va)) {
(kgdb) l
224     pmap_pte(pmap, va)
225             register pmap_t pmap;
226             vm_offset_t va;
227     {
228     
229             if (pmap && *pmap_pde(pmap, va)) {
230                     vm_offset_t frame = (int) pmap->pm_pdir[PTDPTDI] & PG_FRAME;
231     
232                     /* are we current address space or kernel? */
233                     if ((pmap == kernel_pmap) || (frame == ((int) PTDpde & PG_FRAME)))
(kgdb) p pmap
$1 = (struct pmap *) 0x0
(kgdb) p va
$2 = 3
(kgdb) up
#1  0xf019e802 in vm_object_pmap_copy (object=0xf0d9d600, start=0, end=30)
    at ../../vm/vm_page.h:296
296                     pmap_page_protect(VM_PAGE_TO_PHYS(mem), prot);
(kgdb) up
#2  0xf019c537 in vm_map_copy_entry (src_map=0xf0d92900, dst_map=0xf0d98b00, 
    src_entry=0xf0d95d00, dst_entry=0xf0c6e600) at ../../vm/vm_map.c:1817
1817                                    vm_object_pmap_copy(src_entry->object.vm_object,
(kgdb) p *src_entry
$3 = {prev = 0x472, next = 0x89551234, start = 2634181349, end = 3767457932, 
  object = {vm_object = 0x7d83e88e, share_map = 0x7d83e88e, 
    sub_map = 0x7d83e88e}, offset = 0x00187d8338740004, is_a_map = 0, 
  is_sub_map = 0, copy_on_write = -1, needs_copy = 0, protection = 1 '\001', 
  max_protection = 244 'ô', inheritance = -117 '\213', wired_count = 59448413}
(kgdb) quit

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602252147.WAA04115>