From owner-freebsd-stable@FreeBSD.ORG Wed Apr 9 12:34:05 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2572737B404 for ; Wed, 9 Apr 2003 12:34:04 -0700 (PDT) Received: from cvsup.no.freebsd.org (c2h5oh.idi.ntnu.no [129.241.103.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8441C43F3F for ; Wed, 9 Apr 2003 12:34:03 -0700 (PDT) (envelope-from Tor.Egge@cvsup.no.freebsd.org) Received: from localhost (localhost [127.0.0.1])h39JY2ai068743; Wed, 9 Apr 2003 19:34:02 GMT (envelope-from tegge@cvsup.no.freebsd.org) To: mike@sentex.net From: Tor.Egge@cvsup.no.freebsd.org In-Reply-To: <5.2.0.9.0.20030409142819.07c59c60@marble.sentex.ca> References: <5.2.0.9.0.20030409140404.07e83b18@marble.sentex.ca> <20030409181835K.tegge@cvsup.no.freebsd.org> <5.2.0.9.0.20030409142819.07c59c60@marble.sentex.ca> X-Mailer: Mew version 1.94.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20030409193402E.tegge@cvsup.no.freebsd.org> Date: Wed, 09 Apr 2003 19:34:02 GMT Sender: Tor Egge X-Dispatcher: imput version 20000228(IM140) Lines: 13 cc: stable@freebsd.org Subject: Re: 3ware 3dmd broken in STABLE ( due to cvs commit: src/sys/kern kern_descrip.c kern_fork.c ) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2003 19:34:05 -0000 > Thanks. Is there a work around where the lock leakage can be fixed and the > 3ware daemon can work ? I dont know who (if anyone) has the source code to > the 3dmd program, is this something that could be easily fixed in it ? Are > there any other programs that will break as a result of your commit as well ? Changing the rfork() system call in kern_fork.c to add the RFTHREAD flag instead of returning EINVAL might allow the 3ware daemon to work. Another alternative is to modify the 3dmd binary to add the RFTHREAD flag in rfork() at 0x806b39c. - Tor Egge