From root@neptune.hub.org  Sun Aug 22 01:20:46 2004
Return-Path: <root@neptune.hub.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 609EB16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 22 Aug 2004 01:20:46 +0000 (GMT)
Received: from neptune.hub.org (neptune.hub.org [200.46.204.2])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E047C43D1D
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 22 Aug 2004 01:20:45 +0000 (GMT)
	(envelope-from root@neptune.hub.org)
Received: from neptune.hub.org (localhost [127.0.0.1])
	by neptune.hub.org (8.12.11/8.12.11) with ESMTP id i7M1KhKo001987
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Aug 2004 22:20:43 -0300 (ADT)
	(envelope-from root@neptune.hub.org)
Received: (from root@localhost)
	by neptune.hub.org (8.12.11/8.12.11/Submit) id i7M1KhnQ001986;
	Sat, 21 Aug 2004 22:20:43 -0300 (ADT)
	(envelope-from root)
Message-Id: <200408220120.i7M1KhnQ001986@neptune.hub.org>
Date: Sat, 21 Aug 2004 22:20:43 -0300 (ADT)
From: scrappy@hub.org
Reply-To: scrappy@hub.org
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: panic: ufs_direnter: compact1
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         70809
>Category:       kern
>Synopsis:       [panic] ufs_direnter: compact1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    linimon
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 22 01:30:22 GMT 2004
>Closed-Date:    Wed Mar 14 18:54:06 GMT 2007
>Last-Modified:  Wed Mar 14 18:54:06 GMT 2007
>Originator:     Marc G. Fournier
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD neptune.hub.org 4.10-STABLE FreeBSD 4.10-STABLE #7: Sat Aug 7 20:47:34 ADT 2004 root@neptune.hub.org:/usr/obj/usr/src/sys/kernel i386


	
>Description:
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
487             if (dumping++) {
(kgdb) where
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
#1  0x8016505b in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316
#2  0x801654cd in panic (fmt=0x8028919e "ufs_direnter: compact2") at /usr/src/sys/kern/kern_shutdown.c:595
#3  0x8020a10a in ufs_direnter (dvp=0xbb32c3c0, tvp=0x0, dirp=0xcb618ce0, cnp=0xcb618ebc, newdirbp=0x0) at /usr/src/sys/ufs/ufs/ufs_lookup.c:907
#4  0x8020cca3 in ufs_rename (ap=0xcb618e1c) at /usr/src/sys/ufs/ufs/ufs_vnops.c:1059
#5  0x8020e43d in ufs_vnoperate (ap=0xcb618e1c) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2376
#6  0x801a376b in union_rename (ap=0xcb618e64) at vnode_if.h:645
#7  0x80199787 in rename (p=0xcb4b2d00, uap=0xcb618f80) at vnode_if.h:645
#8  0x8025b29d in syscall2 (frame={tf_fs = 135856175, tf_es = 47, tf_ds = 2143223855, tf_edi = 1, tf_esi = 0, tf_ebp = 2143285616, tf_isp = -882798636, 
      tf_ebx = 137119936, tf_edx = -1, tf_ecx = 2, tf_eax = 128, tf_trapno = 7, tf_err = 2, tf_eip = 675330508, tf_cs = 31, tf_eflags = 531, tf_esp = 2143285444, 
      tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1175
#9  0x8024855b in Xint0x80_syscall ()
#10 0x80aa2de in ?? ()
#11 0x80877b8 in ?? ()
#12 0x808747d in ?? ()
#13 0x8095449 in ?? ()
#14 0x80936ef in ?? ()
#15 0x80e8edd in ?? ()
#16 0x80e45e0 in ?? ()
#17 0x80bd666 in ?? ()
#18 0x80bd31f in ?? ()
#19 0x806575a in ?? ()
(kgdb) up 3
#3  0x8020a10a in ufs_direnter (dvp=0xbb32c3c0, tvp=0x0, dirp=0xcb618ce0, cnp=0xcb618ebc, newdirbp=0x0) at /usr/src/sys/ufs/ufs/ufs_lookup.c:907
907                             panic("ufs_direnter: compact2");
(kgdb) list
902                     if (spacefree + dsize < newentrysize)
903                             panic("ufs_direnter: compact1");
904                     dirp->d_reclen = spacefree + dsize;
905             } else {
906                     if (spacefree < newentrysize)
907                             panic("ufs_direnter: compact2");
908                     dirp->d_reclen = spacefree;
909                     ep->d_reclen = dsize;
910                     ep = (struct direct *)((char *)ep + dsize);
911             }
>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Wed Mar 14 06:19:16 UTC 2007 
State-Changed-Why:  
Is this still a problem with recent versions of FreeBSD? 


Responsible-Changed-From-To: freebsd-bugs->linimon 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Mar 14 06:19:16 UTC 2007 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=70809 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Wed Mar 14 18:53:52 UTC 2007 
State-Changed-Why:  
Submitter notes that this has not been seen in a while. 

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