2.2.20 - Possible module symbol bug

David Ranch
2001-11-09T20:49:11Z

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