From owner-cvs-src@FreeBSD.ORG Wed Mar 8 18:02:34 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96E8716A422; Wed, 8 Mar 2006 18:02:34 +0000 (GMT) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D583943D68; Wed, 8 Mar 2006 18:02:32 +0000 (GMT) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k28I2WV8024432; Wed, 8 Mar 2006 18:02:32 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k28I2WGR024431; Wed, 8 Mar 2006 18:02:32 GMT (envelope-from sam) Message-Id: <200603081802.k28I2WGR024431@repoman.freebsd.org> From: Sam Leffler Date: Wed, 8 Mar 2006 18:02:32 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/release Makefile src/release/amd64 boot_crunch.conf src/release/i386 boot_crunch.conf src/release/ia64 boot_crunch.conf src/release/pc98 boot_crunch.conf src/usr.sbin/sysinstall Makefile acpi.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Mar 2006 18:02:34 -0000 sam 2006-03-08 18:02:32 UTC FreeBSD src repository Modified files: release Makefile release/amd64 boot_crunch.conf release/i386 boot_crunch.conf release/ia64 boot_crunch.conf release/pc98 boot_crunch.conf usr.sbin/sysinstall Makefile dist.c dist.h install.c menus.c sysinstall.h Added files: usr.sbin/sysinstall acpi.c acpidump.h biosmptable.c Log: Revamp base system packaging of kernels to enable up/smp selection at runtime and to support distributing additional kernels: o remove kernel from the base tarball o add new kernel tarballs o build + package both SMP and GENERIC kernels when an /conf/SMP config file is present o add sysinstall support for multiple kernels o update sysinstall to probe for the number of cpus on a system and auto-select smp/up kernel accordingly o add a post-kernels install hook to fixup /boot/kernel o add -ldevinfo to boot crunch for sysinstall's cpu probing logic Notes: 1. On HEAD this code is not currently used because GENERIC kernels include SMP. This work is mainly intended for RELENG_6 where the GENERIC kernel is UP. If HEAD changes to match then just enable WITH_SMP in sysinstall/Makefile. 2. The cpu probing support is done with acpi and MPTable; this means some systems will require work for auto-detection to work. 3. The handling of /boot/kernel may need to be revisited; for now we rename one kernel at the last moment (SMP if installed, otherwise GENERIC). There are other, possibly better, approaches. Lots of help from ru, emaste, scottl, and jhb. Revision Changes Path 1.900 +29 -10 src/release/Makefile 1.61 +1 -1 src/release/amd64/boot_crunch.conf 1.61 +1 -1 src/release/i386/boot_crunch.conf 1.11 +1 -1 src/release/ia64/boot_crunch.conf 1.61 +1 -1 src/release/pc98/boot_crunch.conf 1.139 +30 -0 src/usr.sbin/sysinstall/Makefile 1.1 +356 -0 src/usr.sbin/sysinstall/acpi.c (new) 1.1 +177 -0 src/usr.sbin/sysinstall/acpidump.h (new) 1.1 +274 -0 src/usr.sbin/sysinstall/biosmptable.c (new) 1.242 +102 -10 src/usr.sbin/sysinstall/dist.c 1.66 +7 -1 src/usr.sbin/sysinstall/dist.h 1.365 +35 -1 src/usr.sbin/sysinstall/install.c 1.417 +47 -1 src/usr.sbin/sysinstall/menus.c 1.270 +13 -0 src/usr.sbin/sysinstall/sysinstall.h