unversioned udiv taints kernel
Hello,
I finally got some kernel-images for 2.6 built up on sparc32, but one thing I had to do to get stuff to fit the 2500KB limit was to break out scsi into modules and use an initial ramdisk. However:
$ dmesg | grep udiv scsi_mod: no version for "udiv" found: kernel tainted.
This is the only such occurrence. arch/sparc/kernel/sparc_ksyms.c says:
EXPORT_SYMBOL(udiv);
Christoph Hellwig suggested EXPORT_SYMBOL_NOVERS but:
/* We don't mangle the actual symbol anymore, so no need for
* special casing EXPORT_SYMBOL_NOVERS. FIXME: Deprecated */
#define EXPORT_SYMBOL_NOVERS(sym) EXPORT_SYMBOL(sym)
What's the right way to fix this?
Signature · 1 line
Joshua Kwan
Quoted 7 lines · Joshua Kwan
$ dmesg | grep udiv scsi_mod: no version for "udiv" found: kernel tainted.This is the only such occurrence.
arch/sparc/kernel/sparc_ksyms.csays:
EXPORT_SYMBOL(udiv);
Quoted 7 lines
Christoph Hellwig suggested
EXPORT_SYMBOL_NOVERSbut:/* We don't mangle the actual symbol anymore, so no need for
* special casingEXPORT_SYMBOL_NOVERS. FIXME: Deprecated */
#defineEXPORT_SYMBOL_NOVERS(sym)EXPORT_SYMBOL(sym)What's the right way to fix this?
The versioning method has changed; all symbols are versioned now using a different method. I believe I had fixed this quite a while ago - check the bk logs. What kernel are you using?
Signature · 2 lines
Keith M Wesolowski "Site launched. Many things not yet working." --Hector Urtubia
Quoted 3 lines · Keith M Wesolowski
The versioning method has changed; all symbols are versioned now using a different method. I believe I had fixed this quite a while ago - check the bk logs. What kernel are you using?
2.6.8.1. It's reproducible any time core SCSI support is modularized.
Signature · 1 line
Joshua Kwan