From owner-freebsd-bugs@FreeBSD.ORG Sun Dec 2 18:30:00 2012 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D4611E45 for ; Sun, 2 Dec 2012 18:30:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id A76B28FC14 for ; Sun, 2 Dec 2012 18:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qB2IU0KP069795 for ; Sun, 2 Dec 2012 18:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qB2IU08m069794; Sun, 2 Dec 2012 18:30:00 GMT (envelope-from gnats) Resent-Date: Sun, 2 Dec 2012 18:30:00 GMT Resent-Message-Id: <201212021830.qB2IU08m069794@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tomasz CEDRO Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 70AA3DAD for ; Sun, 2 Dec 2012 18:20:57 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 578048FC14 for ; Sun, 2 Dec 2012 18:20:57 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qB2IKvPt052644 for ; Sun, 2 Dec 2012 18:20:57 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id qB2IKvRU052643; Sun, 2 Dec 2012 18:20:57 GMT (envelope-from nobody) Message-Id: <201212021820.qB2IKvRU052643@red.freebsd.org> Date: Sun, 2 Dec 2012 18:20:57 GMT From: Tomasz CEDRO To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/174060: Ext2FS system crashes (buffer overflow?) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2012 18:30:00 -0000 >Number: 174060 >Category: misc >Synopsis: Ext2FS system crashes (buffer overflow?) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Dec 02 18:30:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Tomasz CEDRO >Release: FreeBSD 9.1-RC3 >Organization: CeDeROM >Environment: FreeBSD hexagon 9.1-RC3 FreeBSD 9.1-RC3 #0 r242324: Tue Oct 30 00:58:57 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: There is still something very wrong with the Ext2FS driver - my system crashes very often with that, reproducibly with torrtn/transmission client running that stores data on Ex2FS drive (multi system 1.2TB partition). I had this problem previously very ofthen when using VirtualBox images stored on ext2fs but it was gone so I thought the problem is gone... The Ext2FS was created from the beginning with FreeBSD, has no journal and use 128 byte inodes. The filesystem is 100% clean before mount I am checking all ext2fs driver by hand with e2fsck -fyC0 . >How-To-Repeat: Use something that intensively use ext2fs drive, then note lots of console messages like: g_vfs_done(): ada0s5 write(offset=X, length=Y) error = 5 and when you try to dmesg you get: dmesg: sysctl kern.msgbuf: Cannot allocate memory The messages does not stop even though application using the drive is terminated. This looks dangerous :-) >Fix: Fix in the Ext2FS kernel module? Produce native UFS driver for windows/linux/mac and forget about ext2 support? :-) >Release-Note: >Audit-Trail: >Unformatted: