On Tue, Jul 02, 2002 at 10:50:22AM -0400, Oscar Arturo Ross Gurrola wrote:

> Thanks for your reply. So, in your opinion, what I need 
> to do is
> 1.-remove my current modules dir
> 2.- go into /usr/src/linux recompile and reinstall my 
> kernel. 
> 3.- configure, compile and install ALSA
> 
> Step 2 is what intrigues me, normally I'd do:
> # make dep clean bzImage
> 
> but, as you say,  I shouldn?t do 'make clean' in order to 
> avoid wiping off my current kernel source tree setup. So, 
> would
> 'make dep bzImage' be correct? or only 'make bzImage'

Well, that's how I do it, though under Debian dist that I use it looks
somewhat different (make-kpkg to compile debian kernel package and dpkg to
install it), but idea is right.

Literally here's how I do my kernel compiles -

rasa:~/temp/kernel$ tar xjvf linux-2.4.18.tar.bz2
rasa:~/temp/kernel$ cd linux
rasa:~/temp/kernel$ make menuconfig
rasa:~/temp/kernel/linux$ fakeroot
rasa:~/temp/kernel/linux# make-kpkg clean
rasa:~/temp/kernel/linux# make-kpkg --revision=custom.1.0 kernel_image
rasa:~/temp/kernel/linux# exit
rasa:~/temp/kernel/linux$ su -
rasa:~# cd /lib/modules
rasa:/lib/modules# mv 2.4.18 2.4.18.old
rasa:/lib/modules# cd ~martins/temp/kernel
rasa:/home/martins/temp/kernel# dpkg -i kernel-image-2.4.18_custom.1.0_i386.deb
rasa:/home/martins/temp/kernel# cd /usr/src
rasa:/usr/src# ln -s /home/martins/temp/kernel/linux linux

While configuring kernel, do not forget to include sound support as a
module (but You know that already, right?)

Now I would go unpack alsa source somewhere, do ./configure, do
make, su to root and do make install. I would modify /etc/modules.conf
according to alsa documentation if not done so earlier. Also I would
compile and install the other custom modules like NVidia and such.

After all the above - reboot. Well, it works for me this way.

Good luck,

        Martins


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to