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

Re: kernel 2.6.17 and Realtime-lsm-source



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.



Reply to: