From nobody@FreeBSD.org  Tue Apr 27 19:32:01 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id BA17716A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 27 Apr 2004 19:32:01 -0700 (PDT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9EAB943D66
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 27 Apr 2004 19:32:01 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i3S2W1M1036293
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 27 Apr 2004 19:32:01 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i3S2W1Of036292;
	Tue, 27 Apr 2004 19:32:01 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200404280232.i3S2W1Of036292@www.freebsd.org>
Date: Tue, 27 Apr 2004 19:32:01 -0700 (PDT)
From: ilya <mail@krel.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: System panic with file system corruption
X-Send-Pr-Version: www-2.3

>Number:         66039
>Category:       i386
>Synopsis:       [panic] system panic with file system corruption [tape backup, 4.9]
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-i386
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 27 19:40:17 PDT 2004
>Closed-Date:    Mon Sep 11 11:37:10 GMT 2006
>Last-Modified:  Mon Sep 11 11:37:10 GMT 2006
>Originator:     ilya
>Release:        4.9
>Organization:
>Environment:
4.9-STABLE FreeBSD 4.9-STA i386 i386

>Description:
root@saruman.alchemistry.net$ gdb -k ./kernel.debug /var/crash/vmcore.0
GNU gdb 4.18 (FreeBSD)
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"...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs
Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf

IdlePTD at physical address 0x0046f000
initial pcb at physical address 0x003a9220
panicstr: ufs_dirbad: bad dir
panic messages:
---
panic: ufs_dirbad: bad dir

syncing disks... 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
giving up on 1 buffers
Uptime: 29d19h38m53s

dumping to dev #ad/0x20001, offset 901120
dump ata0: resetting devices .. done
160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 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 Deny TCP 66.188.189.20:4927 66.114.66.18:2745 in via fxp2
Connection attempt to UDP 127.0.0.1:4069 from 127.0.0.1:53
Connection attempt to UDP 127.0.0.1:4057 from 127.0.0.1:53
Connection attempt to UDP 66.234.45.114:4071 from 216.139.128.3:53
Connection attempt to UDP 66.234.45.114:4066 from 216.139.128.3:53
Connection attempt to UDP 66.234.45.114:4061 from 216.139.147.15:53
Connection attempt to UDP 66.234.45.114:4070 from 216.139.147.15:53
Connection attempt to UDP 127.0.0.1:4072 from 127.0.0.1:53
Connection attempt to UDP 127.0.0.1:4060 from 127.0.0.1:53
Connection attempt to UDP 66.234.45.114:4059 from 216.139.128
---
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
487             if (dumping++) {


(kgdb) bt
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
#1  0xc0198f5f in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316
#2  0xc019939d in panic (fmt=0xc033e2a7 "ufs_dirbad: bad dir") at /usr/src/sys/kern/kern_shutdown.c:595
#3  0xc0272d9a in ufs_dirbad (ip=0xc1a8dc00, offset=268, how=0xc033e250 "mangled entry")
    at /usr/src/sys/ufs/ufs/ufs_lookup.c:641
#4  0xc02725b8 in ufs_lookup (ap=0xdaddadac) at /usr/src/sys/ufs/ufs/ufs_lookup.c:291
#5  0xc02778a5 in ufs_vnoperate (ap=0xdaddadac) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2376
#6  0xc01c3a2a in vfs_cache_lookup (ap=0xdaddae04) at vnode_if.h:77
#7  0xc02778a5 in ufs_vnoperate (ap=0xdaddae04) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2376
#8  0xc01c6995 in lookup (ndp=0xdaddae80) at vnode_if.h:52
#9  0xc01c6490 in namei (ndp=0xdaddae80) at /usr/src/sys/kern/vfs_lookup.c:153
#10 0xc01cc265 in lstat (p=0xdadb7c60, uap=0xdaddaf80) at /usr/src/sys/kern/vfs_syscalls.c:1830
#11 0xc02eacdd in syscall2 (frame={tf_fs = 134807599, tf_es = 47, tf_ds = -1078001617, tf_edi = 134556246,
      tf_esi = 134679841, tf_ebp = -1077938416, tf_isp = -623005740, tf_ebx = -1077939444, tf_edx = 115,
      tf_ecx = -1077941832, tf_eax = 190, tf_trapno = 7, tf_err = 2, tf_eip = 671811172, tf_cs = 31, tf_eflags = 659,
      tf_esp = -1077941756, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1175
#12 0xc02db9d5 in Xint0x80_syscall ()
#13 0x804bbdb in ?? ()
#14 0x804a8b1 in ?? ()
#15 0x280b25a9 in ?? ()
#16 0x280909f7 in ?? ()
#17 0x8049bdc in ?? ()
#18 0x80498ae in ?? ()

>How-To-Repeat:
I was running a backup do dds4 tape from CFS file system (cryptographic
file system daemon)
>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: remko 
State-Changed-When: Tue Aug 29 20:32:39 UTC 2006 
State-Changed-Why:  
Hello, 

Is the problem still persisting on newer FreeBSD versions? 

Mark the timeout phase as one week, we can reopen the PR 
if feedback arrives after that date. 

Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=66039 
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Mon Sep 11 11:37:09 UTC 2006 
State-Changed-Why:  
feedback timeout, if someone has feedback, please deliver it to me 

http://www.freebsd.org/cgi/query-pr.cgi?pr=66039 
>Unformatted:
