LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-17-2003, 05:38 AM   #1
nelsonnery
Member
 
Registered: May 2003
Distribution: Mandriva 2005
Posts: 57

Rep: Reputation: 15
alsa installation problems


Hi!

In order to install the sound driver on my laptop (Compaq Presario 920, M5451 PCI AC-Link) followed the following instructions:

http://www.alsa-project.org/alsa-do...&module=ali5451

and everything went ok until I typed

modprobe snd-ali5451;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss


where I get the following output

/lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o: unresolved symbol schedule_work
/lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o failed
/lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o: insmod snd-ali5451 failed
/lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o: unresolved symbol schedule_work
/lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o failed
/lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o: insmod snd-pcm-oss failed
/lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o: unresolved symbol schedule_work
/lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o failed
/lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o: insmod snd-mixer-oss failed
/lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o: unresolved symbol schedule_work
/lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o failed
/lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o: insmod snd-seq-oss failed


Does anyone have any idea about how to solve this?
I hope that someone can give me any help.

Many thanks for any help!

N


P.S. Some useful information

I am running redhat 8.

/sbin/lsmod | grep sound

soundcore 6532 0 (autoclean)



find /lib/modules/`uname -r`/kernel | grep "snd-"

/lib/modules/2.4.20-13.8/kernel/sound/support/pnp/snd-pnp.o
/lib/modules/2.4.20-13.8/kernel/sound/acore/snd-page-alloc.o
/lib/modules/2.4.20-13.8/kernel/sound/acore/snd-pcm.o
/lib/modules/2.4.20-13.8/kernel/sound/acore/snd-rawmidi.o
/lib/modules/2.4.20-13.8/kernel/sound/acore/snd-timer.o
/lib/modules/2.4.20-13.8/kernel/sound/acore/oss/snd-mixer-oss.o
/lib/modules/2.4.20-13.8/kernel/sound/acore/oss/snd-pcm-oss.o
/lib/modules/2.4.20-13.8/kernel/sound/acore/seq/snd-seq-device.o
/lib/modules/2.4.20-13.8/kernel/sound/acore/seq/snd-seq-dummy.o
/lib/modules/2.4.20-13.8/kernel/sound/acore/seq/snd-seq-midi-event.o
/lib/modules/2.4.20-13.8/kernel/sound/acore/seq/snd-seq-midi.o
/lib/modules/2.4.20-13.8/kernel/sound/acore/seq/snd-seq.o
/lib/modules/2.4.20-13.8/kernel/sound/acore/seq/oss/snd-seq-oss.o
/lib/modules/2.4.20-13.8/kernel/sound/drivers/mpu401/snd-mpu401-uart.o
/lib/modules/2.4.20-13.8/kernel/sound/pci/ac97/snd-ac97-codec.o
/lib/modules/2.4.20-13.8/kernel/sound/pci/ali5451/snd-ali5451.o


ls -l /lib/modules/2.4.20-13.8/

total 356
lrwxrwxrwx 1 root root 34 May 16 09:05 build -> ../../../usr/src/linux-2.4.20-13.8
drwxr-xr-x 9 root root 4096 May 17 00:32 kernel
-rw-r--r-- 1 root root 107095 May 17 08:45 modules.dep
-rw-r--r-- 1 root root 1713 May 17 08:45 modules.generic_string
-rw-r--r-- 1 root root 147 May 17 08:45 modules.ieee1394map
-rw-r--r-- 1 root root 8330 May 17 08:45 modules.isapnpmap
-rw-r--r-- 1 root root 29 May 17 08:45 modules.parportmap
-rw-r--r-- 1 root root 65661 May 17 08:45 modules.pcimap
-rw-r--r-- 1 root root 24 May 17 08:45 modules.pnpbiosmap
-rw-r--r-- 1 root root 135925 May 17 08:45 modules.usbmap




rpm -qa | grep kern

kernel-2.4.18-14
glibc-kernheaders-2.4-7.20
kernel-2.4.18-27.8.0
kernel-2.4.20-13.8
kernel-pcmcia-cs-3.1.31-9
kernel-2.4.18-26.8.0
kernel-source-2.4.20-13.8



uname -r
2.4.20-13.8
 
Old 05-17-2003, 06:36 AM   #2
je_fro
Member
 
Registered: Nov 2002
Location: /texas/austin/home/desk
Distribution: Gentoo
Posts: 341

Rep: Reputation: 30
So....

What does
lsmod
give?

You recompiled your kernel, disabling all sound (modules and kernelsound) and only enabling soundcore as a module? Isn't that what alsa wants, a clean slate?
 
Old 05-17-2003, 07:19 AM   #3
coquie
LQ Newbie
 
Registered: May 2003
Posts: 12

Rep: Reputation: 0
I had a similar problem, make sure that you are installing the correct module. It should show u in the
/lib/modules/2.4.18-14/kernel/sound/pci but it could be different for you depending on your system. If you cant find the snd-ali5451, rather use the one u find.
 
Old 05-17-2003, 07:39 AM   #4
nelsonnery
Member
 
Registered: May 2003
Distribution: Mandriva 2005
Posts: 57

Original Poster
Rep: Reputation: 15
Hi je_fro!

Sorry, lsmod gives

lsmod
Module Size Used by Not tainted
sound 73428 0 (unused)
ac97_codec 14568 0 (unused)
sr_mod 17752 0 (autoclean)
soundcore 6532 2 (autoclean) [sound]
mousedev 5460 1 (autoclean)
input 5856 0 (autoclean) [mousedev]
autofs 13140 0 (autoclean) (unused)
ds 8616 1
yenta_socket 13696 1
pcmcia_core 56256 0 [ds yenta_socket]
8139too 18120 1
mii 4008 0 [8139too]
ipt_REJECT 4024 2 (autoclean)
iptable_filter 2412 1 (autoclean)
ip_tables 14648 2 [ipt_REJECT iptable_filter]
ide-scsi 12016 0
scsi_mod 107000 2 [sr_mod ide-scsi]
ide-cd 35520 0
cdrom 33312 0 [sr_mod ide-cd]
nls_iso8859-1 3548 1 (autoclean)
nls_cp437 5180 1 (autoclean)
vfat 12812 1 (autoclean)
fat 38456 0 (autoclean) [vfat]
ext3 70112 2
jbd 51572 2 [ext3]

But I loaded the first two manually.


About the kernel
the only way I know to do something with the kernel is to type

make menuconfig

which takes me to a nice graphical menu and then type make dep.

I am not sure about what u tell me to do with the kernel (I am REALLY a newbie).

A step-by-step help would be great.

Cheers!

NELSON
 
Old 05-17-2003, 07:44 AM   #5
nelsonnery
Member
 
Registered: May 2003
Distribution: Mandriva 2005
Posts: 57

Original Poster
Rep: Reputation: 15
Hi coquie!

I have both ac97 and ali5451 on the pci directory that u mentioned.

Should I try to replace snd-ali5451 by snd-ac97?

Also, I am not entirely sure about my sound card but as far I could see, from other people's questions with serie 900 presario, I have the sound card I described above.

Thanks for all the help!

NELSON
 
Old 05-17-2003, 07:58 AM   #6
je_fro
Member
 
Registered: Nov 2002
Location: /texas/austin/home/desk
Distribution: Gentoo
Posts: 341

Rep: Reputation: 30
So I guess you're using RedHat?

According to the docs I followed (Gentoo, but good fo you too... click me.
I think you'll need to find out first if you're using the right module. If so, post back. You may need to recompile Kernel. Look for RedHat docs on that. Its a custom RedHat kernel, and I'm not sure you'll have to do it.
What WM are you using? Gnome?

Last edited by je_fro; 05-17-2003 at 07:59 AM.
 
Old 05-17-2003, 08:42 AM   #7
nelsonnery
Member
 
Registered: May 2003
Distribution: Mandriva 2005
Posts: 57

Original Poster
Rep: Reputation: 15
Hi again!

My module is definetely snd-ali5451. I am indeed using redhat, KDE. I am following the instructions from the link u sent me (thanks!).

I do have a question when configuring my kernel, by typing make menuconfig, I am told to "select Sound Card Support as Module (M) and deselect all other sound drivers. Exit and say Y to save your kernel configuration".

I've deselected everything under the "sound" option apart from the sound card support. I've done "make dep" and after that "make modules modules_install". The problem is that this step is taking ages (more then 30 min) and I start to ask myself if this is normal.

Apart from that, all the instructions seem "doable" (if they work)...

Thanks a lot again and I'll keep you posted!

NELSON
 
Old 05-17-2003, 08:45 AM   #8
nelsonnery
Member
 
Registered: May 2003
Distribution: Mandriva 2005
Posts: 57

Original Poster
Rep: Reputation: 15
Just another piece of information:



typing "grep audio /proc/pci"


gives
"Multimedia audio controller: ALi Corporation. [ALi] M5451 PCI AC-Link Controller Audio Device (rev 2)."
 
Old 05-17-2003, 08:46 AM   #9
je_fro
Member
 
Registered: Nov 2002
Location: /texas/austin/home/desk
Distribution: Gentoo
Posts: 341

Rep: Reputation: 30
Yes...

It takes awhile to compile.
Make sure you save your backup kernel. Just add an entry to grub.conf for your alsa kernel and try to boot that. Red Hat may freak out when you do this. Do you have a RedHat specific book on compiling the kernel?
 
Old 05-17-2003, 08:54 AM   #10
nelsonnery
Member
 
Registered: May 2003
Distribution: Mandriva 2005
Posts: 57

Original Poster
Rep: Reputation: 15
It now stopped.
The next step would be

env ALSA_CARDS='ali5451' emerge alsa-driver

but I got this output

env: emerge: No such file or directory

Any ideas?

I am sorry for all these (probably obvious) questions!

Thanks!

NELSON
 
Old 05-17-2003, 08:58 AM   #11
je_fro
Member
 
Registered: Nov 2002
Location: /texas/austin/home/desk
Distribution: Gentoo
Posts: 341

Rep: Reputation: 30
Yeah...

Emerge is gentoo specific. You can't use it. Just reinstall alsa using your driver. Are you using an RPM? I can't tell what you're using for instructions from your link (truncated) above. Can you post it again? I'll be able to help more if I can see what you're doing.
 
Old 05-17-2003, 08:59 AM   #12
nelsonnery
Member
 
Registered: May 2003
Distribution: Mandriva 2005
Posts: 57

Original Poster
Rep: Reputation: 15
here's the link

http://www.alsa-project.org/alsa-doc...module=ali5451
 
Old 05-17-2003, 08:59 AM   #13
nelsonnery
Member
 
Registered: May 2003
Distribution: Mandriva 2005
Posts: 57

Original Poster
Rep: Reputation: 15
http://www.alsa-project.org/alsa-doc...module=ali5451
 
Old 05-17-2003, 09:07 AM   #14
je_fro
Member
 
Registered: Nov 2002
Location: /texas/austin/home/desk
Distribution: Gentoo
Posts: 341

Rep: Reputation: 30
OK....

So now you've got a fresh kernel. Did you remember to:

ln -s linux-2.4.18-xx-y-z linux

??

Then the symbolic link /usr/src/linux points to your new kernel. When you re-install alsa, it'll use those headers. try re-building alsa and then modprobe again.
 
Old 05-17-2003, 12:44 PM   #15
nelsonnery
Member
 
Registered: May 2003
Distribution: Mandriva 2005
Posts: 57

Original Poster
Rep: Reputation: 15
Hi!

Sorry, I had to leave for a while.

I assume you know the commands I typed from the link I sent you.

The final step, when I typed
" modprobe snd-ali5451;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss"

took me to the same ouptut as I first got

/lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o: unresolved symbol schedule_work
/lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o failed
/lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o: insmod snd-ali5451 failed
/lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o: unresolved symbol schedule_work
/lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o failed
/lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o: insmod snd-pcm-oss failed
/lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o: unresolved symbol schedule_work
/lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o failed
/lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o: insmod snd-mixer-oss failed
/lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o: unresolved symbol schedule_work
/lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o failed
/lib/modules/2.4.20-13.8/kernel/sound/acore/snd.o: insmod snd-seq-oss failed


I don't know what else to try!!

Do you have any more ideas?

Thanks!

NELSON
 
  


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 installation Starr Linux - Software 14 07-01-2004 08:10 PM
alsa 1.0.2c on installation questions Sideshow Bob Linux - Software 1 02-21-2004 07:02 PM
ALSA installation problem penguinsrcool Linux - Software 38 09-28-2003 10:32 PM
ALSA installation Beuzekom Linux - Newbie 15 08-19-2003 06:07 PM
ALSA installation - i810_audio robertmarkbram Linux - Software 6 06-15-2003 05:36 PM


All times are GMT -5. The time now is 04:31 PM.

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