LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 03-16-2005, 08:46 PM   #1
dibblethewrecke
Member
 
Registered: Nov 2003
Location: UK
Distribution: Arch Linux
Posts: 210

Rep: Reputation: 30
2.6.11 kernel compile - sound module insertion errors


i have compiled three 2.6.11 kernels, -cko1, -cko2 and -nitro1

when i start them i have the same problems with all three. i get errors about some of my sound modules not being able to be inserted in to the kernel but it's critical and i have to hard reboot with errors scrolling by at light speed. i !'ed out the sound modules in MODULES and !'ed hotplug and rebooted and did a manual modprobe:

Code:
[root] : modprobe snd-intel8x0
WARNING: Error inserting snd (/lib/modules/2.6.11-cko1/kernel/sound/core/snd.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.11-cko1/kernel/sound/core/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_pcm (/lib/modules/2.6.11-cko1/kernel/sound/core/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_mixer_oss (/lib/modules/2.6.11-cko1/kernel/sound/core/oss/snd-mixer-oss.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_pcm_oss (/lib/modules/2.6.11-cko1/kernel/sound/core/oss/snd-pcm-oss.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_ac97_codec (/lib/modules/2.6.11-cko1/kernel/sound/pci/ac97/snd-ac97-codec.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_intel8x0 (/lib/modules/2.6.11-cko1/kernel/sound/pci/snd-intel8x0.ko): Unknown symbol in module, or unknown parameter (see dmesg)

[root] : dmesg
snd_pcm_oss: Unknown symbol snd_pcm_mmap_data
snd_pcm_oss: Unknown symbol snd_pcm_devices
snd_pcm_oss: Unknown symbol snd_oss_info_register
snd_pcm_oss: Unknown symbol snd_pcm_hw_param_value_min
snd_pcm_oss: Unknown symbol snd_pcm_build_linear_format
snd_pcm_oss: Unknown symbol snd_pcm_hw_param_mask
snd_pcm_oss: Unknown symbol snd_kmalloc_strdup
snd_pcm_oss: Unknown symbol snd_pcm_format_signed
snd_pcm_oss: Unknown symbol snd_pcm_hw_constraints_complete
...
snd_ac97_codec: Unknown symbol snd_info_register
...
snd_intel8x0: Unknown symbol snd_ac97_pcm_close
...
the ... means it goes on for 12 pages withmore of the same but different symbols.

All my other modules work fine, it is just the sound. Any suggestions please?
 
Old 03-16-2005, 10:04 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
first what is the output of
/sbin/depmod -ae

any errors ?

second what kernel were you running prior to this one and do you have a /etc/modprobe.conf file
i bet it's just a bunch of leftover crap in modprobe.conf that shouldn't be there
i assume since you said modules and hotplug this is a modern system with udev

i guess show what sound modules you are loading in modules and in what order and show that /etc/modprobe.conf

one interesting point is with udev and loading modules at boot you really don't need /etc/modprobe.conf at all if you load alsa modules in the right order in modules (i don't think)
 
Old 03-16-2005, 10:18 PM   #3
dibblethewrecke
Member
 
Registered: Nov 2003
Location: UK
Distribution: Arch Linux
Posts: 210

Original Poster
Rep: Reputation: 30
thanks for your reply. i run numerous custom built kernels - my current fav is 2.6.10-cko3 - so you could say that is my previous kernel. I don't use /etc/modprobe.conf, i use Arch linux and we define modules in an array in rc.conf. I have commented out these modules and tried booting and letting hotplug manage it all - same errors.

I do use hotplug and udev.

I am not at my box so i can't do the depmod but when should i do that? When i am running the "broken" kernel? As i recall i only have two sound modules in my array, these are defined first and loaded before hotplug starts. I think they are snd-intel8x0 and possibly snd-mixer-oss but i can't check now. Besides, these are only a fraction of the modules that hotlpug then loads but they do seem to be the ones at the root of the issue
 
Old 03-17-2005, 11:50 PM   #4
dibblethewrecke
Member
 
Registered: Nov 2003
Location: UK
Distribution: Arch Linux
Posts: 210

Original Poster
Rep: Reputation: 30
i played around with depmod, both while running the "broken" kernel and by directing it to the kernel modules from another kernel - i played with some options but couldn't get any output about any errors at all. Which seems worrying...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SL10 kernel module compile errors jcart Suse/Novell 1 11-08-2005 09:22 AM
why there is so many errors to compile a module ,help me! qqrilxk Programming 3 03-30-2005 08:57 PM
kernel module insertion using insmod on kernel 2.4.20-8, rh 9.0 gooner Red Hat 1 05-27-2004 05:31 AM
can i compile just one kernel module whithout recompiling the whole kernel? edman007 Linux - Software 3 02-17-2004 03:05 PM
errors attempting to compile nvaudio module lasalsademuerte Slackware 2 12-02-2003 05:43 PM


All times are GMT -5. The time now is 01:15 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration