Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154892 - sys-apps/realtime-lsm - modprobe realtime fails with invalid module
Summary: sys-apps/realtime-lsm - modprobe realtime fails with invalid module
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on: 157511
Blocks:
  Show dependency tree
 
Reported: 2006-11-12 07:09 UTC by Onkobu
Modified: 2008-03-15 10:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,3.69 KB, text/plain)
2006-11-12 07:10 UTC, Onkobu
Details
dmesg, 2.6.16-9, right after boot (dma_dmesg.txt,15.13 KB, text/plain)
2006-11-20 03:55 UTC, Onkobu
Details
hdparm -i for all drives with dma (dma_hdparm.txt,3.27 KB, text/plain)
2006-11-20 03:55 UTC, Onkobu
Details
dmesg, 2.6.18-r2, right after boot (nodma_dmesg.txt,15.12 KB, text/plain)
2006-11-20 03:56 UTC, Onkobu
Details
hdparm -i for all drives without dma (nodma_hdparm.txt,2.58 KB, text/plain)
2006-11-20 03:56 UTC, Onkobu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Onkobu 2006-11-12 07:09:50 UTC
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)
Comment 1 Onkobu 2006-11-12 07:10:33 UTC
Created attachment 101739 [details]
emerge --info
Comment 2 Onkobu 2006-11-18 08:12:09 UTC
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.
Comment 3 Onkobu 2006-11-20 03:55:31 UTC
Created attachment 102386 [details]
dmesg, 2.6.16-9, right after boot
Comment 4 Onkobu 2006-11-20 03:55:50 UTC
Created attachment 102387 [details]
hdparm -i for all drives with dma
Comment 5 Onkobu 2006-11-20 03:56:13 UTC
Created attachment 102388 [details]
dmesg, 2.6.18-r2, right after boot
Comment 6 Onkobu 2006-11-20 03:56:32 UTC
Created attachment 102389 [details]
hdparm -i for all drives without dma
Comment 7 Onkobu 2006-11-20 03:59:08 UTC
attachments attached to wrong bug number, how can I remove them?
Comment 8 Ryan Hill (RETIRED) gentoo-dev 2006-12-10 07:19:18 UTC
-> sound
Comment 9 Heiko Baums 2007-01-15 16:11:34 UTC
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
Comment 10 Stian Skjelstad 2007-04-17 20:03:33 UTC
Heiko: Do you get any output in dmesg or /var/log/messages ?
Comment 11 Heiko Baums 2007-04-30 13:48:13 UTC
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.
Comment 12 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-06-30 13:32:49 UTC
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).
Comment 13 Heiko Baums 2007-06-30 13:43:27 UTC
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. ;-)
Comment 14 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-07-02 15:08:38 UTC
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.
Comment 15 Heiko Baums 2007-07-07 10:45:29 UTC
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? :´-(
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2008-03-15 10:55:11 UTC
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.