I've always run jack with realtime support ('til 2.6.17). With 2.6.18-r2 module realtime cannot be loaded anymore (re-emerged it already). Failes with: FATAL: Error inserting realtime (/lib/modules/2.6.18-gentoo-r2/extra/realtime.ko): Invalid module format (followed the tutorial and recompiled kernel from scratch without copying my old .config, did not solve it)
Created attachment 101739 [details] emerge --info
Filed a bug at sourceforge project (http://sourceforge.net/tracker/index.php?func=detail&aid=1598881&group_id=106645&atid=645097), new version has the same problem.
Created attachment 102386 [details] dmesg, 2.6.16-9, right after boot
Created attachment 102387 [details] hdparm -i for all drives with dma
Created attachment 102388 [details] dmesg, 2.6.18-r2, right after boot
Created attachment 102389 [details] hdparm -i for all drives without dma
attachments attached to wrong bug number, how can I remove them?
-> sound
For me it fails with this error message: FATAL: Error inserting realtime (/lib/modules/2.6.19-gentoo-r4/extra/realtime.ko): Invalid argument Happens with: sys-apps/realtime-lsm-0.8.5-r1 sys-kernel/gentoo-sources-2.6.19-r4
Heiko: Do you get any output in dmesg or /var/log/messages ?
In dmesg I'm getting this: Realtime: Failure registering capabilities with primary security module. Realtime: Is kernel configured with CONFIG_SECURITY_CAPABILITIES=m? Though my kernel is configured with CONFIG_SECURITY_CAPABILITIES=m.
Do you have /proc/kconfig(.gz) enabled? Can you check that CONFIG_SECURITY_CAPABILITIES is set to m in the *running* kernel? (it's far from uncommon that after changing configuration of the kernel people forget to reboot or so).
CONFIG_SECURITY_CAPABILITIES is set to m in the running kernel. But I don't have /proc/kconfig(.gz) enabled. I guess it's the "Kernel .config support" (CONFIG_IKCONFIG)? Is this necessary for realtime-lsm? Btw., I always reboot after reconfiguring the kernel. ;-)
No, IKCONFIG is not required to use realtime-lsm but it's helpful to debug this kind of issues, it works fine here in 2.6.21. Anyway, you might want to look at http://www.gentoo.org/proj/en/desktop/sound/realtime.xml and try the alternative version in case.
Well, now I'm trying the "rlimits with PAM" method - hope it works, haven't tested it, yet. And I've read the realtime howto again. I read it thoroughly. And I think I know now why I couldn't load the realtime module. I compiled CONFIG_SECURITY_CAPABILITIES as a module. But I think *shame* I should have loaded it before trying to load the realtime module. Can you, please, forgive me? :´-(
This thing is dead w/ 2.6.24+ kernels... Cf. Bug 207561. Use the pam method instead as stated in http://www.gentoo.org/proj/en/desktop/sound/realtime.xml WONTFIX.