Hi,
On 9/14/2011 at 02:25 PM, in message
, Ciro Iriarte wrote: 2011/9/14 Ann Davis : Hi, On 9/14/2011 at 09:04 AM, in message
, Ciro Iriarte wrote: Hi, I'm experimenting with kmp packages, the thing is that if the version don't match exactly the version of the kernel I can't load them... Current kernel installs modules in /lib/modules/2.6.32.45-0.3-pae, but my OBS generated kmp puts them in /lib/modules/2.6.32.45-1-pae/updates. In that situation, modprobe fails with "ERROR: modinfo: could not find module <name>".
I tought kmp could handle minor version changes in kernel, although in this case I've built the kmp with that exact same target kernel, OBS is the one changing the release numbers..
I assume you're building against SLES 11 SP1...? KMP should be able to handle this change as long as the symsets required by your KMP are satisfied by the running kernel. When the KMP is installed, you should get a /lib/modules/2.6.32.45-0.3-pae/updates/weak-updates/<driver-name> link that points to /lib/modules/2.6.32.45-1-pae/updates/<driver-name>. Do you get this link?
Regards,
Ann
Yes, I'm recompiling ip_vs included on HAE with latest kernel update available...
glb1:~ # rpm -ql cluster-network-kmp-pae /lib/modules/2.6.32.45-1-pae /lib/modules/2.6.32.45-1-pae/updates /lib/modules/2.6.32.45-1-pae/updates/ipvs /lib/modules/2.6.32.45-1-pae/updates/ipvs/ip_vs.ko /lib/modules/2.6.32.45-1-pae/updates/ipvs/ip_vs_dh.ko /lib/modules/2.6.32.45-1-pae/updates/ipvs/ip_vs_ftp.ko /lib/modules/2.6.32.45-1-pae/updates/ipvs/ip_vs_lblc.ko /lib/modules/2.6.32.45-1-pae/updates/ipvs/ip_vs_lblcr.ko /lib/modules/2.6.32.45-1-pae/updates/ipvs/ip_vs_lc.ko /lib/modules/2.6.32.45-1-pae/updates/ipvs/ip_vs_nq.ko /lib/modules/2.6.32.45-1-pae/updates/ipvs/ip_vs_rr.ko /lib/modules/2.6.32.45-1-pae/updates/ipvs/ip_vs_sed.ko /lib/modules/2.6.32.45-1-pae/updates/ipvs/ip_vs_sh.ko /lib/modules/2.6.32.45-1-pae/updates/ipvs/ip_vs_wlc.ko /lib/modules/2.6.32.45-1-pae/updates/ipvs/ip_vs_wrr.ko /lib/modules/2.6.32.45-1-pae/updates/netfilter /lib/modules/2.6.32.45-1-pae/updates/netfilter/ipt_CLUSTERIP.ko
glb1:~ # find /lib/modules/$(uname -r) -iname "*updates*" /lib/modules/2.6.32.45-0.3-pae/weak-updates /lib/modules/2.6.32.45-0.3-pae/weak-updates/updates
There are no links for ip_vs.ko after installing kmp package.
The above looks fine, but it doesn't indicate whether there are any files or links in /lib/modules/$(uname -r)/weak-updates/updates/. What is the output of "find /lib/modules/$(uname -r)/weak-updates/updates/? There should be links here. Note that the links are created by the kmp postinstall, so they won't appear in "rpm -ql cluster-network-kmp-pae". If there are no links in /lib/modules/$(uname -r)/weak-updates/updates/, then what is the output of "rpm -q --scripts cluster-network-kmp-pae"? This should show the postinstall script that makes the links. Thanks, Ann
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