[OpenAFS] linux kernel options ?

Derrick J Brashear shadow@dementia.org
Thu, 25 Nov 2004 12:50:33 -0500 (EST)


On Thu, 25 Nov 2004, EC wrote:


>>> EIP; c0110806 <wait_for_completion+66/ac>   <=====
>
> Trace; d88cd03b <[libafs-2.4.28.4es]afs_DaemonOp+6b/e0>
> Trace; d88ccf90 <[libafs-2.4.28.4es]afsd_launcher+0/40>
> Trace; d88cdb99 <[libafs-2.4.28.4es]afs_syscall_call+ae9/b10>

I missed this oops earlier somehow. I've seen this before. It looks like 
an error that was present early on in RedHat-based 2.6 kernels in 
something that eventually became standard, but I don't remember what 
offhand.

It might have been this patch to param.i386_linux26.h, which presumably 
you can do the same thing to param.i386_linux24.h with:
--- param.i386_linux26.h        2 Jun 2004 02:55:59 -0000       1.2
+++ param.i386_linux26.h        29 Jul 2004 21:29:18 -0000      1.3
@@ -33,13 +33,17 @@

  #include <linux/config.h>
  #ifdef CONFIG_SMP
-#undef CONFIG_SMP
+#ifndef AFS_SMP
+#define AFS_SMP 1
+#endif
  #endif
  /* Using "AFS_SMP" to map to however many #define's are required to get
   * MP to compile for Linux
   */
  #ifdef AFS_SMP
+#ifndef CONFIG_SMP
  #define CONFIG_SMP 1
+#endif
  #ifndef CONFIG_X86_LOCAL_APIC
  #define CONFIG_X86_LOCAL_APIC 1
  #endif