[OpenAFS] afsmodname getting it wrong?
Derek Atkins
warlord@MIT.EDU
24 Jun 2002 10:49:56 -0400
Matt Cocker <matt@cs.auckland.ac.nz> writes:
> Hi
Hi,
> We are running openafs-1.2.4 and 1.2.5 clients/servers on Redhat Linux
> boxes and are having problems with afsmodname selecting the wrong
> kernels at start up if we use the i686 kernel. Here is the info from
You don't say which particular kernel you are running. You're running
the 'smp' kernel?
> iget4 smp_e0311e23 - 2.4.18-3-i686.mp
> > sock_create=smp_083c8c04
> iget4 smp_e0311e23 - 2.4.18-3
> > sock_create=smp_083c8c04
Hmm, I'm not sure what "2.4.18-3" is from. I also notice that you
don't have a .bm kernel. Very odd... I'm going to have to take a
look at this. Unfortunately I don't have a very good algorithm to
decide which kernels to build. The fact that iget4 and sock_create
are the same for both kernels is also a problem, but I'd be interested
to know why it's not working.
Very odd indeed.
> Here is afsmodname -d
>
> Try 2.4.18-3-athlon (iget4=17142487)
> get_ksym(iget4) => [addr=c0158b10, vers=smp_e0311e23, mod=KERNEL]
> get_ksym(sock_create) => [addr=c01d5d80, vers=smp_083c8c04, mod=KERNEL]
> Try 2.4.18-3-i386 (iget4=1c443e56)
> Try 2.4.18-3-i586.mp (iget4=smp_847728e5)
> Try 2.4.18-3-i586 (iget4=bd093f49)
> Try 2.4.18-3-i686.mp (iget4=smp_e0311e23)
> Try 2.4.18-3-i686 (iget4=17142487)
> Try 2.4.18-3 (iget4=smp_e0311e23)
> libafs-2.4.18-3.o
>
> This causes all sorts of problems when the libafs-2.4.18-3.o kernel
> module tries to load. I fixed it by deleting the "iget4 smp_e0311e23
Ok, what sorts of problems?
> 2.4.18-3" line. But is there a better way?
Well, there shouldn't be a "2.4.18-3" line; I suspect that a patch I
asked for 1.2.4 didn't make it into the 1.2.5 release -- I'll have to
go take a look.
> Also on one machine there is no iget4 lines in /proc/ksyms
Did you compile your own kernel on this machine? It sounds like you
recompiled a kernel without kernel symbols.
> Again a manual edit of the init.d script fixes it.
How did you edit the init script to fix this?
> Cheers
>
> Matt
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available