On Sunday 15 August 2004 08:09 am, dee wrote:
> I'm running debian kernel 2.6.6 and am trying
to get the
> realtime-lsm module compiled -without success.
>
> I first tried the non-debian instructions in the INSTALL file, when
> this didn't work, i tried
> apt-get install realtime-source and
> make-kpkg --append-to-version foo --added-patches=debian
> modules_image
What patches are you adding? Do you have the err uhh ADD_KERNEL_PATCHES
variable set? (Check the man page for make-kpkg or the readme for the
patches for the actual var)
Thanks to both of you for answering.
The patches i am using are those from apt-get install
kernel-patches-debian-2.6.6. --added-patches=debian applies them. (i
understood)
BUT i don't think my patching is relevant, i only mention it in case
someone said 'aaah, yes, those debian-patches...bla". as you say below it
realtime-lsm is a module, and its that that i have a problem with.
I'd try:
make-kpkg --append-to-version foo --added-patches=debian
Then when thats done, make menuconfig, set up the things you patched for
and then 'make-kpkg kernel-image modules-image'
? i'm not sure this will help, this is essentially what i've done, just in
one step. am i missing something?
kernel-image makes, but modules-image barfs....
When in doubt, shitcan the sources in /usr/src/modules and untar a fresh copy.
If you have other module sources in there, take out realtime-lsm sources and
try make-kpkg modules-image to confirm something is flaky with realtime-lsm.
any further thoughts, or correction in my errant ways
welcome...
dee
> > Debian kernels are built rather differently. I don't think make-kpkg
> > works with the vanilla LSM sources. There is a Debian binary package
> > for the LSM, now. You might want to try that, instead. I think it's
> > included in AGNULA (DeMuDi).
>
> I have the realtime-lsm debian supplied sources. It's built as a module
> like ALSA or Nvidia drivers or lmsensors, not a patch to the kernel like
> say, lowlatency and preempt for 2.4