LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-27-2006, 10:38 PM   #1
espo111
LQ Newbie
 
Registered: Jun 2005
Posts: 7

Rep: Reputation: 0
soundcard problem


after days and days of trying to get my sound card to actually produce sound in gentoo (it works on my windows side and from the knoppix cd) i am lost. I have a gentoo 2006.1 system

any help would be great as i dont know what else to do.

the error of the day:

Code:
# /etc/init.d/alsasound stop
 * WARNING:  you are stopping a boot service.
 * Storing ALSA Mixer Levels ...                                          [ ok ]
 * Unloading ALSA ...                                                     [ ok ]
 * Unloading ALSA modules ...                                             [ ok ]

 # /etc/init.d/alsasound start
 * Loading ALSA modules ...
 *   Loading: snd-card-2 ...
WARNING: Error inserting snd_page_alloc (/lib/modules/2.6.18/kernel/sound/acore/snd-page-alloc.ko): Invalid module format
WARNING: Error inserting snd (/lib/modules/2.6.18/kernel/sound/acore/snd.ko): Invalid module format
WARNING: Error inserting snd_timer (/lib/modules/2.6.18/kernel/sound/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_pcm (/lib/modules/2.6.18/kernel/sound/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_ac97_bus (/lib/modules/2.6.18/kernel/sound/pci/ac97/snd-ac97-bus.ko): Invalid module format
WARNING: Error inserting snd_ac97_codec (/lib/modules/2.6.18/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.18/kernel/sound/pci/snd-intel8x0.ko): Unknown symbol in module, or unknown parameter (see dmesg)    [ !! ]
 *   Loading: snd-seq-oss ...
WARNING: Error inserting snd (/lib/modules/2.6.18/kernel/sound/acore/snd.ko): Invalid module format
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.18/kernel/sound/acore/seq/snd-seq-device.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.18/kernel/sound/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_seq (/lib/modules/2.6.18/kernel/sound/acore/seq/snd-seq.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_seq_midi_event (/lib/modules/2.6.18/kernel/sound/acore/seq/snd-seq-midi-event.ko): Invalid module format
FATAL: Error inserting snd_seq_oss (/lib/modules/2.6.18/kernel/sound/acore/seq/oss/snd-seq-oss.ko): Unknown symbol in module, or unknown parameter (see   [ !! ]
 *   Loading: snd-pcm-oss ...
WARNING: Error inserting snd (/lib/modules/2.6.18/kernel/sound/acore/snd.ko): Invalid module format
WARNING: Error inserting snd_mixer_oss (/lib/modules/2.6.18/kernel/sound/acore/oss/snd-mixer-oss.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_page_alloc (/lib/modules/2.6.18/kernel/sound/acore/snd-page-alloc.ko): Invalid module format
WARNING: Error inserting snd_timer (/lib/modules/2.6.18/kernel/sound/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_pcm (/lib/modules/2.6.18/kernel/sound/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_pcm_oss (/lib/modules/2.6.18/kernel/sound/acore/oss/snd-pcm-oss.ko): Unknown symbol in module, or unknown parameter (see dmes  [ !! ]
 *   Loading: snd-mixer-oss ...
WARNING: Error inserting snd (/lib/modules/2.6.18/kernel/sound/acore/snd.ko): Invalid module format
FATAL: Error inserting snd_mixer_oss (/lib/modules/2.6.18/kernel/sound/acore/oss/snd-mixer-oss.ko): Unknown symbol in module, or unknown parameter (see   [ !! ]
 *   Loading: snd-seq ...
WARNING: Error inserting snd (/lib/modules/2.6.18/kernel/sound/acore/snd.ko): Invalid module format
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.18/kernel/sound/acore/seq/snd-seq-device.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.18/kernel/sound/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_seq (/lib/modules/2.6.18/kernel/sound/acore/seq/snd-seq.ko): Unknown symbol in module, or unknown parameter (see dmesg)        [ ok ]
 * Restoring Mixer Levels ...                                             [ ok ]

and the cat:
Code:
# cat /proc/asound/cards
 0 [Dummy          ]: Dummy - Dummy
                      Dummy 1
 1 [VirMIDI        ]: VirMIDI - VirMIDI
                      Virtual MIDI Card 1
 2 [nForce2        ]: NFORCE - NVidia nForce2
                      NVidia nForce2 with ALC650F at 0xe4081000, irq 18
I think it might have something to do with the dummy and virMIDI devs but i dont know how to get rid of them, they were once upon a time configured in the old kernel but are no longer. yet they still remain.


and for fun
Code:
# lspci -v | grep -i audio
00:05.0 Multimedia audio controller: nVidia Corporation nForce Audio Processing Unit (rev a2)
00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev a1)
        Subsystem: ASUSTeK Computer Inc. nForce2 AC97 Audio Controler (MCP)
----------------------------
# lsmod
Module                  Size  Used by
udf                    67076  1
nvidia               4542548  8
fuse                   31764  4
----------------------------
# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).
----------------------------
 # cat /proc/asound/oss/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.12rc1 emulation code)
Kernel: Linux espo-asus 2.6.18 #1 Wed Sep 20 19:30:37 CDT 2006 i686
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
Dummy 1
Virtual MIDI Card 1
NVidia nForce2 with ALC650F at 0xe4081000, irq 18

Audio devices:
0: Dummy PCM (DUPLEX)
2: NVidia nForce2 (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices:
1: Virtual Raw MIDI

Timers:
7: system timer

Mixers:
0: Dummy Mixer
1: mixer10
2: Realtek ALC650F
and my 2.6.18 .config sound section
Code:
#
# Sound
#
CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_PCM_OSS_PLUGINS=y
# CONFIG_SND_SEQUENCER_OSS is not set
CONFIG_SND_RTCTIMER=m
CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
# CONFIG_SND_DYNAMIC_MINORS is not set
# CONFIG_SND_SUPPORT_OLD_API is not set
CONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_AC97_BUS=m
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# PCI devices
#
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS5535AUDIO is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_HDA_INTEL is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
CONFIG_SND_INTEL8X0=m
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set

#
# USB devices
#
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_USX2Y is not set

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set

#
 
Old 09-28-2006, 08:38 PM   #2
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
"Invalid module format" - I bet the loaded kernel and the modules being loaded are not compatible.

Make sure your config file points to the proper kernel (e.g. copied the kernel image properly) and make sure you properly updated your modules (make modules_install).

If you're using an initrd (check boot config), make sure you have the new modules inside. Note that making initrd's in gentoo is different. On how to make initrd's, perhaps reading this gentoo wiki will help you:

http://gentoo-wiki.com/HOWTO_Compile_a_Kernel_Manually.

The page is offline btw and I don't know why. Try to use the google cache if the link doesn't work.

BTW have you already tried to compile the drivers as built-in instead?
 
  


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
Soundcard Driver for ALi M5451 Soundcard (Trident Module) xianzai Linux - Hardware 3 12-15-2006 01:00 PM
A problem about my soundcard! Xstar Linux - Hardware 5 04-17-2006 07:28 AM
Soundcard doesn't work until I run system-config-soundcard The_Nerd Linux - Software 2 02-11-2006 10:53 AM
soundcard problem bouly Linux - Hardware 1 04-01-2004 07:59 PM
Problem with Soundcard-Worked good with Redhat.Problem with Mandrake invinciblemk Linux - Newbie 1 02-27-2004 06:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:15 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration