LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Fedora 14 x86_64 No sound after removing alsa-driver-linuxant (https://www.linuxquestions.org/questions/linux-software-2/fedora-14-x86_64-no-sound-after-removing-alsa-driver-linuxant-875096/)

Doug Hutcheson 04-14-2011 09:17 PM

Fedora 14 x86_64 No sound after removing alsa-driver-linuxant
 
Folks,

Months ago, I tried to get my notebook's internal modem working, by installing alsa-driver-linuxant-1.0.23.1-1.noarch.rpm and hsfmodem-7.80.02.06x86_64full-1.x86_64.rpm, both from Linuxant. This did not work, but my system was stable and the sound device (Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)) worked fine.

In the last few days, I upgraded to the latest kernel 2.6.35.12-88.fc14.x86_64. Boot failed due to an inability to build the alsa-driver-linuxant against the kernel source (I have the kernel source in /usr/src/kernels/2.6.35.12-88.fc14.x86_64/). The message in boot.log was:
Code:

ERROR: Build failed. Please review the build log at /var/run/alsa-driver.1367.log.
/var/run/alsa-driver.1367.log contains the error:
Code:

make[1]: Entering directory `/usr/src/kernels/2.6.35.12-88.fc14.x86_64'
Makefile:538: /usr/src/kernels/2.6.35.12-88.fc14.x86_64/arch//Makefile: No such file or directory
make[1]: *** No rule to make target `/usr/src/kernels/2.6.35.12-88.fc14.x86_64/arch//Makefile'.  Stop.
make[1]: Leaving directory `/usr/src/kernels/2.6.35.12-88.fc14.x86_64'
make: *** [compile] Error 2

Not wanting to get into hacking makefiles just to boot my system cleanly, I decided to (at long last) uninstall alsa-driver-linuxant and hsfmodem, which I did using yum erase blah.

Now, my system boots cleanly, but I have no sound.

lsmod reports no loaded sound modules. lspci reports the correct hardware:
Code:

[root@cardraeh ~]# lsmod | grep snd
[root@cardraeh ~]# lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
[root@cardraeh ~]# aplay -l
aplay: device_list:235: no soundcards found...

modprobe -l reports the following sound modules:
Code:

kernel/sound/soundcore.ko
kernel/sound/usb/snd-usb-audio.ko
kernel/sound/usb/snd-usbmidi-lib.ko
kernel/sound/usb/misc/snd-ua101.ko
kernel/sound/usb/usx2y/snd-usb-usx2y.ko
kernel/sound/usb/usx2y/snd-usb-us122l.ko
kernel/sound/usb/caiaq/snd-usb-caiaq.ko
kernel/sound/pcmcia/vx/snd-vxpocket.ko
kernel/sound/pcmcia/pdaudiocf/snd-pdaudiocf.ko
kernel/sound/ac97_bus.ko

So, the upshot is I seem to be missing the modules to make my soundcard work. I do not know what modules I need, but assume they are lurking somewhere waiting for me to modprobe them. I am not a kernel guru by any means, but I am a long-time Linux user and should be able to follow clear instructions. (I am a retired programmer, so don't use too many long words ... "8-]).

If you can tell me how to get my soundcard working, I will be grateful. If you can tell me how to get the internal modem working as well, so I can fax etc, I will be ecstatic. I am using a Lenovo T61, if that makes any difference.

Thanks for reading this far,
Doug

andrewthomas 04-15-2011 08:07 AM

It seems like you should be using
snd_hda_intel and snd_hda_codec_analog
try to modprobe those

Doug Hutcheson 04-15-2011 07:29 PM

Thanks andrewthomas.

Those modules do not exist on my system.
Code:

[doug@cardraeh Modem]$ sudo modprobe snd_hda_intel
FATAL: Module snd_hda_intel not found.
[doug@cardraeh Modem]$ locate snd_hda_intel
[doug@cardraeh Modem]$ sudo modprobe snd_hda_codec_analog
FATAL: Module snd_hda_codec_analog not found.
[doug@cardraeh Modem]$

How do I encourage the system to work out what is missing and rebuild as required? Or, how do I force those specific modules to be built from my kernel source?

Sorry if these are simple questions, but I have not had to do this before and don't know the incantations. If all else fails, I will reinstall FC14, but that sounds like a Windoze cop-out and I am hoping there is a less drastic solution to my problem.

I am interested that the latest kernel 2.6.35.12-88.fc14.x86_64 seems to have no snd-hda* modules, but the previous kernel did. I have probably caused this myself, somehow, with the attempts to remove the linuxant modules. This is the comparison:
Code:

[root@cardraeh Modem]# find /lib/modules/2.6.35.11-83.fc14.x86_64 -iname "*hda*"
/lib/modules/2.6.35.11-83.fc14.x86_64/kernel/sound/pci/hda
/lib/modules/2.6.35.11-83.fc14.x86_64/kernel/sound/pci/hda/snd-hda-codec-atihdmi.ko
/lib/modules/2.6.35.11-83.fc14.x86_64/kernel/sound/pci/hda/snd-hda-codec-si3054.ko
/lib/modules/2.6.35.11-83.fc14.x86_64/kernel/sound/pci/hda/snd-hda-codec-idt.ko
/lib/modules/2.6.35.11-83.fc14.x86_64/kernel/sound/pci/hda/snd-hda-codec-via.ko
/lib/modules/2.6.35.11-83.fc14.x86_64/kernel/sound/pci/hda/snd-hda-codec-conexant.ko
/lib/modules/2.6.35.11-83.fc14.x86_64/kernel/sound/pci/hda/snd-hda-codec-analog.ko
/lib/modules/2.6.35.11-83.fc14.x86_64/kernel/sound/pci/hda/snd-hda-codec-nvhdmi.ko
/lib/modules/2.6.35.11-83.fc14.x86_64/kernel/sound/pci/hda/snd-hda-codec.ko
/lib/modules/2.6.35.11-83.fc14.x86_64/kernel/sound/pci/hda/snd-hda-codec-intelhdmi.ko
/lib/modules/2.6.35.11-83.fc14.x86_64/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.35.11-83.fc14.x86_64/kernel/sound/pci/hda/snd-hda-codec-ca0110.ko
/lib/modules/2.6.35.11-83.fc14.x86_64/kernel/sound/pci/hda/snd-hda-codec-cmedia.ko
/lib/modules/2.6.35.11-83.fc14.x86_64/kernel/sound/pci/hda/snd-hda-codec-realtek.ko
/lib/modules/2.6.35.11-83.fc14.x86_64/kernel/sound/pci/hda/snd-hda-codec-cirrus.ko
/lib/modules/2.6.35.11-83.fc14.x86_64/kernel/drivers/hwmon/hdaps.ko

[root@cardraeh Modem]# find /lib/modules/2.6.35.12-88.fc14.x86_64 -iname "*hda*"
/lib/modules/2.6.35.12-88.fc14.x86_64/kernel/drivers/hwmon/hdaps.ko
[root@cardraeh Modem]#

I am going to revert back to the previous kernel, to see if I can get sound working. It is fairly obvious to me that I need to get - or regenerate - the snd-hda* modules, but I do not know how to do that yet: all assistance in this direction will be greatly appreciated.

Later: Reverting to kernel 2.6.35.11-83 has my soundcard working again. I will stay with this version until I have solved the problem with 2.6.35.12-88.

Later still: Using the few brains I was given, I ran 'yum whatprovides */snd-hda-codec-analog.ko' and found it is part of the kernel rpm. Therefore, I ran 'yum reinstall kernel.x86_64'. This brought the missing *hda* modules back onto my system and set up grub.conf to boot the new kernel, so I rebooted and now have sound again. As I had previously run 'yum remove' on the Linuxant modules, I now have a system running cleanly without them. Now to discover if I can get the modem working by installing hsfmodem, but that will be another story.

I hope this helps any lurkers who had similar problems. Thanks to andrewthomas for putting my thinking onto the right track.

Cheers,
Doug

andrewthomas 04-15-2011 11:52 PM

You're welcome, Doug.

Glad to be of help.


All times are GMT -5. The time now is 01:38 AM.