Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2166 - ACPI does not compile under gentoo-sources -- SMP related?
Summary: ACPI does not compile under gentoo-sources -- SMP related?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-27 17:49 UTC by Scott A. Friedman
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott A. Friedman 2002-04-27 17:49:18 UTC
Speaks for itself...

Compiled fine under 2.4.19-r1, I used the default .config file made sure SMP 
was on and ACPI. Tried it with low latency on and off.

PS - the first release of gentoo-sources is a real headache!
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-04-28 01:57:46 UTC
This was a bug in the -pre7-ac2 kernel itself and I'm submitting the one-liner
fix for the problem upstream to Alan Cox. As you might guess, this'll be fixed
in the next gentoo-sources release.

I'm sorry it was such a headache to experience this bug and we're doing
everything we can to ensure that our kernels are of the highest possible
quality.  You can apply this one-liner patch to fix the problem (backup your
.config and do a "make mrproper", cp config back, "make oldconfig", "make dep"
after patching it):

--- linux-2.4.18-pre7-ac2/drivers/acpi/ospm/system/sm_osl.c     Sun Apr 28
00:38:59 2002
+++ linux-2.4.19-gentoo/drivers/acpi/ospm/system/sm_osl.c       Sun Apr 28
00:27:58 2002
@@ -35,6 +35,7 @@
 #include <asm/io.h>
 #include <linux/mc146818rtc.h>
 #include <linux/delay.h>
+#include <linux/suspend.h>
 
 #include <acpi.h>
 #include "sm.h"
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-04-30 12:00:28 UTC
will be fixed under gentoo-sources-2.4.19-r1 (fixing it up now)