From owner-freebsd-current Fri Mar 24 12:52:47 2000 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id A711737BC6C for ; Fri, 24 Mar 2000 12:51:56 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost.freebsd.dk [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.3) with ESMTP id VAA05499; Fri, 24 Mar 2000 21:51:00 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: bloom@acm.org Cc: FreeBSD mailing list , freebsd-current@FreeBSD.ORG Subject: Re: fd0: Debugger("d_iocmd botch") called. In-reply-to: Your message of "Fri, 24 Mar 2000 15:35:35 EST." <38DBD197.29AD6744@acm.org> Date: Fri, 24 Mar 2000 21:51:00 +0100 Message-ID: <5497.953931060@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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