Bug 130614 - sound card disappears every time I reboot
Summary: sound card disappears every time I reboot
Status: RESOLVED DUPLICATE of bug 116483
: 133226 (view as bug list)
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Final
Hardware: 32bit SuSE Linux 10.0
: P5 - None : Normal
Target Milestone: ---
Assignee: Ladislav Slezák
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-25 20:17 UTC by Thorsten Staerk
Modified: 2006-01-03 09:54 UTC (History)
2 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
reconfigured sound, then drew the log (280.19 KB, application/x-tgz)
2005-11-14 19:28 UTC, Thorsten Staerk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thorsten Staerk 2005-10-25 20:17:13 UTC
No matter which of my 3 computers I use, everytime I reboot, the sound card disappears. That means, there is no sound till I go into yast2, delete my soundcard, and add it again.
Comment 1 Takashi Iwai 2005-10-26 09:52:19 UTC
Check /etc/sysconfig/hardware/hwcfg-* file whether any of them contains the corresponding sound driver module.  If not, the yast configuration didn't work by any reason.
Comment 2 Takashi Iwai 2005-10-27 12:42:10 UTC
Also, check the mixer status when it happens.  Some volumes might be muted acciedentally by apps.

Comment 3 Thorsten Staerk 2005-11-02 21:22:49 UTC
kolossus:~ # lsmod > beforeyastsound.txt
kolossus:~ # yast2 sound
kolossus:~ # lsmod > afteryastsound.txt
kolossus:~ # diff beforeyastsound.txt afteryastsound.txt
1a2,13
> snd_pcm_oss            67616  0
> snd_mixer_oss          24704  1 snd_pcm_oss
> snd_seq                62864  0
> snd_seq_device         13068  1 snd_seq
> snd_intel8x0           39040  0
> snd_ac97_codec         98428  1 snd_intel8x0
> snd_ac97_bus            6400  1 snd_ac97_codec
> snd_pcm               109700  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
> snd_timer              31108  2 snd_seq,snd_pcm
> snd                    71300  8 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
> snd_page_alloc         15112  2 snd_intel8x0,snd_pcm
> soundcore              13920  1 snd
kolossus:~ # ll /etc/sysconfig/hardware/
total 43
drwxr-xr-x  4 root root  584 Oct  6 22:44 .
drwxr-xr-x  8 root root 1664 Oct  6 23:18 ..
-rw-r--r--  1 root root 1165 Sep  9 18:15 config
-rw-r--r--  1 root root   49 Oct 21  2004 hwcfg-bus-pci-0000:02:08.0
-rw-r--r--  1 root root   11 May 19 03:04 hwcfg-disk-id-SATA_Maxtor_6Y080L0_Y2GKSHNE
-rw-r--r--  1 root root   13 Oct 21  2004 hwcfg-disk-id-SATA_Maxtor_6Y080L0_Y2GQP16E
-rw-r--r--  1 root root   13 Oct 21  2004 hwcfg-disk-id-SATA_SAMSUNG_DVD-ROM_SD-616
-rw-r--r--  1 root root   13 Oct 21  2004 hwcfg-disk-id-SATA__NEC_DVD+RW_ND-2100A
-rw-r--r--  1 root root   29 May 19 03:05 hwcfg-static-printer
-rw-r--r--  1 root root   27 May 18 21:08 hwcfg-vpid-32902-9424
-rw-r--r--  1 root root   27 May 18 21:08 hwcfg-vpid-32902-9427-4136-372
-rw-r--r--  1 root root   27 May 18 21:08 hwcfg-vpid-32902-9585
drwxr-xr-x  2 root root  496 Oct  6 22:44 scripts
drwxr-xr-x  2 root root  240 Oct  6 22:44 skel
kolossus:~ #          

hmmm... don't know what to do with the listing in /etc/sysconfig/hardware... Is my soundcard saved ?
Comment 4 Takashi Iwai 2005-11-07 16:15:22 UTC
You can run "grep snd /etc/sysconfig/hardware/hwcfg-*".
Comment 5 Thorsten Staerk 2005-11-07 20:44:32 UTC
kolossus:~ # grep snd /etc/sysconfig/hardware/hwcfg-*
kolossus:~ # yast2 sound
kolossus:~ # grep snd /etc/sysconfig/hardware/hwcfg-*
kolossus:~ #     

before the yast2 sound, sound did not work, after it, it worked. So, the only difference between working sound and non-working sound are the loaded drivers.
Comment 6 Jaroslav Kysela 2005-11-10 08:18:40 UTC
*** Bug 133226 has been marked as a duplicate of this bug. ***
Comment 7 Ladislav Slezák 2005-11-11 06:44:01 UTC
Yast loads the modules, but hwcfg file is still missing when configuration is finished...

Please, attach y2log (http://www.opensuse.org/Bug_Reporting_FAQ#YaST)
Comment 8 Thorsten Staerk 2005-11-14 19:28:42 UTC
Created attachment 57294 [details]
reconfigured sound, then drew the log
Comment 9 Christian Boltz 2005-11-21 23:41:46 UTC
I have this problem on my Acer TravelMate 803 also (module snd_intel8x0).
(If you need logs from me, just ask.)
Comment 10 Thorsten Staerk 2005-12-31 07:31:24 UTC
hackish solution for me is to create a file /etc/init.d/after.local like the following:

scorpio:~ # cat /etc/init.d/after.local
modprobe snd_pcm_oss
modprobe snd_mixer_oss
modprobe snd_seq
modprobe snd_seq_device
modprobe snd_intel8x0
modprobe snd_ac97_codec
modprobe snd_ac97_bus
modprobe snd_pcm
modprobe snd_timer
modprobe snd
modprobe snd_page_alloc
modprobe soundcore
scorpio:~ #

Christian, please see my comment 3 to find out which modules you need.
Comment 11 Thorsten Staerk 2005-12-31 08:14:22 UTC
/etc/init.d/alsasound reads /etc/modprobe.d/sound and loads the drivers (line 103) if they are in the typical alias-form (line 83). Problem is, /etc/modprobe.de/sound only contains one module after calling yast2 sound.
Comment 12 Ladislav Slezák 2006-01-02 15:34:43 UTC
Oh, it seems that this is duplicate of #116483.

Please, remove the card, save the setup (finish the yast module). Then start the module again and configure the card. Does solve your problem?
Comment 13 Christian Boltz 2006-01-02 21:06:02 UTC
(In reply to comment #10)
> Christian, please see my comment 3 to find out which modules you need.

echo 'a3998fa3f22d990966baaaca5c646470  /etc/SuSE-release' |md5sum -c \
  && modprobe snd-intel8x0

in boot.local is enough for my system - it also loads the other listed modules.

Why I call md5sum before? I want to automatically re-test when upgrading to 10.1 beta ;-)
Comment 14 Thorsten Staerk 2006-01-02 21:52:08 UTC
Ladislav, yes, it solves my problem - now I know how I solved this problem for SUSE 9.3!
Comment 15 Thorsten Staerk 2006-01-03 09:54:47 UTC

*** This bug has been marked as a duplicate of 116483 ***