From owner-freebsd-current@FreeBSD.ORG Sun Feb 29 22:44:59 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2AFF216A4CE; Sun, 29 Feb 2004 22:44:59 -0800 (PST) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 874B343D1F; Sun, 29 Feb 2004 22:44:58 -0800 (PST) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-30-165.dsl.onthenet.net [203.144.30.165]) i216inZG079624; Mon, 1 Mar 2004 16:44:49 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <4042DC77.5000205@freebsd.org> Date: Mon, 01 Mar 2004 16:47:19 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marcel Moolenaar References: <4042C2CA.8020104@freebsd.org> <20040301063933.GA12001@dhcp01.pn.xcllnt.net> In-Reply-To: <20040301063933.GA12001@dhcp01.pn.xcllnt.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Ken Smith cc: freebsd-alpha@freebsd.org cc: freebsd-current@freebsd.org Subject: Re: One more patch for Alpha console issues... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 01 Mar 2004 06:44:59 -0000 >> The fix is to put the hand-crafting of proc0, thread0 and pcpu >>data and mutex_init to be *before* the call to cninit(). This >>is why i386 works. > > Not really. The fix is to not call make_dev() at all this early. Agreed, but you're going to have to chainsaw syscons and come up with an alternate for the SC_STAT macro which relies on having an allocated dev_t. later, Peter.