Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 1996 15:58:08 -0500 (EST)
From:      "Marc G. Fournier" <scrappy@ki.net>
To:        current@freebsd.org
Subject:   9days uptime and then splat!
Message-ID:  <Pine.NEB.3.95.961105143918.2810A-100000@quagmire.ki.net>

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

Hi...

	Well, after 9+ days of uptime (which is a recent record for
this machine), my machine just went 'splat!'.

	I've checked recent changes under sys/ufs/ffs, but the only
file changed was the recent commit to ffs_inode.c.  With my luck with
my current kernel, I'm nervous about upgrading that server, so before
blindly upgrading to a kernel that may not fix it, can someone take
a quick peak at this and let me know if its a known bug (and fixed
or being worked on?)

	The file/section of code that seems to have caused the panic
hasn't been modified since Sept 7th, so I don't believe its been fixed
yet...

	The core file is saved, so if there is other data required,
feel free to ask 

Marc G. Fournier                                  scrappy@ki.net
Systems Administrator @ ki.net               scrappy@freebsd.org


Script started on Tue Nov  5 15:45:06 1996
quagmire# gdb -k kernel.gdb.Oct26 vmcore.5
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 1e8000
current pcb at 1cc800
panic: general protection fault
#0  boot (howto=260) at ../../kern/kern_shutdown.c:237
237					dumppcb.pcb_cr3 = rcr3();
(kgdb) where
#0  boot (howto=260) at ../../kern/kern_shutdown.c:237
#1  0xf010ce32 in panic (fmt=0xf01a971f "page fault")
    at ../../kern/kern_shutdown.c:361
#2  0xf01aa2e2 in trap_fatal (frame=0xf01c2d88) at ../../i386/i386/trap.c:741
#3  0xf01a9dd0 in trap_pfault (frame=0xf01c2d88, usermode=0)
    at ../../i386/i386/trap.c:652
#4  0xf01a9a7f in trap (frame={tf_es = 65552, tf_ds = 16, tf_edi = 0, 
      tf_esi = -245441920, tf_ebp = -266588716, tf_isp = -266588752, 
      tf_ebx = -245566336, tf_edx = 0, tf_ecx = -246790400, 
      tf_eax = -246007552, tf_trapno = 12, tf_err = -246349824, 
      tf_eip = -267210598, tf_cs = -266600440, tf_eflags = 66118, tf_esp = 0, 
      tf_ss = -245566336}) at ../../i386/i386/trap.c:311
#5  0xf01a1d01 in calltrap ()
#6  0xf018b478 in ffs_sync (mp=0xf14b9c00, waitfor=2, cred=0xf1094900, 
    p=0xf01d9b38) at ../../ufs/ffs/ffs_vfsops.c:817
#7  0xf012c57b in sync (p=0xf01d9b38, uap=0x0, retval=0x0)
    at ../../kern/vfs_syscalls.c:357
#8  0xf010ca4d in boot (howto=256) at ../../kern/kern_shutdown.c:181
#9  0xf010ce32 in panic (fmt=0xf01a9735 "general protection fault")
    at ../../kern/kern_shutdown.c:361
#10 0xf01aa2e2 in trap_fatal (frame=0xf01c2ee0) at ../../i386/i386/trap.c:741
#11 0xf01a9b62 in trap (frame={tf_es = -1073610736, tf_ds = -266600432, 
      tf_edi = -267550716, tf_esi = -248941534, tf_ebp = -266588316, 
      tf_isp = -266588408, tf_ebx = -248941568, tf_edx = 645, tf_ecx = 7, 
      tf_eax = -18609182, tf_trapno = 9, tf_err = 2043, tf_eip = -266724216, 
      tf_cs = -266600440, tf_eflags = 66067, tf_esp = 2043, 
      tf_ss = -266696514}) at ../../i386/i386/trap.c:440
#12 0xf01a1d01 in calltrap ()
#13 0xf01b3138 in edintr_sc (sc=0xf01d5d60) at ../../i386/isa/if_ed.c:2578
#14 0xf01b318e in edintr (unit=0) at ../../i386/isa/if_ed.c:2605
#15 0xf01b63f7 in add_interrupt_randomness (irq=5)
    at ../../i386/isa/random_machdep.c:248
(kgdb) up 6
#6  0xf018b478 in ffs_sync (mp=0xf14b9c00, waitfor=2, cred=0xf1094900, 
    p=0xf01d9b38) at ../../ufs/ffs/ffs_vfsops.c:817
817				if (vget(vp, 1))
(kgdb) list
812			if ((((ip->i_flag &
813			    (IN_ACCESS | IN_CHANGE | IN_MODIFIED | IN_UPDATE)) == 0)) &&
814			    vp->v_dirtyblkhd.lh_first == NULL)
815				continue;
816			if (vp->v_type != VCHR) {
817				if (vget(vp, 1))
818					goto loop;
819				error = VOP_FSYNC(vp, cred, waitfor, p);
820				if (error)
821					allerror = error;
(kgdb) print vp
$1 = (struct vnode *) 0xf15cf480
(kgdb) print *vp
$2 = {v_flag = 892612911, v_usecount = 171455538, v_writecount = 2003136047, 
  v_holdcnt = 1886596979, v_lastr = 795635567, v_id = 1802264948, 
  v_mount = 0x6c6f702f, v_op = 0x63697469, v_freelist = {
    tqe_next = 0x696d2f73, tqe_prev = 0x312f6373}, v_mntvnodes = {
    le_next = 0x34323534, le_prev = 0x6d720a39}, v_cleanblkhd = {
    lh_first = 0x6e2f203a}, v_dirtyblkhd = {lh_first = 0x2f737765}, 
  v_numoutput = 1869574259, v_type = 1635004268, v_un = {
    vu_mountedhere = 0x702f6b6c, vu_socket = 0x702f6b6c, 
    vu_specinfo = 0x702f6b6c, vu_fifoinfo = 0x702f6b6c}, v_lease = 0x74696c6f, 
  v_lastw = 796091241, v_cstart = 1668508013, v_lasta = 892612911, 
  v_clen = 976237874, v_ralen = 544165408, v_usage = 1751348595, 
  v_maxra = 1818846752, v_object = 0x726f2065, v_tag = 1919509536, 
  v_data = 0x6f746365}
(kgdb) quit
quagmire# exit
exit

Script done on Tue Nov  5 15:48:22 1996




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.961105143918.2810A-100000>