[SM-Discuss] get_kernel_version don't return current running kernel version
Jens Laas
jens.laas at data.slu.se
Tue Oct 16 02:44:20 EDT 2007
(07.10.15 kl.00:42) Philippe caseiro skrev följande till sm-discuss at lists.i...:
> hello
>
> I have and old nvidia card ...
> To be up to date I try to compile fresh kernel but the new nvidia
> drivers no more support my old card.
> No problem SMGL is a great distribution an I found nvidia_legacy_96xx
> spell. Just what I need but nvidia_legacy_96xx don't compile with
> 2.6.23 ok I fall back to my 2.6.19 kernel
>
> I launch nvidia_legacy_96xx cast and it doesn't compile because on BUILD file
> KVER=$(get_kernel_version), KVER=2.6.23
> It's not my current running kernel and nvidia_legacy_96xx cast failed
>
> Should we correct this ?
I usually want to manage the kernel part of the system myself.
So what I do is:
$ dispel --noreap linux
And then make sure that /usr/src/linux is linked to the kernel you want to
be reported as the current kernel. Usually that is the kernel you run.
get_kernel_version will first check the version of kernel spell you have
installed. If no linux spell is installed it falls back to checking the
link in /usr/src. Something like that anyways.
Cheers,
Jens
>
> --
> Puppet_Master
> http://www.else-projects.org
> http://www.sourcemage.org
>
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>
-----------------------------------------------------------------------
'In theory, there is no difference between theory and practice.
But, in practice, there is.'
-----------------------------------------------------------------------
Jens Låås Email: jens.laas at data.slu.se
Department of Computer Services, SLU Phone: +46 18 67 35 15
Vindbrovägen 1
P.O. Box 7079
S-750 07 Uppsala
SWEDEN
-----------------------------------------------------------------------
More information about the SM-Discuss
mailing list