[OpenAFS] 1.3.79 on RHEL4?
Stephan Wiesand
Stephan.Wiesand@desy.de
Mon, 28 Feb 2005 18:41:55 +0100 (CET)
Hmm, it doesn't apply to a 1.3.79 tarball. There's nothing suitable for
the second hunk in that file. Applying the first hunk only makes inserting
the module fail:
libafs: module license 'unspecified' taints kernel.
libafs: no version for "sys_close" found: kernel tainted.
libafs: Unknown symbol AFS_ASSERT_RXGLOCK
libafs: Unknown symbol AFS_ASSERT_GLOCK
On Mon, 28 Feb 2005, chas williams - CONTRACTOR wrote:
> In message <Pine.LNX.4.61.0502281351590.22360@arwen.ifh.de>,Stephan Wiesand wri
> tes:
>> [root@tsl4 ~]# grep -i preempt /lib/modules/2.6.9-5.0.3.EL/build/.config
>> # CONFIG_PREEMPT is not set
>> CONFIG_PREEMPT_VOLUNTARY=y
>
> CONFIG_PREEMPT_VOLUNTARY means you get some preemption. just to test
> this theory that its preempt, can you try this patch with a up kernel:
>
> Index: src/afs/LINUX/osi_machdep.h
> ===================================================================
> RCS file: /cvs/openafs/src/afs/LINUX/osi_machdep.h,v
> retrieving revision 1.24
> diff -u -u -r1.24 osi_machdep.h
> --- src/afs/LINUX/osi_machdep.h 14 Jan 2005 17:36:40 -0000 1.24
> +++ src/afs/LINUX/osi_machdep.h 28 Feb 2005 16:06:27 -0000
> @@ -193,7 +193,7 @@
> /* function to help with the page offset stuff */
> #define afs_linux_page_address(page) (afs_linux_page_offset + PAGE_SIZE * (page - mem_map))
>
> -#if defined(__KERNEL__) && defined(CONFIG_SMP)
> +#if 1
> #include "../h/sched.h"
> #include "linux/wait.h"
>
> @@ -24,7 +24,7 @@
> #define AFS_GLOBAL_RXLOCK_KERNEL 1
>
>
> -#ifdef CONFIG_SMP
> +#if 1
> #define RX_ENABLE_LOCKS 1
>
> #ifndef _LINUX_CODA_FS_I
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>
--
----------------------------------------------------
| Stephan Wiesand | |
| | |
| DESY - DV - | phone +49 33762 7 7370 |
| Platanenallee 6 | fax +49 33762 7 7216 |
| 15738 Zeuthen | mobile +49 171 317 6367 |
| Germany | email stephan.wiesand@desy.de |
----------------------------------------------------