LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-01-2005, 08:39 PM   #1
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Rep: Reputation: 30
Alsa And No Soundcore Module???


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
 
Old 02-02-2005, 09:15 AM   #2
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Original Poster
Rep: Reputation: 30
Please move to software forum.
 
Old 02-03-2005, 12:48 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Done.
 
Old 02-06-2005, 09:12 PM   #4
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Original Poster
Rep: Reputation: 30
I tried and failed again.

This time I compiled the kernel with sound support built in and with alsa stuff as modules.

Almost same result as last time (above), but a little better.

This time all of the "hunks" succeeded.

But still got the no CRC errors (see above)

After installing the driver I tried this:

Code:
# modprobe snd-ca0106; modprobe snd-pcm-oss; modprobe snd-mixer-oss; modprobe snd-seq-oss

WARNING: Error inserting snd (/lib/modules/2.6.8/kernel/sound/acore/snd.ko): Input/output error
WARNING: Error inserting snd_timer (/lib/modules/2.6.8/kernel/sound/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd (/lib/modules/2.6.8/kernel/sound/acore/snd.ko): Input/output error
WARNING: Error inserting snd_timer (/lib/modules/2.6.8/kernel/sound/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_pcm (/lib/modules/2.6.8/kernel/sound/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error running install command for snd_pcm
WARNING: Error inserting snd_ac97_codec (/lib/modules/2.6.8/kernel/sound/pci/ac97/snd-ac97-codec.ko): Unknown symbol in module, or unknown parameter (see dmesg)FATAL: Error inserting snd_ca0106 (/lib/modules/2.6.8/kernel/sound/pci/ca0106/snd-ca0106.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd (/lib/modules/2.6.8/kernel/sound/acore/snd.ko): Input/output error
WARNING: Error inserting snd_mixer_oss (/lib/modules/2.6.8/kernel/sound/acore/oss/snd-mixer-oss.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.8/kernel/sound/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd (/lib/modules/2.6.8/kernel/sound/acore/snd.ko): Input/output error
WARNING: Error inserting snd_timer (/lib/modules/2.6.8/kernel/sound/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_pcm (/lib/modules/2.6.8/kernel/sound/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error running install command for snd_pcm
FATAL: Error inserting snd_pcm_oss (/lib/modules/2.6.8/kernel/sound/acore/oss/snd-pcm-oss.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd (/lib/modules/2.6.8/kernel/sound/acore/snd.ko): Input/output error
FATAL: Error inserting snd_mixer_oss (/lib/modules/2.6.8/kernel/sound/acore/oss/snd-mixer-oss.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd (/lib/modules/2.6.8/kernel/sound/acore/snd.ko): Input/output error
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.8/kernel/sound/acore/seq/snd-seq-device.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.8/kernel/sound/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd (/lib/modules/2.6.8/kernel/sound/acore/snd.ko): Input/output error
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.8/kernel/sound/acore/seq/snd-seq-device.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.8/kernel/sound/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_seq (/lib/modules/2.6.8/kernel/sound/acore/seq/snd-seq.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error running install command for snd_seq
WARNING: Error inserting snd_seq_midi_event (/lib/modules/2.6.8/kernel/sound/acore/seq/snd-seq-midi-event.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_seq_oss (/lib/modules/2.6.8/kernel/sound/acore/seq/oss/snd-seq-oss.ko): Unknown symbol in module, or unknown parameter (see dmesg)
What's going on????

When I type modinfo soundcore it says: module soundcore not found.

Aren't I supposed to have soundcore module?
 
Old 02-06-2005, 11:31 PM   #5
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
hi,
no need to install alsa cause it's in the kernel already
this is the stuff you need and how to set it
don't include other stuff like dummy devices or anything
this is everything i can think of that can be used
plus choose a driver for your joystick if you have one
soundcore and alsa don't do so good compiled in
so keep them as modules

#
# Watchdog Cards
#
CONFIG_RTC=y

#
# Input I/O drivers
#
CONFIG_GAMEPORT=y
CONFIG_SOUND_GAMEPORT=y
CONFIG_GAMEPORT_EMU10K1=y

#
# Sound
#
CONFIG_SOUND=m

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=m

#
# Generic devices
#
CONFIG_SND_MPU401_UART=m
CONFIG_SND_VIRMIDI=m
CONFIG_SND_MPU401=m
#
# PCI devices
#
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_EMU10K1=m


and you load the modules in this order
soundcore
snd
snd-emu10k1
snd-mixer-oss
snd-seq-oss
snd-pcm-oss
snd-seq-midi
snd-mpu401-uart

if you use modprobe.conf put this in it
alias char-major-14-* soundcore
# this is the alsa section
alias char-major-116 snd
alias snd-card-0 snd-emu10k1
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-midi
alias sound-service-0-12 snd-pcm-oss
 
Old 02-07-2005, 08:21 AM   #6
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Original Poster
Rep: Reputation: 30
Just a couple of things.

I don't think that I can use alsa that is in the kernel because it does not have a driver for my soundcard. I have a SB Live 24bit which is not the same as SB Live and needs the CA0106 driver (not EMU-10k).

In that case I guess I can just substitute CA0106 everywhere that you have listed EMU-10k???

But I think that I still need to install alsa-1.0.8 which has the CA0106 driver. It will compile and install with only the "no CRC" errors mentioned above. But when I try to modprobe I get a bunch of unkown symbol errors.

I will try to do what you have suggested.
 
Old 02-15-2005, 07:07 PM   #7
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Original Poster
Rep: Reputation: 30
After much trial and error I finally got it working. I did it by following the directions found here

http://www.linuxquestions.org/questi...ck+10+S+Live+4

and here

http://www.desktop-linux.net/debkernel.htm

I compiled the kernel with sound card support built in.
ALSA, Sequencer support, oss mixer, oss pcm were compiled as modules
and NO OSS

Some other things that might have been important in the kernel (or might not)
Generic driver options:
select only drivers that don't need compile time firmware N
prevent firmware from being built N

Code maturity options:
prompt for development and/or incomplete drivers Y
select only drivers expected to compile cleanly N

Then I removed the alsa-base and alsa-utils using aptitude,
downloaded alsa-drivers, alsa-utils, alsa-tools, alsa-oss, and alsa-lib,
installed these alsa packages following directions mentioned above.

I don't know how much of that was necessary, but like I said it works now.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Soundcore daf0x Linux - Software 2 07-01-2004 01:36 AM
Do We Have to Compile ALSA As a Module? johnleemk Linux - Hardware 1 02-04-2004 01:06 PM
Where is soundcore? Neuronet Linux - General 6 04-16-2003 10:43 AM
Turn on sound support (soundcore module)? safrout Linux - Hardware 4 04-08-2003 11:17 AM
soundcore kmitchel Linux - Newbie 1 09-15-2001 12:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration