View previous topic :: View next topic |
Author |
Message |
cruelnovember Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 11 Sep 2004 Posts: 154
|
Posted: Wed Nov 10, 2004 8:00 pm Post subject: Kernelupdate auf 2.6.9 --> Sound geht nicht mehr |
|
|
Hey,
Ich hatte die ganze Zeit einen 2.6.7 development-sources Kernel. Nun
habe ich gesehen, dass der 2.6.9er development-sources da ist und habe
mir einen neuen Kernel gemacht. Ich habe einen Sound Blaster 16 als
Isa Karte. Nun geht mein Sound nicht mehr.
Was bisher geschah:
Sound Card Support <M>
Alsa Support <M>
Sound Blaster 16 Support <M>
Nun habe ich meiner /etc/modules.autoload/kernel-2.6
soundcore
snd-sb16
hinzugefuegt.
Beim starten wurde das soundcore Modul ohne Probleme geladen, das
snd-sb16 Modul nicht.
Ich habe danach den Alsa Support aus dem Kernel genommen und dafuer
alsa-driver mit dem Eintrag ALSA_CARDS="sb16" in meiner /etc/make.conf
emerged, es hat nichts geholfen. Immernmoch kein snd-sb16 Modul.
Code: |
speedy root # modprobe snd-sb16
FATAL: Error inserting snd_sb16
(/lib/modules/2.6.9n/kernel/sound/isa/sb/snd-sb16.ko): No such device
|
Nun bin ich am Ende meiner Moeglichkeiten, keine Ahnung was ich jetzt
machen soll, ich hoffe irgendwer von Euch kann mir weiterhelfen, ohne
Sound is echt doof
Gruss,
Paul |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
samo Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 13 Mar 2004 Posts: 489
|
Posted: Wed Nov 10, 2004 9:17 pm Post subject: |
|
|
Hi,
bei mir läuft die sb16 mit ALSA im Kernel 2.6.9.
Quote: | Nun habe ich meiner /etc/modules.autoload/kernel-2.6
soundcore
snd-sb16 |
Ich denke du meinst /etc/modules.autoload.d/kernel-2.6. Darin lade ich allerdings kein Soundmodul.
Wie sieht denn deine /etc/init.d/alsasound aus?
Gruß |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cruelnovember Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 11 Sep 2004 Posts: 154
|
Posted: Wed Nov 10, 2004 10:51 pm Post subject: |
|
|
Ok, also wie ist das genau?
Wenn ich alsa-driver emerge dann darf ich doch kein Alsa im Kernel
haben,. oder? Also bei mir hat er da immer beim kompilieren den Fehler
gegeben: You built in Alsa in the kernel" oder sowas. Also hatte ich
alsa nicht im Kernel und dann brauche ich doch auch alsasound nicht,
oder???? Vielleicht mache ich irgendwas grundlegendes falsch...
Ich dachte:
Entweder Alsa Support im Kernel
Dann, entweder als Modul: dann muss ich snd-sb16 laden
oder einkompiliert: dann wird es automatisch geladen
Oder Alsa Support nicht im Kernel
dann muss ich alsa-driver emergen und dann muss ich auch snd-sb16 als
Modul laden.
Hast Du Dein Alsa einkompiliert oder als Modul?
meine /etc/init.d/alsasound wuerde ich gern posten, aber ich weiss nicht
wie man bei nano den gesamten Text einer Textdatei kopiert, die Zeilen
sind da so lang dass sie über 2 Bildschirme gehen und mit einem $ am
Ende der Zeile weitergehen ich weiss halt nicht wie ich das kopieren
und einfuegen soll dass man dann alles sieht.... wenn es da einen Tipp
gibt mach ich das natuerlich gern
Gruss und danke soweit,
Paul |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
samo Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 13 Mar 2004 Posts: 489
|
Posted: Thu Nov 11, 2004 7:44 pm Post subject: |
|
|
Stimmt, wenn du Alsa Support im Kernel nutzt, dann darfst du alsa-driver nicht installieren. Die anderen Pakete (alsa-lib, alsa-utils usw.) kannst Du auf jeden Fall installieren. Ich habe die Alsa Erweiterungen im Kernel alle als Module kompiliert.
Ich meinte übrigens die Datei /etc/modules.d/alsa:
Code: | # Alsa 0.9.X kernel modules' configuration file.
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.2 2004/07/18 03:40:55 dragonheart $
# ALSA portion
alias char-major-116 snd
options snd snd_major=116 snd_cards_limit=1
# OSS/Free portion
alias char-major-14 soundcore
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
alias snd-card-0 snd-sb16
## alias snd-card-1 snd-ens1371
## OSS/Free portion
alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##
# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss |
P.S.: Mit CTRL+^ setzt man im nano eine Markierung und mit den Pfeiltasten kann man die Markierung dann bewegen. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cruelnovember Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 11 Sep 2004 Posts: 154
|
Posted: Thu Nov 11, 2004 11:10 pm Post subject: |
|
|
Hey,
also erstmal Vielen Dank soweit...
Also meine /etc/modules.d/alsa
Code: |
# Alsa 0.9.X kernel modules' configuration file.
# $Header:
/var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.co$
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
## ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
## OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##
# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
options snd cards_limit=1
|
Also, ich habe Dein Setup nicht ganz verstanden. Du hast Alsa Support
als Modul, und Sb16 Support als Modul? und Soundcard Support
einkompiliert? Oder hab ich da nun irgendwas falsch verstanden? Ich
versuchs nun mal zu machen wie Du, ich mein wenns bei Dir laueft, sollte
es ja keinen Grund geben, warum es dann bei mir nicht laufen sollte. Ich
habe jetzt Deine Datei uebernommen, aber ich hab keine Ahnung was die
Datei genau macht, und ich denke ich muss sicher den Kernel noch
umstellen. Und was ist mit Alsasound? Soll das gestartet werden oder
nicht?
Am Besten Du sagst mir nochmal genau Dein Setup und ich versuche ob es
so bei mir geht.... es sei denn Du hast noch eine andere Idee
Ok, soweit, Vielen DAnk nochmal,
Paul |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
samo Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 13 Mar 2004 Posts: 489
|
Posted: Fri Nov 12, 2004 6:05 am Post subject: |
|
|
Also meine Kernelkonfiguration sieht so aus:
Code: |
#
# Sound
#
CONFIG_SOUND=m
#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=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_SEQUENCER_OSS is not set
# CONFIG_SND_RTCTIMER is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
#
# ISA devices
#
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_CS4231 is not set
# CONFIG_SND_CS4232 is not set
# CONFIG_SND_CS4236 is not set
# CONFIG_SND_ES1688 is not set
# CONFIG_SND_ES18XX is not set
# CONFIG_SND_GUSCLASSIC is not set
# CONFIG_SND_GUSEXTREME is not set
# CONFIG_SND_GUSMAX is not set
# CONFIG_SND_INTERWAVE is not set
# CONFIG_SND_INTERWAVE_STB is not set
# CONFIG_SND_OPTI92X_AD1848 is not set
# CONFIG_SND_OPTI92X_CS4231 is not set
# CONFIG_SND_OPTI93X is not set
# CONFIG_SND_SB8 is not set
CONFIG_SND_SB16=m
# CONFIG_SND_SBAWE is not set
# CONFIG_SND_SB16_CSP is not set
# CONFIG_SND_WAVEFRONT is not set
# CONFIG_SND_CMI8330 is not set
# CONFIG_SND_OPL3SA2 is not set
# CONFIG_SND_SGALAXY is not set
# CONFIG_SND_SSCAPE is not set
|
Zusätzlich habe ich noch die Pakete alsa-lib, alsa-utils, alsa-oss installiert.
Gruß |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cruelnovember Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 11 Sep 2004 Posts: 154
|
Posted: Fri Nov 12, 2004 1:11 pm Post subject: |
|
|
Hey,
Also ich habe meinen Kernel jetzt genauso konfiguriert wie Du Deinen.
Dann make && make modules_install /boot gemountet, Kernel Image kopiert,
Lilo ausgefuehrt.
Ich habe alsa-oss alsa-lib und alsa-utils emerged. In meiner
/etc/modules.autoload.d/kernel-2.6 sind keine Soundmodule eingetragen.
in meiner /etc/modules.d/alsa sind folgende Eintraege unkommentiert:
Code: |
alias char-major-116 snd
options snd snd_major=116
snd_cards_limit=1
alias char-major-14 soundcore
alias snd-card-0 snd-sb16
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
|
Ok nun starte ich neu und habe immernoch kein Sound.
Code: |
speedy root # modprobe snd-sb16
FATAL: Error inserting snd_sb16
(/lib/modules/2.6.9n/kernel/sound/isa/sb/snd-sb16.ko): No such device
|
Code: |
speedy root # dmesg
...*bla
...*bla
...*bla
pnp: the driver 'sb16' has been registered
pnp: the driver 'sb16' has been unregistered
Sound Blaster 16 soundcard not found or device busy
In case, if you have AWE card, try snd-sbawe module
|
Das sieht irgendwie nicht richtig aus.....
Ich hoffe irgendwer kann helfen...
Gruss,
Paul |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
samo Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 13 Mar 2004 Posts: 489
|
Posted: Fri Nov 12, 2004 7:29 pm Post subject: |
|
|
Was passiert eigentlich, wenn du folgende Anweisung ausführst?
Code: | bash-2.05b# /etc/init.d/alsasound restart
* WARNING: you are stopping a boot service.
* Unloading ALSA...
* Storing ALSA Mixer Levels
* Unloading modules [ !! ]
[ ok ]
* ALSA Detected...
* Restoring Mixer Levels [ ok ] |
Wo das [!!] herkommt weiß ich übrigens auch nicht. Das kommt auch beim Booten, aber bei mir funktioniert alsa trotzdem.
dmesg liefert bei mir eigentlich keinen relevanten Ouput:
Code: | bash-2.05b# dmesg | grep pnp
bash-2.05b# dmesg | grep alsa
bash-2.05b# dmesg | grep sb16 |
Vielleicht liegt es daran, daß du PNP im Kernel aktiviert hast. Ich habe es nicht aktiviert.
Code: | #
# Plug and Play support
#
# CONFIG_PNP is not set |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|