Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Alsa - kernel - 2.4.25 - module not present
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
minychillo
n00b
n00b


Joined: 14 May 2004
Posts: 15

PostPosted: Tue May 25, 2004 2:38 pm    Post subject: Alsa - kernel - 2.4.25 - module not present Reply with quote

Hello,

I am completely new to alsa and sound on linux. I can't get my sound card to work. So here is what I think Is the problem.

When I compiled the kernel, I build in the Sound Card Support an the nessacary drivers for my sound card. I both build them in, so not as module.

Is this the problem why alsa can't load it's module (not in lsmod). Do I really need to recompile the kernel with my sound card drivers as module, or do I even have to not to compile it at all. Is the module provided by alsa ?

Thnakx for any help !
Back to top
View user's profile Send private message
agent_jdh
Veteran
Veteran


Joined: 08 Aug 2002
Posts: 1783
Location: Scotland

PostPosted: Tue May 25, 2004 3:32 pm    Post subject: Reply with quote

The sound drivers that come with the 2.4 series kernel are OSS drivers, not ALSA drivers.

You can't have both OSS and ALSA drivers at the same time - choose one or the other.

Re-compile your kernel without any of the sound stuff (well, apart from the initial sound support module, just don't select any drivers or anything else, iirc, it's been a while since I used a 2.4 kernel).

You'll then need to emerge alsa-driver (and probably alsa-lib and alsa-utils as well).

There's a pretty comprehensive ALSA howto for Gentoo in the Documentation section of the website.

One other alternative is to move to a 2.6 kernel (emerge development-sources) - these now have the ALSA drivers built in, as well as many other improvments over the 2.4 kernels.

I would tend to use a 2.6 kernel and the ALSA drivers as modules. There's a good thread here https://forums.gentoo.org/viewtopic.php?t=97157
Have a read through it. ALSA can be pretty confusing at first.
_________________
Jingle Jangle Jewellery
Back to top
View user's profile Send private message
minychillo
n00b
n00b


Joined: 14 May 2004
Posts: 15

PostPosted: Tue May 25, 2004 3:54 pm    Post subject: Reply with quote

Ok, I think I would prefer to switch to 2.6, but as I am rather new to kernel compilation too (sorry newbie at work) I wonder how to do this.

If I emerge development-sources, will this imply download the kernel source to /usr/src/linux-beta or similar, and I do a cd to that folder an then run make menuconfig.

After compiling, will I then simply get a new compiled kernel image which I have to copy to /boot and overwrite the old one ?
After reboot I will be running in 2.6 ?

Will there be no complications with already installed ebuilds (ex: gnome gtk etc..), do I need to rebuild everything ?

Can I remove old kernel sources in /usr/src/linux ?

In other words, I have no idea how to switch to new kernel version ?

------------------------------------------------
Minychillo - Never look back where you felt, but where you slipped
Back to top
View user's profile Send private message
minychillo
n00b
n00b


Joined: 14 May 2004
Posts: 15

PostPosted: Wed May 26, 2004 7:59 am    Post subject: Reply with quote

*bump*
Back to top
View user's profile Send private message
minychillo
n00b
n00b


Joined: 14 May 2004
Posts: 15

PostPosted: Wed May 26, 2004 8:54 am    Post subject: Reply with quote

Nobody that can help me here ?
_________________
-------------------------------------------------
minychillo - Never look back where you felt, but where you slipped
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4983
Location: Gothenburg, Sweden

PostPosted: Wed May 26, 2004 9:10 am    Post subject: Reply with quote

minychillo wrote:
Ok, I think I would prefer to switch to 2.6, but as I am rather new to kernel compilation too (sorry newbie at work) I wonder how to do this.

If I emerge development-sources, will this imply download the kernel source to /usr/src/linux-beta or similar, and I do a cd to that folder an then run make menuconfig.

After compiling, will I then simply get a new compiled kernel image which I have to copy to /boot and overwrite the old one ?
After reboot I will be running in 2.6 ?

Will there be no complications with already installed ebuilds (ex: gnome gtk etc..), do I need to rebuild everything ?

Can I remove old kernel sources in /usr/src/linux ?

In other words, I have no idea how to switch to new kernel version ?

You have it pretty much nailed down. The directory will not be linux-beta, though. I'd recommend you do the following.
Code:
cd /usr/src
rm linux  #To let emerge recreate the symlink for you
emerge whatever-sources
cd linux
make menuconfig
make
make modules_install
mount /boot
cp arch/... /boot/bzImage-kernel-version #Don't overwrite the old one in case this one doesn't work
$EDITOR /boot/grub/grub.conf #Or lilo.conf

Since you switch from 2.4 there is little use in using your old kernel config.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Back to top
View user's profile Send private message
minychillo
n00b
n00b


Joined: 14 May 2004
Posts: 15

PostPosted: Wed May 26, 2004 9:13 am    Post subject: Reply with quote

Thanks a lot, but how about the already compiled ebuilds, aren't they compiled to run under the current Kernel version, or is this Kernel independent ??

And what is the best ebuild to use to get kernel 2.6 ?
_________________
-------------------------------------------------
minychillo - Never look back where you felt, but where you slipped
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4983
Location: Gothenburg, Sweden

PostPosted: Wed May 26, 2004 9:25 am    Post subject: Reply with quote

Only a select few are dependent on the kernel sources, such as nvidia-kernel, and to some extent lm-sensors.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum