2.6.31 vermagic question.

Pete Graner pgraner at canonical.com
Mon Aug 17 14:28:45 UTC 2009


I have pushed your email to the kernel-team mailing list so the team can 

Team, this came in via LP can you guys help out on this one?



justinchudgar wrote:
> I am trying to test a development hwmon driver for the VIA C7 CPUs that
> was posted on the lm-sensors.org mailing list. I extracted the 2.6.31
> kernel source from the tarball in /usr/src and applied the patch.
> I then did a 'make menuconfig', using the
> '/boot/2.6.31-5-generic.config', to enable the driver. I built the
> driver module using 'make drivers/hwmon/via_cputemp.ko' which worked as
> expected; except that the vermagic string does not match that of the
> running binary package kernel. The vermagic string from my apt installed
> kernel is:
>     vermagic: 2.6.31-5-generic SMP mod_unload modversions 586
> while the string from the module I built is:
>     vermagic: 2.6.31-rc5 SMP mod_unload modversions 586.
> Note the '-rc5' in the built from source module that is different from
> the running kernel. Can someone explain why the Ubuntu provided source
> differs from the Ubuntu provided binary; and, what, if anything, I can
> do to resolve this. I would greatly prefer not to rebuild the whole
> kernel to test one driver as I am using a netbook with a very limited
> processor.
> Also note that the kernel binary and kernel source packages are the
> latest and greatest as provided by 'apt-get update; apt-get dist-
> upgrade' using the Karmic repos.
> Thanks for helping.
> Justin

Pete Graner		<pgraner at canonical.com>
Ubuntu Kernel Team	
Canonical Ltd.		http://www.canonical.com/

More information about the kernel-team mailing list