Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Dec 2002 17:17:37 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        freebsd-current@freebsd.org
Subject:   panic in background fsck
Message-ID:  <15867.44545.94982.569493@grasshopper.cs.duke.edu>

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

This was on an x86, 5.0-current as of roughly 8am EST today.

Machine panic'ed when it finished /usr and moved on to /var on
a manually invoked fsck -B (I'd hit ^C to abort multi-user startup
during fsck and was surprised to see the system continue on.. ;)

Drew


panic: ffs_blkfree: freeing free block

syncing disks, buffers remaining... panic: bremfree: bp 0xce3e35a8 not locked
Uptime: 6m38s
Dumping 511 MB
ata0: resetting devices ..
done
[CTRL-C to abort] [CTRL-C to abort]  16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304[CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort]  320 336 352 368 384 400 416 432 448 464 480 496
---
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:232
232             dumping++;
(kgdb) where
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:232
#1  0xc024bc45 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:364
#2  0xc024be93 in panic () at /usr/src/sys/kern/kern_shutdown.c:517
#3  0xc028c2a7 in bremfree (bp=0xce3e35a8) at /usr/src/sys/kern/vfs_bio.c:632
#4  0xc0214f91 in spec_fsync (ap=0xdcb103c4)
    at /usr/src/sys/fs/specfs/spec_vnops.c:465
#5  0xc0214428 in spec_vnoperate (ap=0x0)
    at /usr/src/sys/fs/specfs/spec_vnops.c:126
#6  0xc0317eb7 in ffs_sync (mp=0xc3f2b000, waitfor=2, cred=0xc1263e80,
    td=0xc0402c20) at vnode_if.h:612
#7  0xc02a018b in sync (td=0xc0402c20, uap=0x0)
    at /usr/src/sys/kern/vfs_syscalls.c:138
#8  0xc024b88c in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:273
#9  0xc024be93 in panic () at /usr/src/sys/kern/kern_shutdown.c:517
#10 0xc03007ca in ffs_blkfree (fs=0xc3f69000, devvp=0xc3f8b708, bno=7713464,
    size=16384, inum=3) at /usr/src/sys/ufs/ffs/ffs_alloc.c:1771
#11 0xc030fef1 in indir_trunc (freeblks=0xc1b27a00, dbn=22201312, level=1,
    lbn=4108, countp=0xdcb105f0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:2603
#12 0xc030f99e in handle_workitem_freeblocks (freeblks=0xc1b27a00, flags=0)
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:2469
#13 0xc030cbbd in process_worklist_item (matchmnt=0xc3f2b200, flags=0)
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:745
#14 0xc030c900 in softdep_process_worklist (matchmnt=0xc3f2b200)
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:624
#15 0xc030ce82 in softdep_flushworklist (oldmnt=0xc3f2b200, countp=0xdcb10704,
    td=0xc4115540) at /usr/src/sys/ufs/ffs/ffs_softdep.c:838
#16 0xc0317e09 in ffs_sync (mp=0xc3f2b200, waitfor=1, cred=0xc4303800,
    td=0xc4115540) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1168
#17 0xc02a8b90 in vfs_write_suspend (mp=0xc3f2b200)
    at /usr/src/sys/kern/vfs_vnops.c:1020
#18 0xc0306e20 in ffs_snapshot (mp=0xc3f2b200, snapfile=---Can't read userspace from dump, or kernel process---

)
    at /usr/src/sys/ufs/ffs/ffs_snapshot.c:312
#19 0xc0315f28 in ffs_mount (mp=0xc3f2b200, path=0xc1b2d080 "/var", data=0x0,
    ndp=0xdcb10bec, td=0xc4115540) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:297
#20 0xc029848a in vfs_mount (td=0xc4115540, fstype=0xc3f7f100 "",
    fspath=0xc1b2d080 "/var", fsflags=-592376852, fsdata=0x0)
    at /usr/src/sys/kern/vfs_mount.c:1060
#21 0xc0297c18 in mount (td=0x0, uap=0xdcb10d10)
    at /usr/src/sys/kern/vfs_mount.c:818
#22 0xc036f7ce in syscall (frame=
      {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 0, tf_esi = -1077938028, tf_ebp = -1077938152, tf_isp = -592376460, tf_ebx = 135001510, tf_edx = 19, tf_ecx = 135001344, tf_eax = 21, tf_trapno = 12, tf_err = 2, tf_eip = 134571915, tf_cs = 31, tf_eflags = 514, tf_esp = -1077938468, tf_ss = 47})
    at /usr/src/sys/i386/i386/trap.c:1033
#23 0xc035fa6d in Xint0x80_syscall () at {standard input}:140
---Can't read userspace from dump, or kernel process---



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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