Michael Sullivan wrote:
I had to reinstall Windows the other day and it accidently wiped out my
Linux partitions (lucky for backups!).  I decided that I would make a
Gentoo 2005.0 LiveCD and reinstall Gentoo from there.  For a long time
I've wanted to use a 2.6 kernel, but I could never get it to work.  It
seems to be working fine now.  I'm trying to set up my sound card by
following the Gentoo Alsa Guide.  It said that I should check to lspci
to see what card I have:

baby root # lspci | grep -i audio
0000:00:0d.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 04)


and to crossreference that in the Alsa Matrix. The only thing I saw in the Ensoniq printout that ended in 5880 was the CT5880 that uses the ens1371 driver. I added it to my /etc/make.conf:

ALSA_CARDS="ens1371"

The Gentoo Alsa Guide recommended installing alsa-driver even when using
a 2.6 kernel: "we still recommend that you use media-sound/alsa-driver
as they are more up to date than what is provided in the kernel tree."


So I attempted to install alsa-driver:

baby root # emerge alsa-driver
Calculating dependencies ...done!

emerge (1 of 1) media-sound/alsa-driver-1.0.8 to /
md5 src_uri ;-) alsa-driver-1.0.8.tar.bz2

* Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.11-gentoo-r5 * Checking for suitable kernel configuration options * ALSA is already compiled into the kernel. * Please check to make sure these options are set correctly. * Once you have satisfied these options, please try merging * this package again.

!!! ERROR: media-sound/alsa-driver-1.0.8 failed.
!!! Function check_extra_config, Line 430, Exitcode 0
!!! Incorrect kernel configuration options
!!! If you need support, post the topmost build error, NOT this status
message.


I used genkernel to compile my kernel, so this wouldn't be a kernel misconfiguration problem, would it? Is it normal for alsa-driver to fail to compile? I'm going to continue with the next step in the Gentoo Alsa Guide...

--
gentoo-user@gentoo.org mailing list


I set up ALSA this way:

I compiled the kernel manually, and removed support for both ALSA and OSS. I didn't even compile the modules. Then I simply followed the Gentoo Docs, ie, the make.conf thing, the emerge thing and then rc-update. Worked perfectly.

As you can see from that error message, it isn't compiling the ALSA drivers because you've compiled them in the kernel.

Oh, btw, I couldn't get ALSA working with Genkernel. Well, that was my trial Gentoo build.. the very first one, which was Stage 3. After that, my second build was Stage 1 and manually compiled the kernel. ALSA, KDE.. everything worked fine the second time :)
--
gentoo-user@gentoo.org mailing list




Reply via email to