Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: 2.5.55 and today CVS: GREAT!!!



Hello Gregoire,

I think you know that 2.5.56 is out, and that there is a problem with
linux-dvb:

WARNING: /lib/modules/2.5.56/kernel/arch/i386/kernel/microcode.ko needs unknown symbol devfs_set_file_size
WARNING: /lib/modules/2.5.56/kernel/fs/nfsd/nfsd.ko needs unknown symbol hash_mem
By looking at these lines, you should not that not only the dvb drivers are affected... ;-)

I hope I didn't make something wrong again?
Nope. The "module-init-tools" (to be precise: depmod) have a bug -- modules with GPL exported symbols are not handled correctly. The dependencies do *not* include dependencies to GPL modules, so nearly everything fails...

http://www.de.kernel.org/pub/linux/kernel/people/rusty/modules/

Get the latest "module-init-tools-0.9.7.tar.gz" and apply the patch that has been posted on lklm by Petr Vandrovec. (I attached it to this mail, too).

Thank you very much ;-)
	Grégoire
CU
Michael.

diff -ur module-init-tools-0.9.7.src/moduleops_core.c module-init-tools-0.9.7/moduleops_core.c
--- module-init-tools-0.9.7.src/moduleops_core.c	2002-12-26 07:04:42.000000000 +0100
+++ module-init-tools-0.9.7/moduleops_core.c	2003-01-10 23:08:47.000000000 +0100
@@ -30,6 +30,9 @@
 	ksyms = PERBIT(load_section)(module->mmap, "__ksymtab", &size);
 	for (i = 0; i < size / sizeof(struct PERBIT(kernel_symbol)); i++)
 		add_symbol(ksyms[i].name, module);
+	ksyms = PERBIT(load_section)(module->mmap, "__gpl_ksymtab", &size);
+	for (i = 0; i < size / sizeof(struct PERBIT(kernel_symbol)); i++)
+		add_symbol(ksyms[i].name, module);
 }
 
 /* Calculate the dependencies for this module */


Home | Main Index | Thread Index