Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Nov 1995 10:52:02 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-current@FreeBSD.org (FreeBSD-current users)
Subject:   Another panic in umount?
Message-ID:  <199511180952.KAA20453@uriah.heep.sax.de>

next in thread | raw e-mail | index | archive | help
...or simply the same one as reported by Heiko W. Rupp?

This happened on sax.sax.de's 2.0.5 system when unmounting a UFS
floppy:

gdb -k kernel /var/crash/vmcore.2
...
IdlePTD 1e3000
current pcb at 1beb68
panic: page fault
#0  boot (arghowto=256) at ../../i386/i386/machdep.c:870
870                             dumppcb.pcb_ptd = rcr3();
(kgdb) where
#0  boot (arghowto=256) at ../../i386/i386/machdep.c:870
#1  0xf0113653 in panic ()
#2  0xf01904ae in trap_fatal (frame=0xefbffe7c) at ../../i386/i386/trap.c:688
#3  0xf0190020 in trap_pfault (frame=0xefbffe7c, usermode=0)
    at ../../i386/i386/trap.c:610
#4  0xf018fce7 in trap (frame={tf_es = -266862576, tf_ds = -272695280, 
      tf_edi = -259957504, tf_esi = -272630076, tf_ebp = -272630068, 
      tf_isp = -272630108, tf_ebx = -247676184, tf_edx = 30, 
      tf_ecx = -258942464, tf_eax = 0, tf_trapno = 12, tf_err = -260308992, 
      tf_eip = -266831023, tf_cs = -266862584, tf_eflags = 66182, 
      tf_esp = -258942464, tf_ss = 0}) at ../../i386/i386/trap.c:290
#5  0xf01892d1 in calltrap ()
#6  0xf012aab0 in dounmount (mp=0xf090da00, flags=0, p=0xf0806100)
    at ../../kern/vfs_syscalls.c:286
#7  0xf012aa28 in unmount (p=0xf0806100, uap=0xefbfff94, retval=0xefbfff8c)
    at ../../kern/vfs_syscalls.c:261
#8  0xf0190697 in syscall (frame={tf_es = -272695257, tf_ds = -266731481, 
      tf_edi = -272640604, tf_esi = 199590, tf_ebp = -272639468, 
      tf_isp = -272629788, tf_ebx = 0, tf_edx = 1, tf_ecx = 188474, 
      tf_eax = 22, tf_trapno = 582, tf_err = 582, tf_eip = 14981, tf_cs = 31, 
      tf_eflags = 582, tf_esp = -272640656, tf_ss = 39})
    at ../../i386/i386/trap.c:828
#9  0xf018931b in Xsyscall ()
#10 0x1863 in ?? ()
#11 0x10e8 in ?? ()
(kgdb) up 4
#4  0xf018fce7 in trap (frame={tf_es = -266862576, tf_ds = -272695280, 
      tf_edi = -259957504, tf_esi = -272630076, tf_ebp = -272630068, 
      tf_isp = -272630108, tf_ebx = -247676184, tf_edx = 30, 
      tf_ecx = -258942464, tf_eax = 0, tf_trapno = 12, tf_err = -260308992, 
      tf_eip = -266831023, tf_cs = -266862584, tf_eflags = 66182, 
      tf_esp = -258942464, tf_ss = 0}) at ../../i386/i386/trap.c:290
290                             (void) trap_pfault(&frame, FALSE);
(kgdb) frame frame.tf_ebp frame.tf_eip
#0  0xf0187b51 in vnode_pager_umount (mp=0xf090da00)
    at ../../vm/vnode_pager.c:406
406                     vp = ((vn_pager_t) pager->pg_data)->vnp_vp;
(kgdb) list
401                     /*
402                      * Save the next pointer now since uncaching may terminate the
403                      * object and render pager invalid
404                      */
405                     npager = pager->pg_list.tqe_next;
406                     vp = ((vn_pager_t) pager->pg_data)->vnp_vp;
407                     if (mp == (struct mount *) 0 || vp->v_mount == mp) {
408                             VOP_LOCK(vp);
409                             (void) vnode_pager_uncache(vp);
410                             VOP_UNLOCK(vp);
(kgdb) p pager
$1 = (struct pager_struct *) 0x0


Is this a known problem, or shall i investigate more?  The core file
is still lying around there.

-- 
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?199511180952.KAA20453>