Skip to contentSkip to conversation

unversioned udiv taints kernel

sparc32 Joshua Kwan 2 participants 3 messages Aug 27, 2004

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw
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.c says:

EXPORT_SYMBOL(udiv);

Quoted 7 lines

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?

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
#2 lore raw
In reply to Joshua Kwan
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