Latest kernel don't boot with 4KSTACKS not set

Mike McEwan mike_mcewan at hotmail.com
Mon May 10 23:53:36 UTC 2004


Found the problem. It would appear that the '4g4g.patch' has also had some 
CONFIG_4KSTACKS stuff removed recently. I applied the following and 
everything is fine once more.

Make sure it's applied *after* the '4g4g.patch':

--- include/asm-i386/processor.h.orig	2004-05-09 23:50:05.000000000 +0100
+++ include/asm-i386/processor.h	2004-05-10 23:27:37.835866624 +0100
@@ -408,11 +408,11 @@

#define ARCH_MIN_TASKALIGN	16

-
+#ifdef CONFIG_4KSTACKS
#define STACK_PAGE_COUNT	(4096/PAGE_SIZE)
-
-
-
+#else
+#define STACK_PAGE_COUNT	(8192/PAGE_SIZE)	/* THREAD_SIZE/PAGE_SIZE */
+#endif

struct thread_struct {
/* cached TLS descriptors. */

--
Mike.

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger





More information about the fedora-test-list mailing list