View previous topic :: View next topic |
Author |
Message |
Vineus n00b
Joined: 23 Mar 2006 Posts: 42 Location: Paris, France
|
Posted: Sun Jan 14, 2007 8:36 pm Post subject: alsa and oss issues [SOLVED] |
|
|
Hello,
I can't get oss work using alsa.
I first installed alsa by emerging alsa-driver and alsa-oss with the "oss" use flag set, but I got "invalid module format" messages on alsasound start for all the oss modules. Installing alsa without oss support just worked fine.
So, I decided to compile alsa module into the kernel, I unmerged alsa-driver and alsa-oss and manually deleted the /lib/modules/{uname -r}/alsa-driver folder.
And now I got these error messages :
Code: |
[ root:/lib/modules ]$ /etc/init.d/alsasound start [2007-01-14 15:11:06]
* Loading ALSA modules ...
* Loading: snd-card-0 ...
WARNING: Error inserting soundcore (/lib/modules/2.6.18-suspend2-r1/kernel/sound/soundcore.ko): Invalid module format [ ok ]
* Loading: snd-pcm-oss ...
WARNING: Error inserting soundcore (/lib/modules/2.6.18-suspend2-r1/kernel/sound/soundcore.ko): Invalid module format
WARNING: Error inserting snd_mixer_oss (/lib/modules/2.6.18-suspend2-r1/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.18-suspend2-r1/kernel/sound/core/oss/snd-pcm-oss.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ]
* Loading: snd-mixer-oss ...
WARNING: Error inserting soundcore (/lib/modules/2.6.18-suspend2-r1/kernel/sound/soundcore.ko): Invalid module format
FATAL: Error inserting snd_mixer_oss (/lib/modules/2.6.18-suspend2-r1/kernel/sound/core/oss/snd-mixer-oss.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ]
* Loading: snd-seq ...
WARNING: Error inserting soundcore (/lib/modules/2.6.18-suspend2-r1/kernel/sound/soundcore.ko): Invalid module format
FATAL: Error inserting snd_seq (/lib/modules/2.6.18-suspend2-r1/kernel/sound/core/seq/snd-seq.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ]
* Loading: snd-seq ...
WARNING: Error inserting soundcore (/lib/modules/2.6.18-suspend2-r1/kernel/sound/soundcore.ko): Invalid module format
FATAL: Error inserting snd_seq (/lib/modules/2.6.18-suspend2-r1/kernel/sound/core/seq/snd-seq.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ]
* ERROR: Failed to load necessary drivers [ ok ]
* Restoring Mixer Levels ... [ ok ]
|
with the dmesg output :
Code: |
soundcore: exports duplicate symbol sound_class (owned by kernel)
snd_mixer_oss: Unknown symbol snd_unregister_oss_device
snd_mixer_oss: Unknown symbol snd_register_oss_device
snd_mixer_oss: Unknown symbol snd_mixer_oss_notify_callback
snd_mixer_oss: Unknown symbol snd_oss_info_register
snd_mixer_oss: Unknown symbol snd_lookup_oss_minor_data
snd_mixer_oss: Unknown symbol snd_info_unregister
snd_pcm_oss: Unknown symbol snd_unregister_oss_device
snd_pcm_oss: Unknown symbol snd_register_oss_device
snd_pcm_oss: Unknown symbol snd_mixer_oss_ioctl_card
snd_pcm_oss: Unknown symbol snd_oss_info_register
snd_pcm_oss: Unknown symbol snd_lookup_oss_minor_data
snd_pcm_oss: Unknown symbol snd_info_unregister
soundcore: exports duplicate symbol sound_class (owned by kernel)
snd_mixer_oss: Unknown symbol snd_unregister_oss_device
snd_mixer_oss: Unknown symbol snd_register_oss_device
snd_mixer_oss: Unknown symbol snd_mixer_oss_notify_callback
snd_mixer_oss: Unknown symbol snd_oss_info_register
snd_mixer_oss: Unknown symbol snd_lookup_oss_minor_data
snd_mixer_oss: Unknown symbol snd_info_unregister
soundcore: exports duplicate symbol sound_class (owned by kernel)
snd_seq: Unknown symbol snd_info_unregister
snd_seq: Unknown symbol snd_register_device
soundcore: exports duplicate symbol sound_class (owned by kernel)
snd_seq: Unknown symbol snd_info_unregister
snd_seq: Unknown symbol snd_register_device
|
I know the issue is described on the gentoo alsa guide (http://www.gentoo.org/doc/en/alsa-guide.xml#doc_chap3) but trying to do wat they say didn't solved it.
I tried to completely uninstall alsa from my system (both in kernel and alsa-driver modules), cleaning modules.conf, but I still had these messages on boot :
Code: |
ALSA /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/pci/ac97/ac97_codec.c:2041: AC'97 0 does not respond - RESET
ALSA /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/pci/ac97/ac97_codec.c:2050: AC'97 0 access is not valid [0x0], removing mixer.
VIA 82xx Audio: probe of 0000:00:07.5 failed with error -5
|
I tried to find a solution on the web, and every time people solved the problem and says "ok, I found the solution, everything was mixed up and I can't explain".
It seems a person here had the same problem as me : http://forums.kororaa.org/viewtopic.php?t=271&postdays=0&postorder=asc&start=0&sid=072e30afb2f89357a8d26ad7b9fc1df9
So, two (linked) questions :
1) does anyone knows how the hell you can totally uninstall alsa-driver ?
2) does someone see what's my problem with oss in alsa ?
Thank you a lot for your help. _________________ Vineus
Last edited by Vineus on Sun Jan 14, 2007 10:50 pm; edited 1 time in total |
|
Back to top |
|
|
rmh3093 Advocate
Joined: 06 Aug 2003 Posts: 2138 Location: Albany, NY
|
Posted: Sun Jan 14, 2007 8:54 pm Post subject: Re: alsa and oss issues |
|
|
Vineus wrote: | Hello,
I can't get oss work using alsa.
I first installed alsa by emerging alsa-driver and alsa-oss with the "oss" use flag set, but I got "invalid module format" messages on alsasound start for all the oss modules. Installing alsa without oss support just worked fine.
So, I decided to compile alsa module into the kernel, I unmerged alsa-driver and alsa-oss and manually deleted the /lib/modules/{uname -r}/alsa-driver folder.
And now I got these error messages :
Code: |
[ root:/lib/modules ]$ /etc/init.d/alsasound start [2007-01-14 15:11:06]
* Loading ALSA modules ...
* Loading: snd-card-0 ...
WARNING: Error inserting soundcore (/lib/modules/2.6.18-suspend2-r1/kernel/sound/soundcore.ko): Invalid module format [ ok ]
* Loading: snd-pcm-oss ...
WARNING: Error inserting soundcore (/lib/modules/2.6.18-suspend2-r1/kernel/sound/soundcore.ko): Invalid module format
WARNING: Error inserting snd_mixer_oss (/lib/modules/2.6.18-suspend2-r1/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.18-suspend2-r1/kernel/sound/core/oss/snd-pcm-oss.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ]
* Loading: snd-mixer-oss ...
WARNING: Error inserting soundcore (/lib/modules/2.6.18-suspend2-r1/kernel/sound/soundcore.ko): Invalid module format
FATAL: Error inserting snd_mixer_oss (/lib/modules/2.6.18-suspend2-r1/kernel/sound/core/oss/snd-mixer-oss.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ]
* Loading: snd-seq ...
WARNING: Error inserting soundcore (/lib/modules/2.6.18-suspend2-r1/kernel/sound/soundcore.ko): Invalid module format
FATAL: Error inserting snd_seq (/lib/modules/2.6.18-suspend2-r1/kernel/sound/core/seq/snd-seq.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ]
* Loading: snd-seq ...
WARNING: Error inserting soundcore (/lib/modules/2.6.18-suspend2-r1/kernel/sound/soundcore.ko): Invalid module format
FATAL: Error inserting snd_seq (/lib/modules/2.6.18-suspend2-r1/kernel/sound/core/seq/snd-seq.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ]
* ERROR: Failed to load necessary drivers [ ok ]
* Restoring Mixer Levels ... [ ok ]
|
with the dmesg output :
Code: |
soundcore: exports duplicate symbol sound_class (owned by kernel)
snd_mixer_oss: Unknown symbol snd_unregister_oss_device
snd_mixer_oss: Unknown symbol snd_register_oss_device
snd_mixer_oss: Unknown symbol snd_mixer_oss_notify_callback
snd_mixer_oss: Unknown symbol snd_oss_info_register
snd_mixer_oss: Unknown symbol snd_lookup_oss_minor_data
snd_mixer_oss: Unknown symbol snd_info_unregister
snd_pcm_oss: Unknown symbol snd_unregister_oss_device
snd_pcm_oss: Unknown symbol snd_register_oss_device
snd_pcm_oss: Unknown symbol snd_mixer_oss_ioctl_card
snd_pcm_oss: Unknown symbol snd_oss_info_register
snd_pcm_oss: Unknown symbol snd_lookup_oss_minor_data
snd_pcm_oss: Unknown symbol snd_info_unregister
soundcore: exports duplicate symbol sound_class (owned by kernel)
snd_mixer_oss: Unknown symbol snd_unregister_oss_device
snd_mixer_oss: Unknown symbol snd_register_oss_device
snd_mixer_oss: Unknown symbol snd_mixer_oss_notify_callback
snd_mixer_oss: Unknown symbol snd_oss_info_register
snd_mixer_oss: Unknown symbol snd_lookup_oss_minor_data
snd_mixer_oss: Unknown symbol snd_info_unregister
soundcore: exports duplicate symbol sound_class (owned by kernel)
snd_seq: Unknown symbol snd_info_unregister
snd_seq: Unknown symbol snd_register_device
soundcore: exports duplicate symbol sound_class (owned by kernel)
snd_seq: Unknown symbol snd_info_unregister
snd_seq: Unknown symbol snd_register_device
|
I know the issue is described on the gentoo alsa guide (http://www.gentoo.org/doc/en/alsa-guide.xml#doc_chap3) but trying to do wat they say didn't solved it.
I tried to completely uninstall alsa from my system (both in kernel and alsa-driver modules), cleaning modules.conf, but I still had these messages on boot :
Code: |
ALSA /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/pci/ac97/ac97_codec.c:2041: AC'97 0 does not respond - RESET
ALSA /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/pci/ac97/ac97_codec.c:2050: AC'97 0 access is not valid [0x0], removing mixer.
VIA 82xx Audio: probe of 0000:00:07.5 failed with error -5
|
I tried to find a solution on the web, and every time people solved the problem and says "ok, I found the solution, everything was mixed up and I can't explain".
It seems a person here had the same problem as me : http://forums.kororaa.org/viewtopic.php?t=271&postdays=0&postorder=asc&start=0&sid=072e30afb2f89357a8d26ad7b9fc1df9
So, two (linked) questions :
1) does anyone knows how the hell you can totally uninstall alsa-driver ?
2) does someone see what's my problem with oss in alsa ?
Thank you a lot for your help. |
emerge -C alsa-modules alsa-headers alsa-tools alsa-utils
...use the in kernel alsa drivers and save your self the hassle of dealing with portage drivers _________________ Do not meddle in the affairs of wizards, for they are subtle and quick to anger. |
|
Back to top |
|
|
Vineus n00b
Joined: 23 Mar 2006 Posts: 42 Location: Paris, France
|
Posted: Sun Jan 14, 2007 9:14 pm Post subject: Re: alsa and oss issues |
|
|
rmh3093 wrote: |
emerge -C alsa-modules alsa-headers alsa-tools alsa-utils
...use the in kernel alsa drivers and save your self the hassle of dealing with portage drivers |
yeah, that's exatly what I did, but that's what I get now :
Code: |
[ root:/lib/modules ]$ modprobe snd-via82xx
WARNING: Error inserting soundcore (/lib/modules/2.6.18-suspend2-r1/kernel/sound/soundcore.ko): Invalid module format
|
So I think some alsa-driver things are still hidden somewhere. _________________ Vineus |
|
Back to top |
|
|
Vineus n00b
Joined: 23 Mar 2006 Posts: 42 Location: Paris, France
|
Posted: Sun Jan 14, 2007 10:06 pm Post subject: |
|
|
Ok, I fixed half of the problem by doing a little "make mrproper" in /usr/src/linux ...
.. but, oss still isn't working :
Code: |
$ /etc/init.d/alsasound start
* Loading ALSA modules ...
* Loading: snd-card-0 ... [ ok ]
* Loading: snd-pcm-oss ...
FATAL: Error inserting snd_pcm_oss (/lib/modules/2.6.18-suspend2-r1/kernel/sound/core/oss/snd-pcm-oss.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ]
* Loading: snd-seq ...
FATAL: Error inserting snd_seq (/lib/modules/2.6.18-suspend2-r1/kernel/sound/core/seq/snd-seq.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ]
* Loading: snd-seq ...
FATAL: Error inserting snd_seq (/lib/modules/2.6.18-suspend2-r1/kernel/sound/core/seq/snd-seq.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ]
* ERROR: Failed to load necessary drivers [ ok ]
* Restoring Mixer Levels ...
|
with always this very strange dmesg error :
Code: |
CPI: PCI Interrupt 0000:00:07.5[C] -> Link [LNKC] -> GSI 5 (level, low) -> IRQ 5
PCI: Setting latency timer of device 0000:00:07.5 to 64
ALSA /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/pci/ac97/ac97_codec.c:2041: AC'97 0 does not respond - RESET
ALSA /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/pci/ac97/ac97_codec.c:2050: AC'97 0 access is not valid [0x0], removing mixer.
VIA 82xx Audio: probe of 0000:00:07.5 failed with error -5
snd_pcm_oss: Unknown symbol snd_unregister_oss_device
snd_pcm_oss: Unknown symbol snd_register_oss_device
snd_pcm_oss: Unknown symbol snd_oss_info_register
snd_pcm_oss: Unknown symbol snd_lookup_oss_minor_data
snd_pcm_oss: Unknown symbol snd_info_unregister
snd_seq: Unknown symbol snd_info_unregister
snd_seq: Unknown symbol snd_register_device
snd_seq: Unknown symbol snd_info_unregister
snd_seq: Unknown symbol snd_register_device
|
I don't understand why it try to lad something from /var/tmp/portage/alsa-driver : frist of all this directory no longer exists, and alsa-driver had been unmerged ... _________________ Vineus |
|
Back to top |
|
|
Vineus n00b
Joined: 23 Mar 2006 Posts: 42 Location: Paris, France
|
Posted: Sun Jan 14, 2007 10:19 pm Post subject: |
|
|
Vineus wrote: | Ok, I fixed half of the problem by doing a little "make mrproper" in /usr/src/linux ...
.. but, oss still isn't working :
Code: |
$ /etc/init.d/alsasound start
* Loading ALSA modules ...
* Loading: snd-card-0 ... [ ok ]
* Loading: snd-pcm-oss ...
FATAL: Error inserting snd_pcm_oss (/lib/modules/2.6.18-suspend2-r1/kernel/sound/core/oss/snd-pcm-oss.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ]
* Loading: snd-seq ...
FATAL: Error inserting snd_seq (/lib/modules/2.6.18-suspend2-r1/kernel/sound/core/seq/snd-seq.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ]
* Loading: snd-seq ...
FATAL: Error inserting snd_seq (/lib/modules/2.6.18-suspend2-r1/kernel/sound/core/seq/snd-seq.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ]
* ERROR: Failed to load necessary drivers [ ok ]
* Restoring Mixer Levels ...
|
with always this very strange dmesg error :
Code: |
CPI: PCI Interrupt 0000:00:07.5[C] -> Link [LNKC] -> GSI 5 (level, low) -> IRQ 5
PCI: Setting latency timer of device 0000:00:07.5 to 64
ALSA /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/pci/ac97/ac97_codec.c:2041: AC'97 0 does not respond - RESET
ALSA /var/tmp/portage/alsa-driver-1.0.14_rc1/work/alsa-driver-1.0.14rc1/pci/ac97/ac97_codec.c:2050: AC'97 0 access is not valid [0x0], removing mixer.
VIA 82xx Audio: probe of 0000:00:07.5 failed with error -5
snd_pcm_oss: Unknown symbol snd_unregister_oss_device
snd_pcm_oss: Unknown symbol snd_register_oss_device
snd_pcm_oss: Unknown symbol snd_oss_info_register
snd_pcm_oss: Unknown symbol snd_lookup_oss_minor_data
snd_pcm_oss: Unknown symbol snd_info_unregister
snd_seq: Unknown symbol snd_info_unregister
snd_seq: Unknown symbol snd_register_device
snd_seq: Unknown symbol snd_info_unregister
snd_seq: Unknown symbol snd_register_device
|
I don't understand why it try to load something from /var/tmp/portage/alsa-driver : frist of all this directory no longer exists, and alsa-driver had been unmerged ... |
_________________ Vineus |
|
Back to top |
|
|
.:chrome:. Advocate
Joined: 19 Feb 2005 Posts: 4588 Location: Brescia, Italy
|
Posted: Sun Jan 14, 2007 10:26 pm Post subject: Re: alsa and oss issues |
|
|
use kernel drivers instead alsa-driver package.
it's a better choice! |
|
Back to top |
|
|
Vineus n00b
Joined: 23 Mar 2006 Posts: 42 Location: Paris, France
|
Posted: Sun Jan 14, 2007 10:49 pm Post subject: |
|
|
Okm I finnaly got it working !
This [censored] alsa-driver package does'nt uninstal well, it let a repository "/lib/modules/{uname -r}/misc" with its compiled module, and apparently these modules are choosen in place of those compiled with the kernel.
So if you experience the same problem as me, juste
Code: |
$ rm -rf /lib/modules/{uname -r}/misc
$ cd /usr/src/linux
$ make && make modules_install
|
it should work. _________________ Vineus |
|
Back to top |
|
|
KWhat l33t
Joined: 04 Sep 2005 Posts: 660 Location: Los Angeles
|
Posted: Sun Dec 12, 2010 1:54 am Post subject: |
|
|
Will someone please remove that make rmproper garbage from this post. It's real awesome when your .config file is deleated. |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3468 Location: Canada
|
Posted: Sun Dec 12, 2010 3:41 am Post subject: |
|
|
KWhat wrote: | Will someone please remove that make rmproper garbage from this post. It's real awesome when your .config file is deleated. |
Its not a big deal if your running kernel is compiled to have its config accessible online in /proc/config.gz |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|