kern/131024: Writing to ext3 partition causes endless loop

Tommy Bongaerts tommy.bongaerts at drumscum.be
Mon Jan 26 12:00:12 PST 2009


>Number:         131024
>Category:       kern
>Synopsis:       Writing to ext3 partition causes endless loop
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 26 20:00:11 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Tommy Bongaerts
>Release:        7.1-RELEASE
>Organization:
Not applicable
>Environment:
FreeBSD mordor.drumscum.be 7.1-RELEASE FreeBSD 7.1-RELEASE #5: Mon Jan 26 13:24:59 CET 2009     root at mordor.drumscum.be:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
On writing (e.g. cp or mv) to an ext3 partition, eventually the system seems to lock up; no input is accepted anymore from the mouse and keyboard. The system must be reset at this point.

When executing the write operation from ttyp0 the following text will be printed continuously to the console when the issue occurs:

ext2_new_block: bit already set for [number]

It appears that copying to an ext3 partition causes an endless loop, effectively locking up the box.

This issue has been already discussed on the freebsd-fs mailing list, unfortunately without a solution:

http://kerneltrap.org/mailarchive/freebsd-fs/2008/1/19/583772

This thread suggests this is an amd64-only issue.
>How-To-Repeat:
Mount an ext3 filesystem.
Copy or move a bunch of data to it.
>Fix:
Unknown

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list