kern/56675: Syncer "giving up" on buffers and ext2 filesystems [still a problem in 5.3RC1]

Martin Kammerhofer Martin.Kammerhofer at kfunigraz.ac.at
Tue Nov 16 08:40:37 PST 2004


The following reply was made to PR kern/56675; it has been noted by GNATS.

From: Martin Kammerhofer <Martin.Kammerhofer at kfunigraz.ac.at>
To: freebsd-gnats-submit at FreeBSD.org, lefcha at 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#
 
 


More information about the freebsd-bugs mailing list