2.2.20 - Possible module symbol bug

From: David Ranch (dranch@juniper.net)
Date: Fri Nov 09 2001 - 15:48:34 EST


Hello esteemed Linux gurus,

I think I've found a bug in 2.2.20. Specifically,
if I compile up a 2.2.20 kernel on a Mandrake 7.0 box
(glibc 2.1.3 - modutil 2.1.121) and run "depmod -a", all
IPMASQ modules, loop, and ide-scsi modules fail dependencies.

--
#depmod -a
/lib/modules/2.2.20/scsi/ide-scsi.o: unresolved symbol(s)
/lib/modules/2.2.20/block/loop.o: unresolved symbol(s)
/lib/modules/2.2.20/ipv4/ip_masq_vdolive.o: unresolved symbol(s)
/lib/modules/2.2.20/ipv4/ip_masq_quake.o: unresolved symbol(s)
/lib/modules/2.2.20/ipv4/ip_masq_raudio.o: unresolved symbol(s)
/lib/modules/2.2.20/ipv4/ip_masq_irc.o: unresolved symbol(s)
/lib/modules/2.2.20/ipv4/ip_masq_ftp.o: unresolved symbol(s)
/lib/modules/2.2.20/ipv4/ip_masq_user.o: unresolved symbol(s) 

#modprobe --debug ip_masq_ftp /lib/modules/2.2.20/ipv4/ip_masq_ftp.o: unresolved symbol ip_masq_new /lib/modules/2.2.20/ipv4/ip_masq_ftp.o: unresolved symbol ip_masq_put /lib/modules/2.2.20/ipv4/ip_masq_ftp.o: unresolved symbol ip_masq_listen /lib/modules/2.2.20/ipv4/ip_masq_ftp.o: unresolved symbol ip_masq_control_add /lib/modules/2.2.20/ipv4/ip_masq_ftp.o: unresolved symbol ip_masq_out_get --

If I do this make config on a a Mandrake 7.2 machine (Glibc 2.1.3 - modutils 2.3.21), only the loop module fails.

If I do this on a Mandrake 8.0 machine (Glibc 2.2.2 - modutils 2.4.3), everything is FINE.

So, playing around with the kernel config a little, I've found that if I -do not- enable "CONFIG_MODVERSIONS", then everything is ok on all machines.

Any thoughts on what is going on? If possible, please CC: on the the reply as I'm not on the linux-kernel list nor can my email box handle the additional load. ;-) Thanks.

Ps. If anyone would like a copy of the .config or the System.map files, please email me.

--David - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 15 2001 - 21:00:23 EST