Date: Fri, 19 Sep 2008 16:20:29 +0200 (CEST) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-stable@FreeBSD.ORG, jhb@FreeBSD.ORG Subject: Re: ACPI "blacklist" question Message-ID: <200809191420.m8JEKTEf002635@lurza.secnetix.de> In-Reply-To: <200809171144.48424.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin wrote: > On Wednesday 17 September 2008 07:47:18 am Oliver Fromme wrote: > > I have recently updated a machine to 7-stable. > > ACPI doesn't seem to work correctly on this machine. > > With earlier versions of FreeBSD (including the latest > > RELENG_6), I got this line in dmesg: > > > > ACPI disabled by blacklist. Contact your BIOS vendor. > > > > And everything was fine. The box runs perfectly well > > with ACPI disabled. (I can't get a BIOS update because > > the mainboard is too old.) > > > > When I updated to RELENG_7 a few days ago, the above line > > did _not_ appear anymore, and the machine didn't proceed > > [...] > > This is a regression. Try this fix: > > Index: acpi_quirk.c > =================================================================== > --- acpi_quirk.c (revision 183112) > +++ acpi_quirk.c (working copy) > @@ -149,9 +149,9 @@ > if (ACPI_FAILURE(AcpiGetTableHeader(ACPI_SIG_FADT, 0, &fadt))) > bzero(&fadt, sizeof(fadt)); > if (ACPI_FAILURE(AcpiGetTableHeader(ACPI_SIG_DSDT, 0, &dsdt))) > - bzero(&fadt, sizeof(dsdt)); > + bzero(&dsdt, sizeof(dsdt)); > if (ACPI_FAILURE(AcpiGetTableHeader(ACPI_SIG_XSDT, 0, &xsdt))) > - bzero(&fadt, sizeof(xsdt)); > + bzero(&xsdt, sizeof(xsdt)); > > /* Then, override the quirks with any matched from table signatures. */ > for (entry = acpi_quirks_table; entry->match; entry++) { The patch fixes the problem. The blacklist message is now back again, and the machine boots without hints right out of the box. Thanks! Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.'
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809191420.m8JEKTEf002635>