From nobody@FreeBSD.org  Wed Jan 21 07:57:56 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C46CA16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <michel.dupre3@wanadoo.fr>
To: freebsd-gnats-submit@FreeBSD.org
Subject: syncing disk buffer of  an ext2 partition fails
X-Send-Pr-Version: www-2.0

>Number:         61679
>Category:       misc
>Synopsis:       syncing disk buffer of  an ext2 partition fails
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 21 08:00:24 PST 2004
>Closed-Date:    Thu Feb 19 03:57:21 PST 2004
>Last-Modified:  Thu Feb 19 03:57:21 PST 2004
>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:
State-Changed-From-To: open->closed 
State-Changed-By: tjr 
State-Changed-When: Thu Feb 19 03:56:31 PST 2004 
State-Changed-Why:  
Duplicate of kern/56675. 
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/56675 

http://www.freebsd.org/cgi/query-pr.cgi?pr=61679 
>Unformatted:
