| View previous topic :: View next topic |
| Author |
Message |
isoaga Apprentice


Joined: 31 Oct 2002 Posts: 206 Location: Newcastle, Australia
|
Posted: Wed Mar 05, 2003 3:22 am Post subject: ALSA problem - insmod snd-ens1371 failed |
|
|
Ok, i'm following the ALSA guide (i have a Creative Vibra 128 sound card) and i've done the following...
1. Removed all sound driver support from the kernel and only selected the sound support as a module, installed the new modules.
2. | Code: | # grep audio /proc/pci
Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 2).
|
3. | Code: | | # env ALSA_CARDS='ens1371' emerge alsa-driver |
4. /etc/modules.d/alsa says: | Code: | Alsa 0.9.X kernel modules' configuration file.
# $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-driver/files/alsa-modules.conf-rc,v 1.1 2002/12/21 06:31:52 agenkin Exp $
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
## alias snd-card-0 snd-interwave
alias snd-card-1 snd-ens1371
## OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##
# OSS/Free portion - card #1
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-oss
alias sound-service-0-12 snd-pcm-oss
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
options snd cards_limit=1
|
5.
6. | Code: | # rc-update add alsasound boot
|
7. | Code: | # /etc/init.d/alsasound start
* Initialising ALSA....
* Starting sound driver: snd-ens1371 /lib/modules/2.4.20/kernel/sound/pci/snd-ens1371.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20/kernel/sound/pci/snd-ens1371.o: insmod /lib/modules/2.4.20/kernel/sound/pci/snd-ens1371.o failed
/lib/modules/2.4.20/kernel/sound/pci/snd-ens1371.o: insmod snd-ens1371 failed [ ok ]
|
Any ideas as to why this is failing???
| Code: | #dmesg
Ensoniq AudioPCI soundcard not found or device busy
|
|
|
| Back to top |
|
 |
baxtor n00b

Joined: 05 Mar 2003 Posts: 25 Location: NY
|
Posted: Thu Mar 06, 2003 3:52 pm Post subject: |
|
|
| Code: |
## ALSA portion
## alias snd-card-0 snd-interwave
alias snd-card-1 snd-ens1371 |
[/code]
Have you tried the card on snd-card-0 ?
I only set up alsa once, but I seem to remember having to set my card up on snd-card-0 for some reason... _________________ I'll be ding dong darned... |
|
| Back to top |
|
 |
isoaga Apprentice


Joined: 31 Oct 2002 Posts: 206 Location: Newcastle, Australia
|
Posted: Tue Mar 11, 2003 7:38 am Post subject: |
|
|
Ok, i tried setting it to
| Code: | ## ALSA portion
## alias snd-card-0 snd-interwave
alias snd-card-0 snd-ens1371 |
however i recieved the same errors.
Any more suggestions?? |
|
| Back to top |
|
 |
[c4] n00b

Joined: 07 Mar 2003 Posts: 43
|
Posted: Wed Mar 12, 2003 2:32 am Post subject: |
|
|
| i am having the exact same problem using the emu10k1 driver for my soundblaster live |
|
| Back to top |
|
 |
JensZ Guru

Joined: 15 Feb 2003 Posts: 339 Location: Freiburg
|
|
| Back to top |
|
 |
stim Tux's lil' helper


Joined: 21 Jan 2003 Posts: 116 Location: Brisbane, Australia
|
Posted: Sat Mar 15, 2003 12:57 pm Post subject: |
|
|
For completeness (althought the wrong driver I presume was the problem), I had the exact same problem and followed the instructions given on the Gentoo ALSA guide. However when I first compiled my kernel, I compiled the OSS driver into the kernel (i.e. not module) and so just recompiling the modules for ALSA did not remove the sound card drivers from the kernel (and of course nothing showed up from typing lsmod). I simply had to recompile complete kernel without the drivers, and ALSA worked (after many days of frustration mind you). ALSA isn't actually sounding good now though, so I might go back to OSS.
Stim |
|
| Back to top |
|
 |
ckchensouler n00b

Joined: 25 Mar 2003 Posts: 1 Location: Taiwan
|
Posted: Tue Mar 25, 2003 11:44 am Post subject: |
|
|
I got exactly the same error messages as you guys had.
And I finally figure out that where the problem is.
We all have the kernel compiled with built-in sound driver in the first,
and them we want to re-compile the kernel just as the alsa doc says
because this way we can follow it blindly.
Then, we all forget one thing: the bzImage should be put into the
/boot in /dev/hda1(the boot partition). If you didn't mount /dev/hda1 first
into /boot, the booting process won't reach your new compiled kernel.
Once you take care of the above problem, you will get the same
output as the alsa doc shows. Good luck! |
|
| Back to top |
|
 |
|