Re: RealTime Kernel for openSUSE 10.3 x86_64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, October 17, 2007 16:04, David Haggett wrote:
> On Wednesday 17 October 2007, Rui Nuno Capela wrote:
>
>>> The default kernel and kernel source packages have both moved on to
>>> 2.6.22.9-0.4 - so if I install the RT kernel, I will not be able to
>>> install the NVidia driver for it.
>>>
>>> I am now trying to downgrade the kernel and sources to the original
>>> shipped version so I can try the RT version.  Does anyone have any
>>> advice that might help?
>>
>> Interesting :) have a look up here:
>>   http://www.rncbc.org/drupal/node/38
>>
>
> Hmm
>
>
> Well downgrading the kernel was partly successful - i.e. I got back to
> version 2.6.22.5-31, installed the sources and re-installed the NVidia
> driver.  I then managed to install the NVidia driver against the default
> kernel.
>
> I then managed to install the kernel-rt package, and once again booted
> into text mode.
>
> Sadly, installing the NVidia module once again failed - basically the
> same message as with 10.2
>
> ERROR: The kernel header file
> '/lib/modules/2.6.22.5-31-rt/build/include/linux/version.h' does not
> exist.  The most likely reason for this is that the kernel source files in
> '/lib/modules/2.6.22.5-18-rt/build' have not been configured.
>
>
> I've done some digging:
>
>
> /lib/modules/2.6.22.5-31-rt/build is a symlink to
> /usr/src/linux-2.6.22.5-31-obj/x86_64/rt
>
>
> This directory contains only a single file called Module.symvers
> (matching
> kernel-rt and kernel-source installed.
>
> I've gone back to the updated kernel, and successfully re-installed the
> NVidia
> driver - so I evidently have correctly configured sources.  Looking at
> /usr/src/linux-2.6.22.5-31-obj/x86_64, there are directories for default,
> xen and debug, and they each contain version.h - but there is no rt/
> folder.
>
> I'm not a coder, so all I have to go on is logic - but it appears to me
> that the kernel-source package does not include the necessary files for a
> realtime kernel.
>
> Is there any way that these files can be generated without rebuilding the
>  kernel?
>

that is exactly the issue.

the contents in /usr/src/linux-obj/$ARCH/rt directory is incomplete and
afaict not being made available in any package spec.

iow it is not being supplied in the kernel-source.$ARCH.rpm where
ARCH=(i386|x86_64|...) and that is why i had to build it "by-hand" the
whole kernel-rt from kernel-source.src.rpm as opensuse would do it.

that was my brute-force way of generating those missing files needed for
building external kernel modules, of which nvidia is just one common
example.

btw my mini-howto also mentions the url for the updated
kernel-source-2.6.22.9-0.4.src.rpm, just in case you did not notice.

cheers
-- 
rncbc aka Rui Nuno Capela
rncbc@xxxxxxxxx
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux