Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Feb 2004 00:48:21 -0800 (PST)
From:      akira noda <a-noda@jaist.ac.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/62826: some time cannt mount FAT32 file system
Message-ID:  <200402140848.i1E8mL1d001632@www.freebsd.org>
Resent-Message-ID: <200402140850.i1E8oHSb032779@freefall.freebsd.org>

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

>Number:         62826
>Category:       kern
>Synopsis:       some time cannt mount FAT32 file system
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 14 00:50:17 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     akira noda
>Release:        FreeBSD 4.8-RELEASE-p14
>Organization:
JAIST (univ.)
>Environment:
FreeBSD d246-55.jaist.ac.jp 4.8-RELEASE-p14 FreeBSD 4.8-RELEASE-p14 #26: Tue Feb 10 02:08:45 JST 2004     root@d246-55.jaist.ac.jp:/usr/src/sys/compile/akira  i386

>Description:
may be msdosfs.ko don't handle FSI info correctol
In this document (japanese : http://triaez.kaisei.org/~s-zouda/pc/fat32.html)
some time "pmp->pm_nxtfree" in msdosfs_vfsops.c become 0xffffffff(i.e. -1)

but this code in msdosfs_vfsops.c donnt care about it 
>How-To-Repeat:
make new 28Gbyte FAT32 filesystem in expand partion with windows 2000 pro(japanese editon).
copy many files over 2Gbyle to the FAT32.
then reboot and boot FreeBSD in same disk.
mount the FAT32

mount -t msdos /dev/ad0s6 /mnt/data2

then "invalid argument" error message comes and failt to mount

>Fix:
may be flloing patch resolve this problem.
(target file is /usr/src/sys/msdosfs/msdosfs_vfsops.c)

$ diff msdosfs_vfsops.c.org msdosfs_vfsops.c

675a676

>Release-Note:
>Audit-Trail:
>Unformatted:
 >> if(pmp->pm_nxtfree==0xffffffff)pmp->pm_nxtfree=0;
 
 
 



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