From owner-freebsd-bugs@FreeBSD.ORG Wed Jan 21 08:00:33 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E24416A4CE for ; Wed, 21 Jan 2004 08:00:33 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39F1143D3F for ; Wed, 21 Jan 2004 08:00:28 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i0LG0OFR004604 for ; Wed, 21 Jan 2004 08:00:24 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0LG0Ouv004603; Wed, 21 Jan 2004 08:00:24 -0800 (PST) (envelope-from gnats) Resent-Date: Wed, 21 Jan 2004 08:00:24 -0800 (PST) Resent-Message-Id: <200401211600.i0LG0Ouv004603@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, Michel Dupré Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C46CA16A4CE for ; Wed, 21 Jan 2004 07:57:56 -0800 (PST) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF9CE43D31 for ; Wed, 21 Jan 2004 07:57:55 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i0LFvtdL095731 for ; Wed, 21 Jan 2004 07:57:55 -0800 (PST) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.10/8.12.10/Submit) id i0LFvtnG095730; Wed, 21 Jan 2004 07:57:55 -0800 (PST) (envelope-from nobody) Message-Id: <200401211557.i0LFvtnG095730@www.freebsd.org> Date: Wed, 21 Jan 2004 07:57:55 -0800 (PST) From: Michel Dupré To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.0 Subject: misc/61679: syncing disk buffer of an ext2 partition fails X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jan 2004 16:00:33 -0000 >Number: 61679 >Category: misc >Synopsis: syncing disk buffer of an ext2 partition fails >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: Wed Jan 21 08:00:24 PST 2004 >Closed-Date: >Last-Modified: >Originator: Michel Dupré >Release: FreeBSD 5.2 >Organization: none >Environment: FreeBSD P3BSD.michel.fr 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Sun Jan 18 21:29:48 CET 2004 root@P3BSD.michel.fr:/usr/src/sys/i386/compile/NOYAU-P3-5.2a i386 >Description: I have a dual boot machine with Slackware 9.1 and Freesbsd 5.2. When I mount manually an ext3 linux partition under FreeBSD 5.2 with mount -t ext2fs /dev/ad0s6 /mnt (for example) when I get out of FreeBSD with Ctrl Alt Supp, the ext2 partition still mounted, I get the message Syncing disk buffers remaining 1 1 1 1 1 ... giving up on 1 buffers At the next boot of FreeBSD, I have the message : / was not properly dismounted For Slackware at boot an fsck occurs for the partition. When I add the option -r (read only) the situation is the same for FreeBSD. For Slackware everything is OK >How-To-Repeat: The problem seems completely repeatable. >Fix: First of all to unmount before getting out ! of course. Second. On the same machine I have too a 5.1 freeBSD copy. I have tried the same problem. There is really no problem at all. Everything is OK for 5.1 and Slackware. for 5.1 and 5.2 I have recompiled the kernel with the same file except the name. Here is the output of uname -a for 5.1 : FreeBSD P3.michel.fr 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Fri Jun 13 22:27:47 CEST 2003 root@P3BSD.michel.fr:/usr/src/sys/i386/compile/NOYAU-P3-5.1a i386 Third. There are some files modified between 5.1 and 5.2 in /usr/src/sys/gnu/ext2fs alpha-bitops.h has disappeared in 5.2, ext2_bitops.h has appeared. ext2_bmap.c ext2_inode.c ext2_linux_balloc.c ext2_linux_ialloc.c ext2_vfsops.c ext2_vnops.c fs.h are modified in 5.2. I know too little of the problem to go farther. >Release-Note: >Audit-Trail: >Unformatted: