[lkml]   [2003]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: no version magic, tainting kernel.
On Mon, Jan 27, 2003 at 09:02:11AM +0000, David Woodhouse wrote:
> said:
> > From my exprience at VMware newsgroups distros have bad troubles even
> > with delivery of basic configured kernel headers matching to kernel
> > binaries they provide (it is not unusual that for example they go from
> > 1GB to 4GB kernel without make mrproper so kmap/kunmap do not have
> > proper versions attached :-( or they even sell headers and binaries
> > with different configs).
> But you _need_ the config. Even with your own makefiles, how are you going
> to get it right for all new kernels that $CRAPDISTRO ships in a broken form,
> if you don't have the configs?

Yes, but currently you need only 3 files: autoconf.h, version.h, and, eventually
.config, as other headers are read-only and nobody managed to get them
wrong (yet).

When using kernel Makefiles there are at least two more files (main and arch Makefile),
of which main Makefile is known to be modified by vendors to get their cloneconfig
working: they define additional rules and variables, and you may run into conflict.

> If distros ship broken crap which doesn't let you build modules, there's
> really not a lot you can do except note their quality control for the
> record and report it in their bug tracking system.
> You are _always_ going to have problems with people shipping shite, or
> possibly even actively going our of their way to prevent out-of-tree modules
> building. It's fairly much an orthogonal problem though, isn't it?

Increasing number of files needed to build module also increases possibility
that something will go wrong :-( Ok, I'll modify modules build script to
use kernel's build system if /lib/modules/`uname -r`/build/Makefile exists,
and I'll see.

BTW, is there any way how code outside of Makefile can detect what file was
generated and where it was stored: whether vmmon.o or vmmon.ko? As it is now,
Makefile contains obj-y := vmmon.o, but you can end up with vmmon.ko... I
need it to make a note for uninstaller which files we added to the system
(and which we can overwrite without prompting on upgrade).

Petr Vandrovec
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:32    [W:0.055 / U:1.756 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site