Date: Sat, 16 Nov 2002 15:30:05 -0500 From: Craig Rodrigues <rodrigc@attbi.com> To: Anders Andersson <anders@hack.org> Cc: freebsd-current@freebsd.org, jhb@freebsd.org Subject: Re: bad ACPI Message-ID: <20021116153005.A16366@attbi.com> In-Reply-To: <20021116164401.GG1509@hellraiser.example.org>; from anders@hack.org on Sat, Nov 16, 2002 at 05:44:01PM %2B0100 References: <20021116161342.GD1509@hellraiser.example.org> <30665.1037463559@critter.freebsd.dk> <20021116162315.GF1509@hellraiser.example.org> <20021116113549.A849@attbi.com> <20021116164401.GG1509@hellraiser.example.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 16, 2002 at 05:44:01PM +0100, Anders Andersson wrote: > On Sat, Nov 16, 2002 at 11:35:49AM -0500, Craig Rodrigues wrote: > > Could you try the following? > > > > At the boot prompt, before the kernel boots up: > > > > unset acpi_load > > set boot_verbose=YES > > boot -v > > OK, now I feel stupid since I could swear that I already did try to > disable ACPI. > > But with ACPI disabled it boots fine. > > phk, sorry to confuse you :-) I had a very similar problem. I had a system here which would crash upon bootup when acpi was loaded. Since I couldn't boot into the system to read the man pages, I didn't know what to do. At the boot prompt, I typed show. It clearly listed: acpi_load=YES I then typed: set acpi_load=NO boot Of course, the system still tried to load acpi, and crashed. The correct thing to do would have been to read loader(8), and deduce that it would be necessary to unset acpi_load in order to not load acpi. This tripped me up, and might trip other new users who try 5.0. Would a patch of this sort be something to consider? --- sys/boot/i386/libi386/i386_module.c.orig Sat Nov 16 15:01:07 2002 +++ sys/boot/i386/libi386/i386_module.c Sat Nov 16 15:20:04 2002 @@ -57,7 +57,8 @@ disabled = 1; } - if (getenv("acpi_load") && (!disabled)) { + rv = getenv("acpi_load"); + if (rv != NULL && (!disabled) && (strcasecmp(rv,"NO") != 0)) { error = mod_load("acpi", NULL, 0, NULL); if (error != 0) printf("ACPI autoload failed - %s\n", strerror(error)); -- Craig Rodrigues http://www.gis.net/~craigr rodrigc@attbi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021116153005.A16366>