Kernel-source, alsa-driver and kernel compile 2.6.11.9
Hi, I'm compiling my first kernel and need to know if I need to install new alsa drivers and kernel-source for the new kernel or is that included? Of not where do I find them? Can't find them at kernel.org...
Thx! |
You can either download the ALSA sources separately from the ALSA project site and compile them or compile the ALSA modules into the kernel.
I'd recommend the first course, because you'll be assured of the latest versions. |
Thanks but how about kernel-source?
|
As for kernel-sources (I'm assuming you're using Slack) you can find it on the install disk or you can download sources from www.kernel.org if you wish the latest.
No problem. You can compile the kernel separately and then compile the ALSA drivers separately. The make install step for the ALSA drive sources will automatically install the ALSA modules into the kernel directories. |
This topic should help you get a start on how to compile a kernel in Slackware. (2.6 series)
|
Thanks for the tip!
Where at kernel.org can I find them? I meant kernel-source not the code source for the kernel of course, if I made myself unclear...I'm currently using this one URL=ftp://ftp.slackware.no/pub/linux/slackware/slackware-current/testing/packages/linux-2.6.11.9/]slackware.no[/URL] but want to make my own... |
It's all the same sources. Maybe the Slackware packages will have customized kernel config files. It's not a big deal if you know your hardware and what options are right for you.
You unpack the source code in the /usr/src/ directory. Then create a symlink to : /usr/src/linux -> /usr/src/linux-2.x.y (example: x and y are major and minor version nos). Then go to /usr/src/linux. In a terminal type: Code:
make menuconfig Code:
make xconfig |
Ok I've heard that you need besides the kernel, the kernel-source for compiling stuff in any distribution but I was way out I guess...
|
Yes. If you're compiling your own kernel, you would need the kernel source code.
I think you're referring to the kernel headers (not full source code)? You won't need kernel headers if you have the full source code and you have a symlink /usr/src/linux point to the actual kernel source code directory /usr/src/linux-2.x.y. Maybe somebody else can explain this better? |
To get a working 2.6 kernel with ALSA support, all you need is the kernel source - ALSA is built into the 2.6 kernel. You only need to get hold of Alsa seperately if you're using 2.4
|
Quote:
ALSA project drivers worked fine after a simple Code:
./configure Usually I base my advice on experience, but of course, you're right. 2.6 kernels have built-in ALSA. |
Really? I just checked off the relevant boxes, compiled, and it worked right off the bat.
With Gentoo, that is. Alsa never worked very well under Slackware - had to start it manually every time I logged in. . . |
No problems in Gentoo (works fine here :)). At that time I was using (trying out) Slackware and I had a lot of problems with ALSA until I downloaded and compiled the source from the ALSA project site.
Since the OP mentions Slackware in the user profile, I thought I'd base my reply on that experience. |
Well I checked the boxes too and it didn't work I too know which snd card I have so I'll install them separately. The same goes for atm and acpi. I know I checked the boxes (double checked it out) but still no apm module or battery bar in my gkrellm. Apm command says "FATAL: No apm module found"
Weird.... |
All times are GMT -5. The time now is 10:06 AM. |