Date: Fri, 24 Mar 2000 21:51:00 +0100 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: bloom@acm.org Cc: FreeBSD mailing list <freebsd@mrynet.com>, freebsd-current@FreeBSD.ORG Subject: Re: fd0: Debugger("d_iocmd botch") called. Message-ID: <5497.953931060@critter.freebsd.dk> In-Reply-To: Your message of "Fri, 24 Mar 2000 15:35:35 EST." <38DBD197.29AD6744@acm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I belive Joerg Wunsh is already on this case ? Poul-Henning In message <38DBD197.29AD6744@acm.org>, Jim Bloom writes: >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 > -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! 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?5497.953931060>