From owner-freebsd-amd64@FreeBSD.ORG Sat Oct 8 09:00:30 2005 Return-Path: X-Original-To: freebsd-amd64@hub.freebsd.org Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4BD016A41F for ; Sat, 8 Oct 2005 09:00:30 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29C4543D46 for ; Sat, 8 Oct 2005 09:00:30 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9890UZx016169 for ; Sat, 8 Oct 2005 09:00:30 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9890TdV016162; Sat, 8 Oct 2005 09:00:29 GMT (envelope-from gnats) Resent-Date: Sat, 8 Oct 2005 09:00:29 GMT Resent-Message-Id: <200510080900.j9890TdV016162@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Attila Nagy Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AF1E16A41F for ; Sat, 8 Oct 2005 08:59:27 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27EE843D62 for ; Sat, 8 Oct 2005 08:59:26 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j988xLAF093424 for ; Sat, 8 Oct 2005 08:59:21 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j988xLXW093423; Sat, 8 Oct 2005 08:59:21 GMT (envelope-from nobody) Message-Id: <200510080859.j988xLXW093423@www.freebsd.org> Date: Sat, 8 Oct 2005 08:59:21 GMT From: Attila Nagy To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: amd64/87112: Boot problems on a 16 processor AMD64 compatible machine X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Oct 2005 09:00:30 -0000 >Number: 87112 >Category: amd64 >Synopsis: Boot problems on a 16 processor AMD64 compatible machine >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Oct 08 09:00:29 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Attila Nagy >Release: 7-current >Organization: FSN >Environment: Not available >Description: On a 16 processor/16 GB RAM AMD64 compatible machine FreeBSD halts with "Too many segments in the physical address map, giving up". >How-To-Repeat: I don't know whether it's general, or only limited to this machine, but trying to boot FreeBSD with 16 processors could trigger the problem. >Fix: In src/sys/amd64/amd64/machdep.c: -#define PHYSMAP_SIZE (2 * 8) +#define PHYSMAP_SIZE (2 * 16) After this: FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 cpu4 (AP): APIC ID: 4 cpu5 (AP): APIC ID: 5 cpu6 (AP): APIC ID: 6 cpu7 (AP): APIC ID: 7 cpu8 (AP): APIC ID: 8 cpu9 (AP): APIC ID: 9 cpu10 (AP): APIC ID: 10 cpu11 (AP): APIC ID: 11 cpu12 (AP): APIC ID: 12 cpu13 (AP): APIC ID: 13 cpu14 (AP): APIC ID: 14 cpu15 (AP): APIC ID: 15 I didn't try with i386, but I guess that has the same problem. >Release-Note: >Audit-Trail: >Unformatted: