Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 1997 13:58:10 -0700
From:      Julian Elischer <julian@whistle.com>
To:        hackers@freebsd.org
Subject:   2.2.2+ kernel panic
Message-ID:  <33F0CE62.6102D7B7@whistle.com>

next in thread | raw e-mail | index | archive | help
what's wrong with this picture?

#0  boot (howto=260) at ../../kern/kern_shutdown.c:243
#1  0xf010cfd2 in panic (fmt=0xf017158f "page fault")
    at ../../kern/kern_shutdown.c:367
#2  0xf01720f6 in trap_fatal (frame=0xefbffb20) at
../../i386/i386/trap.c:742
#3  0xf0171be4 in trap_pfault (frame=0xefbffb20, usermode=0)
    at ../../i386/i386/trap.c:653
#4  0xf01718bf in trap (frame={tf_es = 16, tf_ds = 16, tf_edi =
-260688384, 
      tf_esi = 0, tf_ebp = -272630932, tf_isp = -272630968, 
      tf_ebx = -260578816, tf_edx = 0, tf_ecx = -260888576, 
      tf_eax = -260286976, tf_trapno = 12, tf_err = -260505600, 
      tf_eip = -267219466, tf_cs = -266797048, tf_eflags = 65606, tf_esp
= 0, 
      tf_ss = -260578816}) at ../../i386/i386/trap.c:311
#5  0xf0128df6 in vget (vp=0xf077e200, lockflag=1) at
../../kern/vfs_subr.c:817

See below..

#6  0xf015342c in ffs_sync (mp=0xf0745e00, waitfor=2, cred=0xf04c0b80, 
    p=0xf01be850) at ../../ufs/ffs/ffs_vfsops.c:819
#7  0xf012a2ab in sync (p=0xf01be850, uap=0x0, retval=0x0)
    at ../../kern/vfs_syscalls.c:357
#8  0xf010cbdd in boot (howto=256) at ../../kern/kern_shutdown.c:181
#9  0xf010cfd2 in panic (fmt=0xf017158f "page fault")
    at ../../kern/kern_shutdown.c:367
#10 0xf01720f6 in trap_fatal (frame=0xefbffca4) at
../../i386/i386/trap.c:742
#11 0xf0171be4 in trap_pfault (frame=0xefbffca4, usermode=0)
    at ../../i386/i386/trap.c:653
#12 0xf01718bf in trap (frame={tf_es = -272695280, tf_ds = -272695280, 
      tf_edi = 33816576, tf_esi = -266607784, tf_ebp = -272630516, 
      tf_isp = -272630580, tf_ebx = 8, tf_edx = 0, tf_ecx = -260173824, 
      tf_eax = -266606616, tf_trapno = 12, tf_err = -227409918, 
      tf_eip = -266923108, tf_cs = -266862584, tf_eflags = 65543, 
      tf_esp = -267325485, tf_ss = -260173824}) at
../../i386/i386/trap.c:311
#13 0xf017139c in nortqr ()
#14 0xf010eb25 in tsleep (ident=0xf272f698, priority=4, 
    wmesg=0xf015bead "swread", timo=2000) at ../../kern/kern_synch.c:361
#15 0xf015c380 in swap_pager_getpages (object=0xf07e9080, m=0xefbffe54, 
    count=2, reqpage=1) at ../../vm/swap_pager.c:1032
#16 0xf01670f7 in vm_pager_get_pages (object=0xf07e9080, m=0xefbffe54, 
    count=2, reqpage=1) at ../../vm/vm_pager.c:188
#17 0xf015da16 in vm_fault (map=0xf07e3d00, vaddr=4022325248, 
    fault_type=3 '\003', change_wiring=0) at ../../vm/vm_fault.c:426
#18 0xf0171b78 in trap_pfault (frame=0xefbffed4, usermode=0)
    at ../../i386/i386/trap.c:633
#19 0xf01718bf in trap (frame={tf_es = -260177904, tf_ds = 16, 
      tf_edi = -272639468, tf_esi = -272629956, tf_ebp = -272629952, 
      tf_isp = -272630020, tf_ebx = 4, tf_edx = 6, tf_ecx = 1, 
      tf_eax = -272639464, tf_trapno = 12, tf_err = 2, tf_eip =
-266924675, 
      tf_cs = -272695288, tf_eflags = 66050, tf_esp = -260108800, 
      tf_ss = -272629884}) at ../../i386/i386/trap.c:311
#20 0xf0170d7d in generic_copyout ()
#21 0xf01075ff in wait4 (p=0xf07e1000, uap=0xefbfff94,
retval=0xefbfff84)
    at ../../kern/kern_exit.c:357
#22 0xf0172333 in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 3, 
      tf_esi = 0, tf_ebp = -272639532, tf_isp = -272629788, 
      tf_ebx = 134705248, tf_edx = 0, tf_ecx = 0, tf_eax = 7, tf_trapno
= 12, 
      tf_err = 7, tf_eip = 134489121, tf_cs = 31, tf_eflags = 534, 
      tf_esp = -272639556, tf_ss = 39}) at ../../i386/i386/trap.c:890
#23 0x8042421 in ?? ()
Cannot access memory at address 0xefbfd9d8.

(kgdb) up 5
#5  0xf0128df6 in vget (vp=0xf077e200, lockflag=1) at
../../kern/vfs_subr.c:817
817                     vfs_object_create(vp, curproc, curproc->p_ucred,
0);
(kgdb) list
812              * Create the VM object, if needed
813              */
814             if ((vp->v_type == VREG) &&
815                     ((vp->v_object == NULL) ||
816                             (vp->v_object->flags & OBJ_VFS_REF) ==
0)) {
817                     vfs_object_create(vp, curproc, curproc->p_ucred,
0);
818             }
819             if (lockflag)
820                     VOP_LOCK(vp);
821
(kgdb) print curproc
$1 = (struct proc *) 0x0

I have the entire kernel compiled with -g
the kernel that was running was compiled -g and stripped. (strip -d)

if anyone has suggestions of something that I should look at,
let me know.

julian
(investigations ongoing here also)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33F0CE62.6102D7B7>