LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 03-19-2004, 10:17 PM   #1
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Rep: Reputation: 31
Sound was working.. rebooted.. alsa start errors... no sound now..


Well I got my system running good... Had sound and everything... Recompiled my kernel to include support for vfat.. and then did the usual make dep..bzimage.. modules.. make modues install... copied over the bzimage and system map and all .. rebooted and Now I have a error from alsa.


Taken from /var/log/sys.log

The module you are trying to load (/lib/modules/2.4.25/kernel/drivers/sound/snd.o) is compiled with a gcc version 2 compiler, while the kernel you are running is compiled with a gcc version 3 compiler. This is known to not work.
Mar 19 15:46:27 lfs insmod: /lib/modules/2.4.25/kernel/drivers/sound/snd.o: insmod char-major-116 failed


.. dont know why but I can paste into xterm but cant copy out of just copy things back into the command line..... anyway.. heres what happens when I run alsamixer
alsamixer: function snd_ctl_open failed for default: No such device
bash: alsamixer:: command not found

well.. all of this was working before I rebooted and I saved my old kernel and tried it and same errors so I guess its a alsa module problem...
lsmod doesnt list anything cept for radeon module for my ati video card.
Ive reinstalled the alsadrivers and ran depmod and rebooted a few times ...still nothing..

Any ideas...
 
Old 03-19-2004, 10:40 PM   #2
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Original Poster
Rep: Reputation: 31
Redid my post here as I changed alot of stuff up.

Ok I recompiled my kerenel like BLFS-cvs instructions for alsa suggested by not selecting any sound drivers built into the kernel or as modules just have sound support built in. I also used the same gcc (ver 2.95.3) compilers for it so that error I mentioned above is no longer present.
I then followed through all of it and got everything setup as it says but cannot get sound to work under any output type OSS,Alsa,Arts... none work for xmms.
If I compile the ac'97 codec into the kernel the OSS output works but same errors with alsa are there.
When I try to use alsamixer I get a error saying No devices found and the same goes for Alsactl which causes the system to hualt on boot-up.

/etc/modules.conf:
Code:
alias char-major-14 soundcore
alias char-major-116 snd

alias snd-card-0 snd-ac97-codec

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
lsmod output:

Code:
Module                  Size  Used by    Not tainted
snd-pcm-oss            36356   0  (autoclean) (unused)
snd-pcm                59616   0  (autoclean) [snd-pcm-oss]
snd-timer              15332   0  (autoclean) [snd-pcm]
snd-page-alloc          5968   0  (autoclean) [snd-pcm]
snd-mixer-oss          11728   0  (autoclean) [snd-pcm-oss]
radeon                107428   1 
snd-ac97-codec         40300   0  (autoclean) (unused)
snd                    31364   0  (autoclean) [snd-pcm-oss snd-pcm snd-timer snd-mixer-oss snd-ac97-codec]
When running alsamixer or alsactl:
Code:
alsamixer: function snd_ctl_open failed for default: No such device
And if you need any info on my auido card, which is built into the motherboard, here is a link to the specs.
http://www.realtek.com.tw/products/p...spx?modelid=30

Last edited by Zero-0-Effect; 03-20-2004 at 12:36 AM.
 
Old 03-20-2004, 12:15 PM   #3
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
I had this problem once and I think it was because I forgot to mount the proc and devpts file systems when I chrooted into the lfs partition so some key packages weren't installed properly. I didn't bother to try and fix it, I just started again and now I'm real carefull to mount those things when I work chroot. And while I'm on the subject of chroot, did you install the alsa drivers in LFS or did you do it chroot? the reason I ask is that I think they build themselves to fit the running kernel so I've always done them from within LFS. It may be something else but...Good luck anyway
 
Old 03-20-2004, 04:04 PM   #4
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Original Poster
Rep: Reputation: 31
Originally I did install them from the chroot enviroment but I always mounted the proc adn devpts file systems. After installing I rebooted into the LFS system and realized that had been a bad Idea and reinstalled all the alsa drivers,utilities, firmware , etc.. inside of the lfs system. They then worked. Later I rebooted back into my old slackware system to watch tv as I did not have the ati drivers installed nor do I think the 4.4 drivers are available... ehh.. When I booted back into LFS sound had stoped working I then re-did recompiled my kernel to support vfat and noticed that I had a few things under the sound menu check and so took those off ( as said in the blfs-cvs book ) Compiled, rebooted, and I am now at the stage shown in my post above. I hope this clarifys of how I got where I am at now.

I seems that the drivers should work. The only error Im getting is that no device could be found. I installed dialog and was able to use alsaconf and it was unable to detect my soundcard. Is there any manual way of telling alsa where the soundcard is?
The sound DOES work IF I compile the drivers into the kernel (using the oss ouput )but the instructions for alsa say to NOT do this because alsa will not work... in any case Ive tried it and still same errors with alsa.

I know the address for the device:
Code:
00:1f.5 Multimedia audio controller: Intel Corp. 82801DB AC'97 Audio (rev 01)

Last edited by Zero-0-Effect; 03-20-2004 at 04:36 PM.
 
Old 03-20-2004, 04:42 PM   #5
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Original Poster
Rep: Reputation: 31
Code:
00:1f.0 ISA bridge: Intel Corp. 82801DB ISA Bridge (LPC) (rev 01)
This is the same chip?? number as the one for which the audio controller is on... 82801DB... well I think I did not include ISA support in my kernel.
Figured hell, I dont have ISA slots.. ...
Well im goin to recompile my kernel and reload the alsa drivers as they will have to be again and see if that works...

* Well adding ISA plug n play support and ISA bus support didnt do much but waste my time...

Last edited by Zero-0-Effect; 03-20-2004 at 05:17 PM.
 
Old 03-21-2004, 09:58 PM   #6
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Original Poster
Rep: Reputation: 31
Well after being much pissed off becuase no ati drivers are made for XF86 4.4 and I have no tv in my HOUSE AT ALL cept on my computer... : ( .. anyone know where I can get em??? gatos has up to 4.3.

Any way... side from that.. I was bout to format all my drives and put slack back on and give up on LFS and decided well what the hell and removed all traces of alsa and reinstalled... during the config and make I noticed a lil something..
--with-isapnp=no:
And as I found out earlier my sound card is built in and uses the ISA bus, and had recompiled my kerenel and all with it.
THIS ONE LITTLE LINE causes all this trouble. I stoped the make process before it had a chance to install and restarted with that line saying YES and now alsamixer, alsaconf all works, and it found my card added it all to /etc/modules for me and all is working GREAT!!.

If anyone knows a place to get the new ati radeon (7500) drivers so taht I can watch tv again It will be much appreciated! Right now Im using the 4.3 drivers and when I close the program down it randomly locks the system completely (tried everything to get it back) to the point where the reset button was my only hope. But I got sound and solved a problem Ive always had with linux.... I have 2 instances of xmms both playing a mp3... never.. even with other distros could I do that. Now sound from gaim,xmms, and others all can be heard simultaneously.
 
  


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
ALSA not working for Creative Sound Blaster Live 24 Bit sound card vishalsonu Linux - Hardware 7 08-20-2005 01:02 PM
Library build errors for Alsa sound driver jallingt Linux - Hardware 0 06-28-2005 12:03 AM
ALSA--> Sound not working browncow Linux - Newbie 8 05-28-2005 12:38 PM
Sound: alsa is not working ryan.n Linux - General 6 10-12-2004 09:19 PM
alsa working but no sound bibilit Linux - Software 3 12-22-2003 02:06 PM


All times are GMT -5. The time now is 02:39 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration