Re: Linux 2.2.0pre2

Roy C Bixler (rcb@press-gopher.uchicago.edu)
Thu, 31 Dec 1998 17:12:19 -0600 (CST)


On Wed, 30 Dec 1998, Linus Torvalds wrote:
> I'm going to be
> extremely rude to people who knew better but didn't test out the pre-
> kernels and then send me bug-reports on the released 2.2.0.

I had to apply the following patch to get the thing to compile on a
Pentium Pro UP system. Also, I noticed the problem on an AMD K6 machine
but solved that one by downgrading my processor configuration from
'PPro/K6' to 'Pentium/TSC'. Is that the best fix?

--- include/asm-i386/bugs.h.sav Thu Dec 31 10:10:49 1998
+++ include/asm-i386/bugs.h Thu Dec 31 10:39:07 1998
@@ -350,7 +350,7 @@
#endif

/* If we were told we had a good APIC for SMP, we'd better be a PPro */
-#ifdef CONFIG_GOOD_APIC
+#if (defined(CONFIG_GOOD_APIC) && defined(__SMP__))
if (smp_found_config && boot_cpu_data.x86 <= 5)
panic("Kernel compiled for PPro+, assumes local APIC without read-before-write bug");
#endif

---
Roy Bixler
The University of Chicago Press
rcb@press-gopher.uchicago.edu

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/