Date: Fri, 24 Mar 2000 15:35:35 -0500 From: Jim Bloom <bloom@acm.org> To: FreeBSD mailing list <freebsd@mrynet.com> Cc: freebsd-current@freebsd.org, phk@critter.freebsd.dk Subject: Re: fd0: Debugger("d_iocmd botch") called. Message-ID: <38DBD197.29AD6744@acm.org> References: <200003241954.LAA00546@mrynet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------7D0E1521E15DD9B4A3213A24 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I reproduced the problem and have attached a patch. It was the exact same problem as in swap_pager.c (assuming B_WRITE was 0). Hopefully phk will commit this fix shortly. Jim Bloom bloom@acm.org \ FreeBSD mailing list wrote: > > I cvsup'd once more this morning... Nothing significant has changed since the > last one. > > For reference: > ttyp9:staylor@mrynet (4): grep \$FreeBSD /sys/vm/swap_pager.c > * $FreeBSD: src/sys/vm/swap_pager.c,v 1.134 2000/03/22 08:40:13 phk Exp $ > > Nonetheless, I built a new kernel using "config -r". No change in floppy operation. --------------7D0E1521E15DD9B4A3213A24 Content-Type: text/plain; charset=us-ascii; name="fd.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="fd.patch" Index: sys/isa/fd.c =================================================================== RCS file: /users/ncvs/src/sys/isa/fd.c,v retrieving revision 1.179 diff -u -r1.179 fd.c --- sys/isa/fd.c 2000/03/20 11:28:39 1.179 +++ sys/isa/fd.c 2000/03/24 20:20:53 @@ -2228,6 +2228,7 @@ BUF_LOCKINIT(bp); BUF_LOCK(bp, LK_EXCLUSIVE); bp->b_flags = B_PHYS | B_FORMAT; + bp->b_iocmd = BIO_WRITE; /* * calculate a fake blkno, so fdstrategy() would initiate a --------------7D0E1521E15DD9B4A3213A24-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38DBD197.29AD6744>