From: Pavel Machek on
Hi!

I guess version check is needed, but this is excessive:

Apr 5 07:33:16 amd kernel: udlfb: version magic
'2.6.34-rc3-00345-ge8240f9-dirty SMP mod_unload CORE2 ' should be
'2.6.34-rc3-00344-g548fc0a-dirty SMP mod_unload CORE2 '

Yes, I played with git and recompiled my kernel in order to get new
module version, but... not even insmod -f works.

Having to reboot every time I recompile the module or play with git
makes modules useless for development :-(.
Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Frans Pop on
Pavel Machek wrote:
> Apr 5 07:33:16 amd kernel: udlfb: version magic
> '2.6.34-rc3-00345-ge8240f9-dirty SMP mod_unload CORE2 ' should be
> '2.6.34-rc3-00344-g548fc0a-dirty SMP mod_unload CORE2 '
>
> Yes, I played with git and recompiled my kernel in order to get new
> module version, but... not even insmod -f works.
>
> Having to reboot every time I recompile the module or play with git
> makes modules useless for development :-(.

Disable CONFIG_LOCALVERSION_AUTO?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Frans Pop on
On Tuesday 06 April 2010, Pavel Machek wrote:
> Yes, but... should module version checking be fixed so that it does
> not interfere like that?

I don't think so. Essentially you are getting what you configured: an
extremely fine-grained kernel version. It's up to you to decide whether
the benefits of that outweigh the limitations it brings.

Stripping parts of the kernel version for module compatibility checks could
interfere with suffixes explicitly added by distros to specify ABI
compatibility.

Cheers,
FJP
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/