LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-11-2005, 08:54 AM   #1
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Rep: Reputation: 35
snd-intel8x0 can't be found after recompiling 2.4.26(NOT AN AVARAGE ALSA QUESTION!!!)


First, I can get sound working with 2.4.26, but! only using standard 2.4.26 (Slack bare.image). It doesn't work after recompiling. No matter how I try it DOESN'T work. I have no problem with recompiling 2.6.7 - it HAS ALSA option so that I can choose my intel-on-board support. But even when I choose "Intel ICH (i8xx), SiS7012, NVidia nForce Audio or AMD 768/811x" kernel option (in the sound item), then compile 2.4.26, sound doesn't work. It's compiled as module.
Just before logging in it says me: Can't locate snd-intel8x0 module.
This time I've reinstalled Slack on another partition with standard bare.image kernel to grab this snd-intel8x0. Well, I found it there and grabbed it. And placed wherever I could think to, namely:
/lib/modules/2.4.26/kernel/sound
/lib/modules/2.4.26/kernel/sound/pci
/lib/modules/2.4.26/kernel/drivers/sound/
/lib/modules/2.4.26/kernel/drivers/sound/pci
Then I rebooted. Yes, "alsaconf" found it... actually it said that found 4 (!) sound cards. I chose the first, but it doesn't matter which one since there's only one module.
Then KMix shows my sound device as "unknown". Of course, I didn't succeed in running xmms using alsa plug-in (esd doesn't work either). But OSS plug-in works (amazingly a bit). But the quality of OSS is awful.
So the problem is: why after choosing my intel-on-board sound card it can't be found in 2.4.26. Even after copying it to the necessary places. Why only OSS works?
If you know what the hell is going on with 2.4.26... please, Let Me Know.
Thanks.
 
Old 05-11-2005, 11:15 AM   #2
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 50
if OSS works you can use it. how did you compile the kernel?it is very strange that the module can't be found.

cd /usr/src/linux-version.
make menuconfig;
make && make modules_install
cp arch/i386/boot/bzImage /boot/vmlinuz-version
ln -s /boot/vmlinuz-version /
pico /etc/lilo.conf or /boot/grub/menu.lst
lilo (if you use lilo)
reboot
 
Old 05-11-2005, 12:05 PM   #3
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Original Poster
Rep: Reputation: 35
I've compiled a kernel doing the following:
make menuconfig;
make dep;
make bzImage;
make modules;
make modules_install;
and, of course, copying bzImage to /boot + lilo changes.

And what "ln -s /boot/vmlinuz-version /" means? What's the reason of making a link to a kernel from root dir???

Last edited by kornerr; 05-12-2005 at 12:38 PM.
 
Old 05-12-2005, 12:44 PM   #4
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Original Poster
Rep: Reputation: 35
I've tried many times to reinstall ALSA...
using slack's "pkgtool", manually
running "ldconfig", "depmod" after every reinstall.

That's what I get during booting:
Code:
Loading ALSA kernel modules.
/lib/modules/2.4.26/kernel/sound/pci/snd-intel8x0.o.gz: unresolved symbol gameport_register_port
/lib/modules/2.4.26/kernel/sound/pci/snd-intel8x0.o.gz: unresolved symbol gameport_unregister_port
/lib/modules/2.4.26/kernel/sound/pci/snd-intel8x0.o.gz: insmod /lib/modules/2.4.26/kernel/sound/pci/snd-intel8x0.o.gz failed
/lib/modules/2.4.26/kernel/sound/pci/snd-intel8x0.o.gz: insmod snd-intel8x0 failed
"alsaconf" finds "snd-intel8x0" module. But after modifying "/etc/modules.conf" it prints:
Code:
Loading driver...
Loading ALSA mixer settings:  /usr/sbin/alsactl restore
/usr/sbin/alsactl: load_state:1134: No soundcards found...
Loading OSS compatibility modules for ALSA.
Setting default volumes...
If I then try to "alsamixer" it prints:
Code:
alsamixer: function snd_ctl_open failed for default: No such device
I have compiled all what is in sound item of "menuconfig" as modules.

May be I have no sound device (I can only wonder where it could gone, but...)?
How to check if it exists then?

Can anyone help me?
Thanks.

Last edited by kornerr; 05-13-2005 at 05:20 AM.
 
Old 05-13-2005, 05:31 AM   #5
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Original Poster
Rep: Reputation: 35
ALSA now works
I have changed bare.i's ".config" a bit... I excluded the things I know to be really useless for me. But I've left untouched many other options... not in sound item of menuconfig. And it now works! This means that 2.4.x's ALSA depends not only of sound item item of menuconfig, but of some others too.
I'll be compiling over and over again until I know what I exactly need.
 
Old 06-02-2005, 12:02 PM   #6
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Original Poster
Rep: Reputation: 35
I found the problem.
For ALSA to work with intel-sound-on-board on 2.4.x (at least 2.4.26) there must be "gameport" support.
Never thought this can cause a sound problem
(Previously I thought problem was in that I didn't enable PnP support).
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems installing ALSA: insmod snd-intel8x0 fails. BWebb Linux - Newbie 21 01-04-2007 10:01 AM
no sound with snd-intel8x0 rgogada Slackware 23 07-03-2005 10:00 AM
Alsa & snd-intel8x0 error hayesben Slackware 12 12-26-2004 04:42 PM
snd-intel8x0 module mrsolo Linux - Software 0 08-21-2003 06:18 PM
I say snd-intel8x0, you say i810_audio! - ALSA on P4GE-V motherboard robertmarkbram Linux - Hardware 0 06-06-2003 03:05 AM


All times are GMT -5. The time now is 05:17 PM.

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