Date: Mon, 23 Oct 2000 01:14:15 +0200 (CEST) From: niels@prut.net To: FreeBSD-gnats-submit@freebsd.org Subject: kern/22225: Possible vn bugs in 4.1.1-STABLE triggered by building a CURRENT snapshot Message-ID: <20001022231415.01BC2114D4@deep.trance.org>
next in thread | raw e-mail | index | archive | help
>Number: 22225 >Category: kern >Synopsis: Trying to build a CURRENT snapshot on 4.1.1-STABLE gives a panic >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 22 16:20:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Niels Bakker >Release: FreeBSD 4.1.1-STABLE i386 >Organization: >Environment: FreeBSD 4.1.1-STABLE, sources from Oct 4, world and kernel and modules in sync. >Description: I was doing the following: cd /usr/src/release; make release CHROOTDIR=/home/release/rel CVSROOT=/home/ncvs NODOC=yes NOPORTS=yes This died at: [..] rolling compat20/compat20 tarball compat20 distribution is finished. rolling compat21/compat21 tarball compat21 distribution is finished. rolling compat22/compat22 tarball compat3x distribution is finished. rolling crypto/crypto tarball crypto distribution is finished. rolling krb4/krb4 tarball krb4 distribution is finished. rolling krb5/krb5 tarball krb5 distribution is finished. # More munition braindeadness. ( cd /R/stage/dists && if [ -f krb4/krb4.aa ] ; then mv krb4/* crypto && rmdir krb4 ; fi ) ( cd /R/stage/dists && if [ -f krb5/krb5.aa ] ; then mv krb5/* crypto && rmdir krb5 ; fi ) touch release.6 rolling src/sbase tarball rolling src/sbin tarball rolling src/scontrib tarball rolling src/scrypto tarball rolling src/setc tarball rolling src/sgames tarball rolling src/sgnu tarball rolling src/sinclude tarball rolling src/skrb5 tarball rolling src/skrb4 tarball rolling src/slib tarball rolling src/slibexec tarball rolling src/srelease tarball rolling src/ssbin tarball rolling src/ssecure tarball rolling src/sshare tarball rolling src/ssys tarball rolling src/stools tarball rolling src/subin tarball rolling src/susbin tarball if [ -d /R/stage/dists/crypto ] ; then ( cd /R/stage/dists/src && if [ -f ssecure.aa ] ; then mv ssecure.* ../crypto ; fi && if [ -f scrypto.aa ] ; then mv scrypto.* ../crypto ; fi && if [ -f skrb4.aa ] ; then mv skrb4.* ../crypto ; fi && if [ -f skrb5.aa ] ; then mv skrb5.* ../crypto ; fi ; ) ; fi src distribution is finished. touch release.7 cc -O -pipe -o write_mfs_in_kernel /usr/src/release/write_mfs_in_kernel.c rm -rf /R/stage/mfsfd mkdir /R/stage/mfsfd cd /R/stage/mfsfd && mkdir -p etc/defaults dev mnt stand/help ( cd /R/stage/trees/bin/dev && ls console tty bpf0 ttyv0 ttyv1 ttyv2 ttyv3 null zero card0 card1 card2 card3 usb usb0 uhid0 ums0 ulpt0 ugen0 kbd0 kmem mem | cpio -dump /R/stage/mfsfd/dev ) 0 blocks ( cd /R/stage/mfsfd/dev && rm -f *[swo]d*[bdefgh] ) ( cd /R/stage/mfsfd && for dir in bin sbin ; do ln -sf /stand $dir; done ) cp /sbin/dhclient-script /R/stage/mfsfd/stand cp /usr/src/release/../etc/defaults/pccard.conf /R/stage/mfsfd/etc/defaults/pccard.conf cp /usr/src/release/../etc/usbd.conf /R/stage/mfsfd/etc/usbd.conf cd /R/stage/trees/bin && ls etc/protocols etc/defaults/rc.conf | cpio -dump /R/stage/mfsfd/stand 47 blocks echo "nameserver 42/tcp name" > /R/stage/mfsfd/stand/etc/services echo "ftp 21/tcp" >> /R/stage/mfsfd/stand/etc/services echo "domain 53/tcp nameserver" >> /R/stage/mfsfd/stand/etc/services echo "domain 53/udp nameserver" >> /R/stage/mfsfd/stand/etc/services echo "cmd 514/tcp shell" >> /R/stage/mfsfd/stand/etc/services gzip -9c /usr/src/release/../COPYRIGHT > /R/stage/mfsfd/stand/help/COPYRIGHT.hlp.gz test -f /usr/src/release/install.cfg && cp /usr/src/release/install.cfg /R/stage/mfsfd *** Error code 1 (ignored) Making the regular boot floppy. Compressing doc files... sh -e /usr/src/release/scripts/doFS.sh -s mfsroot /R/stage /mnt 2880 /R/stage/mfsfd 8000 minimum2 disklabel: ioctl DIOCWLABEL: Operation not supported by device Warning: Block size restricts cylinders per group to 6. Warning: 2432 sector(s) in last cylinder unallocated /dev/rvnn0c: 5760 sectors in 2 cylinders of 1 tracks, 4096 sectors 2.8MB in 1 cyl groups (6 c/g, 12.00MB/g, 384 i/g) super-block backups (for fsck -b #) at: 32 3701 blocks Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/vnn0c 2803 1877 702 73% 67 315 18% /mnt >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: >>> Filesystem is 2880 K, 702 left >>> 8000 bytes/inode, 315 left mfsroot: 71.4% disklabel: ioctl DIOCWLABEL: Operation not supported by device Warning: Block size restricts cylinders per group to 6. Warning: 1216 sector(s) in last cylinder unallocated /dev/rvnn0c: 2880 sectors in 1 cylinders of 1 tracks, 4096 sectors 1.4MB in 1 cyl groups (6 c/g, 12.00MB/g, 32 i/g) super-block backups (for fsck -b #) at: 32 cg 0: bad magic number with the following panic: [/home/release/rel/usr/src/sys/i386/conf] root@trance # gdb -k /var/crash/*.0 GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or 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. This GDB was configured as "i386-unknown-freebsd"... IdlePTD 3788800 initial pcb at 3050a0 panicstr: ufs_dirbad: bad dir panic messages: --- panic: ufs_dirbad: bad dir syncing disks... 7 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 done Uptime: 6h32m24s dumping to dev #da/0x20001, offset 393248 dump 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 --- #0 boot (howto=256) at ../../kern/kern_shutdown.c:302 302 dumpsys(); (kgdb) bt #0 boot (howto=256) at ../../kern/kern_shutdown.c:302 #1 0xc016c701 in panic (fmt=0xc02cadc7 "ufs_dirbad: bad dir") at ../../kern/kern_shutdown.c:552 #2 0xc024c8f2 in ufs_dirbad (ip=0xc10b5900, offset=0, how=0xc02cad70 "mangled entry") at ../../ufs/ufs/ufs_lookup.c:577 #3 0xc024c150 in ufs_lookup (ap=0xc7b3cdb4) at ../../ufs/ufs/ufs_lookup.c:246 #4 0xc0251345 in ufs_vnoperate (ap=0xc7b3cdb4) at ../../ufs/ufs/ufs_vnops.c:2285 #5 0xc0192ea9 in vfs_cache_lookup (ap=0xc7b3ce08) at vnode_if.h:77 #6 0xc0251345 in ufs_vnoperate (ap=0xc7b3ce08) at ../../ufs/ufs/ufs_vnops.c:2285 #7 0xc0195c38 in lookup (ndp=0xc7b3ce84) at vnode_if.h:52 #8 0xc0195734 in namei (ndp=0xc7b3ce84) at ../../kern/vfs_lookup.c:153 #9 0xc019b0c5 in stat (p=0xc7b30920, uap=0xc7b3cf80) at ../../kern/vfs_syscalls.c:1699 #10 0xc028ea11 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 134563709, tf_esi = 10, tf_ebp = -1077937976, tf_isp = -944517164, tf_ebx = 134573389, tf_edx = 134573399, tf_ecx = 0, tf_eax = 188, tf_trapno = 12, tf_err = 2, tf_eip = 134522720, tf_cs = 31, tf_eflags = 643, tf_esp = -1077938132, tf_ss = 47}) at ../../i386/i386/trap.c:1150 #11 0xc02829f5 in Xint0x80_syscall () #12 0x8048546 in ?? () #13 0x8048139 in ?? () (kgdb) frame 3 #3 0xc024c150 in ufs_lookup (ap=0xc7b3cdb4) at ../../ufs/ufs/ufs_lookup.c:246 246 ufs_dirbad(dp, dp->i_offset, "mangled entry"); (kgdb) frame 2 #2 0xc024c8f2 in ufs_dirbad (ip=0xc10b5900, offset=0, how=0xc02cad70 "mangled entry") at ../../ufs/ufs/ufs_lookup.c:577 577 panic("ufs_dirbad: bad dir"); This is reproducible. The correct vn.ko was loaded prior to beginning the build. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001022231415.01BC2114D4>