LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   lost all sound after compiling kernel 2.6.11 (https://www.linuxquestions.org/questions/linux-software-2/lost-all-sound-after-compiling-kernel-2-6-11-a-309419/)

TimmyP 04-03-2005 09:09 PM

lost all sound after compiling kernel 2.6.11
 
i wanted to add nvidia support, so i downloaded the debian kernel source for 2.6.11 and installed it the debian way:

-apt-get the kernel source, install and extract bz2 image
-run make xconfig
-make a debian package of an installable kernel
-use new debian package to install kernel and upgrade lilo

all that worked fine, and i am now using my 2.6.11 kernel. however, i have lost all sound support. when i run alsaconf, it picks up my card and loads modules, but when i run alsamixer, i can't turn up the master volume level.

i get this error when i try and run xmms:

libmikmod.so.2: cannot open shared object file: No such file or directory
Inconsistency detected by ld.so: ../sysdeps/generic/dl-tls.c: 72: _dl_next_tls_modid: Assertion `result <= _rtld_local._dl_tls_max_dtv_idx' failed!


any ideas? i did apply a patch to the kernel, to have a debian logo show up when booting...it didnt work. other than that, and the nvidia stuff, i did not change the configuration from the kernel that was installed with the os (2.6.5-1-k7)

when ever i boot my original kernel, it has the same problem. any ideas?

thank you for reading

~TimmyP

EDIT: i'm using a built in AC97 card, with module support for the ALSA and OSS drivers. thats also how it was set up in my original kernel

Grommet 04-03-2005 09:19 PM

standard 2.6.8-2 -686 kernel has alsa in the kernel......perhaps your having issues with 2 different alsa setups in the one system......module is being loaded 2 times or something...

Jaxån 04-04-2005 02:55 PM

You don't need to compile a new kernel to use NVIDIAs driver. Just download the modules that gives support for NVIDIAs driver.

Useing aptitude and kommando /nvidia (for seaching) followd by \ (searching again) gave me this list of NVIDIA related packages:

(in contrib)
nvidia-cg-toolkit
nvidia-glx-src
nvidia-kernel-common
nvidia-kernel-src (old)
nvidia-settings
(in non-free)
nvidia-glx
nvidia-glx-dev
nvidia-kernel-source

Read through /usr/share/doc/nvidia-kernel-source/README.Debian (ALWAYS read README.Debian-files in packages documentation). You find it after you installed nvidia-kernel-source. It got all information you needs to compile an NVIDIA kernel module.
Don't forget to change /etc/X11/XF86Config-4 or run dpkg-reconfigure xserver-xfree86. to use nvidia module instead of nv (it was one thing more, but check documentation, I'm writing this from memory).

If you use TV output on your card, package nvtv should be usefull for you.

Quick read through documentation in aptitude gives me that you should try
apt-get -u install nvidia-kernel-source nvidia-glx nvidia-settings kernel-package devscripts to install needed packages. You also needs kernel header files installed. Run uname -a to see which package kernel-headers-version you need, it should be from where you got the kernel. If you compiled yourself, you need it from there. If you use one precompiled, it's much easier. If so, you could try apt-get -u install kernel-headers-`uname -r` (as i wrote it) to install the header files for the debian kernel you are running.

Hope this helps.

(And don't forget to ALWAYS read /usr/share/doc/package/README.Debian for each package you install)


All times are GMT -5. The time now is 04:22 PM.