Problem with alsa-driver compilation

Hi all,

i'm usisng a centos 5.4 linode VPS and I'm trying to compile alsa-driver-1.0.20 with the devel kernel: 2.6.18.8-linode22

The compilation work great but when I try to load the module this is the output:

WARNING: Error inserting sndpagealloc (/lib/modules/2.6.18.8-linode22/misc/acore/snd-page-alloc.ko): Unknown symbol in module, or unknown parameter (see dmesg)

WARNING: Error inserting snd_timer (/lib/modules/2.6.18.8-linode22/misc/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)

WARNING: Error inserting snd_pcm (/lib/modules/2.6.18.8-linode22/misc/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)

FATAL: Error inserting snd_dummy (/lib/modules/2.6.18.8-linode22/misc/drivers/snd-dummy.ko): Unknown symbol in module, or unknown parameter (see dmesg)

dmesg output:

snd: version magic '2.6.18.8-linode22 SMP modunload Xen PENTIUM4 REGPARM gcc-4.1' should be '2.6.18.8-linode22 SMP modunload Xen PENTIUM4 REGPARM gcc-4.3'

snd: no version magic, tainting kernel.

snd: Unknown symbol unregistersoundspecial

snd: Unknown symbol registersoundspecial_device

snd: Unknown symbol sound_class

snd: no version magic, tainting kernel.

snd: Unknown symbol unregistersoundspecial

snd: Unknown symbol registersoundspecial_device

snd: Unknown symbol sound_class

snd: no version magic, tainting kernel.

snd: Unknown symbol unregistersoundspecial

snd: Unknown symbol registersoundspecial_device

snd: Unknown symbol sound_class

snd: no version magic, tainting kernel.

snd: Unknown symbol unregistersoundspecial

snd: Unknown symbol registersoundspecial_device

snd: Unknown symbol sound_class

Any idea?

Thank's in advance

BR

  • Andrea -

1 Reply

Try adding –force-vermagic to the modprobe command line; that should get around the version magic issue. That might fix the rest of the errors, especially if the later modules depend on the earlier modules. If not, it might be worth trying with the latest paravirt kernel, or going the pv_ops route.

I can't say I've heard of anyone trying these particular modules on Linode before, so you are entering unexplored territory. Once it works, it might be worth documenting what you're doing (and why), for the common good. :-)

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct