tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: amd64 -current crashs at boot



On Mon, Dec 22, 2008 at 12:10:59PM +0000, Andrew Doran wrote:
> It should be fixed now, I'm about to check.
  
Just quickly grabbed ffs_vnops.c v 1.107 - the panic I had has gone, and
now I hit the same on as Christoph:

0xc01df968 in ffs_update (vp=0xcb420000, acc=0x0, mod=0x0, updflags=0)
    at ../../../../ufs/ffs/ffs_inode.c:121
121             if (vp->v_mount->mnt_flag & MNT_RDONLY)
(gdb) bt
#0  0xc01df968 in ffs_update (vp=0xcb420000, acc=0x0, mod=0x0, updflags=0)
    at ../../../../ufs/ffs/ffs_inode.c:121
#1  0xc01ec57d in ffs_full_fsync (vp=0xcb420000, flags=520)
    at ../../../../ufs/ffs/ffs_vnops.c:580
#2  0xc03b843b in spec_fsync (v=0xcb445cd8)
    at ../../../../miscfs/specfs/spec_vnops.c:781
#3  0xc049c2ce in VOP_FSYNC (vp=0xcb420000, cred=0xca3a6f00, flags=8, offlo=0, 
    offhi=0) at ../../../../kern/vnode_if.c:803
#4  0xc03d43ca in sched_sync (v=0xcb424aa0)
    at ../../../../miscfs/syncfs/sync_subr.c:223
#5  0xc01002c1 in lwp_trampoline ()
(gdb) print *vp
$1 = {v_uobj = {vmobjlock = {u = {mtxa_owner = 0}}, pgops = 0xc05212c0, 
    memq = {tqh_first = 0x0, tqh_last = 0xcb420008}, uo_npages = 0, 
    uo_refs = 2427, rb_tree = {rbt_root = 0x0, rbt_ops = 0xc05211e4, 
      rbt_minmax = {0x0, 0x0}}}, v_cv = {cv_opaque = {0x0, 0xcb420028, 
      0xc05599d7}}, v_size = 0, v_writesize = 0, v_iflag = 0, v_vflag = 16, 
  v_uflag = 0, v_numoutput = 0, v_writecount = 0, v_holdcnt = 59, 
  v_synclist_slot = 11, v_mount = 0x0, v_op = 0xc111bb00, v_freelist = {
    tqe_next = 0x0, tqe_prev = 0x0}, v_freelisthd = 0x0, v_mntvnodes = {
    tqe_next = 0x0, tqe_prev = 0x0}, v_cleanblkhd = {lh_first = 0xc10fac24}, 
  v_dirtyblkhd = {lh_first = 0x0}, v_synclist = {tqe_next = 0xcb4c70c0, 
    tqe_prev = 0xc10cf858}, v_dnclist = {lh_first = 0x0}, v_nclist = {
    lh_first = 0x0}, v_un = {vu_mountedhere = 0xcb41b9b0, 
    vu_socket = 0xcb41b9b0, vu_specnode = 0xcb41b9b0, 
    vu_fifoinfo = 0xcb41b9b0, vu_ractx = 0xcb41b9b0}, v_type = VBLK, 
  v_tag = VT_NON, v_lock = {vl_lock = {rw_owner = 0}, vl_canrecurse = 0, 
    vl_recursecnt = 0}, v_vnlock = 0xcb4200a0, v_data = 0x0, v_klist = {
    slh_first = 0x0}}

so v_mount = 0.

(For some reason, after these panics, the non-journaled partitions don't
need fscking, but then e.g. (ld0h is journaled):

jacob# mount /usr/obj
mount_ffs: /dev/ld0h on /usr/obj: Operation not permitted
jacob# fsck -f /dev/rld0h
** /dev/rld0h
** File system is journaled; replaying journal
** Last Mounted on /usr/obj
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
2 files, 1017 used, 1031283 free (19 frags, 128908 blocks, 0.0% fragmentation)

MARK FILE SYSTEM CLEAN? [yn] y


***** FILE SYSTEM MARKED CLEAN *****

***** FILE SYSTEM WAS MODIFIED *****
jacob# mount /usr/obj
jacob# 
)

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index