misc/61679: syncing disk buffer of an ext2 partition fails
Michel Dupré
michel.dupre3 at wanadoo.fr
Wed Jan 21 08:00:33 PST 2004
>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 at 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 at 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:
More information about the freebsd-bugs
mailing list