From owner-freebsd-fs@FreeBSD.ORG Tue Sep 27 09:53:23 2005 Return-Path: X-Original-To: fs@freebsd.org Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F86016A41F for ; Tue, 27 Sep 2005 09:53:23 +0000 (GMT) (envelope-from peadar.edwards@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id F369C43D49 for ; Tue, 27 Sep 2005 09:53:22 +0000 (GMT) (envelope-from peadar.edwards@gmail.com) Received: by zproxy.gmail.com with SMTP id z31so257897nzd for ; Tue, 27 Sep 2005 02:53:22 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=DJI3nkf2IDnceV8Okj8nXs/urhC6EJxlewY1OhI2gL42HjhIsqB8oZufBkP/q15wOWW4TBG6gBcUGPBp3fLJAuitoFJNB9Ap1vgKjayYohw7nz6N1Eiue+zLeXoQcDDBsBzEgDMbQo/wFmHoSOMFyzhczCJ65HgCTnNlVf9tdA4= Received: by 10.36.222.3 with SMTP id u3mr204743nzg; Tue, 27 Sep 2005 02:53:22 -0700 (PDT) Received: by 10.36.68.16 with HTTP; Tue, 27 Sep 2005 02:53:22 -0700 (PDT) Message-ID: <34cb7c840509270253194f7487@mail.gmail.com> Date: Tue, 27 Sep 2005 10:53:22 +0100 From: Peter Edwards To: Mikhail Teterin In-Reply-To: <20050927183235.T24493@delplex.bde.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_20258_22585234.1127814802045" References: <20050927014825.6378E1BB0B@citi.umich.edu> <20050927183235.T24493@delplex.bde.org> Cc: gayn.winters@bristolsystems.com, fs@freebsd.org Subject: Re: can not mount a large FAT32 filesystem X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Peter Edwards List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Sep 2005 09:53:23 -0000 ------=_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 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--