Guest Brit Posted October 14, 2003 Report Share Posted October 14, 2003 Hi all I thought that i could do this myself but yet again i am scratching my hair out. After finally getting X to work, i have been playing reading and trying to learn everything about Linux. Its a very slow process, i thought i could live without sound, but my apartment is too quiet :D Ok i downladed the aureal driver from http://sourceforge.net and did everything that it told me to do. I finally got it down to only 2 error messages, there were a lot more when i first started. [root@localhost aureal]# make install cc -D__KERNEL__ -DMODULE -DAU8830 -mpentium -O6 -fomit-frame-pointer -Wall -pipe -I/usr/src/linux/include -c -o au_audio.o au_audio.c `-mpentium' is deprecated. Use `-march=pentium' or `-mcpu=pentium' instead. In file included from au_vortex.h:66, from au_audio.c:49: /usr/src/linux/include/linux/malloc.h:4:2: warning: #warning linux/malloc.h is deprecated, use linux/slab.h instead. au_audio.c: In function `au_audio_ioctl': au_audio.c:388: warning: implicit declaration of function `get_user_ret' au_audio.c:341: warning: `val' might be used uninitialized in this function cc -D__KERNEL__ -DMODULE -DAU8830 -mpentium -O6 -fomit-frame-pointer -Wall -pipe -I/usr/src/linux/include -c -o au_midi.o au_midi.c `-mpentium' is deprecated. Use `-march=pentium' or `-mcpu=pentium' instead. In file included from au_vortex.h:66, from au_midi.c:37: /usr/src/linux/include/linux/malloc.h:4:2: warning: #warning linux/malloc.h is deprecated, use linux/slab.h instead. cc -D__KERNEL__ -DMODULE -DAU8830 -mpentium -O6 -fomit-frame-pointer -Wall -pipe -I/usr/src/linux/include -c -o au_core.o au_core.c `-mpentium' is deprecated. Use `-march=pentium' or `-mcpu=pentium' instead. In file included from au_vortex.h:66, from au_core.c:40: /usr/src/linux/include/linux/malloc.h:4:2: warning: #warning linux/malloc.h is deprecated, use linux/slab.h instead. cc -D__KERNEL__ -DMODULE -DAU8830 -mpentium -O6 -fomit-frame-pointer -Wall -pipe -I/usr/src/linux/include -c -o au_sndstat.o au_sndstat.c `-mpentium' is deprecated. Use `-march=pentium' or `-mcpu=pentium' instead. In file included from au_vortex.h:66, from au_sndstat.c:37: /usr/src/linux/include/linux/malloc.h:4:2: warning: #warning linux/malloc.h is deprecated, use linux/slab.h instead. cc -D__KERNEL__ -DMODULE -DAU8830 -mpentium -O6 -fomit-frame-pointer -Wall -pipe -I/usr/src/linux/include -c -o au_mixer.o au_mixer.c `-mpentium' is deprecated. Use `-march=pentium' or `-mcpu=pentium' instead. In file included from au_vortex.h:66, from au_mixer.c:45: /usr/src/linux/include/linux/malloc.h:4:2: warning: #warning linux/malloc.h is deprecated, use linux/slab.h instead. au_mixer.c: In function `au_mixer_ioctl': au_mixer.c:145: warning: implicit declaration of function `get_user_ret' au_mixer.c:117: warning: `val' might be used uninitialized in this function cc -D__KERNEL__ -DMODULE -DAU8830 -mpentium -O6 -fomit-frame-pointer -Wall -pipe -I/usr/src/linux/include -c -o au_utils.o au_utils.c `-mpentium' is deprecated. Use `-march=pentium' or `-mcpu=pentium' instead. In file included from au_vortex.h:66, from au_utils.c:40: /usr/src/linux/include/linux/malloc.h:4:2: warning: #warning linux/malloc.h is deprecated, use linux/slab.h instead. cc -D__KERNEL__ -DMODULE -DAU8830 -mpentium -O6 -fomit-frame-pointer -Wall -pipe -I/usr/src/linux/include -c -o au_vortex.o au_vortex.c `-mpentium' is deprecated. Use `-march=pentium' or `-mcpu=pentium' instead. In file included from au_vortex.h:66, from au_vortex.c:81: /usr/src/linux/include/linux/malloc.h:4:2: warning: #warning linux/malloc.h is deprecated, use linux/slab.h instead. ld -m elf_i386 -r au_audio.o au_midi.o au_core.o au_sndstat.o au_mixer.o au_utils.o au_vortex.o asp30.o -o au8830.o mv -f /etc/modules.conf /etc/modules.conf.old gawk -f mod_conf /etc/modules.conf.old > /etc/modules.conf echo "alias sound au8830" >> /etc/modules.conf echo "alias midi au8830" >> /etc/modules.conf mkdir -p /lib/modules/2.4.21-0.13mdk/misc cp -f au8830.o /lib/modules/2.4.21-0.13mdk/misc /sbin/depmod -a depmod: *** Unresolved symbols in /lib/modules/2.4.21-0.13mdk/misc/au8830.o /sbin/rmmod au8830 rmmod: module au8830 is not loaded make: [install] Error 1 (ignored) /sbin/modprobe au8830 /lib/modules/2.4.21-0.13mdk/misc/au8830.o: The module you are trying to load (/lib/modules/2.4.21-0.13mdk/misc/au8830.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. modprobe: insmod /lib/modules/2.4.21-0.13mdk/misc/au8830.o failed modprobe: insmod au8830 failed make: [install] Error 255 (ignored) I read somewhere that i needed to download the kernel source which i did, i have also read that it isnt compatable with a gcc version 3 compiler. Yet again i am asking for help Thanks in advance...you guys are great :D Sue Quote Link to comment Share on other sites More sharing options...
phunni Posted October 14, 2003 Report Share Posted October 14, 2003 Did you download the CVS version of the drivers? Essentially you will probably have to recompile the drivers using gcc 3 (which may or may not work) or recompile the kernel using gcc 2 (don't do that) Did you actually compile these drivers before installing them? (i.e. run configure and/or make) If not you will need to download the source code and compile it all from scratch Quote Link to comment Share on other sites More sharing options...
Guest Brit Posted October 14, 2003 Report Share Posted October 14, 2003 i didnt download the cvs version, but i can try that right now. I ran make install i looked at the make file to see if there was anything i could change there but couldnt see anything...but what do i know. and each time i ran make clean and started all over again. Sue Quote Link to comment Share on other sites More sharing options...
phunni Posted October 14, 2003 Report Share Posted October 14, 2003 If you are only ever running make install, then you are not compiling from source (or probably not anyway) Download the cvs version (the instructions are on the website) and read the readme or install file (which I assume will be included). This should tell you how to compile . It will probably be something like: ./configure make (as root) make install Quote Link to comment Share on other sites More sharing options...
Guest Brit Posted October 14, 2003 Report Share Posted October 14, 2003 hi Im sorry but how do i actually download the cvs version :( Sue Quote Link to comment Share on other sites More sharing options...
phunni Posted October 14, 2003 Report Share Posted October 14, 2003 OK - first make sure you have cvs installed - if it's not then you will have the necessary RPMs on your mandrake CD then (in the directory you want to download to) do: cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aureal login If this fails - just repeat. Sometimes, if the server is busy, you get errors. If you repeatedly get errors then try again another time. Then do: cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aureal co aureal Then run: make and then (as root): make install If this works without errors try loading the module (as root): modprobe au88xx where xx is your card - either 10, 20 or 30 if this loads without problems, then try to run some stuff with sound - hopefully it'll work! Then you need to add your modulename to /etc/modules.conf to get it to load automatically. If you can't figure out which card you have - this is taken from the readme: All AU8810, AU8820 and AU8830 based sound cards, including: Absolute Multimedia Outrageous 3D (AU8830) Aureal SQ1500 (AU8810) Aureal SQ2500 (AU8830) Aureal SuperQuad Digital PCI (AU8830) Diamond Monster Sound MX200 (AU8820) Diamond Monster Sound MX300 (AU8830) Diamond Sonic Impact S90 (AU8820) Digital Research Tech. DRSOUNDA3V (AU8830) Genius SoundMaker 64 (AU8820) Hi-Val PCI 338 (AU8820) Hi-Val PCI 576 (AU8830) I/O Magic MagicWaveV1 (AU8810) I/O Magic MagicWaveV2 (AU8830) TerraTec Promedia XLerate (AU8820) TerraTec Promedia XLerate Pro (AU8830) Turtle Beach Montego A3DXStream (AU8820) Turtle Beach Montego II (AU8830) Turtle Beach Montego II Quadzilla (AU8830) Videologic SonicVortex2 (AU8830) Xitel Storm VX (AU8820) Xitel Storm Platinum (AU8830) Use "lspci -v '12eb:*'" to identify your card. If your card is not in the list, it will probably still work. AU8810 = Aureal Vortex Advantage based soundcards AU8820 = Aureal Vortex 1 based soundcards AU8830 = Aureal Vortex 2 based soundcards Hope that all helps! Post again if you run into trouble... Quote Link to comment Share on other sites More sharing options...
DragonMage Posted October 14, 2003 Report Share Posted October 14, 2003 The instructions are in the web page, specifically here http://sourceforge.net/cvs/?group_id=8109 Anyway, here is how to do it just in case you are too lazy :) Anonymous CVS Access This project's SourceForge.net CVS repository can be checked out through anonymous (pserver) CVS with the following instruction set. The module you wish to check out must be specified as the modulename. When prompted for a password for anonymous, simply press the Enter key. To determine the names of the modules created by this project, you may examine their CVS repository via the provided web-based CVS repository viewer. cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aureal login cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aureal co modulename Information about accessing this CVS repository may be found in our document titled, "Basic Introduction to CVS and SourceForge.net (SF.net) Project CVS Services". Updates from within the module's directory do not need the -d parameter. NOTE: UNIX file and directory names are case sensitive. The path to the project CVSROOT must be specified using lowercase characters (i.e. /cvsroot/aureal) Good luck. The aureal is a nice card during its days. I used to have one, but I left it in another country. Quote Link to comment Share on other sites More sharing options...
phunni Posted October 14, 2003 Report Share Posted October 14, 2003 The instructions I gave do most of the work for you - including the cvs module name :wink: - I assumed you would either be lazy (since I tend to be...) or would appreciate fairly full instructions... Quote Link to comment Share on other sites More sharing options...
Guest Brit Posted October 14, 2003 Report Share Posted October 14, 2003 hi again I love to read thats how i learn...!!! Ok i downloaded the tar file of cvs and ram ./configure make then make install everything went fine. I have cvs on my system. At root i entered cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aureal login which asked me for a password i pressed Enter and put in the next command cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aureal co aureal Anyway this is what happened: [root@localhost root]# cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aureal login Logging in to :pserver:anonymous@cvs.sourceforge.net:2401/cvsroot/aureal CVS password: cvs login: authorization failed: server cvs.sourceforge.net rejected access to /cvsroot/aureal for user anonymous [root@localhost root]# cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aureal login Logging in to :pserver:anonymous@cvs.sourceforge.net:2401/cvsroot/aureal CVS password: cvs login: failed to open /root/.cvspass for reading: No such file or directory cvs [login aborted]: fatal error: exiting [root@localhost root]# cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aureal login Logging in to :pserver:anonymous@cvs.sourceforge.net:2401/cvsroot/aureal CVS password: cvs login: failed to open /root/.cvspass for reading: No such file or directory cvs [login aborted]: fatal error: exiting [root@localhost root]# cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aureal co aureal cvs checkout: failed to open /root/.cvspass for reading: No such file or directory cvs server: Updating aureal U aureal/.cvsignore U aureal/COPYING U aureal/ChangeLog U aureal/Makefile U aureal/README U aureal/asp10.o U aureal/asp20.o U aureal/asp30.o U aureal/au_audio.c U aureal/au_core.c U aureal/au_midi.c U aureal/au_mixer.c U aureal/au_sndstat.c U aureal/au_utils.c U aureal/au_vortex.c U aureal/au_vortex.h U aureal/mod_conf Quote Link to comment Share on other sites More sharing options...
phunni Posted October 14, 2003 Report Share Posted October 14, 2003 that looks good - you should now have a directory called aureal which contains the source for you to compile - that is where you run make etc... Quote Link to comment Share on other sites More sharing options...
Guest Brit Posted October 14, 2003 Report Share Posted October 14, 2003 Hi ok cd aureal ran make :( make: /sbin/lspci: Command not found make: /sbin/lspci: Command not found make: /sbin/lspci: Command not found Makefile:122: No Aureal Vortex soundcard detected! Makefile:123: *** See the "Troubleshooting" of the README file for help. Stop. I know its an aureal vortex 2 Thanks for your help so far phunni Quote Link to comment Share on other sites More sharing options...
phunni Posted October 14, 2003 Report Share Posted October 14, 2003 You need to install another package called pciutils. It should be on your mandrake CDs. If not then you can get it from http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml There should be install instructions included in the download - it may be another make job Well done - you are making progress. Keep going! Quote Link to comment Share on other sites More sharing options...
Guest Brit Posted October 14, 2003 Report Share Posted October 14, 2003 hi Ok i downloaded that and ran make and make install (getting used to doing that) this is what i get [root@localhost pciutils-2.1.10]# make cd lib && ./configure /usr 2.1.10 Configuring libpci for your system... Linux/i386 2.4.21-0.13mdk Looking for access methods... proc i386-ports dump make -C lib all make[1]: Entering directory `/home/brit/Themes/pciutils-2.1.10/lib' cc -O2 -fomit-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -c -o access.o access.c access.c: In function `pci_null_debug': access.c:119: warning: unused parameter `msg' cc -O2 -fomit-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -c -o generic.o generic.c cc -O2 -fomit-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -c -o dump.o dump.c dump.c: In function `dump_cleanup': dump.c:73: warning: unused parameter `a' dump.c: In function `dump_scan': dump.c:78: warning: unused parameter `a' dump.c: In function `dump_write': dump.c:100: warning: unused parameter `buf' cc -O2 -fomit-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -c -o names.o names.c cc -O2 -fomit-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -c -o filter.o filter.c filter.c: In function `pci_filter_init': filter.c:17: warning: unused parameter `a' cc -O2 -fomit-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -c -o proc.o proc.c cc -O2 -fomit-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -c -o i386-ports.o i386-ports.c i386-ports.c: In function `conf12_cleanup': i386-ports.c:39: warning: unused parameter `a' rm -f libpci.a ar rcs libpci.a access.o generic.o dump.o names.o filter.o proc.o i386-ports.o ranlib libpci.a make[1]: Leaving directory `/home/brit/Themes/pciutils-2.1.10/lib' cc -O2 -fomit-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -c -o lspci.o lspci.c cc -O2 -fomit-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -c -o common.o common.c cc lspci.o common.o lib/libpci.a -o lspci cc -O2 -fomit-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -c -o setpci.o setpci.c cc setpci.o common.o lib/libpci.a -o setpci M=`echo 2002-03-30 | sed 's/-01-/-January-/;s/-02-/-February-/;s/-03-/-March-/;s/-04-/-April-/;s/-05-/-May-/;s/-06-/-June-/;s/-07-/-July-/;s/-08-/-August-/;s/-09-/-September-/;s/-10-/-October-/;s/-11-/-November-/;s/-12-/-December-/;s/(.*)-(.*)-(.*)/3 2 1/'` ; sed <lspci.man >lspci.8 "s/@TODAY@/$M/;s/@VERSION@/pciutils-2.1.10/" M=`echo 2002-03-30 | sed 's/-01-/-January-/;s/-02-/-February-/;s/-03-/-March-/;s/-04-/-April-/;s/-05-/-May-/;s/-06-/-June-/;s/-07-/-July-/;s/-08-/-August-/;s/-09-/-September-/;s/-10-/-October-/;s/-11-/-November-/;s/-12-/-December-/;s/(.*)-(.*)-(.*)/3 2 1/'` ; sed <setpci.man >setpci.8 "s/@TODAY@/$M/;s/@VERSION@/pciutils-2.1.10/" [root@localhost pciutils-2.1.10]# make install make -C lib all make[1]: Entering directory `/home/brit/Themes/pciutils-2.1.10/lib' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/brit/Themes/pciutils-2.1.10/lib' install -d -m 755 //sbin /usr/share /usr/share/man/man8 install -c -m 755 -s lspci setpci //sbin if [ ! -f /usr/share/pci.ids -o pci.ids -nt /usr/share/pci.ids ] ; then install -c -m 644 pci.ids /usr/share ; elif [ -f /usr/share/pci.ids ] ; then echo "/usr/share/pci.ids is same or newer than the version to be installed, skipping." ; fi /usr/share/pci.ids is same or newer than the version to be installed, skipping. install -c -m 644 lspci.8 setpci.8 /usr/share/man/man8 rm -f //etc/pci.ids Ok i think i installed it Not sure..!! I just noticed that you are from Bristol...im originally from Mnachester, but live in the states Thanks Sue Quote Link to comment Share on other sites More sharing options...
phunni Posted October 14, 2003 Report Share Posted October 14, 2003 no errors means it's installed as far as I'm concerned :D The obvious test is to try and recompile the aureal drivers again... Is your original home the source of your name? Quote Link to comment Share on other sites More sharing options...
Guest Brit Posted October 14, 2003 Report Share Posted October 14, 2003 hey Ok ran aureal compile again but i dont get what i was getting before make: /sbin/lspci: Command not found make: /sbin/lspci: Command not found make: /sbin/lspci: Command not found this time i just get [root@localhost aureal]# make Makefile:122: No Aureal Vortex soundcard detected! Makefile:123: *** See the "Troubleshooting" of the README file for help. Stop. [root@localhost aureal]# I went into the bios and disabled plug n play just in case Thanks sue Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.