Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9553 - alsa-driver emerge fails when linux-2.4.19-r6 kernel is being used
Summary: alsa-driver emerge fails when linux-2.4.19-r6 kernel is being used
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Arcady Genkin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-23 10:07 UTC by Joe McMahon
Modified: 2006-02-04 06:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe McMahon 2002-10-23 10:07:07 UTC
The emerge of alsa-driver-0.9.0_rc1-r7.ebuild (and all other alsa-driver
ebuilds) fails because linux/modversions.h is missing in ppc-sources 2.4.19-r6
(it is present in 2.4.19-r5 but not 2.4.19-r6). Since this file only contains a
#include <linux/modsetver.h>, symlinking /usr/include/linux/modsetver.h to
/usr/include/linux/modversions.h allows the emerge to work.
Comment 1 Arcady Genkin (RETIRED) gentoo-dev 2002-10-26 14:42:40 UTC
Is this still a problem for rc5 of the alsa packages?
Comment 2 Joe McMahon 2002-11-06 15:42:22 UTC
I think turning off the version info in the kernel build has fixed it. I'm
trying rc5 now.
Comment 3 Joe McMahon 2002-11-06 16:01:09 UTC
Emerge is successful, but trying to load the module results in this:

bash-2.05b$ sudo /sbin/lsmod
Module                  Size  Used by    Not tainted
soundcore               4504   0 
serial                 52760   0  (autoclean) (unused)
bash-2.05b$ sudo /sbin/insmod snd-mixer-oss
Using /lib/modules/2.4.19-r6/kernel/sound/acore/oss/snd-mixer-oss.o
/lib/modules/2.4.19-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol
snd_cards
/lib/modules/2.4.19-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol
snd_ctl_notify
/lib/modules/2.4.19-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol
snd_info_get_line
/lib/modules/2.4.19-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol
snd_register_oss_device
/lib/modules/2.4.19-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol
snd_verbose_printk
/lib/modules/2.4.19-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol
snd_kcalloc
/lib/modules/2.4.19-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol
snd_info_free_entry
/lib/modules/2.4.19-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol
snd_ctl_find_id
/lib/modules/2.4.19-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol
snd_info_create_card_entry
/lib/modules/2.4.19-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol
snd_oss_info_register
/lib/modules/2.4.19-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol
snd_mixer_oss_notify_callback
/lib/modules/2.4.19-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol
snd_iprintf
/lib/modules/2.4.19-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol
snd_info_register
/lib/modules/2.4.19-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol
snd_kmalloc_strdup
/lib/modules/2.4.19-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol
snd_unregister_oss_device
/lib/modules/2.4.19-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol
snd_info_get_str
/lib/modules/2.4.19-r6/kernel/sound/acore/oss/snd-mixer-oss.o: unresolved symbol
snd_info_unregister
bash-2.05b$ 
Comment 4 Joe McMahon 2002-11-06 16:35:37 UTC
[In the right place now ...]
I finally managed to get everything loaded; my error.

bash-2.05b$ sudo /sbin/lsmod
Module                  Size  Used by    Not tainted
snd-pcm-oss            46324   0  (unused)
snd-mixer-oss          13392   0  [snd-pcm-oss]
snd-hwdep               4672   0  (unused)
snd-pcm                67184   0  [snd-pcm-oss]
snd-timer              12816   0  [snd-pcm]
snd                    29964   0  [snd-pcm-oss snd-mixer-oss snd-hwdep snd-pcm
snd-timer]
soundcore               4504   0  [snd]
serial                 52760   0  (autoclean) (unused)
bash-2.05b$ 

However, I still have no /dev/mixer, /dev/dsp/, or /dev/audio.

devfsd.conf looks OK:
# ALSA/OSS stuff
# Comment/change these if you want to change the permissions on
# the audio devices
LOOKUP          snd          MODLOAD ACTION snd
LOOKUP          dsp          MODLOAD
LOOKUP          mixer        MODLOAD
LOOKUP          midi         MODLOAD
REGISTER        sound/.*     PERMISSIONS root.audio 666
REGISTER        snd/.*       PERMISSIONS root.audio 666

What do I have to do with /etc/modules.d/alsa if I have only Mac 
internal sound? I can't find any driver in /lib/modules except the 
snd-powermac one which I think is OSS, not ALSA.
Comment 5 Mark Guertin 2002-11-07 13:07:16 UTC
Joe:

snd-powermac should be also.. the oss are dmasound/soundcore and dmasound_pmac I
believe
Comment 6 Arcady Genkin (RETIRED) gentoo-dev 2002-12-27 12:37:46 UTC
Joe, can this bug be closed?  If you are still having prolbems, try Mark's
suggestion (#5) and reopen the bug.