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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
08-27-2003, 04:03 PM
|
#1
|
LQ Newbie
Registered: Aug 2003
Distribution: Redhat9.0
Posts: 14
Rep:
|
Trying to install als400 sound drivers
Sorry about the long post, but I had read your hardware faq first. Thanks again for your help.
I have just downloaded and installed Red Hat Linux 9 from the website did a clean install on a celeron 366, 12 meg hard drive and 128 meg of ram. It loaded and recognized everything except the sound drivers. So I read some posts and did a sndconfig. It said the als400 was not supported. So I downloaded alsa-driver-0.5.10b. I untarred then did a ./configure. The I did a make and got the following errors. Oh by the way, I tried this at first and got a config.h error and was told I did not have the developers tools. So I put back in the cd's and installed all the modules. Taking up about 2.5 Gigs of space. I tried to give all the info here. Let me know
make[2]: Entering directory `/home/don/alsa-driver-0.5.10b/support'
rm -f ../include/modules/isapnp.ver
gcc -DALSA_BUILD -D__KERNEL__ -I/usr/src/linux/include -I.. -E -D__GENKSYMS__ isapnp.c | /sbin/genksyms -k 0.0.0 > ../include/modules/isapnp.ver
Usage:
genksyms [-dDwqhV] [-k kernel_version] [-p prefix] > .../linux/module/*.ver
-d, --debug Increment the debug level (repeatable)
-D, --dump Dump expanded symbol defs (for debugging only)
-w, --warnings Enable warnings
-q, --quiet Disable warnings (default)
-h, --help Print this message
-V, --version Print the release version
-k ver
--kernel ver Set the kernel version for which we are compiling
-p string
--prefix string Set a mangling prefix for all symbols
make[2]: *** [../include/modules/isapnp.ver] Error 1
make[2]: Leaving directory `/home/don/alsa-driver-0.5.10b/support'
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/home/don/alsa-driver-0.5.10b'
make: *** [include/sndversions.h] Error 2
[root@localhost alsa-driver-0.5.10b]#
lspci
[root@localhost alsa-driver-0.5.10b]# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] (rev 02)
00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AG P]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C596 ISA [Mobile South] (rev 06)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 06)
00:07.2 USB Controller: VIA Technologies, Inc. USB (rev 02)
00:07.3 Bridge: VIA Technologies, Inc. VT82C596 Power Management
00:09.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 05)
00:0a.0 Multimedia audio controller: Avance Logic Inc. ALS4000 Audio Chipset
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 86C326 5598/ 6326 (rev 0b)
[root@localhost alsa-driver-0.5.10b]#
kernel
uname -r
2.4.20-8
Thanks again for your help
Don Shepherd
|
|
|
08-27-2003, 04:55 PM
|
#2
|
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
Check the symbolic link for linux in your /usr/src directory if you have your kernel-source installed.
# Compiling/installing kernel modules
You will need to have installed:
1. The developmental packages (compiler)
2. The kernel source code that matches your running kernel
3. The module source or install code
Check out your system and look under the hood and see if you installed the stuff you need to do the job. Open an x terminal and type in this sequence of commands to see what kernel we are running and see if you have the kernel source installed:
Code:
[fancy@tinwhistle fancy]$ su -
Password:
[root@tinwhistle root]# uname -r
2.4.18-3
I am running kernel version 2.4.18-3. Do I have the proper source code?
Code:
[root@tinwhistle root]# cd /usr/src
[root@tinwhistle src]# ls -alc
total 3
drwxr-xr-x 4 root root 136 Jun 12 14:53 .
drwxr-xr-x 16 root root 424 Jun 4 12:04 ..
lrwxrwxrwx 1 root root 14 Jun 4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x 16 root root 584 Jun 4 12:11 linux-2.4.18-3
drwxr-xr-x 7 root root 168 Jun 4 12:08 redhat
[root@tinwhistle src]#
I do have the same kernel version source code installed in the directory /usr/src/linux-2.4.18-3 and there is a symbolic link named linux-2.4 pointing to it.
If you don't see something similiar to this (but in color), you will need to install the kernel source.
NOTE: I noticed that Red Hat didn't make the symbolic link /usr/src/linux that all of the INSTALL files that I have read mentioned that I need, so I may as well make one now to save editing the files in the source code to install.So, I'll make it just now:
Code:
[root@tinwhistle src]# ln -s linux-2.4.18-3 linux
[root@tinwhistle src]# ls -alc
total 3
drwxr-xr-x 4 root root 160 Jun 12 15:46 .
drwxr-xr-x 16 root root 424 Jun 4 12:04 ..
lrwxrwxrwx 1 root root 14 Jun 12 15:46 linux -> linux-2.4.18-3
lrwxrwxrwx 1 root root 14 Jun 4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x 16 root root 584 Jun 4 12:11 linux-2.4.18-3
drwxr-xr-x 7 root root 168 Jun 4 12:08 redhat
[root@tinwhistle src]#
Ah, there it is, so that's done.
Next, did I install the compiler?
Code:
[root@tinwhistle src]# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
[root@tinwhistle src]#
Yes, I have a compiler installed.
If you don't have those two things installed, you have to install them first off your install CD.
If they are installed, download the source and happy comiling.  Make sure you carefully read the README and INSTALL files after extracting and before compiling/installing.
# Guides to software management
LNAG - How do I install a program I downloaded from the Internet?
Rute Guide's software explanation
You might want to check out CheckInstall to manage source code installations/uninstallation
Last edited by fancypiper; 08-27-2003 at 04:57 PM.
|
|
|
08-27-2003, 06:12 PM
|
#3
|
LQ Newbie
Registered: Aug 2003
Distribution: Redhat9.0
Posts: 14
Original Poster
Rep:
|
compiled with GCC and no modules
Kernel 2.4.20-8
Loaded GCC compiler and
seemed to configure just fine.
Then I ran the make command and got the following.
I loaded all the modules from the Red Hat Linux 9 from all 3 system cd's. Takes up about 2.5 Gigs of disk space.
I have a Red Hat and a Linux 2.4.20-8 folder. The Linux folder is where all the files are at.
I will check the other stuff and post when I can. I am at school now, taking my UNIX course. Thanks again for the help.
|
|
|
08-28-2003, 12:02 PM
|
#4
|
LQ Newbie
Registered: Aug 2003
Distribution: Redhat9.0
Posts: 14
Original Poster
Rep:
|
ALS4000 sound. Added links you suggested
Tried the links you suggested. It found it and gave me a bunch of new errors. I hope you can figure this out. It is Greek to me. Thanks again for your help. By the way, this sound card worked fine in Windows XP. So what did I miss.
[root@localhost alsa-driver-0.5.10b]# make
make dep
make[1]: Entering directory `/home/don/alsa-driver-0.5.10b'
make[2]: Entering directory `/home/don/alsa-driver-0.5.10b/kernel'
rm -f ../include/modules/sound.ver
gcc -DALSA_BUILD -D__KERNEL__ -I/usr/src/linux/include -I.. -E -D__GENKSYMS__ sound.c | /sbin/genksyms -k 2.4.20 > ../include/modules/sound.ver
In file included from ../include/driver.h:84,
from sound.c:23:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
sound.c:511:91: warning: pasting ""snd: "" and ""unable to register native major device number %d\n"" does not give a valid preprocessing token
sound.c:593:86: warning: pasting ""snd: "" and ""unable to unregister major device number %d\n"" does not give a valid preprocessing token
rm -f ../include/modules/mixer.ver
gcc -DALSA_BUILD -D__KERNEL__ -I/usr/src/linux/include -I.. -E -D__GENKSYMS__ mixer.c | /sbin/genksyms -k 2.4.20 > ../include/modules/mixer.ver
In file included from ../include/driver.h:84,
from mixer.c:23:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
rm -f ../include/modules/pcm.ver
gcc -DALSA_BUILD -D__KERNEL__ -I/usr/src/linux/include -I.. -E -D__GENKSYMS__ pcm.c | /sbin/genksyms -k 2.4.20 > ../include/modules/pcm.ver
In file included from ../include/driver.h:84,
from pcm.c:23:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
rm -f ../include/modules/pcm_lib.ver
gcc -DALSA_BUILD -D__KERNEL__ -I/usr/src/linux/include -I.. -E -D__GENKSYMS__ pcm_lib.c | /sbin/genksyms -k 2.4.20 > ../include/modules/pcm_lib.ver
In file included from ../include/driver.h:84,
from pcm_lib.c:22:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
rm -f ../include/modules/rawmidi.ver
gcc -DALSA_BUILD -D__KERNEL__ -I/usr/src/linux/include -I.. -E -D__GENKSYMS__ rawmidi.c | /sbin/genksyms -k 2.4.20 > ../include/modules/rawmidi.ver
In file included from ../include/driver.h:84,
from rawmidi.c:23:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
rawmidi.c:1052:107: warning: pasting ""snd: "" and ""unable to register rawmidi device %i:%i\n"" does not give a valid preprocessing token
rawmidi.c:1062:119: warning: pasting ""snd: "" and ""unable to register OSS rawmidi device %i:%i\n"" does not give a valid preprocessing token
rm -f ../include/modules/timer.ver
gcc -DALSA_BUILD -D__KERNEL__ -I/usr/src/linux/include -I.. -E -D__GENKSYMS__ timer.c | /sbin/genksyms -k 2.4.20 > ../include/modules/timer.ver
In file included from ../include/driver.h:84,
from timer.c:23:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
timer.c:1236:73: warning: pasting ""snd: "" and ""unable to register system timer (%i)\n"" does not give a valid preprocessing token
timer.c:1239:73: warning: pasting ""snd: "" and ""unable to register timer device (%i)\n"" does not give a valid preprocessing token
rm -f ../include/modules/hwdep.ver
gcc -DALSA_BUILD -D__KERNEL__ -I/usr/src/linux/include -I.. -E -D__GENKSYMS__ hwdep.c | /sbin/genksyms -k 2.4.20 > ../include/modules/hwdep.ver
In file included from ../include/driver.h:84,
from hwdep.c:23:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
hwdep.c:269:62: warning: pasting ""snd: "" and ""unable to register hardware dependant device %i:%i\n"" does not give a valid preprocessing token
hwdep.c:278:103: warning: pasting ""snd: "" and ""only hwdep device 0 can be registered as OSS direct FM device!\n"" does not give a valid preprocessing token
hwdep.c:284:78: warning: pasting ""snd: "" and ""unable to register OSS compatibility device %i:%i\n"" does not give a valid preprocessing token
rm -f ../include/modules/mixer_oss.ver
gcc -DALSA_BUILD -D__KERNEL__ -I/usr/src/linux/include -I.. -E -D__GENKSYMS__ mixer_oss.c | /sbin/genksyms -k 2.4.20 > ../include/modules/mixer_oss.ver
In file included from ../include/driver.h:84,
from mixer_oss.c:24:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
mixer_oss.c:483:117: warning: pasting ""snd: "" and ""unable to register OSS mixer device %i:%i\n"" does not give a valid preprocessing token
updating ../include/sndversions.h
gcc -E -M -D__DEPEND__ -DALSA_BUILD -D__KERNEL__ -O2 -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -I/usr/src/linux/include -I.. *.c > .depend
In file included from ../include/driver.h:84,
from control.c:22:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
In file included from ../include/driver.h:84,
from device.c:22:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
device.c:66:81: warning: pasting ""snd: "" and ""device unregister failure\n"" does not give a valid preprocessing token
device.c:70:83: warning: pasting ""snd: "" and ""device free failure\n"" does not give a valid preprocessing token
In file included from ../include/driver.h:84,
from hwdep.c:23:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
hwdep.c:269:62: warning: pasting ""snd: "" and ""unable to register hardware dependant device %i:%i\n"" does not give a valid preprocessing token
hwdep.c:278:103: warning: pasting ""snd: "" and ""only hwdep device 0 can be registered as OSS direct FM device!\n"" does not give a valid preprocessing token
hwdep.c:284:78: warning: pasting ""snd: "" and ""unable to register OSS compatibility device %i:%i\n"" does not give a valid preprocessing token
In file included from ../include/driver.h:84,
from info.c:22:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
info.c:451:69: warning: pasting ""snd: "" and ""data write error to /proc/asound/%s%s%s (%i)\n"" does not give a valid preprocessing token
In file included from ../include/driver.h:84,
from info_oss.c:22:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
In file included from ../include/driver.h:84,
from init.c:22:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
init.c:82:95: warning: pasting ""snd: "" and ""card %i is out of range (0-%i)\n"" does not give a valid preprocessing token
init.c:118:58: warning: pasting ""snd: "" and ""unable to free all devices\n"" does not give a valid preprocessing token
init.c:122:62: warning: pasting ""snd: "" and ""unable to unregister card info\n"" does not give a valid preprocessing token
init.c:126:67: warning: pasting ""snd: "" and ""unable to unregister control minors\n"" does not give a valid preprocessing token
init.c:440:69: warning: pasting ""snd: "" and ""unable to grab DMA %li for %s\n"" does not give a valid preprocessing token
init.c:538:76: warning: pasting ""snd: "" and ""unable to grab IRQ %li for %s\n"" does not give a valid preprocessing token
In file included from ../include/driver.h:84,
from isadma.c:22:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
In file included from ../include/driver.h:84,
from memory.c:22:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
memory.c:80:88: warning: pasting ""snd: "" and ""snd_memory_done - snd_alloc_pages = %li\n"" does not give a valid preprocessing token
memory.c:82:92: warning: pasting ""snd: "" and ""snd_memory_done - snd_alloc_kmalloc = %li\n"" does not give a valid preprocessing token
memory.c:84:92: warning: pasting ""snd: "" and ""snd_memory_done - snd_alloc_vmalloc = %li\n"" does not give a valid preprocessing token
memory.c:112:42: warning: pasting ""snd: "" and ""kfree NULL\n"" does not give a valid preprocessing token
memory.c:205:42: warning: pasting ""snd: "" and ""vfree NULL\n"" does not give a valid preprocessing token
memory.c:352:77: warning: pasting ""snd: "" and ""snd_dma_free1: INTERNAL ERROR\n"" does not give a valid preprocessing token
In file included from ../include/driver.h:84,
from misc.c:22:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
In file included from ../include/driver.h:84,
from mixer.c:23:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
In file included from ../include/driver.h:84,
from mixer_lib.c:22:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
In file included from ../include/driver.h:84,
from mixer_oss.c:24:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
mixer_oss.c:483:117: warning: pasting ""snd: "" and ""unable to register OSS mixer device %i:%i\n"" does not give a valid preprocessing token
In file included from ../include/driver.h:84,
from pcm.c:23:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
In file included from ../include/driver.h:84,
from pcm_lib.c:22:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
In file included from ../include/driver.h:84,
from pcm_misc.c:23:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
In file included from ../include/driver.h:84,
from pcm_native.c:22:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
In file included from ../include/driver.h:84,
from pcm_oss.c:28:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
pcm_oss.c:1771:157: warning: pasting ""snd: "" and ""snd-pcm-oss: wrong mmap() size 0x%x, should be 0x%x\n"" does not give a valid preprocessing token
pcm_oss.c:1990:111: warning: pasting ""snd: "" and ""unable to register OSS PCM device %i:%i\n"" does not give a valid preprocessing token
In file included from ../include/driver.h:84,
from pcm_oss_plugin.c:26:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
In file included from ../include/driver.h:84,
from pcm_proc.c:22:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
In file included from ../include/driver.h:84,
from pcm_timer.c:22:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
In file included from ../include/driver.h:84,
from rawmidi.c:23:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
rawmidi.c:1052:107: warning: pasting ""snd: "" and ""unable to register rawmidi device %i:%i\n"" does not give a valid preprocessing token
rawmidi.c:1062:119: warning: pasting ""snd: "" and ""unable to register OSS rawmidi device %i:%i\n"" does not give a valid preprocessing token
In file included from ../include/driver.h:84,
from sound.c:23:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
sound.c:511:91: warning: pasting ""snd: "" and ""unable to register native major device number %d\n"" does not give a valid preprocessing token
sound.c:593:86: warning: pasting ""snd: "" and ""unable to unregister major device number %d\n"" does not give a valid preprocessing token
In file included from ../include/driver.h:84,
from sound_oss.c:22:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
sound_oss.c:428:84: warning: pasting ""snd: "" and ""OSS device minor %i not unregistered!!!\n"" does not give a valid preprocessing token
In file included from ../include/driver.h:84,
from switch.c:22:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
In file included from ../include/driver.h:84,
from timer.c:23:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
timer.c:1236:73: warning: pasting ""snd: "" and ""unable to register system timer (%i)\n"" does not give a valid preprocessing token
timer.c:1239:73: warning: pasting ""snd: "" and ""unable to register timer device (%i)\n"" does not give a valid preprocessing token
In file included from ../include/driver.h:84,
from ulaw.c:22:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
In file included from ../include/driver.h:84,
from vma.c:22:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
make[2]: *** [.depend] Error 1
make[2]: Leaving directory `/home/don/alsa-driver-0.5.10b/kernel'
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/home/don/alsa-driver-0.5.10b'
make: *** [include/sndversions.h] Error 2
[root@localhost alsa-driver-0.5.10b]# make install
make[1]: Entering directory `/home/don/alsa-driver-0.5.10b/kernel'
gcc -DALSA_BUILD -D__KERNEL__ -O2 -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -I/usr/src/linux/include -I.. -DEXPORT_SYMTAB -c sound.c
`-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.
cc1: warning: -malign-loops is obsolete, use -falign-loops
cc1: warning: -malign-jumps is obsolete, use -falign-jumps
cc1: warning: -malign-functions is obsolete, use -falign-functions
In file included from ../include/sndversions.h:11,
from ../include/driver.h:67,
from sound.c:23:
../include/modules/sound.ver:143:1: warning: "__ver_pm_register" redefined
In file included from /usr/src/linux/include/linux/modversions.h:1584,
from ../include/driver.h:66,
from sound.c:23:
/usr/src/linux/include/linux/modules/pm.ver:3:1: warning: this is the location of the previous definition
In file included from ../include/sndversions.h:11,
from ../include/driver.h:67,
from sound.c:23:
../include/modules/sound.ver:145:1: warning: "__ver_pm_unregister" redefined
In file included from /usr/src/linux/include/linux/modversions.h:1584,
from ../include/driver.h:66,
from sound.c:23:
/usr/src/linux/include/linux/modules/pm.ver:7:1: warning: this is the location of the previous definition
In file included from ../include/sndversions.h:11,
from ../include/driver.h:67,
from sound.c:23:
../include/modules/sound.ver:147:1: warning: "__ver_pm_send" redefined
In file included from /usr/src/linux/include/linux/modversions.h:1584,
from ../include/driver.h:66,
from sound.c:23:
/usr/src/linux/include/linux/modules/pm.ver:5:1: warning: this is the location of the previous definition
In file included from ../include/driver.h:84,
from sound.c:23:
/usr/src/linux/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
sound.c:511:91: warning: pasting ""snd: "" and ""unable to register native major device number %d\n"" does not give a valid preprocessing token
sound.c:593:86: warning: pasting ""snd: "" and ""unable to unregister major device number %d\n"" does not give a valid preprocessing token
make[1]: *** [sound.o] Error 1
make[1]: Leaving directory `/home/don/alsa-driver-0.5.10b/kernel'
make: *** [compile] Error 1
Thanks again
|
|
|
08-28-2003, 02:18 PM
|
#5
|
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
Do you have the kernel-sources that match your running kernel and do you have the symbolic link /usr/src/linux pointing to that source code?
|
|
|
08-28-2003, 05:55 PM
|
#6
|
LQ Newbie
Registered: Aug 2003
Distribution: Redhat9.0
Posts: 14
Original Poster
Rep:
|
Source and Symbolic Links
This is what you showed me and I did it before doing the configure and make..
[root@localhost usr]# ls
bin etc include lib local share tmp
dict games kerberos libexec sbin src X11R6
[root@localhost usr]# cd src
[root@localhost src]# ls -arc
debug redhat alsa-driver-0.5.10b.tar linux alsa-driver-0.5.10b
.. linux-2.4 linux-2.4.20-8 .
[root@localhost src]# ln -s linux-2.4.20-8 linux
[root@localhost src]# ls alc
ls: alc: No such file or directory
[root@localhost src]# ls -alc
total 6316
drwxr-xr-x 6 root root 4096 Aug 28 10:38 .
drwxr-xr-x 15 root root 4096 Aug 23 11:13 ..
drwxr-xr-x 11 root root 4096 Aug 28 11:22 alsa-driver-0.5.10b
-rw------- 1 root root 6430720 Aug 27 14:01 alsa-driver-0.5.10b.tar
drwxr-xr-x 2 root root 4096 Aug 23 11:11 debug
lrwxrwxrwx 1 root root 14 Aug 28 10:38 linux -> linux-2.4.20-8
lrwxrwxrwx 1 root root 14 Aug 24 18:09 linux-2.4 -> linux-2.4.20-8
drwxr-xr-x 16 root root 4096 Aug 28 16:50 linux-2.4.20-8
drwxr-xr-x 7 root root 4096 Aug 24 17:48 redhat
So I did the symbolic link and I downloaded all the modules from the Red Hat Linux 9 cd's. Should I go ahead and download the other 3 cd's and load those modules also. Would that help? I think I did everything you told me before I did the configure and make. Thanks again for your assistance.
|
|
|
08-28-2003, 06:33 PM
|
#7
|
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
Was the driver download uncorrupted? Is there an md5sum you can check?
Any tips on the driver install page/forum/other support resources? All conditons and programs mentioned met?
|
|
|
08-29-2003, 12:14 PM
|
#8
|
LQ Newbie
Registered: Aug 2003
Distribution: Redhat9.0
Posts: 14
Original Poster
Rep:
|
new alsa driver alsa-driver-0.9.6
I took your advice and downloaded a newer driver. It installed just fine. It said all alsa drivers were loaded. Now I just need to load the drivers. I think. My lsmod follows:
[root@localhost src]# lsmod
Module Size Used by Not tainted
ide-cd 35708 0 (autoclean)
cdrom 33728 0 (autoclean) [ide-cd]
soundcore 6404 0 (autoclean)
agpgart 47776 0 (unused)
parport_pc 19076 1 (autoclean)
lp 8996 0 (autoclean)
parport 37056 1 (autoclean) [parport_pc lp]
autofs 13268 0 (autoclean) (unused)
e100 60644 1
ipt_REJECT 3928 6 (autoclean)
iptable_filter 2412 1 (autoclean)
ip_tables 15096 2 [ipt_REJECT iptable_filter]
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 [hid usb-uhci]
ext3 70784 2
jbd 51892 2 [ext3]
My only question now is how to intall the driver. I tarred the new driver under /usr/src. Because that it was where it was suggested to me. Unfortunaely, I know nothing about modules or libraries. Am I on the right track. When I finished loading the alsa drivers and brought up the machine later. It said something about undefined symbols. Also, sndconfig still shows als4000 unsupportted. I think I am getting close. I was able to configure, make and install the alsa drivers. Not sure where to go from here. Thanks again for all your help.
|
|
|
08-29-2003, 12:32 PM
|
#9
|
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
Any hints in the README or INSTALL files or on the download site?
Try the command (the install should have done this IMHO):
depmod -ae
http://www.redhat.com/docs/manuals/l...l-modules.html
Last edited by fancypiper; 08-29-2003 at 12:39 PM.
|
|
|
08-29-2003, 12:45 PM
|
#10
|
LQ Newbie
Registered: Aug 2003
Distribution: Redhat9.0
Posts: 14
Original Poster
Rep:
|
depmod -ae
OK. I give. What's doesthis mean?
root@localhost sbin]# depmod -ae
depmod: *** Unresolved symbols in /lib/modules/2.4.20-8/kernel/sound/acore/snd.o
depmod: schedule_work
|
|
|
08-29-2003, 01:04 PM
|
#11
|
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
It sounds as if something went wrong and it isn't installed correctly yet.
Delete the folder you extracted the driver to, re-extract the driver, make sure that you read and understand the README and INSTALL files in the extracted folder and all the instructions on the download page.
Note any errors and (you can probably ignore warnings) when doing each stage and don't proceed to the next until the first part is successfully completed. If any fails, the end result is failure.
Normally the things to run are:
./configure
make
make install
|
|
|
08-29-2003, 07:05 PM
|
#12
|
LQ Newbie
Registered: Aug 2003
Distribution: Redhat9.0
Posts: 14
Original Poster
Rep:
|
Delete and redownload new alsa driver alsa-driver-0.9.6
Okay. I downloaded new alsa driver alsa-driver-0.9.6 driver, utils and lib. Have ./configure ; make : make install on all three.
Reloading driver now will tell you what happens. Taking significantly longer this time to install driver. It is looking a lot better. Will post when it finishes the install. and I will try the
depmod -ae again.
Thanks again, sorry for pestering you guys so much. I am learning much more about the LINUX system, tha I figured I would.
|
|
|
08-30-2003, 12:21 AM
|
#13
|
LQ Newbie
Registered: Aug 2003
Distribution: Redhat9.0
Posts: 14
Original Poster
Rep:
|
Sound Drivers Installed
I reloaded evrything and still got the same error. I went surfing. I found //opensrc.org/alsa They told me to type in touch include/linux/workgroup.h. Between the configure and make commands. Everything is loaded. no errors. I get everything in lsmod. By the way I type depmod -ae and nothing happens. Is that right. Hmm. I think it is working. I will try to play some songs in the morning. I have been beating on this most of the evening. I will test everything in the morning. Thanks again for your help. Without those symbolic links it never would have worked. Thanks again.
|
|
|
08-30-2003, 08:36 AM
|
#14
|
LQ Newbie
Registered: Aug 2003
Distribution: Redhat9.0
Posts: 14
Original Poster
Rep:
|
No sound
Well, tried it this morning. Detected my sound card, but no sound.
[root@localhost alsa-driver-0.9.6]# cat /dev/sndstat
cat: /dev/sndstat: No such device
[root@localhost alsa-driver-0.9.6]# cat /dev/audio
cat: /dev/audio: No such device
[root@localhost alsa-driver-0.9.6]#
I did ./snddevices and it seemed to run just fine. I put in alsamixer and put volume at max. I tried putting in a cd. You can hear it through the headphone jacks, but no sound out of the speakers. Do I need to load some more drivers? Is there not just a quick way to play a sound? Thanks again for everything.
|
|
|
08-30-2003, 05:10 PM
|
#15
|
LQ Newbie
Registered: Aug 2003
Distribution: Redhat9.0
Posts: 14
Original Poster
Rep:
|
Alsamixer master/cd volume up all the way
Turned up the mixer volume all the way. no sound. Still getting on bootup no dev/dsp.
[root@localhost don]# cat /etc/modules.conf
alias eth0 e100
alias usb-controller usb-uhci
alias char-major-116 snd
alias char-major-14 soundcore
alias snd-card snd-card-als4000
alias snd-card-0 snd-card-als4000
alias sound-slot-0 snd-als4000
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
Do these post and pre need to be here or do they need deleted?
I'm still in there pitching. Using this as a sort of log of my Linux adventures. Hopefully, can sign out soon and make room for other newbies.
Thanks again.
|
|
|
All times are GMT -5. The time now is 03:37 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
|
|