Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2004 07:57:55 -0800 (PST)
From:      Michel Dupré <michel.dupre3@wanadoo.fr>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/61679: syncing disk buffer of  an ext2 partition fails
Message-ID:  <200401211557.i0LFvtnG095730@www.freebsd.org>
Resent-Message-ID: <200401211600.i0LG0Ouv004603@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



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