From owner-freebsd-current@FreeBSD.ORG Wed Nov 7 18:27:07 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14FBD16A420 for ; Wed, 7 Nov 2007 18:27:07 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30307.mail.mud.yahoo.com (web30307.mail.mud.yahoo.com [209.191.69.69]) by mx1.freebsd.org (Postfix) with SMTP id B9C9013C4B3 for ; Wed, 7 Nov 2007 18:27:06 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: (qmail 58589 invoked by uid 60001); 7 Nov 2007 18:26:58 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=iAGPZYtK4ujVq/2B4/jnTX7swCk/0m8RSIUuvejw9WzUQU2fsHusPLau7Y2XbwUIYgkdEBQJ+Oe9GycYbLf9ZjKA2fwUJhOyvIPCH/iqVJudpTmBPKnHJB6S+vvP/Q5bsUzGSX1Da4Nc4JtQzKOckPFV/4CRTn1fboBLUlcje80=; X-YMail-OSG: XwbcyMMVM1nRcp9qjnPK3kEKxTOm7jpZpRMYzWZLHTZ8wUJ29SyB17XLktMz.5PLzLSj6RPc6D0yySxvVK8mu5dS.DY7r4F2r9TND4WIMcK97aAfqEk- Received: from [84.141.120.234] by web30307.mail.mud.yahoo.com via HTTP; Wed, 07 Nov 2007 10:26:58 PST Date: Wed, 7 Nov 2007 10:26:58 -0800 (PST) From: Arne "Wörner" To: Henrik Bergkvist , freebsd-current@freebsd.org In-Reply-To: <4731F436.8010603@mdfnet.se> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <686330.58425.qm@web30307.mail.mud.yahoo.com> Cc: Subject: Re: Problem compiling graid5 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Nov 2007 18:27:07 -0000 --- Henrik Bergkvist wrote: > /usr/src/sys/modules/geom/geom_raid5/../../../geom/raid5/g_raid5.c: In > function 'g_raid5_workerD': > > FreeBSD internet.mds.mdh.se 7.0-BETA2 FreeBSD 7.0-BETA2 #0: Wed Nov 7 > 17:25:09 CET 2007 > > Does anybody know what to do? > Hmm... It seems like, in 7-CUR it isnt ...sched_lock... anymore, but thread_lock(curthread); sched_prio(curthread, PRIBIO); thread_unlock(curthread); I substituted that (with an "#if ...version >= 700...") in all three (TOS, TNG, PP) versions and on perforce (I hope I did it right... I cannot test it myself right now, because I dont have a FBSD box here...)... Thank u for testing... -Arne __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com