From owner-freebsd-current@FreeBSD.ORG Fri Mar 19 01:05:25 2004 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 A451A16A4CF for ; Fri, 19 Mar 2004 01:05:25 -0800 (PST) Received: from cmsrelay01.mx.net (cmsrelay01.mx.net [165.212.11.110]) by mx1.FreeBSD.org (Postfix) with SMTP id 53A7143D39 for ; Fri, 19 Mar 2004 01:05:25 -0800 (PST) (envelope-from noackjr@alumni.rice.edu) Received: from uadvg130.cms.usa.net (165.212.11.130) by cmsoutbound.mx.net with SMTP; 19 Mar 2004 09:05:24 -0000 Received: from optimator.noacks.org [65.69.1.167] by uadvg130.cms.usa.net (ASMTP/noackjr@usa.net) via mtad (C8.MAIN.3.13N) with ESMTP id 998icsJFw0282M30; Fri, 19 Mar 2004 09:05:22 GMT X-USANET-Auth: 65.69.1.167 AUTH noackjr@usa.net optimator.noacks.org Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id AA38C60F0; Fri, 19 Mar 2004 03:05:21 -0600 (CST) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 92420-02-2; Fri, 19 Mar 2004 03:05:20 -0600 (CST) Received: from alumni.rice.edu (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id 4238B60ED; Fri, 19 Mar 2004 03:05:20 -0600 (CST) Message-ID: <405AB7CF.5020801@alumni.rice.edu> Date: Fri, 19 Mar 2004 03:05:19 -0600 From: Jon Noack User-Agent: Mozilla Thunderbird 0.5+ (Windows/20040312) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Wayne M Barnes References: <20040315105752.A27183@klentaq.com> <200403152134.53018.avleeuwen@piwebs.com> <20040316213354.GA7671@etaq.com> In-Reply-To: <20040316213354.GA7671@etaq.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at noacks.org cc: freebsd-current@freebsd.org cc: Arjan van Leeuwen Subject: Re: 5.2 is dangerous to drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2004 09:05:25 -0000 On 3/16/2004 3:33 PM, Wayne M Barnes wrote: > Thank you for your advice, which has given me hope, but how to I > implement it? > > Here is my guess for what to edit into the kernel config file: > > nodevice apic > nodevice smp > > Is this correct? I really don't see any lines about apic > anywhere in /usr/src/sys/i386/conf/ > > [But I am on 5.1 now. Does something about apic appear in 5.2?] > > I surely had no SMP enabled, anyway, since I only have one processor. > I do have an NVIDIA nForce2 series motherboard, an ASUS A7N8X, so > you perceived that correctly. > > Why should I want to get ACPI running again? > > How can I get "without ACPI" to be the default boot behaviour? > Would that be to edit something in loader.conf? > > Thanks for any more advice, > > - Wayne > > On Mon, Mar 15, 2004 at 09:34:50PM +0100, Arjan van Leeuwen wrote: > >>On Monday 15 March 2004 17:57, Wayne Barnes wrote: >> >>>Dear Level 5ers, >>> >>> I got a 5.2.1 CD in the mail, so I thought I should upgrade >>>from my older 5.0-CURRENT which had been working very well >>>for months. >>> >>> Big mistake. >> >>>... >> >>Not that big a mistake. Sounds like you have an nforce2-board. If you search >>the archives, you'll find that you can install 5.2 (or 5.2.1) on this board >>by disabling ACPI during the install (option 2 in the boot menu). Once you're >>up and running, build a kernel without apic and smp (that's apic, not ACPI) >>to get ACPI support working again. >> >>Best regards, >> >>Arjan Please don't top-post -- you lose context... Arjan already included the relevant info, but here's a rehash: 1) Boot 5.2.1 CD 2) Disable ACPI at the boot loader (option 2) 3) Upgrade as normal 4) Sysinstall automatically put the appropriate entry to disable ACPI into /boot/loader.conf on a fresh install of 5.2.1 (after I selected option 2 on the loader). In any case, ensure that 'exec="unset acpi_load"' is present in /boot/loader.conf to disable ACPI. 5) Comment out 'options SMP' and 'device apic' from your kernel config file, rebuild/install, and off you go... Comments: 1) Have you tried running fsck on the partition that won't mount? 2) GENERIC comes with SMP enabled by default in 5.2.1. For nForce boards you must disable apic, which precludes compiling in SMP. Thus, both must be disabled to make a kernel work with ACPI for the nForce. 3) Why ACPI? Try 'man acpi': "This support includes platform hardware discovery (superseding the PnP and PCI BIOS), as well as power management (superseding APM) and other features." Jon