On Fri, Jan 09, 2004 at 03:38:28PM -0800, Bob Miller wrote:
> I'm trying to upgrade to a 2.4.22 kernel.  It boots, but it can't load
> most modules.  I get errors like this.
> 
>       # insmod lvm-mod
>       Using /lib/modules/2.4.22-gentoo-r2/kernel/drivers/md/lvm-mod.o
>       /lib/modules/2.4.22-gentoo-r2/kernel/drivers/md/lvm-mod.o: unresolved symbol 
> kernel_flag_cacheline
> 
> kernel_flag_cacheline is clearly an exported symbol -- I can see it in
> i386_ksyms.c and in the output of "strings /usr/src/linux/vmlinux".
> (Actually, I see the versioned symbol
> kernel_flag_cacheline_Rsmp_eb36899a.)
> 
> I built the kernel and the modules from the same sources and
> config options.
> 
> What am I doing wrong?  How can I get this kernel to load modules?
> 
> Thanks...

Don't know if it helps, but shouldn't you use 'nm' to see symbols?

Does
$ nm /usr/src/linux/vmlinux | grep kernel_flag_cacheline
look right?

Maybe kernel_flag_cacheline is really defined in another module that
needs to be loaded first?

$ cd /lib/modules/2.4.22-gentoo-r2
$ for i in `find . -name \*.o`; do nm $i | grep kernel_flag_cacheline; done

-- 
<[EMAIL PROTECTED]>
_______________________________________________
EuG-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to