<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: Re: depmod -a undefined symbols
From: ewheeler,AT,kaico,DOT,com
Date: Tue, 10 Jul 2001 03:15:40 +0200
In-reply-to: <200107092332.f69NWDR05374@malone.scotnet.co.uk>

Jon --

You need to build the cipcb.o module for the exact source tree & .config
file that the kernel your firewall is running was built on.  You might be
able to futz with it to find out which CONFIG lines on .config add
csum_partial and memcpy_toiovec which your current module depends on.  If
you comment out those lines it should (might?) stop complaining.  I've
found lxr.linux.no to work really well for searching for function names to
find what CONFIG lines in .config are making these guys required.


On Mon, 9 Jul 2001 jon,AT,malone,DOT,scotnet,DOT,co,DOT,uk wrote:

> First CIPE works great in the test environment - nice package and pkcipe
> makes it easy to setup.  RH7 at both ends, no troubles.
> Came to roll it out on my firewall - well not my firewall - the firewall
> I go through. I get a depmod -a problem.
> insmod show the problem as 2 undeclared variables - BUT these are in the
> nm of the vmlinux image.  This is what I get on insmod:
>       bash# insmod -f cipcb.o
>       csum_partial undefined
>       memcpy_toiovec undefined
>       Failed to load module! The symbols from kernel 2.0.34 don't match 
>       bash# 
> Somebody (Olaf) taked about insmod -af cipcb.o:
> "You're running an unversioned-symbols module in a versioned-symbols
> kernel. depmod correctly warns that it doesn't find the symbols, but
> insmod is cleverer and tries the non-versioned counterparts of symbols
> if the versioned one is not found in the kernel." 
> I did try a make menuconfig (or suchlike) talked about in the mail list
> and it did not improve the situation. (but I could not reboot on the new
> kernel).
> Traced quite a few things on the mailing list as this is a common problem 
> still can't get to the bottom.
> My kernel is old --
>       Linux tinomen 2.0.34 #3 Fri Sep 25 14:27:06 BST 1998 i486
> and since the firewall is busy and not mine I can't upgfrade to RH7.  
> I am trying to do this without any downtime at all.  
> Do I need to go for a kernel rebuild?
> Is there something else I can look at?
> How come the symbols are in nm vmunix but insmod does not get to them?
> Any clues would be welcome.
> jon
> --
> Message sent by the cipe-l,AT,inka,DOT,de mailing list.
> Unsubscribe: mail majordomo,AT,inka,DOT,de, "unsubscribe cipe-l" in body
> Other commands available with "help" in body to the same address.
> CIPE info and list archive: 

<< | Thread Index | >> ]    [ << | Date Index | >> ]