From owner-freebsd-current@FreeBSD.ORG Fri Nov 18 07:51:56 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 1B8C616A420; Fri, 18 Nov 2005 07:51:56 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id C069643D55; Fri, 18 Nov 2005 07:51:52 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (junior.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id jAI7pmuR093985; Fri, 18 Nov 2005 00:51:48 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <437D8812.40605@samsco.org> Date: Fri, 18 Nov 2005 00:51:46 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050615 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matthew Dillon References: <20051117010651.97608.qmail@web50303.mail.yahoo.com> <200511171915.jAHJF0L6006229@apollo.backplane.com> <200511171639.00807.jhb@freebsd.org> <200511171702.20956.jhb@freebsd.org> <200511172330.jAHNUhgV007502@apollo.backplane.com> In-Reply-To: <200511172330.jAHNUhgV007502@apollo.backplane.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on pooker.samsco.org Cc: freebsd-current@freebsd.org Subject: Re: Side note on Shuttle XPC / AMD X2 (SN95G5V3) (Re: [PATCH] nve(4) locking cleanup) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 18 Nov 2005 07:51:56 -0000 Matthew Dillon wrote: > :I found someone. :) They don't have an X2 processor, just a 6400, and it does > :seem that the MP Table in there case does have some busted entries. However, > :the link devices used for APIC routing do work ok so with ACPI enabled 6.0 > :booted up ok out of the box with APIC enabled. Probably they (Shuttle) got > :by with a busted MP Table because Windows probably just uses ACPI and worked > :fine out of the box. > : > :-- > :John Baldwin <>< http://www.FreeBSD.org/~jhb/ > > Buy an AMD Athlon X2 for that person so you can get SMP working, and > see if you hit the IRQ 7 problem. If the system has to reroute anything > through the 8259 (e.g. like the clock interrupt), you will probably > see spurious irq 7's. If it disables the 8259 entirely it should be ok. > I suspect that if the ACPI link entries are good, that will be the > only problem you face getting SMP working. > Luckily, we no longer have to worry about routing the 8254 through the AT-PIC anymore in FreeBSD. More and more chipsets and motherboards are axeing the logic to make this work, and it's a loosing battle to keep on trying to work around it. It wouldn't be too surprising if the 8259 goes away entirely in the next 2-3 years on Athlon and Opteron designs. > Note that I did a followup commit to the one I posted to clean > up my programming option for the hypertransport configuration. The > one I posted was just an initial workaround. Look at the CVS logs > for more info. Those configuration registers are insane and the > Shuttle BIOS clearly misprogrammed the one I was finally able to > track down. > > I intend to implement the link entry stuff for DragonFly after our > next release. For this release we already have too many feature items > and not enough time to stabilize yet another one... so that will be > post-release work. > > I have to say that the new Shuttle XPC populated with an Athlon X2 > is a really nifty machine. It's ultra fast, SMP, yet much, much quieter > then older slower shuttles. It runs nice and cool. It is clearly a > bug winner for Shuttle and AMD. It does look nice. Scott