From owner-freebsd-stable@FreeBSD.ORG Thu Nov 6 02:13:31 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74ACF16A4CE for ; Thu, 6 Nov 2003 02:13:31 -0800 (PST) Received: from lurza.secnetix.de (lurza.secnetix.de [195.143.231.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0383343FAF for ; Thu, 6 Nov 2003 02:13:30 -0800 (PST) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (vkbczg@localhost [127.0.0.1]) by lurza.secnetix.de (8.12.9p1/8.12.8) with ESMTP id hA6ADROC073491 for ; Thu, 6 Nov 2003 11:13:28 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.12.9p1/8.12.8/Submit) id hA6ADRYU073490; Thu, 6 Nov 2003 11:13:27 +0100 (CET) Date: Thu, 6 Nov 2003 11:13:27 +0100 (CET) Message-Id: <200311061013.hA6ADRYU073490@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG In-Reply-To: <5.0.2.1.1.20031104234848.0317e2c0@popserver.sfu.ca> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.8-RELEASE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: How to detect SMP-capable machines? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2003 10:13:31 -0000 Colin Percival wrote: > At 00:46 05/11/2003 +0100, Oliver Fromme wrote: > > Now the question: What's the best way to determine an > > SMP-capable system, i.e. a system which is able to run > > an SMP kernel? > > Install 5.1-CURRENT (or at least boot a 5.1-CURRENT filesystem), which > (I believe) now supports both UP and SMP in the GENERIC kernel, due to > recent changes by jhb. I'm aware that -current kernels are supposed to support SMP and UP without change, but we cannot use -current. We have to use -stable. So that's not an option, I'm afraid. I have now built an installation CD which uses the exit code of mptable to decide whether to install an SMP or UP kernel. It _seems_ to work on those machines on which I've tested it so far. Can somebody confirm that a -stable SMP kernel will boot and run on all hardware on which mptable returns 0? Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. I suggested holding a "Python Object Oriented Programming Seminar", but the acronym was unpopular. -- Joseph Strout