Bug 28402

Summary: kernel panic caused by softupdates (may be)
Product: Base System Reporter: tbyte <tbyte>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: tbyte
Priority: Normal    
Version: 4.3-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
ML1-SRV none

Description tbyte 2001-06-25 10:40:00 UTC
    Doing tar -zxf about_5MB_file.tgz; rm -rf all_extracted cause kernel panic
    on a tunefs -n enable file system (tmp in this case). Some times even
    tar -xzf file cause this panic.
    Here are the setting on /tmp:
    
    tunefs -p /tmp
    tunefs: soft updates:  (-n)                                enabled
    tunefs: maximum contiguous block count: (-a)               15
    tunefs: rotational delay between contiguous blocks: (-d)   0 ms
    tunefs: maximum blocks per file in a cylinder group: (-e)  2048
    tunefs: minimum percentage of free space: (-m)             8%
    tunefs: optimization preference: (-o)                      time

Fix: 

I'm too far away from FS :)
How-To-Repeat:     tar -zxf about_5MB_file.tgz; rm -rf all_extracted (about 3-5 times)
Comment 1 Peter Pentchev 2001-06-25 11:25:13 UTC
On Mon, Jun 25, 2001 at 12:39:43PM +0300, tbyte@tbyte.org wrote:
> 
> >Number:         28402
> >Category:       kern
> >Synopsis:       kernel panic caused by softupdates (may be)
> >Originator:     Iasen Kostoff
> >Release:        FreeBSD 4.3-STABLE i386
> >Organization:
> OTEL.net
> >Environment:
> System: FreeBSD mail1.otel.net 4.3-STABLE FreeBSD 4.3-STABLE #0: Fri Jun 22 22:28:40 EEST 2001     root@mail1.otel.net:/usr/src/sys/compile/ML1-SRV  i386
> 	
> >Description:
>     Doing tar -zxf about_5MB_file.tgz; rm -rf all_extracted cause kernel panic
>     on a tunefs -n enable file system (tmp in this case). Some times even
>     tar -xzf file cause this panic.
>     Here are the setting on /tmp:
>     
>     tunefs -p /tmp
>     tunefs: soft updates:  (-n)                                enabled
>     tunefs: maximum contiguous block count: (-a)               15
>     tunefs: rotational delay between contiguous blocks: (-d)   0 ms
>     tunefs: maximum blocks per file in a cylinder group: (-e)  2048
>     tunefs: minimum percentage of free space: (-m)             8%
>     tunefs: optimization preference: (-o)                      time
>     
> >How-To-Repeat:
>     tar -zxf about_5MB_file.tgz; rm -rf all_extracted (about 3-5 times)
>     
> >Fix:
> 
>     I'm too far away from FS :)

Can you provide your kernel config, and if possible, a panic backtrace
from a kernel compiled with debugging symbols?

G'luck,
Peter

-- 
Thit sentence is not self-referential because "thit" is not a word.
Comment 2 tbyte 2001-06-25 11:41:58 UTC
here is the kernel config file and kernel panic message (can't provide
backtrace for this computer) :
 
handle_workitem_freeblock: block count
dev = #ad/0x20005, block = 128, fs = /tmp
panic: ffs_blkfree: freeing free block



Comment 3 iedowse freebsd_committer freebsd_triage 2002-11-12 01:24:59 UTC
State Changed
From-To: open->feedback


Does this problem still occur on more recent releases of FreeBSD?
Comment 4 iedowse freebsd_committer freebsd_triage 2002-11-12 01:39:32 UTC
State Changed
From-To: feedback->closed


Mail to submitter bounces and essentially content-free PR.