Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 1999 22:36:38 +0300
From:      "Mikhail A. Sokolov" <mishania@demos.net>
To:        current@freebsd.org
Subject:   repeated ufs_dirbad() panics on 4.0-c
Message-ID:  <19990316223637.A31464@demos.su>

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

we're experiencing repeated 4.0-C (as of today, something around 12:00
GMT, 1999-03-16)  ufs_dirbad() panics, which are the
following (below), which usually occur when squid is running. The box 
doesn't have ccd, nor vinum nor anything fancy in it's config, no SMP either.
Squid's spool is hardware (IFT3102) RAID1, 2x9gb (i.e. 4 disks):
/var/crash# gdb -k kernel.1 vmcore.1
IdlePTD 2682880
initial pcb at 21c7b8
panicstr: ufs_dirbad: bad dir
panic messages:
---
panic: ufs_dirbad: bad dir

syncing disks... 134 63 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 giving up
(da1:ahc1:0:1:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0
(da1:ahc1:0:1:0): ILLEGAL REQUEST asc:20,0
(da1:ahc1:0:1:0): Invalid command operation code
(da2:ahc1:0:2:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0
(da2:ahc1:0:2:0): ILLEGAL REQUEST asc:20,0
(da2:ahc1:0:2:0): Invalid command operation code
(da3:ahc1:0:3:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0
(da3:ahc1:0:3:0): ILLEGAL REQUEST asc:20,0
(da3:ahc1:0:3:0): Invalid command operation code

dumping to dev 20401, offset 821524
dump 256.....
---
#0  boot (howto=256) at ../../kern/kern_shutdown.c:287
287                     dumppcb.pcb_cr3 = rcr3();
(kgdb) where
#0  boot (howto=256) at ../../kern/kern_shutdown.c:287
#1  0xc013b4b9 in panic (fmt=0xc01fe80f "ufs_dirbad: bad dir")
    at ../../kern/kern_shutdown.c:448
#2  0xc01bdd1a in ufs_dirbad (ip=0xc20b0800, offset=0,
    how=0xc01fe7c9 "mangled entry") at ../../ufs/ufs/ufs_lookup.c:566
#3  0xc01bd5be in ufs_lookup (ap=0xce271d40) at ../../ufs/ufs/ufs_lookup.c:243
#4  0xc01c23a1 in ufs_vnoperate (ap=0xce271d40)
    at ../../ufs/ufs/ufs_vnops.c:2309
#5  0xc015999c in vfs_cache_lookup (ap=0xce271d9c) at vnode_if.h:55
#6  0xc01c23a1 in ufs_vnoperate (ap=0xce271d9c)
    at ../../ufs/ufs/ufs_vnops.c:2309
#7  0xc015bdc1 in lookup (ndp=0xce271f04) at vnode_if.h:31
#8  0xc015b894 in namei (ndp=0xce271f04) at ../../kern/vfs_lookup.c:152
#9  0xc01632a2 in vn_open (ndp=0xce271f04, fmode=5, cmode=420)
    at ../../kern/vfs_vnops.c:125
#10 0xc015fee9 in open (p=0xcce8b5a0, uap=0xce271f94)
    at ../../kern/vfs_syscalls.c:928
#11 0xc01e769f in syscall (frame={tf_es = 47, tf_ds = -1078067153, tf_edi = 4,
      tf_esi = 226253296, tf_ebp = -1078019504, tf_isp = -836296732,
      tf_ebx = 134785100, tf_edx = 228027232, tf_ecx = 0, tf_eax = 5,
      tf_trapno = 0, tf_err = 2, tf_eip = 672227132, tf_cs = 31,
      tf_eflags = 534, tf_esp = -1078019532, tf_ss = 47})
    at ../../i386/i386/trap.c:1101
---Type <return> to continue, or q <return> to quit---
#12 0xc01de9fc in Xint0x80_syscall ()
#13 0x808a844 in ?? ()
#14 0x808a795 in ?? ()
#15 0x80867f6 in ?? ()
#16 0x8086584 in ?? ()
#17 0x80585b0 in ?? ()
#18 0x80556a7 in ?? ()
#19 0x807a6c1 in ?? ()
#20 0x80553d3 in ?? ()
#21 0x804d229 in ?? ()
#22 0x804d163 in ?? ()
#23 0x804d3f5 in ?? ()
#24 0x8055207 in ?? ()
#25 0x8059824 in ?? ()
#26 0x805c06a in ?? ()
#27 0x8071f7f in ?? ()
#28 0x804a1b1 in ?? ()
(kgdb)

Thanks for comments,

-- 
-mishania


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?19990316223637.A31464>