From owner-freebsd-questions@FreeBSD.ORG Tue Oct 12 18:49:16 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB8D816A4CE for ; Tue, 12 Oct 2004 18:49:16 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64A8143D4C for ; Tue, 12 Oct 2004 18:49:16 +0000 (GMT) (envelope-from oliverfuchs@onlinehome.de) Received: from [212.227.126.205] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CHRhz-0004a5-00 for freebsd-questions@freebsd.org; Tue, 12 Oct 2004 20:49:15 +0200 Received: from [217.246.201.22] (helo=oliverfuchs.ath.cx) (TLSv1:EDH-RSA-DES-CBC3-SHA:168) (Exim 3.35 #1) id 1CHRhw-0004Q3-00 for freebsd-questions@freebsd.org; Tue, 12 Oct 2004 20:49:13 +0200 Received: from oliverfuchs.ath.cx (localhost [127.0.0.1]) i9CIn9wm001378verify=FAIL) for ; Tue, 12 Oct 2004 20:49:09 +0200 Received: (from oliverfuchs1@localhost) by oliverfuchs.ath.cx (8.12.3/8.12.3/Debian-7.1) id i9CIkx94001261 for freebsd-questions@freebsd.org; Tue, 12 Oct 2004 20:46:59 +0200 Date: Tue, 12 Oct 2004 20:46:59 +0200 From: Oliver Fuchs To: freebsd-questions@freebsd.org Message-ID: <20041012184659.GC805@oliverfuchs.ath.cx> Mail-Followup-To: freebsd-questions@freebsd.org References: <20041012091741.GA709@bob.bob.de> <20041012141832.GA44106@werd> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20041012141832.GA44106@werd> User-Agent: Mutt/1.4.2.1i X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:c2b2791553508cc938db2bcf18721a3c Subject: Re: ext2fs cannot be umounted X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Oct 2004 18:49:17 -0000 On Tue, 12 Oct 2004, Radek Kozlowski wrote: > On Tue, Oct 12, 2004 at 11:17:41AM +0200, Oliver Fuchs wrote: > > Hi, > > I am using FreeBSD 5.2.1-RELEASE and have compiled my kernel with optinion: > > options EXT2FS > > > > In my /etc/fstab I have added: > > /dev/ad0s6 /mnt/debian ext2fs rw 0 0 > > > > to mount my debian box. > > > > everything works fine except one thing: > > Shutting down via shutdown -p now ends up in the message: > > > > syncing discs, buffer remaining 403938383838383838383 > > .....giving up on 38 > > > > This means that FreeBSD is not able to umount/sync the mounted partition > > clearly. > > I have tried in /etc/fstab also the sync option but it ends up with the > > "syncing discs giving up" error message. > > Only if I umount the ext2fs partition gives me a clean shutdown. > > > > What can be done or how can I force the system to umount ext2fs partition > > before shutting down? > > It's a known bug: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/56675 > > There's a workaround suggested in this thread, which you already seem to > know: > http://lists.freebsd.org/pipermail/freebsd-current/2004-August/035316.html > > -Radek Ah ... I missed this one ... but good to know that it is a bug ... my first step/workaround was to set the noauto option in fstab. Now I have to find a way to bring the system to umount my ext2fs partition (it is not only because of the syncing discs error but also my debian box will run later on after rebooting the fsck check for about 10 minutes :-( ). I was trying to bring the kernel automounter amd to mount the debian partition but still did not succeed. My second idea was to run a chron-job to umount my partition every 2 minutes or so ... or set an alias on shutdown (with something like alias shutdown umount /mnt/debian , shutdown -p now) ... I still do not know. But thanx for your help and good advice (pointing me to the bug and the page). Oliver -- ... don't touch the bang bang fruit