Bug 32256

Summary: System crash/reboot when deleting file on a msdosfs-partition.
Product: Base System Reporter: Jakob Borg <jakob>
Component: kernAssignee: Tom Rhodes <trhodes>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.4-STABLE   
Hardware: Any   
OS: Any   

Description Jakob Borg 2001-11-24 20:30:01 UTC
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 stability´in many different OSes, and I don't suspect a hardware error.
Comment 1 Jakob Borg 2001-11-24 20:49:26 UTC
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>
Kämnärsv. 3a / SE-226 46 Lund / Sweden
+46 (0)46 397692
Comment 2 Jakob Borg 2001-11-24 22:04:01 UTC
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>
Kämnärsv. 3a / SE-226 46 Lund / Sweden
+46 (0)46 397692
Comment 3 Tom Rhodes freebsd_committer freebsd_triage 2002-08-22 23:28:35 UTC
State Changed
From-To: open->feedback

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. 


Comment 4 Tom Rhodes freebsd_committer freebsd_triage 2002-08-22 23:28:35 UTC
Responsible Changed
From-To: freebsd-bugs->trhodes

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.
Comment 5 Tom Rhodes freebsd_committer freebsd_triage 2002-12-12 06:24:37 UTC
State Changed
From-To: feedback->closed

This was MFC'ed awhile ago.  I also can not seem to reproduce this 
error.  Closed.