View previous topic :: View next topic |
Author |
Message |
minychillo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 May 2004 Posts: 15
|
Posted: Tue May 25, 2004 2:38 pm Post subject: Alsa - kernel - 2.4.25 - module not present |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
agent_jdh Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 08 Aug 2002 Posts: 1783 Location: Scotland
|
Posted: Tue May 25, 2004 3:32 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
minychillo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 May 2004 Posts: 15
|
Posted: Tue May 25, 2004 3:54 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
minychillo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 May 2004 Posts: 15
|
Posted: Wed May 26, 2004 7:59 am Post subject: |
|
|
*bump* |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
minychillo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 May 2004 Posts: 15
|
Posted: Wed May 26, 2004 8:54 am Post subject: |
|
|
Nobody that can help me here ? _________________ -------------------------------------------------
minychillo - Never look back where you felt, but where you slipped |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kallamej Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3896974784c480ee5977f8.gif)
Joined: 27 Jun 2003 Posts: 4983 Location: Gothenburg, Sweden
|
Posted: Wed May 26, 2004 9:10 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
minychillo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 May 2004 Posts: 15
|
Posted: Wed May 26, 2004 9:13 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
kallamej Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3896974784c480ee5977f8.gif)
Joined: 27 Jun 2003 Posts: 4983 Location: Gothenburg, Sweden
|
Posted: Wed May 26, 2004 9:25 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|