From owner-freebsd-smp Fri Sep 20 12:33:44 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79C4B37B401 for ; Fri, 20 Sep 2002 12:33:42 -0700 (PDT) Received: from mailhub.cns.ksu.edu (grunt.ksu.ksu.edu [129.130.12.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA68F43E6A for ; Fri, 20 Sep 2002 12:33:39 -0700 (PDT) (envelope-from beemern@ksu.edu) Received: from unix2.cc.ksu.edu (unix2.cc.ksu.edu [129.130.12.4]) by mailhub.cns.ksu.edu (8.9.1/8.9.1/mailhub+tar) with ESMTP id OAA15475 for ; Fri, 20 Sep 2002 14:33:30 -0500 (CDT) Received: from localhost (beemern@localhost) by unix2.cc.ksu.edu (8.11.6+Sun/8.11.6) with ESMTP id g8KJXOx23837 for ; Fri, 20 Sep 2002 14:33:29 -0500 (CDT) X-Authentication-Warning: unix2.cc.ksu.edu: beemern owned process doing -bs Date: Fri, 20 Sep 2002 14:33:24 -0500 (CDT) From: beemern X-X-Sender: To: Subject: RE: For those with P4 SMP problems.. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org ok, i edit'd as you indicated: --snip-- /* get the PHYSICAL APIC ID# */ physical_cpu = CPU_TO_ID(logical_cpu); printf("CPU_TO_ID of logical_cpu: %d gives physical_cpu %d\n", logical_cpu,physical_cpu); /* XXX: override hack divemojo */ physical_cpu = 11; printf("OVERRIDE physical_cpu to: %d\n",physical_cpu); /* calculate the vector */ vector = (boot_addr >> 12) & 0xff; --snip-- and i set physical_cpu to 1,2,3...,11 as you indicated rebooting after make'ing and install'ing each kernel gave: --snip-- avail memory = 517992448 (505852K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 Programming 24 pins in IOAPIC #1 Programming 24 pins in IOAPIC #2 CPU_TO_ID of logical_cpu: 1 gives physical_cpu 6 OVERRIDE physical_cpu to: 3 WOOT WOOT WOOT AP #1 (PHY# 6) failed! panic y/n? [y] FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00050014, at 0xfee00000 cpu1 (AP): apic id: 6, version: 0x00000000, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00178020, at 0xfec00000 io1 (APIC): apic id: 3, version: 0x00178020, at 0xfec80000 io2 (APIC): apic id: 4, version: 0x00178020, at 0xfec80400 Preloaded elf kernel "kernel" at 0xc03b2000. --snip-- where the ONLY difference, is the printf of the OVERRIDE physical_cpu, which was obviously different on each instance since i was changing it in the code (and just wanted to verify it in dmesg) basically, EACH kernel edit gave the "panic" msg as indicated in the snippet so... any other ideas to try at this point? thanks nathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message