Linux - NewbieThis 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!
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
After scouring various forums on the net, I have yet to find an answer. Anyone out there had a similar experience and find a way to fix the problem? Does anyone out there possibly know how to fix something like this?
Ah, see I don't think ALSA installed properly...which is why the error occurs?!
I have the Intel Corp. 82801EB AC'97 card. I ran alsaconf, it found it and wrote the appropriate (I think) lines to the modules.conf file, but it doesn't recognize alsamixer. When I execute alsamixer, I get the following respons (even when trying to execute it from the /alsa/alsa-utils-1.0.1/alsamixer/ directory):
alsamixer: function snd_ctl_open failed for default: No such file or directory
alsamixer is definitely in that subdirectory, but it fails to recognize its existence.
It seems as though the actual "alsamixer" file is trying to open the sound control device (hence snd_ctl_open) and can't find it. I would open up the alsamixer executable file itself and see what it's trying to open with the snd_ctl_open file. There will be a call to something. I would then do a locate <whatever it's trying to find> at the CLI and see if I can find it. If it's not where alsamixer is looking, then I would create a symbolic link (symlink) to the place it's looking using the ln -s <real location> <linked location> command.
Thanks again for the response. I am, of course, running as root but I think that we've now eclipsed my level of Linux ability. I'm not sure how to open an executable file and read it?! I appreciate your help up until now and don't expect you to waste your time teaching me such things.
I'll do some more investigating and see what I can come up with. There are a lot of questions on the web regarding unresolved symbol errors when excuting modprobe snd-your_card_model#, but little in the way of explanations or solutions.
Hey, I really appreciate your help and unfortunately I wasted your time on that last post. I am an avid user of vi, but when I open alsamixer* (the executable) it just gives me nasty stuff on the screen. I suppose I thought that there was a different way to read an executable file.
Yeah, I've been a Linux 'user' for about one year now, but now I'd like to become a Linux USER!!! I am forcing myself how to learn this OS so that I can be more productive. I realize now that there are a lot of people out there trying to learn as well, so that makes it more fun. Life is also much easier with helpful messageboards and helpful subscribers :-)
So, when I vi the alsamixer exectuable and search for the string 'snd_cntrl_open' it comes up in about three different locations. It appears that many things are pointing to the directory /proc/asound which doesn't even exist on my system. The directory /proc/ is definitely there, but there is no 'asound' subdirectory.
Other areas of the executable contain references to libm.so files in the proximity of the 'snd_cntrl_open' call, but I don't know if that is relevant or not.
I cannot for the life of me figure out what it might be trying to open with 'snd_cntrl_open'.
Not a waste of time. Maybe someone else will read this and learn something.
As for the alsamixer putting crazy stuff on the screen, I'll have to look at it on my own system. I'm at work right now and won't be able to check at home for another 6 hours or so. When I get there I'll take a peek at my alsa stuff and see what's up.
BTW, I'm learning this OS just as you are. That's what I love about it--always something new and neat waiting to be discovered around the corner.
I opened up the alsamixer executable and got crazy stuff too, but since you mentioned the /proc/asound I thought I'd check my system. I've got it..and it's loaded with other directories too. Maybe you should re-install ALSA. Sorry man.
EDIT: contents of my /proc/asound
AudioPCI@ card0/ cards devices modules oss/ pcm seq/ timers version
Yep, it's definitely supposed to be there. I finally found my answer in the ALSA-users mail archives.
Going back to the initial problem - not being able to run modprobe snd-intel8x0 - it turns out that there is some sort of incompatibility issue between the Linux kernel and the RedHat 9 kernel...go figure! The solution was simple and I posted it to this forum, which will hopefully save someone else a few headaches in the future.
So, with the fix I finally got everything installed and there is now a subdirectory /asound/ in the /proc folder. Alsamixer does open up now, but I'm still lacking sound. I've checked every mixer on my computer (alsamixer, aumixer, kmixer, linux volume controls) to ensure that the mutes are turned off and I've set the volume to about 60-70%, but still no dice.
Thanks for all of your help! You're assistance encouraged me to forge ahead and find the answer.
BTW, as for your sound, this is going to sound really stupid and basic, but have you checked to make sure your speakers are plugged in correctly? I went 5 days reconfiguring all kinds of madness to get my sound working right, and finally I decided to pull the sound card and put in a new one. That's when I noticed the speakers were plugged into the Mic jack. LOL
So, check your cables, make sure that /dev/dsp has permissions for your user as well and not just root. Oh yeah, does sound work as root at all while in X?
And, can you post the solution here as well so anyone who happens upon this thread in the future will be able to find it quickly? Thanks.
Hey, I finally got it working today. Everything was plugged in correctly, but I had neglected to change the permissions for /dev/dsp!!! Hahahahahah...I had done it everytime I tried to install unsuccessfully, but forgot to execute it again once I finally got everything installed correctly. What a hoot.
chmod a+rw /dev/dsp /dev/mixer /dev/sequencer --> This fixed the problem immediately.
Here is the solution to 'unresolved symbol schedule_work' or 'insmod snd-intel8x0 failed'
Unpack the alsa-drivers-xxx, run ./configure (with appropriate options and arguments, which in my case I used the following
i had the exact same problem and also found the touch solution on an alsa forum. I applied it and everything worked like a charm. BUT i later restarted and sound stoped working. On bootup it said unresolved symbol so i figured it was the same. problem doing a
depmod -ae give the same error
depmod: *** Unresolved symbols in /lib/modules/2.4.20-28.9/misc/snd.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20-28.9/snd.o
The thought i would just recompiile the alsa-driver but no change. Alsamixer works fine, doing the mod probe for all modules gives no errors but there is just no sound!!!
I am a fairly new to linux so i'm totally clueless what to do now.