From owner-freebsd-bugs Thu Jun 8 3:30: 4 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 8B3F237BB3B for ; Thu, 8 Jun 2000 03:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA70210; Thu, 8 Jun 2000 03:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Thu, 8 Jun 2000 03:30:02 -0700 (PDT) Message-Id: <200006081030.DAA70210@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Mark Abene Subject: Re: misc/19086: pseudo-device vn doesn't work properly with msdos filesystems Reply-To: Mark Abene Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/19086; it has been noted by GNATS. From: Mark Abene To: Bruce Evans 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