Summary: | emerge --usepkg alsa-driver not good enough with newly built kernel | ||
---|---|---|---|
Product: | [OLD] Docs-user | Reporter: | Rabbe Fogelholm <rabbe> |
Component: | Alsa Configuration Guide | Assignee: | Tobias Scherbaum (RETIRED) <dertobi123> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | docs-team |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://www.gentoo.org/doc/en/alsa-guide.xml | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Rabbe Fogelholm
2003-12-31 07:40:11 UTC
Have you changed your kernel sources after you've built the alsa-driver package? No, I was using the same kernel sources. The steps I did were cd /usr/src/linux make clean; make mrproper; make clean cp {the-previous-config} .config make menuconfig {edit Makefile to set a new EXTRAVERSION} make dep make bzImage make modules modules_install cp arch/i386/boot/bzImage /boot/kernel-... cp .config /boot/config-... {create a new entry in grub.conf} {reboot} As expected this gave me a new kernel with non-functional ALSA sound. At this point `emerge unmerge alsa-driver; emerge --usepkg alsa-driver' did not work for me; the emerge completed nicely but after another reboot the ALSA sound would still not be functional. Doing `emerge unmerge alsa-driver; emerge alsa-driver' and yet another reboot cured the problem. >{edit Makefile to set a new EXTRAVERSION}
I assume that this causes your problem. The alsa-modules are installed in
/lib/modules/${kernel-version}-EXTRAVERSION.
Your built package installs the modules in ${kernel-version}-OLD-EXTRAVERSION.
If you run 'emerge alsa-driver' the modules are placed in the correct
${kernel-version}-NEW-EXTRAVERSION directory.
I think the alsa-guide is clear enough at this point. If a docdev can agree I'll mark this as INVALID. I can agree. When you recompile a kernel you don't have to change the EXTRAVERSION. Those are only needed when you want to distinguish several (different) kernel trees (different patches) iirc. closed |