Bugzilla – Bug 131606
ISA sound card modules are not loaded during boot
Last modified: 2008-05-14 14:36:55 UTC
It seems that ISA soundcard modules are not load during boot (my card is OPTi 82c931 ISA PnP). How to repeat: 1. Configure sound in YaST2. Card is properly detected and configured. If you press test, sound works. 2. Reboot Actual result: Sound module is not loaded. Expected result: Sound module loaded. Additional info: I guess that the problem is, that YaST2 only configures modules and expects that coldplug/hotplug process will load needed modules. But hotplug has no ISA PnP support and ISA PnP (and probably also manually added - port probed cards) modules are not auto loaded. Note that for undetectable manually added radio card module loading works. Adding modprobe to init scrips works around this problem. Proposed fix: - Allow forced loading of modules for ISA and manually configured soundcards. (Simple and working fix.) Other possible fixes: - Implement ISA PnP registry to udev/hotplug. (It cannot help for port probed cards.)
Could you check /etc/sysconfig/hardware/hwcfg-* files (esp. hwcfg-static*) if the required module is there?
There is no snd-opti93x in these files: hwcfg-static-1: # YaST configured radio card # tv.nouniqkey64:Uživatelem definovaná rádio karta MODULE='radio-aimslab' STARTMODE='auto' hwcfg-static-printer: STARTMODE='auto' MODULE='lp' hwcfg-bus-pci-0000:00:0b.0: MODULE='8139too' MODULE_OPTIONS='' STARTMODE='auto'
Created attachment 56186 [details] y2log.bz2 The same problem affects second machine (the same sound card chip, the same mother board but no radio card).
I have the same problem on my Acer TravelMate 803 laptop (AC97 sound module) /etc/sysconfig/hardware/hwcfg-* does not contain the sound module. "modprobe snd-intel8x0" makes the sound working, so it is an issue of (not) loading the required module. I installed 10.0 as update, but also re-configured sound using YaST2 - it worked until the next reboot. (I guess YaST2 calls modprobe.) If you need more information or log files, please ask.
Please, could you reproduce the problem in SUSE Linux 10.1?
Yes. I have updated the system to 10.1 and the problem remains: YaST detects module properly, after reboot it is not loaded.
I am having the same problem with 10.1 on a Thinkpad 770Z. Sound works if configured with alsaconf or yast2 but will not come up on reboot. modprobe cs4236 gets it to work again.
IIRC hotplug loading of sound and modem modules is disabled (just loading the modules can cause problems on some hw), and has to be reenabled by yast (by creating the hwcfg-* for example).
Stanislav, could you test it in 10.3 Alpha7/Beta1? AFAIK hotplug has been changed (again) and I don't know the current status. Thanks!
No response for almost a month, closing as NORESPONSE. Please, reopen the bug if you are able to attach the requested information. Thanks.
Problem still appears on 10.3 beta3.
Notebook Compaq Armada 7400 (zeta) on my desk is your playground. Feel free to test it there.
Sorry, we don't have time for playing. Please, attach YaST logs and `hwinfo --sound` output.
Created attachment 163038 [details] YaST2.tar.bz2 Here are YaST2 logs. Output of "hwinfo --sound" is empty both before and after "modprobe snd-es18xx". Sound (alsamixer) does not work before "modprobe snd-es18xx" (no device), but works after. Sound was not configured in time of installation, but later by YaST (it was not auto-configured and I had to call vendor diagnostic to get proper DMA/IRQ/Ports).
And what about those /etc/sysconfig/hardware/hwcfg-* files? Do they still lack the needed snd-es18xx? Could you, please, attach the hwcfg file for your sound card?
BTW: I've found this in the y2log: add_common_options: card: 0, entry: $["model":"ES1879 PnP AudioDrive", "module":"snd-es18xx", "options":$["isapnp":"1"], "unique_key":"uniq.unknown_key"] Maybe YaST thinks it *supports* PnP... Hmm, but after that: sound/routines.ycp:243 add_common_options: card: 0, entry: $["alias":"snd-card-0", "model":"ES1879 PnP AudioDrive", "module":"snd-es18xx", "options":$["dma1":"1", "dma2":"0", "fm_port":"0x388", "irq":"5", "isapnp":"0", "mpu_port":"0x330", "port":"0x220"], "unique_key":"uniq.unknown_key"] Sound.ycp:901 Required kernel modules: ["snd-es18xx"] ... sound/write_routines.ycp:204 Found sysconfig/hardware files: ["static-printer"] Er, what's that :)? zzz
hwcfg files are obsoleted in 10.3 (see bug #290430) Takashi, how should yast configure ISA cards in 10.3? Is there anything special for ISA?
One card (from the original 10.2 report) was ISA PnP. The card from the 10.3 report is ISA not PnP and even undedectable in YaST sound configurator. Yes, there are no /etc/sysconfig/hardware/hwcfg-related to sound: ls /etc/sysconfig/hardware/ README.hwcfg_and_device_initialisation hwcfg-static-printer hwcfg2rules AFAIK, far the best solution for these problems would be HAL static configuration prober - user and advanced configuration tool will create file and prober will report this hardware as an ordinary autodetectable stuff.
Since hwcfg is gone on 10.3, the only good way for non-pnp ISA cards would be to add the corresponding module to /etc/sysconfig/kernel (e.g. $MODULES_LOADED_ON_BOOT)...
In this case, closing as LATER --> after 10.3 We can't do such things for openSUSE 10.3 now
This was fixed in yast2-sound-2.16.10. *** This bug has been marked as a duplicate of bug 331659 ***