From nobody@FreeBSD.org  Sat Nov 24 12:27:54 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 5C64337B418
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 24 Nov 2001 12:27:53 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id fAOKRrr86220;
	Sat, 24 Nov 2001 12:27:53 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200111242027.fAOKRrr86220@freefall.freebsd.org>
Date: Sat, 24 Nov 2001 12:27:53 -0800 (PST)
From: Jakob Borg <jakob@borg.pp.se>
To: freebsd-gnats-submit@FreeBSD.org
Subject: System crash/reboot when deleting file on a msdosfs-partition.
X-Send-Pr-Version: www-1.0

>Number:         32256
>Category:       kern
>Synopsis:       System crash/reboot when deleting file on a msdosfs-partition.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    trhodes
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 24 12:30:01 PST 2001
>Closed-Date:    Wed Dec 11 22:25:27 PST 2002
>Last-Modified:  Wed Dec 11 22:25:27 PST 2002
>Originator:     Jakob Borg
>Release:        4.4-STABLE as of CVS 2001-11-20
>Organization:
none
>Environment:
FreeBSD narayan.borg.pp.se 4.4-STABLE FreeBSD 4.4-STABLE #6: Sun Nov 18 15:30:20 CET 2001     root@narayan.borg.pp.se:/usr/src/sys/compile/NARAYAN  i386
>Description:
When deleting a file on an msdos-partition (about 500 meg in size) the screen went blank, the system rebooted. No panic was written to screen that I could see (was in X) nor to any log. Perhaps relevant to the problem is that the filesystem in question was full (not a byte free) at the time, and still appears full from df even though the file has been removed. I suspect it might need a msdos-fsck to fix it up. The system has an otherwise perfect track record of stabilityin many different OSes, and I don't suspect a hardware error.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:

From: Jakob Borg <jakob@borg.pp.se>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/32256: System crash/reboot when deleting file on a msdosfs-partition.
Date: Sat, 24 Nov 2001 21:49:26 +0100

 Just a tad mor information.
 
 An fsck_msdos on the filesystem in question gave the following results 
 after the crash:
 
 root@narayan:~ # fsck_msdosfs /dev/ad1s1
 ** /dev/ad1s1
 ** Phase 1 - Read and Compare FATs
 ** Phase 2 - Check Cluster Chains
 ** Phase 3 - Checking Directories
 ** Phase 4 - Checking for Lost Files
 Lost cluster chain at cluster 261382
 44342 Cluster(s) lost
 Reconnect? [yn] y
 No LOST.DIR directory
 Clear? [yn] y
 Update FATs? [yn] y
 20883 files, 354736 free (44342 clusters)
 
 ***** FILE SYSTEM WAS MODIFIED *****
 root@narayan:~ # 
 
 Regards,
 
 -- 
 Jakob Borg <jakob@borg.pp.se>
 Kmnrsv. 3a / SE-226 46 Lund / Sweden
 +46 (0)46 397692

From: Jakob Borg <jakob@borg.pp.se>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/32256: System crash/reboot when deleting file on a msdosfs-partition.
Date: Sat, 24 Nov 2001 23:04:01 +0100

 The problem is repeatable by attempting to delete other files on the same 
 partition, even after fsck_msdos considers it clean (my first suspicion was 
 a corrupt filesystem).
 
 I am uppgrading to latest 4.4-STABLE now to see if that makes a difference.
 
 -- 
 Jakob Borg <jakob@borg.pp.se>
 Kmnrsv. 3a / SE-226 46 Lund / Sweden
 +46 (0)46 397692
State-Changed-From-To: open->feedback 
State-Changed-By: trhodes 
State-Changed-When: Thu Aug 22 15:28:35 PDT 2002 
State-Changed-Why:  
Did the upgrade fix your problem?  If not let me know as I've just applied 
a patch to CURRENT which may fix your problem.  Thanks. 


Responsible-Changed-From-To: freebsd-bugs->trhodes 
Responsible-Changed-By: trhodes 
Responsible-Changed-When: Thu Aug 22 15:28:35 PDT 2002 
Responsible-Changed-Why:  
Did the upgrade fix your problem?  If not let me know as I've just applied 
a patch to CURRENT which may fix your problem.  Thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=32256 
State-Changed-From-To: feedback->closed 
State-Changed-By: trhodes 
State-Changed-When: Wed Dec 11 22:24:37 PST 2002 
State-Changed-Why:  
This was MFC'ed awhile ago.  I also can not seem to reproduce this 
error.  Closed. 

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