Skip to contentSkip to conversation

unknown symbol uts_sem in solaris.ko

DISCUSSION Meelis Roos 2 participants 2 messages Nov 10, 2005

lore
Share & tools
lore
#0 lore raw

Todays git release gives this:

WARNING: /lib/modules/2.6.14-g3b44f137/kernel/arch/sparc64/solaris/solaris.ko needs unknown symbol uts_sem

Maybe a result of recent changes to stop extra rebuilds when only localversion changes - so only utsname is affected.

Signature · 1 line
Meelis Roos ([email protected])
#1 lore raw

From: Meelis Roos <[email protected]>
Date: Thu, 10 Nov 2005 15:09:29 +0200 (EET)

Quoted 2 lines

Maybe a result of recent changes to stop extra rebuilds when only localversion changes - so only utsname is affected.

No, it's because the uts_sem module export got erroneously removed, the author of that change didn't notice the sparc64 solaris module usage. I'll re-export it as follows:

diff-tree 393b07258766130146b962bc294d66615a47468a (from a46699c9a32505cb5bbfd16f76e7d4a2c84a7705)

Author: David S. Miller <[email protected]>
Date:   Thu Nov 10 12:47:50 2005 -0800

[SPARC64]: Re-export uts_sem for solaris compat module.

Revert: b26b9bc58263acda274f82a9dde8b6d96559878a

kernel/sys.c +2 -0
index c43b3e2..bce933e 100644
@@ -1497,6 +1497,8 @@ EXPORT_SYMBOL(in_egroup_p);
 
 DECLARE_RWSEM(uts_sem);
 
+EXPORT_SYMBOL(uts_sem);
+
 asmlinkage long sys_newuname(struct new_utsname __user * name)
 {
 	int errno = 0;