From owner-freebsd-questions@FreeBSD.ORG Mon Apr 23 18:51:26 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ECEDD16A40A; Mon, 23 Apr 2007 18:51:25 +0000 (UTC) (envelope-from tinguely@casselton.net) Received: from casselton.net (casselton.net [63.165.140.2]) by mx1.freebsd.org (Postfix) with ESMTP id 96B1E13C4CC; Mon, 23 Apr 2007 18:51:25 +0000 (UTC) (envelope-from tinguely@casselton.net) Received: from casselton.net (localhost [127.0.0.1]) by casselton.net (8.13.8/8.13.8) with ESMTP id l3NIpJo8071371; Mon, 23 Apr 2007 13:51:19 -0500 (CDT) (envelope-from tinguely@casselton.net) Received: (from tinguely@localhost) by casselton.net (8.13.8/8.13.8/Submit) id l3NIpJ7H071370; Mon, 23 Apr 2007 13:51:19 -0500 (CDT) (envelope-from tinguely) Date: Mon, 23 Apr 2007 13:51:19 -0500 (CDT) From: Mark Tinguely Message-Id: <200704231851.l3NIpJ7H071370@casselton.net> To: freebsd-hackers@freebsd.org, jhb@freebsd.org In-Reply-To: <200704231428.26118.jhb@freebsd.org> X-Mailman-Approved-At: Mon, 23 Apr 2007 21:05:09 +0000 Cc: des@des.no, tinguely@casselton.net, freebsd-questions@freebsd.org, MTaylor@bytecraft.com.au Subject: Re: IBM / FreeBSD Install problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2007 18:51:26 -0000 > John Baldwin says: > > APIC IDs are not programmable (well, they are on I/O APICs, but not local=20 > APICs). However, I am working on patches to support all valid APIC IDs for= > =20 > both mptable and MADT. Bumping up NLAPICS as a temporary workaround should= > =20 > suffice for now. > > =2D-=20 > John Baldwin IMO, the quick solution also requires that MAX_APICID in [amd64/amd64 | i386/i386]/local_apic.c needs to be changed because lapic_create() checks if the passed apic_id > MAX_APICID. Also in [amd64/amd64 | i386/i386]/mp_machdep.c checks in cpu_add() if the passed apic_id >= MAXCPU. There are a couple other checks in mp_machdep.c before converting to use the cpu_apic_ids[] array. I was curious, and wrote up a patch file with the potential minor changes for -current at http://www.casselton.com/~tinguely/acpicid.patch . I saw one more change needed to use on FreeBSD 6.2-RELEASE. --Mark Tinguely