Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jun 2000 03:30:02 -0700 (PDT)
From:      Mark Abene <phiber@radicalmedia.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/19086: pseudo-device vn doesn't work properly with msdos filesystems
Message-ID:  <200006081030.DAA70210@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/19086; it has been noted by GNATS.

From: Mark Abene <phiber@radicalmedia.com>
To: Bruce Evans <bde@zeta.org.au>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: misc/19086: pseudo-device vn doesn't work properly with msdos filesystems
Date: Thu, 8 Jun 2000 06:21:59 -0400

 I just spent the past few hours narrowing the problem down to the very same
 thing.  Only now with this patch the kernel panics with an "unexpected machine
 check" when trying to write more than 1024 bytes to a dos floppy.
 Not good.  The program counter shows it to be bombing out in the
 unaligned_fixup routine.  I'm stumped for the time being.
 I'll investigate further but would be really curious to hear if you know
 why this should be happening.
 
 Cheers,
 -Mark
 
 On Thu, Jun 08, 2000 at 04:47:24PM +1000, Bruce Evans wrote:
 > The following quick fix seems to be sufficient on i386's with 64-bit longs:
 > 
 > ---
 > diff -c2 msdosfsmount.h~ msdosfsmount.h
 > *** msdosfsmount.h~	Thu Jun  8 15:56:37 2000
 > --- msdosfsmount.h	Thu Jun  8 16:01:44 2000
 > ***************
 > *** 85,89 ****
 >   	u_long pm_fatblocksec;	/* size of fat blocks in sectors */
 >   	u_long pm_fatsize;	/* size of fat in bytes */
 > ! 	u_long pm_fatmask;	/* mask to use for fat numbers */
 >   	u_long pm_fsinfo;	/* fsinfo block number */
 >   	u_long pm_nxtfree;	/* next free cluster in fsinfo block */
 > --- 85,89 ----
 >   	u_long pm_fatblocksec;	/* size of fat blocks in sectors */
 >   	u_long pm_fatsize;	/* size of fat in bytes */
 > ! 	u_int32_t pm_fatmask;	/* mask to use for fat numbers */
 >   	u_long pm_fsinfo;	/* fsinfo block number */
 >   	u_long pm_nxtfree;	/* next free cluster in fsinfo block */
 > ---
 > 
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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