From owner-freebsd-current@FreeBSD.ORG Mon Nov 17 01:51:53 2003 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 B00AD16A4CF; Mon, 17 Nov 2003 01:51:53 -0800 (PST) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A94943FBF; Mon, 17 Nov 2003 01:51:53 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id 1816C2A8EB; Mon, 17 Nov 2003 01:51:53 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: amd64@freebsd.org Date: Mon, 17 Nov 2003 01:51:53 -0800 From: Peter Wemm Message-Id: <20031117095153.1816C2A8EB@canning.wemm.org> cc: current@freebsd.org Subject: HEADS UP: amd64 users! SMP code drop committed. 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, 17 Nov 2003 09:51:53 -0000 The subject should be pretty self explanatory. However, this commit trips some of the landmines in the nVidia nForce3 Pro-150 chipset and/or reference bios. Boards known to be broken by the commit: ASUS SK8N: two problems.. 1) requires 'device atpic' and that you run in 'mixed mode', even though this is expressly prohibited by the acpi spec. 2) the bios is broken and doesn't return the correct _CRS values for the interrupts after switching into apic mode. This causes level triggered pci interrupts to set up on the edge-triggered PIC which leads to much unhappiness. Gigabyte K8N-Pro: two problems 1) same missing 8254 timer -> apic connection 2) the bios appears to be outright *wrong* in apic mode. For example, it reports that the onboard ethernet is at irq 19, when in fact the interrupts appear to arrive at irq 21 instead. I have a couple of workarounds in mind. I have not tried it yet, but the quickest thing might be to comment out these lines in sys/conf/files.amd64: amd64/acpica/madt.c optional acpi amd64/amd64/apic_vector.S standard amd64/amd64/io_apic.c standard amd64/amd64/local_apic.c standard amd64/amd64/mptable.c optional mptable amd64/amd64/mptable_pci.c optional mptable pci and add 'device atpic' to your kernel config. You may also try 'set hint.acpi.0.disabled=1' in your loader. Be sure to leave out the mptable options as well, and include the atpic device. I have an SK8N as my desktop at home and a K8N Pro as my home crashbox, so rest assured that I'll sort something out real quick. :-) sledge.freebsd.org is now running in SMP, as is the loaner 4-way Opteron that I have for testing. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5