Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Sep 2005 10:53:22 +0100
From:      Peter Edwards <peadar.edwards@gmail.com>
To:        Mikhail Teterin <mi+mx@aldan.algebra.com>
Cc:        gayn.winters@bristolsystems.com, fs@freebsd.org
Subject:   Re: can not mount a large FAT32 filesystem
Message-ID:  <34cb7c840509270253194f7487@mail.gmail.com>
In-Reply-To: <20050927183235.T24493@delplex.bde.org>
References:  <20050927014825.6378E1BB0B@citi.umich.edu> <20050927183235.T24493@delplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_20258_22585234.1127814802045
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On 9/27/05, Bruce Evans <bde@zeta.org.au> wrote:
> On Mon, 26 Sep 2005, Jim Rees wrote:
>
> >  Maybe a quick fsck_msdos would do the trick..
> >
> > I doubt it.  The message implies a problem with the partition table, no=
t the
> > file system.  I suspect it's a geometry problem, especially since the C=
HS
> > values don't match the LBA.
>
> Except the eror is reading the partition table itself.  This cannot be a
> "geometry" problem, except possibly one involving the sector size, since
> the partition table is in sector 0 and contains the geometry.  This is
> a very strange error, since the kernel does the same read as fdisk to
> read the partition table, and fdisk seems to work.
>

I think I've seen this before: the validation of the boot sector is a
bit OTT. The description of the bootblock on the microsoft website at

http://support.microsoft.com/kb/q140418/

Gives no description at all of the BOOTSIG3 and BOOTSIG3 fields that
are validated: I don't think there's any reason to check them. Can you
try this patch?

------=_Part_20258_22585234.1127814802045
Content-Type: text/plain; name="msdos.txt"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="msdos.txt"

SW5kZXg6IG1zZG9zZnNfdmZzb3BzLmMKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpSQ1MgZmlsZTogL25mcy9keXNvbi9l
eHBvcnQvaG9tZS9wZXRlcmUvZnJlZWJzZC1jdnMvY3ZzL0ZyZWVCU0Qvc3JjL3N5cy9mcy9tc2Rv
c2ZzL21zZG9zZnNfdmZzb3BzLmMsdgpyZXRyaWV2aW5nIHJldmlzaW9uIDEuMTQ0CmRpZmYgLXUg
LXIxLjE0NCBtc2Rvc2ZzX3Zmc29wcy5jCi0tLSBtc2Rvc2ZzX3Zmc29wcy5jCTI0IE1hciAyMDA1
IDA3OjM2OjEzIC0wMDAwCTEuMTQ0CisrKyBtc2Rvc2ZzX3Zmc29wcy5jCTI3IFNlcCAyMDA1IDA5
OjQwOjE5IC0wMDAwCkBAIC01MTIsOSArNTEyLDcgQEAKICNlbmRpZgkvKiAhTVNET1NGU19MQVJH
RSAqLwogCiAJaWYgKHBtcC0+cG1fUm9vdERpckVudHMgPT0gMCkgewotCQlpZiAoYnNwLT5iczcx
MC5ic0Jvb3RTZWN0U2lnMiAhPSBCT09UU0lHMgotCQkgICAgfHwgYnNwLT5iczcxMC5ic0Jvb3RT
ZWN0U2lnMyAhPSBCT09UU0lHMwotCQkgICAgfHwgcG1wLT5wbV9TZWN0b3JzCisJCWlmIChwbXAt
PnBtX1NlY3RvcnMKIAkJICAgIHx8IHBtcC0+cG1fRkFUc2VjcwogCQkgICAgfHwgZ2V0dXNob3J0
KGI3MTAtPmJwYkZTVmVycykpIHsKIAkJCWVycm9yID0gRUlOVkFMOwo=
------=_Part_20258_22585234.1127814802045--



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