Re: kernel or syskold not supporting flavours
Yann Dirson writes:
[cc to the sysklogd list]
> > On Sun, Mar 08, 1998 at 11:08:42AM +0100, Yann Dirson wrote:
> >
> > > [for a kernel with $(uname -r)=="2.0.33-std"]
> >
> > What's this? I never saw it before. I'm sure this breaks klogd.
>
> It comes from a patch by Manoj. You'll find it and its description in
> /usr/doc/kernel-package/Flavours.gz (Package: kernel-package)
>
> It appears that the kernel always uses as a version string the one
> built in the top Makefile, so it seems so far to be perfectly safe to
> all (post 2.0 at least) kernels.
>
> This is the string returned by $(uname -r). I don't know how klogd
> gets its version string, but it should probably do this like uname
> does, for system consistency.
klogd gets his information through uname, too:
if ( uname(&utsname) < 0 )
{
Syslog(LOG_ERR, "Cannot get kernel version information.");
return(0);
}
Aferwords a special file is about to be opened:
sprintf (symfile, "%s-%s", *mf, utsname.release);
Does utsname contain that 'flavour'?
I'm not sure which error we receive but I suppose there is just
another source of problems: Linus has encoded the kernel version
in the System.map. Does your kernel flavour reflect this?
Look at your System.map and look for 'Version_'. You should
probably find something like:
001ab97c D Version_131105
which reflects kernel 2.0.33.
> Note: I suggested to Manoj to submit this patch to Linus, I'm not sure
> if he finally did.
I don't think that he would include it. He's even not going to include
my MODPATH patch which makes it possible not to install the modules
beneath /lib/modules but somewhere else which is very important if
you're compiling for other machines.
Regards,
Joey
--
/ Martin Schulze * joey@infodrom.north.de * 26129 Oldenburg /
/ A mathematician is a machine /
/ for converting coffee into theorems /
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: