Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
|
11-04-2003, 04:54 AM
|
#1
|
|
Member
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 42
Rep:
|
alsa modprobe errors
I'm using Red hat 9, and i just downloaded the alsa drivers from their site...
I downloaded alsa-driver-0.9.8.tar.bz2 alsa-lib-0.9.8.tar.bz2 alsa-utils-0.9.8.tar.bz2 and followed the instructions till they ask me to enter
chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi
Then it says /dev/midi is not a device, but i continued anyway.
Then when i have to enter
modprobe snd-intel8x0;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss
it quits and gives me an error message.
/lib/modules/2.4.20-8/kernel/sound/pci/snd-intel8x0.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-8/kernel/sound/pci/snd-intel8x0.o: insmod /lib/modules/2.4.20-8/kernel/sound/pci/snd-intel8x0.o failed
/lib/modules/2.4.20-8/kernel/sound/pci/snd-intel8x0.o: insmod snd-intel8x0 failed
/lib/modules/2.4.20-8/kernel/sound/acore/seq/oss/snd-seq-oss.o: init_module: Device or resource
busy
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-8/kernel/sound/acore/seq/oss/snd-seq-oss.o: insmod /lib/modules/2.4.20-8/kernel/sound/acore/seq/oss/snd-seq-oss.o failed
/lib/modules/2.4.20-8/kernel/sound/acore/seq/oss/snd-seq-oss.o: insmod snd-seq-oss failed
when i type dmesg, the last few lines are :
ac97_codec: AC97 Audio codec, id: ADS96 (Analog Devices AD1885)
i810_audio: AC'97 codec 0 Unable to map surround DAC's (or DAC's not present), total channels =
2
Intel ICH soundcard not found or device busy
ALSA seq_oss.c:223: can't register device seq
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
ALSA seq_oss.c:223: can't register device seq
whats going on, and what am i supposed to do now? i think alsa drivers are not installed, 'cos i cant run alsamixer. Any help would be appreciated
|
|
|
|
11-04-2003, 08:36 AM
|
#2
|
|
Member
Registered: Jul 2003
Location: US
Distribution: Mandrake 9.0 1st/9.1 2nd/Gentoo 1.4 now
Posts: 313
Rep:
|
to install alsa you have to recompile your kernel with sound card support only and not support for a specific card and then install alsa, to get alsamixer you have to install alsa-utils.
|
|
|
|
11-04-2003, 09:31 AM
|
#3
|
|
Member
Registered: Nov 2003
Location: Mississauga
Distribution: arch linux
Posts: 51
Rep:
|
on the other hand, what if you like the specific driver and want to get rid of the intel8x0?
|
|
|
|
11-04-2003, 10:57 PM
|
#4
|
|
Member
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 42
Original Poster
Rep:
|
Quote:
Originally posted by linksocc
to install alsa you have to recompile your kernel with sound card support only and not support for a specific card and then install alsa
|
How do i check if my kernel is compiled for a specific card? I'm using redhat, and i didn't change anything from the basic install. I thought the RH9 kernel has all the stuff as modules. if thats so, can i just kick out the modules i don't require? how do i do that?
( I really, really, really want to leave kernel compiling to a later date when i atleast know what i am doing)
|
|
|
|
11-04-2003, 11:25 PM
|
#5
|
|
Member
Registered: Jul 2003
Location: US
Distribution: Mandrake 9.0 1st/9.1 2nd/Gentoo 1.4 now
Posts: 313
Rep:
|
type lsmod as root and post you output
|
|
|
|
11-04-2003, 11:28 PM
|
#6
|
|
Member
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 42
Original Poster
Rep:
|
[root@LocalHost root]# lsmod
Module Size Used by Tainted: P
snd-pcm-oss 45028 0 (autoclean)
snd-mixer-oss 16432 0 (autoclean) [snd-pcm-oss]
snd-intel8x0 24072 0 (autoclean)
snd-pcm 85408 0 (autoclean) [snd-pcm-oss snd-intel8x0]
snd-timer 19684 0 (autoclean) [snd-pcm]
snd-page-alloc 9844 0 (autoclean) [snd-intel8x0 snd-pcm]
snd-ac97-codec 51512 0 (autoclean) [snd-intel8x0]
gameport 3364 0 (autoclean) [snd-intel8x0]
snd-mpu401-uart 5200 0 (autoclean) [snd-intel8x0]
snd-rawmidi 18688 0 (autoclean) [snd-mpu401-uart]
snd-seq-device 6204 0 (autoclean) [snd-rawmidi]
snd 45988 0 (autoclean) [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 6404 3 (autoclean) [snd]
agpgart 47776 3 (autoclean)
nvidia 1766848 11 (autoclean)
parport_pc 19076 1 (autoclean)
lp 8996 0 (autoclean)
parport 37056 1 (autoclean) [parport_pc lp]
autofs 13268 0 (autoclean) (unused)
8139too 18088 1
mii 3976 0 [8139too]
ipt_REJECT 3928 2 (autoclean)
iptable_filter 2412 1 (autoclean)
ip_tables 15096 2 [ipt_REJECT iptable_filter]
sg 36524 0 (autoclean)
sr_mod 18136 0 (autoclean)
microcode 4668 0 (autoclean)
ide-scsi 12208 0
scsi_mod 107160 3 [sg sr_mod ide-scsi]
ide-cd 35708 0
cdrom 33728 0 [sr_mod ide-cd]
ibmcam 54720 0
usbvideo 27568 0 [ibmcam]
videodev 8288 1 [usbvideo]
keybdev 2944 0 (unused)
mousedev 5492 1
hid 22148 0 (unused)
input 5856 0 [keybdev mousedev hid]
usb-uhci 26348 0 (unused)
usbcore 78784 1 [ibmcam usbvideo hid usb-uhci]
ext3 70784 2
jbd 51892 2 [ext3]
[root@LocalHost root]#
Holy cow... you guys can understand that??
|
|
|
|
11-04-2003, 11:29 PM
|
#7
|
|
Member
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 42
Original Poster
Rep:
|
hmmm, seems like the formatting is screwed up... it looked simpler on the console. how do i keep the formatting straight?
|
|
|
|
11-04-2003, 11:32 PM
|
#8
|
|
Member
Registered: Jul 2003
Location: US
Distribution: Mandrake 9.0 1st/9.1 2nd/Gentoo 1.4 now
Posts: 313
Rep:
|
it seems allright are you sure sound isn't working
you mean like this
Code:
[root@LocalHost root]# lsmod
Module Size Used by Tainted: P
snd-pcm-oss 45028 0 (autoclean)
snd-mixer-oss 16432 0 (autoclean) [snd-pcm-oss]
snd-intel8x0 24072 0 (autoclean)
snd-pcm 85408 0 (autoclean) [snd-pcm-oss snd-intel8x0]
snd-timer 19684 0 (autoclean) [snd-pcm]
snd-page-alloc 9844 0 (autoclean) [snd-intel8x0 snd-pcm]
snd-ac97-codec 51512 0 (autoclean) [snd-intel8x0]
gameport 3364 0 (autoclean) [snd-intel8x0]
snd-mpu401-uart 5200 0 (autoclean) [snd-intel8x0]
snd-rawmidi 18688 0 (autoclean) [snd-mpu401-uart]
snd-seq-device 6204 0 (autoclean) [snd-rawmidi]
snd 45988 0 (autoclean) [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 6404 3 (autoclean) [snd]
agpgart 47776 3 (autoclean)
nvidia 1766848 11 (autoclean)
parport_pc 19076 1 (autoclean)
lp 8996 0 (autoclean)
parport 37056 1 (autoclean) [parport_pc lp]
autofs 13268 0 (autoclean) (unused)
8139too 18088 1
mii 3976 0 [8139too]
ipt_REJECT 3928 2 (autoclean)
iptable_filter 2412 1 (autoclean)
ip_tables 15096 2 [ipt_REJECT iptable_filter]
sg 36524 0 (autoclean)
sr_mod 18136 0 (autoclean)
microcode 4668 0 (autoclean)
ide-scsi 12208 0
scsi_mod 107160 3 [sg sr_mod ide-scsi]
ide-cd 35708 0
cdrom 33728 0 [sr_mod ide-cd]
ibmcam 54720 0
usbvideo 27568 0 [ibmcam]
videodev 8288 1 [usbvideo]
keybdev 2944 0 (unused)
mousedev 5492 1
hid 22148 0 (unused)
input 5856 0 [keybdev mousedev hid]
usb-uhci 26348 0 (unused)
usbcore 78784 1 [ibmcam usbvideo hid usb-uhci]
ext3 70784 2
jbd 51892 2 [ext3]
[root@LocalHost root]#
Last edited by linksocc; 11-04-2003 at 11:36 PM.
|
|
|
|
11-04-2003, 11:39 PM
|
#9
|
|
Member
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 42
Original Poster
Rep:
|
sound works fine (more or less, i can only get one program to play sounds at a time) Actually, i'm just trying to learn new stuff (and fix that single-prpgram sound issue). Still a newbie...
Last edited by denominator; 11-04-2003 at 11:43 PM.
|
|
|
|
11-04-2003, 11:43 PM
|
#10
|
|
Member
Registered: Jul 2003
Location: US
Distribution: Mandrake 9.0 1st/9.1 2nd/Gentoo 1.4 now
Posts: 313
Rep:
|
Quote:
Originally posted by denominator
sound works fine (more or less, i can only get one program to play sounds at a time) Actually, i'm just trying to learn new stuff. Still a newbie...
|
talking about newbies, I'm one too, I have only been using linux for only 3 months and learning is what linux is all about 
|
|
|
|
11-04-2003, 11:48 PM
|
#11
|
|
Member
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 42
Original Poster
Rep:
|
"learning is what linux is all about"
couldn't agree with you more....
|
|
|
|
11-04-2003, 11:54 PM
|
#12
|
|
Member
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 42
Original Poster
Rep:
|
what does that pile of code mean? and what sound card support is compiled into the kernel?
|
|
|
|
11-05-2003, 12:06 AM
|
#13
|
|
Member
Registered: Jul 2003
Location: US
Distribution: Mandrake 9.0 1st/9.1 2nd/Gentoo 1.4 now
Posts: 313
Rep:
|
Quote:
Originally posted by denominator
what does that pile of code mean? and what sound card support is compiled into the kernel?
|
Those are all the modules loaded in your system, all the ones that start with "snd" are related to alsa, usbcore this one makes possible for the computer to use the USB ports, nvidia video card, 8139too network card, ip_tables firewall, cdrom the name says it, ide-scsi make possible to burn cds, ext3 you file system, I can go all night doing this but it will be boring so if you have another question just ask.
|
|
|
|
11-05-2003, 03:11 AM
|
#14
|
|
Member
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 42
Original Poster
Rep:
|
does all that mean that alsa is working? how about the errors that i get when i try to modprobe the files?
Are you saying that the alsa modules are now running?
|
|
|
|
11-05-2003, 03:50 AM
|
#15
|
|
Member
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 42
Original Poster
Rep:
|
Hey check this out!!! I tried to run the modprobe command again, and this time, it ran without complaining (no errors, nothing). It finished in less than a second... is that how its supposed to be?
Anyway, now I have a new problem. when I try to run alsamixer, it gives me this message...
alsamixer: function snd_ctl_open failed for default: No such file or directory
in my noobish way, i assume that alsa is installed (its muted my speakers). Also, alsamixer (also installed successfully) is looking for a file called default, which it cant find. Why is this so?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:04 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|