On Tuesday, June 8, 2004, at 01:59 PM, Miroslav Ruda wrote:
chas williams (contractor) wrote:That's your problem!!the cvs head of the 1.3 should build a working kernel on a stock 2.6 kernel distribution (it wont have pag support unless you patch the 2.6 kernel to export the sys call table though and on some of the non-i386 arches its also marked readonly which would also need to be changed).
Great, I was able to compile (but not use, see below) today's CVS head on Suse 9.1 64bit on Opteron. See attached patch and paramfile for amd64_linux26. I was not able to compile libafs with Suse kernel 2.6.4-54.5-x86_64-default (kbuild for libafs.ko failed), but complete compilation succeeded with vanila 2.6.6.
Patch should be applicable for others in most cases, the only problem I see is in acinclude.m4 - Suse kernel has version.h in in form
#include "some suse config file"
#ifdef default
UTS_RELEASE=..
#else
UTS_RELEASE=..
#fi
The best way would be to compile some program with this header file and print UTS_RELEASE.
I'm able to insert module to kernel, but I'm not able to start afsd - it' frozen and no cachefile was created.
sh -x /usr/vice/etc/go + /sbin/insmod /usr/vice/etc/libafs-2.6.6.ko + /usr/vice/etc/afsd -stat 2800 -dcache 2400 -daemons 5 -volumes 128 ... and afsd is frozen forever ...
dmeg |tail -2 libafs: module license 'unspecified' taints kernel. Failed to find address of sys_call_table
You have no exported sys_call_table. Just export it, recompile the kernel and hopefully it works...
Horst
_______________________________________________ OpenAFS-info mailing list [EMAIL PROTECTED] https://lists.openafs.org/mailman/listinfo/openafs-info
