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

FIXED (?) Re: kernel 2.6.17 and Realtime-lsm-source



Arthur Marsh wrote:
John O'Hagan wrote:
On Friday 14 July 2006 00:32, Arthur Marsh wrote:
John O'Hagan wrote:
...


[...]
#m-a a-i realtime-lsm

(auto-install) which ensures you have the kernel headers and other
necessary packages installed, downloads the module source if needed, then
builds and installs it. Simple as that!
[...]

Are you sure that will build against a stock Debian 2.6.17-1-686 kernel?
I get errors with module-assistant saying that support for realtime-lsm
as a kernel module is not supported by the current kernel.

I've guessed that I need to set:

CONFIG_SECURITY_CAPABILITIES=m

(setting for stock 2.6.17-1-686 is CONFIG_SECURITY_CAPABILITIES=y)

and build a custom kernel, boot into it then run module-assistant to
build the realtime-lsm module?


Yes, you are correct; I'd forgotten about that part as I've been using that config for a while. Here's a link to a how-to on the Agnula site which includes use of the realtime module and the necessary config.

http://demudi.agnula.org/wiki/Low-latencyKernelBuildingHowto

John



I've built a kernel with

CONFIG_SECURITY_CAPABILITIES=m

but module-assistant complains (see Debian bug #366552 for realtime-lsm)

which references

http://www.uwsg.iu.edu/hypermail/linux/kernel/0410.1/0248.html

I've applied the fix, built the realtime.ko file and worked around module-assistant complaining that the build failed by manually putting realtime.ko into /lib/modules/rebuilt-kernel-version/updates/realtime-lsm and ran:

 depmod rebuilt-kernel-version

I have yet to test it all.

The current process is broken and has already been reported against package realtime-lsm.

Arthur.



After applying the fixes to /usr/src/modules/realtime-lsm/realcap.c listed above, I found the easiest way to make a realtime-lsm package that installed was to do:

cd /usr/src/linux-source-2.6.17
make-kpkg modules-image
cd ..
dpkg -i realtime-lsm-module-2.6.17_0.1.1-6+2.6.17-10.00.Custom_i386.deb

After rebooting, I have module realtime loaded, and was able to start jackd and run muse, playing a complex MIDI file to the hardware synth on my SoundBlaster Live! 5.1 Digital model SB0220 sound card cleanly whilst extracting the 2.6.17 kernel source to disk.

Hope this helps someone.



Reply to: