Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Apr 2015 13:00:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 199309] Kernel panic "binsfree: free buffer onto another queue???" extracting tar to ext2fs partition.
Message-ID:  <bug-199309-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199309

            Bug ID: 199309
           Summary: Kernel panic "binsfree: free buffer onto another
                    queue???" extracting tar to ext2fs partition.
           Product: Base System
           Version: 10.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: kpielorz@tdx.co.uk

When extracting a large .tar.gz file onto a mounted ext2fs filesystem - under
10.1-RELEASE you get a reproducible kernel panic (details below).

The same set of operations on a FreeBSD 9.1-RELEASE system work correctly.

To reproduce:

 - Install FreeBSD
 - Install 'e2fsutils'

'mke2fs' a new partition, and mount it (e.g. 'mount -t ext2fs /dev/ada1s4
/mnt') - extract a large tar file (20Gb) to this new partition.

Under 9.1-R it finishes extraction. Under 10.1-R it fails after about the same
amount of time, but in slightly different places with:

"
panic: binsfree: free buffer onto another queue???
cpuid =3
KDB: stack backtrace:
#0 0xffffffff80963000 at kb_backtrace+0x60
#1 0xffffffff80928125 at panic+0x155
#2 0xffffffff809b18f7 at binsfree+0x327
#3 0xffffffff809afca0 at brelse+0x5f0
#4 0xffffffff81a19c34 at ext2_htree_add_entry+0x714
#5 0xffffffff81a1c1d4 at ext2_direnter+0xc4
#6 0xffffffff81a21d7d at ext2_makeinode+0x12d
#7 0xffffffff80e41ca1 at VOP_CREATE_APV+0xa1
#8 0xffffffff809d66c8 at vn_open_cred+0x2a8
#9 0xffffffff809cfedf at kern_openat+0x26f
#10 0xffffffff80d25851 at amd64_syscall+0x351
"

I have a minidump (~470Mb) of this crash - so I can kgdb it to run off various
bits (I can't publish as it likely has confidential data in the dump).

Smaller tar files extract OK.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199309-8>