Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sound module not found
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
ryan83vt
Guru
Guru


Joined: 28 Oct 2002
Posts: 370
Location: Blacksburg, VA

PostPosted: Tue Aug 26, 2003 3:46 am    Post subject: Sound module not found Reply with quote

I ran
Code:

$env ALSA_CARDS='cs4236' emerge alsa-driver

and put this in /etc/modules.d/alsa
Code:

alias snd-card-0 snd-cs4236

like in the alsa docs.
Then ran
Code:

$update-modules
$/etc/init.d/alsasound start

but I get
Code:

* Initialising ALSA....
* Starting sound driver: snd-cs4236 modprobe: Can't locate module snd-cs4236            [ok]


Help?
Back to top
View user's profile Send private message
Woody
Guru
Guru


Joined: 30 Nov 2002
Posts: 592
Location: Milwaukee

PostPosted: Tue Aug 26, 2003 4:24 am    Post subject: Reply with quote

You can start by checking that the module was actually built and installed
by looking for the module under /lib/modules/kernel-version/... well
somewhere under there.
Back to top
View user's profile Send private message
javac16
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2003
Posts: 111

PostPosted: Tue Aug 26, 2003 4:55 pm    Post subject: Reply with quote

Did you ever get this card to work? I am having problems with it and don't know what settings to set.
I get init_module: No such device when trying to run /etc/init.d/alsasound start
and when trying to modprobe snd-cs4236
Back to top
View user's profile Send private message
kccricket
n00b
n00b


Joined: 03 Jun 2003
Posts: 51
Location: North Carolina, USA

PostPosted: Tue Aug 26, 2003 5:16 pm    Post subject: Reply with quote

Obviously, the module does not exist in the proper location. Run the following command to see if it's been built:
Code:
find /lib/modules -name snd-cs4236

_________________
-kccricket
* chirp * chirp *
Back to top
View user's profile Send private message
javac16
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2003
Posts: 111

PostPosted: Tue Aug 26, 2003 5:21 pm    Post subject: Reply with quote

the result of find /lib/modules -name snd-cs4236*
Code:

/lib/modules/2.4.20-gentoo-r6/kernel/sound/ias/cs423x/snd-cs4236-lib.o
/lib/modules/2.4.20-gentoo-r6/kernel/sound/ias/cs423x/snd-cs4236.o
Back to top
View user's profile Send private message
kccricket
n00b
n00b


Joined: 03 Jun 2003
Posts: 51
Location: North Carolina, USA

PostPosted: Tue Aug 26, 2003 5:32 pm    Post subject: Reply with quote

Two questions:
  1. Is 2.4.20-gentoo-r6 your currently running kernel?
  2. What happens when you: "insmod snd-cs4236"?


Oop, and yes, I did forget that asterisk, didn't I? :oops:
_________________
-kccricket
* chirp * chirp *
Back to top
View user's profile Send private message
javac16
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2003
Posts: 111

PostPosted: Tue Aug 26, 2003 6:20 pm    Post subject: Reply with quote

Well from what I read in the forums and from what I can tell since I just froze my system it has something to do with the module parameters (irq=5 port=0x530 etc.) Unfortunately, I tried doing a few modprobe and the like and hung my system - I also mistakenly left the settings that froze my system in the modules.conf file...luckily i had Gentoo on CD to allow me to boot and change the file.

1. yes that is my current kernel.

goes to linux box to run that command...will post in a second from linux box.

Here it is:
Code:

bash-2.05b# insmod snd-cs4236
Using /lib/modules/2.4.20-gentoo-r6/kernel/sound/isa/cs423x/snd-cs4236.o
/lib/modules/2.4.20-gentoo-r6/kernel/sound/isa/cs423x/snd-cs4236.o: unresolved symbol isapnp_probe_cards_R81218926
/lib/modules/2.4.20-gentoo-r6/kernel/sound/isa/cs423x/snd-cs4236.o: unresolved symbol isapnp_find_dev_R27cb2cad
/lib/modules/2.4.20-gentoo-r6/kernel/sound/isa/cs423x/snd-cs4236.o: unresolved symbol snd_opl3_hwdep_new_R312bda03
/lib/modules/2.4.20-gentoo-r6/kernel/sound/isa/cs423x/snd-cs4236.o: unresolved symbol isapnp_resource_change_R09b965af
/lib/modules/2.4.20-gentoo-r6/kernel/sound/isa/cs423x/snd-cs4236.o: unresolved symbol snd_cs4236_pcm_R4de80da4
/lib/modules/2.4.20-gentoo-r6/kernel/sound/isa/cs423x/snd-cs4236.o: unresolved symbol snd_opl3_create_R8ba2fc14
/lib/modules/2.4.20-gentoo-r6/kernel/sound/isa/cs423x/snd-cs4236.o: unresolved symbol snd_cs4231_timer_R9a12892a
/lib/modules/2.4.20-gentoo-r6/kernel/sound/isa/cs423x/snd-cs4236.o: unresolved symbol snd_mpu401_uart_new_Rbb3d6613
/lib/modules/2.4.20-gentoo-r6/kernel/sound/isa/cs423x/snd-cs4236.o: unresolved symbol snd_cs4236_mixer_Rcb6d70b1
/lib/modules/2.4.20-gentoo-r6/kernel/sound/isa/cs423x/snd-cs4236.o: unresolved symbol snd_cs4236_create_R83f141cd
bash-2.05b#


edit: I don't know what parameters to set for the above mentioned items. I tried everything I found on these and other forums but my system locks up when I try them
Back to top
View user's profile Send private message
kccricket
n00b
n00b


Joined: 03 Jun 2003
Posts: 51
Location: North Carolina, USA

PostPosted: Tue Aug 26, 2003 7:29 pm    Post subject: Reply with quote

Things to make sure you've built with the kernel:
  • General Setup -> ISA Bus support
  • Plug and Play configuration -> Plug and Play support and ISA Plug and Play support


Those things may seem obvious, but I'm asking because it seems that the module can't find certain methods that deal with probing ISA PnP cards. Worth a check.

Also the isapnptools might help if you haven't already:
* sys-apps/isapnptools
Latest version available: 1.26
Latest version installed: [ Not Installed ]
Size of downloaded files: 225 kB
Homepage: http://www.roestock.demon.co.uk/isapnptools/
Description: Tools for configuring ISA PnP devices

I don't know a thing about them--my motherboard doesn't even have a single ISA slot.
_________________
-kccricket
* chirp * chirp *
Back to top
View user's profile Send private message
ryan83vt
Guru
Guru


Joined: 28 Oct 2002
Posts: 370
Location: Blacksburg, VA

PostPosted: Tue Aug 26, 2003 8:37 pm    Post subject: Reply with quote

I used genkernel... I know it's an easy way out but I like the little graphic at the top and I didn't feel like spending all the time I spent last time I compiled my kernel...

I unchecked all the sound modules in the kernel config (I ran genkernel --config) because the alsa doc told me to. Sound support is compiled as a module, and I have /etc/modules.autoload set to load soundcore.
Back to top
View user's profile Send private message
kccricket
n00b
n00b


Joined: 03 Jun 2003
Posts: 51
Location: North Carolina, USA

PostPosted: Tue Aug 26, 2003 8:46 pm    Post subject: Reply with quote

Easy way to check:

Open up /usr/src/linux/.config in a text editor and look for three things:
CONFIG_ISA=y
CONFIG_PNP=y or m
CONFIG_ISAPNP=y or m

Like I said, it looks to me like you're missing at least one of these options for ISA/PnP support.
_________________
-kccricket
* chirp * chirp *
Back to top
View user's profile Send private message
Sabrewolf
n00b
n00b


Joined: 07 Aug 2003
Posts: 15

PostPosted: Thu Aug 28, 2003 8:30 pm    Post subject: Reply with quote

I am having the same problems as everyone else, anyone close to a fix yet?

I do have all these like this

CONFIG_ISA=y
CONFIG_PNP=y or m
CONFIG_ISAPNP=y or m

please someone find the fix -_-
Im running a Fujitsu c353 Lifebook
Back to top
View user's profile Send private message
kccricket
n00b
n00b


Joined: 03 Jun 2003
Posts: 51
Location: North Carolina, USA

PostPosted: Thu Aug 28, 2003 11:06 pm    Post subject: Reply with quote

I'm fresh out of ideas.

Just out of curiosity, why are you using an ISA sound card?
I suppose a Lifebook is some sort of mobile computer?
_________________
-kccricket
* chirp * chirp *
Back to top
View user's profile Send private message
Sabrewolf
n00b
n00b


Joined: 07 Aug 2003
Posts: 15

PostPosted: Fri Aug 29, 2003 4:26 am    Post subject: Reply with quote

kccricket wrote:
I'm fresh out of ideas.

Just out of curiosity, why are you using an ISA sound card?
I suppose a Lifebook is some sort of mobile computer?


Its a Laptop so im kinda stuck with and ISA
Back to top
View user's profile Send private message
ph_flippy
n00b
n00b


Joined: 09 Jun 2003
Posts: 35
Location: Heidelberg, Germany

PostPosted: Sat Sep 20, 2003 2:12 pm    Post subject: cs4236 grrngl Reply with quote

Hi,

I'm having problems with cs4236 too. I've got the CS4237B onboard in my HP Omnibook 2100 and I couldn't get sound to work, when I first installed Gentoo, but yesterday I wanted to listen to some sound file, so I gave it another try...

I did a Google-Search and found this: http://opensrc.org/alsa/index.php?page=The+module+options+for+cs4236, which was exactly what I needed. I tried loading the module with the given options, did a
Code:
modprobe snd-cs4236 isapnp=0 cport=0xf00 dma1=1 dma2=0 fm_port=0x220 port=0x530 mpu_port=0x388 mpu_irq=9
and it worked! Loaded without errors. I started alsa and I got sound!

I was extremely happy. I set the options in all the files, tried unloading the module and let the alsasound script in /etc/init.d load it correctly. It worked, too.

Then this morning I started my laptop and I get the error
Code:
... init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters...


Very sad! The module is in the correct directory. insmod snd-cs4236 just returns loads of unresolved symbols errors. :-(

Any ideas, what I could try? The thing is: I didn't change anything or recompiled my kernel or something, after it worked. I simply turned off my laptop and then turned it back on again...
Back to top
View user's profile Send private message
ph_flippy
n00b
n00b


Joined: 09 Jun 2003
Posts: 35
Location: Heidelberg, Germany

PostPosted: Mon Sep 22, 2003 4:49 pm    Post subject: Reply with quote

Well, I just can't get it to work... I tried unmerging alsa-driver, doing a make mrproper and make clean in /usr/src/linux, recompiled the kernel, had /lib/modules rebuilt... it just doesn't help.

Maybe, just maybe someone has a good idea, what else I could try...

Here's what I get, when I try insmod snd-cs4236
Code:
Using /lib/modules/2.4.20-gentoo-r6/kernel/sound/isa/cs423x/snd-cs4236.o
/lib/modules/2.4.20-gentoo-r6/kernel/sound/isa/cs423x/snd-cs4236.o: unresolved symbol snd_cs4236_pcm
/lib/modules/2.4.20-gentoo-r6/kernel/sound/isa/cs423x/snd-cs4236.o: unresolved symbol snd_verbose_printk
/lib/modules/2.4.20-gentoo-r6/kernel/sound/isa/cs423x/snd-cs4236.o: unresolved symbol snd_opl3_hwdep_new
/lib/modules/2.4.20-gentoo-r6/kernel/sound/isa/cs423x/snd-cs4236.o: unresolved symbol snd_cs4231_timer
/lib/modules/2.4.20-gentoo-r6/kernel/sound/isa/cs423x/snd-cs4236.o: unresolved symbol snd_card_register
/lib/modules/2.4.20-gentoo-r6/kernel/sound/isa/cs423x/snd-cs4236.o: unresolved symbol snd_cs4236_create
/lib/modules/2.4.20-gentoo-r6/kernel/sound/isa/cs423x/snd-cs4236.o: unresolved symbol snd_card_free
/lib/modules/2.4.20-gentoo-r6/kernel/sound/isa/cs423x/snd-cs4236.o: unresolved symbol snd_cs4236_mixer
/lib/modules/2.4.20-gentoo-r6/kernel/sound/isa/cs423x/snd-cs4236.o: unresolved symbol snd_card_new
/lib/modules/2.4.20-gentoo-r6/kernel/sound/isa/cs423x/snd-cs4236.o: unresolved symbol snd_opl3_create
/lib/modules/2.4.20-gentoo-r6/kernel/sound/isa/cs423x/snd-cs4236.o: unresolved symbol snd_mpu401_uart_new
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum