On 9/15/2011 at 10:30 AM, in message <4E71D3B4020000D6000C7E1E@novprvoes0310.provo.novell.com>, "Ann Davis"
wrote: Ciro, On 9/15/2011 at 09:25 AM, in message
, Ciro Iriarte wrote: Ann, 2011/9/14 Ann Davis
: The postinstall script is fine but the links didn't get made. So this means
"/bin/bash -${-/e/} $wm2 --add-kmp $nvr" command in the postinstall
that the scriptlet failed to make the links. This command just calls the "/usr/lib/module-init-tools/weak-modules2" script if you want to take a look at what it does.
## weak-modules2 ##
Execution: bash -x /usr/lib/module-init-tools/weak-modules2 --add-kmp cluster-network-kmp-pae-1.4_2.6.32.45_1-4.4
Output: http://pastebin.com/KGxYkML1
Aha, I believe you have hit a known bug where the weak-modules2 script does not make the links if the /lib/modules/$version tree has kabi mismatches. (Actually, if you look at the output, weak-modules2 makes the links then removes them after it sees the mismatches due to the infiniband drivers). One of the bugs on this is bugzilla #707793 (I don't know if you have access...) but I remember that there's another bug with more info. I believe the core issue is with the HP PSP infiniband drivers that cause the mismatch but let me do a little research if I can find more info.
The original bugzilla is #682078 and the problem is with the hp-mlnx-en-kmp rpm. I believe that the HP PSP installs this rpm even if your system doesn't have a mellanox card. So if you don't need hp-mlnx-en-kmp, you might want to remove it then install your kmp. I think that should take care of the problem... for this and future kmp installs. BTW, thanks for posting the detailed weak-modules2 output, that was the key for debugging. :) Ann
Ann
The most likely reason for the weak-modules2 script not to make links would
be that the symsets required by your -kmp package are not provided by the running kernel. To see the symsets required by your kmp, run "rpm -q --requires cluster-network-kmp-pae". What is that output? Then compare it to the symsets provided by your running kernel as listed in
/boot/symsets-$(uname -r).tar.gz.
"Requires" output: http://pastebin.com/rvhbsgE1
All 58 symbols match...
glb1:~ # zcat /boot/symsets-$(uname -r).tar.gz|strings > symsets.txt glb1:~ # rpm -q --requires cluster-network-kmp-pae |grep kernel|cut -f 2 -d "="|wc -l 58 glb1:~ # for ID in $(rpm -q --requires cluster-network-kmp-pae |grep kernel|cut -f 2 -d "=");do grep $ID symsets.txt ;done|wc -l 58
Ann
Regards,
Regards,
-- Ciro Iriarte http://cyruspy.wordpress.com -- -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org