Please help, I have tried and tried to install ALSA with no luck.
I'm using Debian Sarge with Gnome and 2.6.8 kernel.
First I have recompiled my kernel with the following configured
as modules:
soundcard support
alsa
sequencer support
oss mixer api
oss pcm api
Nothing else in sound. My soundcard SB Live 24bit requires
a driver contained in the alsa package (ca0106).
I then downloaded alsa-1.0.8 from cvs, unpacked in /usr/src/alsacvs
I tried this as instructed in the install manual, but got an error:
Code:
# modinfo soundcore
modinfo: could not find module soundcore
I went on and tried to install alsa anyway:
Code:
# cd /usr/src/alsacvs/alsa-driver
# ./cvscompile --with-cards=ca0106 --with-sequencer=yes --with-oss=yes
it finished compiling with the message:
Code:
ALSA modules were successfully compiled.
however, I noticed this near the top of the compiler output:
Code:
copying file alsa-kernel/usb/usbaudio.c
patching file usbaudio.c
Hunk #5 FAILED at 2191.
Hunk #6 FAILED at 2273.
Hunk #7 FAILED at 2447.
Hunk #8 FAILED at 2487.
Hunk #9 FAILED at 2554.
Hunk #10 FAILED at 2578.
Hunk #11 FAILED at 2593.
Hunk #12 FAILED at 2848.
Hunk #13 FAILED at 2871.
Hunk #14 FAILED at 2941.
Hunk #15 FAILED at 3003.
Hunk #16 FAILED at 3021.
Hunk #17 FAILED at 3086.
Hunk #18 FAILED at 3173.
Hunk #19 FAILED at 3191.
Hunk #20 FAILED at 3264.
Hunk #21 FAILED at 3304.
Hunk #22 succeeded at 3381 (offset -10 lines).
Hunk #23 succeeded at 3402 (offset -10 lines).
Hunk #24 succeeded at 3424 (offset -10 lines).
17 out of 24 hunks FAILED -- saving rejects to file usbaudio.c.rej
copying file alsa-kernel/usb/usbmidi.c
and some more warnings near the bottom:
Code:
*** Warning: "snd_hidden_vfree" [/usr/src/alsacvs/alsa-driver/drivers/vx/snd-vx-lib.ko] has no CRC!
*** Warning: "snd_hidden_kmalloc" [/usr/src/alsacvs/alsa-driver/drivers/vx/snd-vx-lib.ko] has no CRC!
*** Warning: "snd_wrapper_vfree" [/usr/src/alsacvs/alsa-driver/drivers/vx/snd-vx-lib.ko] has no CRC!
*** Warning: "snd_hidden_kfree" [/usr/src/alsacvs/alsa-driver/drivers/vx/snd-vx-lib.ko] has no CRC!
*** Warning: "snd_hidden_kcalloc" [/usr/src/alsacvs/alsa-driver/drivers/vx/snd-vx-lib.ko] has no CRC!
*** Warning: "snd_hidden_vmalloc" [/usr/src/alsacvs/alsa-driver/drivers/vx/snd-vx-lib.ko] has no CRC!
*** Warning: "snd_hidden_kfree" [/usr/src/alsacvs/alsa-driver/drivers/snd-serialmidi.ko] has no CRC!
*** Warning: "snd_hidden_kcalloc" [/usr/src/alsacvs/alsa-driver/drivers/snd-serialmidi.ko] has no CRC!
There were a buch of those, these are just a few. Don't know
what that means, but I continued installing the driver:
Code:
# make
# make install
Then I went on to try to try and install alsa-lib
Code:
# cd /usr/src/alsacvs/alsa-lib
# ./cvscompile
this ended up with a bunch of errors
Code:
/usr/bin/ld: .libs/libasound.so.2.0.0: undefined versioned symbol name snd_pcm_hw_params_get_buffer_size_max@ALSA_0.9
/usr/bin/ld: failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libasound.la] Error 1
make[2]: Leaving directory `/usr/src/alsacvs/alsa-lib/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/alsacvs/alsa-lib/src'
make: *** [all-recursive] Error 1
Why does alsa hate me??? Here is output of lsmod after all of this:
Code:
# lsmod
Module Size Used by
ipt_limit 2528 7
iptable_mangle 2880 0
ipt_LOG 6560 7
ipt_MASQUERADE 4064 0
iptable_nat 25228 1 ipt_MASQUERADE
ipt_TOS 2528 0
ipt_REJECT 7232 0
ip_conntrack_irc 71440 0
ip_conntrack_ftp 72368 0
ipt_state 2080 4
ip_conntrack 35400 6 ipt_MASQUERADE,iptable_nat,ip_conntrack_irc,ip_conntrack_ftp,ipt_state
iptable_filter 2880 1
ip_tables 18336 9 ipt_limit,iptable_mangle,ipt_LOG,ipt_MASQUERADE,iptable_nat,ipt_TOS,ipt_REJECT,ipt_state,iptable_filter
bsd_comp 6112 0
ipv6 265284 8
pcmcia_core 66692 0
snd_page_alloc 9448 0
hw_random 5460 0
rtc 12696 0
evdev 9344 0
ext3 126056 0
jbd 62136 1 ext3
ide_disk 21120 4
unix 28756 541