UFS panic on Google Compute Engine

Julian Stecklina jsteckli at os.inf.tu-dresden.de
Wed Jan 8 14:41:07 UTC 2014


Hello,

I have set up a FreeBSD 10.0 RC4 system on GCE using this [1]
description. I have hit the following panic on two different setups when
trying to do portsnap fetch extract and using portinstall:

panic: ufs_dirbad: /: bad dir ino 24563 at offset 0: mangled entry

Is anyone having the same problem? Unfortunately, it is a bit hard to do
a fsck of / on GCE. I am not sure how I could have destroyed the
filesystem manually while transferring images to GCE. I'll try it a
third time just to be sure...

Backtrace is:
#0  doadump (textdump=<value optimized out>) at pcpu.h:219
#1  0xffffffff808af570 in kern_reboot (howto=260) at
/usr/src/sys/kern/kern_shutdown.c:447
#2  0xffffffff808af934 in panic (fmt=<value optimized out>)
    at /usr/src/sys/kern/kern_shutdown.c:754
#3  0xffffffff80af5668 in ufs_lookup_ino (vdp=0x0, vpp=0xfffffe0033cb39a8,
    cnp=0xfffffe0024fe8000, dd_ino=0x0) at
/usr/src/sys/ufs/ufs/ufs_lookup.c:773
#4  0xffffffff80d97c62 in VOP_CACHEDLOOKUP_APV (vop=<value optimized out>,
    a=<value optimized out>) at vnode_if.c:197
#5  0xffffffff80937d1f in vfs_cache_lookup (ap=<value optimized out>) at
vnode_if.h:80
#6  0xffffffff80d97b62 in VOP_LOOKUP_APV (vop=<value optimized out>,
a=<value optimized out>)
    at vnode_if.c:129
#7  0xffffffff8093fefb in lookup (ndp=0xfffffe0033cb3948) at vnode_if.h:54
#8  0xffffffff8093f684 in namei (ndp=0xfffffe0033cb3948) at
/usr/src/sys/kern/vfs_lookup.c:299
#9  0xffffffff809531b5 in kern_statat_vnhook (td=0xfffff8001483f000,
    flag=<value optimized out>, fd=-100,
    path=0x7fffffffc400 <Address 0x7fffffffc400 out of bounds>,
pathseg=UIO_USERSPACE,
    sbp=0xfffffe0033cb3a60, hook=<value optimized out>)
    at /usr/src/sys/kern/vfs_syscalls.c:2270
#10 0xffffffff8095304d in sys_stat (td=0x0, uap=0xfffffe0033cb3b80)
    at /usr/src/sys/kern/vfs_syscalls.c:2250
#11 0xffffffff80c8efb7 in amd64_syscall (td=0xfffff8001483f000,
traced=0) at subr_syscall.c:134
#12 0xffffffff80c756ab in Xfast_syscall () at
/usr/src/sys/amd64/amd64/exception.S:391

Regards, Julian

[1]
https://groups.google.com/forum/#!msg/gce-discussion/YWoa3Aa_49U/FYAg9oiRlLUJ

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20140108/96d7606b/attachment.sig>


More information about the freebsd-stable mailing list