Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 2004 16:40:36 GMT
From:      Martin Kammerhofer <Martin.Kammerhofer@kfunigraz.ac.at>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/56675: Syncer "giving up" on buffers and ext2 filesystems  [still a problem in 5.3RC1]
Message-ID:  <200411161640.iAGGeace025158@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/56675; it has been noted by GNATS.

From: Martin Kammerhofer <Martin.Kammerhofer@kfunigraz.ac.at>
To: freebsd-gnats-submit@FreeBSD.org, lefcha@hellug.gr
Cc:  
Subject: Re: kern/56675: Syncer "giving up" on buffers and ext2 filesystems 
 [still a problem in 5.3RC1]
Date: Tue, 16 Nov 2004 17:34:10 +0100

 This is still an issue with 5-current. I have no patch for the kernel
 bug,  but there is
 a quick userspace workaround. Since unmounting ext2 before shutdown
 works
 I inserted the following script into /etc/rc.d for auto-unmount during
 shutdown.
 This bug could bite quite a few,  it should be documented in the 5.3
 ERRATA!
 
 #! /bin/sh
 #
 # $Id: ext2fs,v 1.1 2004/11/15 11:02:56 martin Exp $
 #
 # Unmount ext2fs upon shutdown to work around a kernel bug.
 
 # PROVIDE: ext2fs
 # REQUIRE: mountcritlocal
 # BEFORE: mountcritremote
 # KEYWORD: nojail shutdown
 
 ext2fs_enable="YES"
 ext2fs_flags="-v"    # optional (u)mount verbosity
 
 . /etc/rc.subr
 
 name="ext2fs"
 rcvar=`set_rcvar`
 start_cmd="/sbin/mount -a -t ext2fs $ext2fs_flags"
 stop_cmd="/sbin/umount -A -t ext2fs -f $ext2fs_flags"
 
 load_rc_config $name
 run_rc_command "$1"
 
 #EOF#
 
 



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