LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-11-2005, 08:41 AM   #1
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Rep: Reputation: 47
remove alsa for alsa??


I just compiled a new kernel 2.4.29 from 2.4.26 in Slack 10. I need the alsa ESS modules-I was told that I need to install alsa again. Since I already have alsa on my pc, do I need to use pkgtool to remove alsa before I build it (I've never had pkgtool work right except for removing packages....installing packages doesn't work so I always compile them myself)??

Last edited by linuxhippy; 03-11-2005 at 08:43 AM.
 
Old 03-11-2005, 09:06 AM   #2
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
if you only need the modules ( and i think you do after reading your other post )
then you don't need to remove the old ones. they are in the 2.4.26 module-tree.
your new modules will go to the 2.4.29-tree after compiling and installing.

....and if your compiling your prog.'s rather then using pkg.'s, you use checkinstall eh.?
then you can allways remove them with pkgtool.

egag
 
Old 03-11-2005, 10:40 AM   #3
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Original Poster
Rep: Reputation: 47
I'm confused about the modules. If I'm going from kernel 2.4.26 to 2.4.29 I can use the same modules for both kernels? Would I just rename the /lib/modules/2.4.26 directory to /lib/modules/2.4.29??
 
Old 03-11-2005, 11:10 AM   #4
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
All you need is the modules for alsa. The alsa libraries that have nothing to do with the kernel but only with glib should stay the same. The package that contains the modules is alsa-driver.
I would use the same alsa version(1.0.5a), in case there is a confict with the other alsa packages. If you have the 3rd and 4rth slack 10 cd go to the source/l/alsa-driver/ (it's in one of the cd's) and copy the context (the files you see below) of this directory in a local folder. if not go to a slackware mirror and download the source. This is a Greek mirror:
ftp://ftp.ntua.gr/pub/linux/slackwar...l/alsa-driver/

the files:
alsa-driver-1.0.5a.tar.bz2
alsa-driver.SlackBuild
doinst.sh.gz
slack-desc

The alsa-driver.SlackBuild is a script that will make the slack-driver package, out of the source: alsa-driver-1.0.5a.tar.bz2

Open alsa-driver.SlackBuild with an editor and you'll find a line:
KVERSION=${KVERSION:-2.4.26} change this to
KVERSION=${KVERSION:-2.4.29}
Make sure you have booted with the new kernel and run the script:
Code:
./alsa-driver.SlackBuild
this will compile and store in /tmp the package: alsa-driver-1.0.5a_2.4.29-i486-1.tgz
install it with:
Code:
installpkg /tmp/alsa-driver-1.0.5a_2.4.29-i486-1.tgz
there is no need to uninstall alsa-driver-1.0.5a_2.4.26-i486-1 if you still have the old kernel.
Actually the wiser thing to do is to keep both kernels. In this case you'll need both packages to have sound when booting with both kernels.

Last edited by perfect_circle; 03-11-2005 at 11:21 AM.
 
Old 03-11-2005, 11:17 AM   #5
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
Quote:
Originally posted by linuxhippy
I'm confused about the modules. If I'm going from kernel 2.4.26 to 2.4.29 I can use the same modules for both kernels? Would I just rename the /lib/modules/2.4.26 directory to /lib/modules/2.4.29??
The answer to this is of course NO.
If you compiled a new kernel and followed the correct procedure, there should have been compiled new modules and stored in
/lib/modules/2.4.29 .
 
Old 03-11-2005, 03:23 PM   #6
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Or, you could just download the latest source from ALSA, compile and install using the compile guide from the same site. It's a fairly simple procedure and that way you'll have latest drivers/lib/utils/oss installed.

Later,
MMYoung
 
Old 03-11-2005, 04:45 PM   #7
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Original Poster
Rep: Reputation: 47
Wow, thanks perfect_circle for the alsa ftp and instructions....I now have sound in my new kernel!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel-2.6.3 compiled with alsa but xmms alsa output dont plays demmylls Linux - General 3 09-01-2006 04:32 AM
ubuntu remove alsa deucedlt Linux - Newbie 1 04-04-2005 02:03 PM
alsa remove spotslayer Slackware 3 12-07-2004 06:32 PM
How to remove alsa cb9fl Slackware 3 03-11-2004 08:28 AM
How do you remove ALSA 0.9.6 from Mdk9.2 gnunoob Mandriva 4 01-11-2004 02:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration