Re: after kernel re-compile tons of sound errors
Hi again,
I was not able to figure out all of the sound errors, but I have fixed
everything. I think that (maybe) the problem had to do with compiling
and installing a kernel manually vs. the debian way. I have been
wrestling with a new kernel compile all last night and this morning
and tried to do this with dpkg a couple times. I think maybe there was
some kind of conflict between that and my later manual compile and
install.
I got around the problem by downloading the lastest stable kernel
(2.6.14.5) and doing a manual compile and install. This meant that the
/lib/modules/2.6.14.5 directory was brand new (since I think the
problem was in the old /lib/modules/2.6.14 directory)
I also discovered that you have to recompile and reinstall the nvidia
module after installing a new kernel.
Here is how I installed the 2.6 kernel and nVidia module:
--------------------------------------
Kernel
--------------------------------------
download lastest stable kernel from www.kernel.org
(linux-2.6.14.5.tar.bz2) into /usr/src
extract
% tar xvfj linux-2.6.14.5.tar.bz2
link linux-2.6.14.5 to linux:
% ln -s linux-2.6.14.5 linux
move to that directory
% cd linux
I already spent a lot of time selecting options for the kernel so I
simply copied the .config file from the previous kernel
% cp ../linux-2.6.14/.config ./
check the kernel config and alter as needed:
% make menuconfig
Make new kernel image
% make clean
% make bzImage
Make & install new modules:
% make modules
% make modules_install
Copy kernel image to /boot
% cp /usr/src/linux/arch/x86_64/boot/bzImage /boot/
--------------------------------------
Lilo
--------------------------------------
update lilo, add information about new image, run /sbin/lilo
% vi /etc/lilo.conf
image=/boot/bzImage
root=/dev/hda6
label="Linux-2.6.14-5"
read-only
% lilo
--------------------------------------
nVidia Modules
--------------------------------------
Download and install nVidia module source, which creates a source
tarball in /usr/src
% apt-get install nvidia-kernel-source nvidia-kernel-common
extract tarball
% tar -xfvz nvidia-kernel-source.tar.gz
Build the kernel module and nvidia module the 'debian way' (even
though I won't use the kernel_image)
% make-kpkg clean
% make-kpkg kernel_image modules_image
This creates a kernel-image.deb and nvidia-kernel.deb in /usr/src. The
debian way is to then use "dpkg -i" to install both. Instead I
installed only the nvidia module
% dpkg -i nvidia-kernel-2.6.14.5_1.0.8178-1+2.6.14.5-10.00.Custom_amd64.deb
Make sure that nvidia-glx is installed
% apt-get install nvidia-glx
--------------------------------------
xorg.conf
--------------------------------------
Edit /etc/X11/xorg.conf
Make sure that the Module section contains:
Load glx
And comment out:
# Load dri
# Load GLCore
To enable TV out edit the xorg.conf "Device" section something like this:
Section "Device"
Identifier "Generic Video Card"
Driver "nvidia"
Option "TwinView"
Option "TwinViewOrientation" "Clone"
Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "60"
Option "MetaModes" "1024x768, 1024x768; 800x600,
800x600; 640x480, 640x480;"
Option "TVStandard" "NTSC-J"
Option "TVOutFormat" "SVIDEO"
EndSection
Reply to: