LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I install X-Fi driver in ubuntu+704 (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-install-x-fi-driver-in-ubuntu-704-a-591685/)

Harry Dibbler 10-14-2007 08:05 AM

How do I install X-Fi driver in ubuntu+704
 
I am new to linux and have installed Ubuntu 7.04. By using Envy I was able to instal the NVIDIA driver. I have downloaded the Creative Soundblaster X-Fi driver but I cannot find a way of installing. Is there a method that I am missing?

There is a File called XFiDrv_Linux_US_1.04.tar.bz2 which is 8.4 MB tar archive (bzip-compressed) which has an open Box Icon and a folder called XFiDrv_Linux_US_1.04 4.0 KB full of files of unknown type

b0uncer 10-14-2007 08:20 AM

So, you've downloaded it - is it a compressed archive you downloaded, or what? If it's an archive, extract it, and inside there should be instructions (some doc files, or README, or INSTALL text file).

What files are there exactly?

Harry Dibbler 10-14-2007 09:31 AM

There is a File called XFiDrv_Linux_US_1.04.tar.bz2 which is 8.4 MB tar archive (bzip-compressed) which has an open Box Icon and a folder called XFiDrv_Linux_US_1.04 4.0 KB full of files of unknown type

srinivaschavan 10-14-2007 11:44 PM

Following links should help you get your x-fi working on ubuntu 7.04
 
The following link has detailed instructions and patches that would help you in building the drivers.
http : //blackbox.lostwave.net/x-fi/

Following forum at creative's site may also be of help.
http : //forums.creative.com/creativelabs/board/message?board.id=soundblaster&message.id=31220&view=by_date_ascending&page=92

bottled leaf 10-15-2007 12:56 AM

i hope you x64 version of ubuntu. cuz the driver is 64 bit only right now.

srinivaschavan 10-15-2007 11:37 PM

Yes. I was able to successfully get the sound working on my ubuntu 7.04 (feisty) x64. And it sounded great!!

Also, note that the drivers won't work with ubuntu gutsy.

Harry Dibbler 10-16-2007 12:09 AM

Many Thanks will try it out. Got Ubuntu 64 loaded as that was a requirement from creative. away for a few days will follow links at the week end. Harry

sheldon901 10-22-2007 08:17 PM

Quote:

Originally Posted by srinivaschavan (Post 2925659)
Also, note that the drivers won't work with ubuntu gutsy.

Why won't it work with gutsy? (haven't tried yet)

srinivaschavan 10-23-2007 12:27 AM

Thats because gutsy is compiled with SLUB and the drivers need SLAB to work. In gutsy, dmesg shows "ctalsa: Unknown symbol malloc_sizes" on trying to load the driver.

Info reference: http://blackbox.lostwave.net/x-fi/readme.txt

dissposablehero 11-14-2007 12:58 PM

I have followed the instructions on http://blackbox.lostwave.net/x-fi/readme.txt to the letter, ive even installed different versions on ubuntu to get it to work, at the moment im am running 7.04 and it still wont install.

The error occurs on make install.

I get
Code:

WARNING: Error inserting ctossrv (/lib/modules/2.6.20-16-generic/kernel/drivers/ssound/ctossrv.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting emupia (/lib/modules/2.6.20-16-generic/kernel/drivers/ssound/emupia.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting ctsfman (/lib/modules/2.6.20-16-generic/kernel/drivers/ssound/ctsfman.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting ct20xut (/lib/modules/2.6.20-16-generic/kernel/drivers/ssound/ct20xut.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting ctexfifx (/lib/modules/2.6.20-16-generic/kernel/drivers/ssound/ctexfifx.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting cthwiut (/lib/modules/2.6.20-16-generic/kernel/drivers/ssound/cthwiut.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting haxfi (/lib/modules/2.6.20-16-generic/kernel/drivers/ssound/haxfi.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting ctalsa (/lib/modules/2.6.20-16-generic/kernel/drivers/ssound/ctalsa.ko): Unknown symbol in module, or unknown parameter (see dmesg)

So i do the dmesg like it says and i get:
Code:

[ 1673.988842] ctossrv: Unknown symbol __stack_chk_fail
[ 1673.990069] emupia: Unknown symbol InterlockedIncrement
[ 1673.990087] emupia: Unknown symbol heap_alloc
[ 1673.990105] emupia: Unknown symbol stack_free_page
[ 1673.990140] emupia: Unknown symbol stack_alloc
[ 1673.990179] emupia: Unknown symbol get_ossrv
[ 1673.990196] emupia: Unknown symbol unload_all_plugins
[ 1673.990214] emupia: Unknown symbol stack_alloc_page
[ 1673.990230] emupia: Unknown symbol ioctl_dispatch
[ 1673.990247] emupia: Unknown symbol heap_free
[ 1673.990282] emupia: Unknown symbol InterlockedDecrement
[ 1673.990301] emupia: Unknown symbol stack_free
[ 1673.990972] ctsfman: Unknown symbol heap_alloc
[ 1673.991034] ctsfman: Unknown symbol get_ossrv
[ 1673.991050] ctsfman: Unknown symbol ioctl_dispatch
[ 1673.991067] ctsfman: Unknown symbol heap_free
[ 1673.993652] ct20xut: Unknown symbol InterlockedIncrement
[ 1673.993677] ct20xut: Unknown symbol __stack_chk_fail
[ 1673.993693] ct20xut: Unknown symbol heap_alloc
[ 1673.993711] ct20xut: Unknown symbol unregister_plugin
[ 1673.993734] ct20xut: Unknown symbol heap_free
[ 1673.993758] ct20xut: Unknown symbol register_plugin
[ 1673.993772] ct20xut: Unknown symbol InterlockedDecrement
[ 1674.000975] ctexfifx: Unknown symbol InterlockedDecrement
[ 1674.001000] ctexfifx: Unknown symbol register_plugin
[ 1674.001020] ctexfifx: Unknown symbol unregister_plugin
[ 1674.001040] ctexfifx: Unknown symbol __stack_chk_fail
[ 1674.001065] ctexfifx: Unknown symbol heap_alloc
[ 1674.001086] ctexfifx: Unknown symbol InterlockedIncrement
[ 1674.001102] ctexfifx: Unknown symbol heap_free
[ 1674.002568] cthwiut: Unknown symbol InterlockedIncrement
[ 1674.002590] cthwiut: Unknown symbol __stack_chk_fail
[ 1674.002605] cthwiut: Unknown symbol heap_alloc
[ 1674.002624] cthwiut: Unknown symbol unregister_plugin
[ 1674.002646] cthwiut: Unknown symbol heap_free
[ 1674.002669] cthwiut: Unknown symbol register_plugin
[ 1674.002684] cthwiut: Unknown symbol InterlockedDecrement
[ 1674.016293] haxfi: Unknown symbol InterlockedDecrement
[ 1674.016362] haxfi: Unknown symbol get_ossrv
[ 1674.016433] haxfi: Unknown symbol heap_alloc
[ 1674.016476] haxfi: Unknown symbol InterlockedIncrement
[ 1674.016505] haxfi: Unknown symbol heap_free
[ 1674.019026] ctalsa: Unknown symbol bytes_to_order
[ 1674.019185] ctalsa: Unknown symbol get_ossrv
[ 1674.019243] ctalsa: Unknown symbol __stack_chk_fail
[ 1674.019531] ctalsa: Unknown symbol heap_alloc
[ 1674.019617] ctalsa: Unknown symbol ioctl_dispatch
[ 1674.019650] ctalsa: Unknown symbol heap_free
[ 1696.100558] ctossrv: Unknown symbol __stack_chk_fail
[ 1696.101834] emupia: Unknown symbol InterlockedIncrement
[ 1696.101852] emupia: Unknown symbol heap_alloc
[ 1696.101870] emupia: Unknown symbol stack_free_page
[ 1696.101906] emupia: Unknown symbol stack_alloc
[ 1696.101945] emupia: Unknown symbol get_ossrv
[ 1696.101961] emupia: Unknown symbol unload_all_plugins
[ 1696.101980] emupia: Unknown symbol stack_alloc_page
[ 1696.101996] emupia: Unknown symbol ioctl_dispatch
[ 1696.102013] emupia: Unknown symbol heap_free
[ 1696.102048] emupia: Unknown symbol InterlockedDecrement
[ 1696.102067] emupia: Unknown symbol stack_free
[ 1696.103170] ctsfman: Unknown symbol heap_alloc
[ 1696.103232] ctsfman: Unknown symbol get_ossrv
[ 1696.103249] ctsfman: Unknown symbol ioctl_dispatch
[ 1696.103266] ctsfman: Unknown symbol heap_free
[ 1696.106049] ct20xut: Unknown symbol InterlockedIncrement
[ 1696.106074] ct20xut: Unknown symbol __stack_chk_fail
[ 1696.106089] ct20xut: Unknown symbol heap_alloc
[ 1696.106107] ct20xut: Unknown symbol unregister_plugin
[ 1696.106130] ct20xut: Unknown symbol heap_free
[ 1696.106154] ct20xut: Unknown symbol register_plugin
[ 1696.106169] ct20xut: Unknown symbol InterlockedDecrement
[ 1696.119852] ctexfifx: Unknown symbol InterlockedDecrement
[ 1696.119875] ctexfifx: Unknown symbol register_plugin
[ 1696.119895] ctexfifx: Unknown symbol unregister_plugin
[ 1696.119915] ctexfifx: Unknown symbol __stack_chk_fail
[ 1696.119940] ctexfifx: Unknown symbol heap_alloc
[ 1696.119961] ctexfifx: Unknown symbol InterlockedIncrement
[ 1696.119977] ctexfifx: Unknown symbol heap_free
[ 1696.121499] cthwiut: Unknown symbol InterlockedIncrement
[ 1696.121521] cthwiut: Unknown symbol __stack_chk_fail
[ 1696.121536] cthwiut: Unknown symbol heap_alloc
[ 1696.121555] cthwiut: Unknown symbol unregister_plugin
[ 1696.121577] cthwiut: Unknown symbol heap_free
[ 1696.121600] cthwiut: Unknown symbol register_plugin
[ 1696.121614] cthwiut: Unknown symbol InterlockedDecrement
[ 1696.135623] haxfi: Unknown symbol InterlockedDecrement
[ 1696.135689] haxfi: Unknown symbol get_ossrv
[ 1696.135761] haxfi: Unknown symbol heap_alloc
[ 1696.135806] haxfi: Unknown symbol InterlockedIncrement
[ 1696.135838] haxfi: Unknown symbol heap_free
[ 1696.137937] ctalsa: Unknown symbol bytes_to_order
[ 1696.138096] ctalsa: Unknown symbol get_ossrv
[ 1696.138154] ctalsa: Unknown symbol __stack_chk_fail
[ 1696.138447] ctalsa: Unknown symbol heap_alloc
[ 1696.138539] ctalsa: Unknown symbol ioctl_dispatch
[ 1696.138572] ctalsa: Unknown symbol heap_free
[ 2344.872801] ctossrv: Unknown symbol __stack_chk_fail
[ 2344.874016] emupia: Unknown symbol InterlockedIncrement
[ 2344.874033] emupia: Unknown symbol heap_alloc
[ 2344.874051] emupia: Unknown symbol stack_free_page
[ 2344.874087] emupia: Unknown symbol stack_alloc
[ 2344.874126] emupia: Unknown symbol get_ossrv
[ 2344.874142] emupia: Unknown symbol unload_all_plugins
[ 2344.874161] emupia: Unknown symbol stack_alloc_page
[ 2344.874177] emupia: Unknown symbol ioctl_dispatch
[ 2344.874194] emupia: Unknown symbol heap_free
[ 2344.874229] emupia: Unknown symbol InterlockedDecrement
[ 2344.874247] emupia: Unknown symbol stack_free
[ 2344.874903] ctsfman: Unknown symbol heap_alloc
[ 2344.874965] ctsfman: Unknown symbol get_ossrv
[ 2344.874981] ctsfman: Unknown symbol ioctl_dispatch
[ 2344.874998] ctsfman: Unknown symbol heap_free
[ 2344.877599] ct20xut: Unknown symbol InterlockedIncrement
[ 2344.877623] ct20xut: Unknown symbol __stack_chk_fail
[ 2344.877639] ct20xut: Unknown symbol heap_alloc
[ 2344.877657] ct20xut: Unknown symbol unregister_plugin
[ 2344.877680] ct20xut: Unknown symbol heap_free
[ 2344.877704] ct20xut: Unknown symbol register_plugin
[ 2344.877719] ct20xut: Unknown symbol InterlockedDecrement
[ 2344.884956] ctexfifx: Unknown symbol InterlockedDecrement
[ 2344.884981] ctexfifx: Unknown symbol register_plugin
[ 2344.885001] ctexfifx: Unknown symbol unregister_plugin
[ 2344.885021] ctexfifx: Unknown symbol __stack_chk_fail
[ 2344.885046] ctexfifx: Unknown symbol heap_alloc
[ 2344.885067] ctexfifx: Unknown symbol InterlockedIncrement
[ 2344.885083] ctexfifx: Unknown symbol heap_free
[ 2344.886740] cthwiut: Unknown symbol InterlockedIncrement
[ 2344.886761] cthwiut: Unknown symbol __stack_chk_fail
[ 2344.886776] cthwiut: Unknown symbol heap_alloc
[ 2344.886794] cthwiut: Unknown symbol unregister_plugin
[ 2344.886817] cthwiut: Unknown symbol heap_free
[ 2344.886841] cthwiut: Unknown symbol register_plugin
[ 2344.886855] cthwiut: Unknown symbol InterlockedDecrement
[ 2344.902117] haxfi: Unknown symbol InterlockedDecrement
[ 2344.902182] haxfi: Unknown symbol get_ossrv
[ 2344.902252] haxfi: Unknown symbol heap_alloc
[ 2344.902297] haxfi: Unknown symbol InterlockedIncrement
[ 2344.902328] haxfi: Unknown symbol heap_free
[ 2344.904407] ctalsa: Unknown symbol bytes_to_order
[ 2344.904565] ctalsa: Unknown symbol get_ossrv
[ 2344.904624] ctalsa: Unknown symbol __stack_chk_fail
[ 2344.904912] ctalsa: Unknown symbol heap_alloc
[ 2344.904999] ctalsa: Unknown symbol ioctl_dispatch
[ 2344.905032] ctalsa: Unknown symbol heap_free

Can anyone help?

P.S I had to do this from the readme

Quote:

Q: during "make install" I get: "./ctsound: 35: Syntax error: Bad substitution"
A: If you are using Debian/ubuntu, your /bin/sh probably point to /bin/dash.
---> Edit ctsound and change #!/bin/sh to #!/bin/bash

magicked 01-03-2008 03:27 PM

I know this is an old thread, but I wanted to report how I got my X-fi working in case anyone else stumbles across this looking for answers.

I'm running Ubuntu 7.10 (gutsy, amd64).

I had been receiving the same errors as the last poster, but I also got the "ctalsa: Unknown symbol malloc_sizes". So I had to compile a custom kernel with SLAB. This really wasn't an issue. Google turned up some great tutorials.

The FAQ on that blackbox site says you need to add "-fno-stack-protector" to CFLAGS if "dmesg shows 'Unknown symbol __stack_chk_fail' and the thing stops here". Well, my dmesg showed that error, but it didn't stop there. I decided to add the -fno-stack-protector to the CFLAGS in Makefile.conf anyway, and it worked perfectly afterwards. I also had to edit the ctsound file that is talked about in the faq.

All-in-all though, it was a long and annoying process. I doubt I'll be buying any Creative sound cards in the future since they can't seem to get their act together.

bottled leaf 01-19-2008 02:16 AM

this thread is old but you think you might be able to help me out? followed the directions here: http://blackbox.lostwave.net/x-fi/readme.txt
Code:

/usr/include/linux/version.h:2:2: error: #error "======================================================="
/usr/include/linux/version.h:3:2: error: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: error: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: error: #error ""
/usr/include/linux/version.h:6:2: error: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: error: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: error: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: error: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: error: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: error: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: error: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: error: #error ""
/usr/include/linux/version.h:14:2: error: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: error: #error ""
/usr/include/linux/version.h:16:2: error: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: error: #error ""
/usr/include/linux/version.h:18:2: error: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: error: #error "  /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: error: #error "  the matching kernel source directory"
/usr/include/linux/version.h:21:2: error: #error ""
/usr/include/linux/version.h:22:2: error: #error " o Configure kernel sources:"
/usr/include/linux/version.h:23:2: error: #error "  - cd /usr/src/linux"
/usr/include/linux/version.h:24:2: error: #error "  - make mrproper"
/usr/include/linux/version.h:25:2: error: #error "  - make cloneconfig"
/usr/include/linux/version.h:26:2: error: #error "  - make prepare"
/usr/include/linux/version.h:27:2: error: #error ""
/usr/include/linux/version.h:28:2: error: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:29:2: error: #error "  compiler option to use the correct include files:"
/usr/include/linux/version.h:30:2: error: #error ""
/usr/include/linux/version.h:31:2: error: #error "  -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:32:2: error: #error ""
/usr/include/linux/version.h:33:2: error: #error "  instead of"
/usr/include/linux/version.h:34:2: error: #error ""
/usr/include/linux/version.h:35:2: error: #error "  -I/usr/include/linux"
/usr/include/linux/version.h:36:2: error: #error ""
/usr/include/linux/version.h:37:2: error: #error "  Please adjust the Makefile accordingly."
/usr/include/linux/version.h:38:2: error: #error "======================================================="
In file included from emupia_main.c:29:
../../include/osutils.h:104:43: error: missing binary operator before token "("
../../include/osutils.h:144:48: error: missing binary operator before token "("
emupia_main.c:35:40: error: missing binary operator before token "("
emupia_main.c:60:40: error: missing binary operator before token "("
emupia_main.c:70:40: error: missing binary operator before token "("
emupia_main.c:155:40: error: missing binary operator before token "("
make[1]: *** [.depend] Error 1
make[1]: Leaving directory `/home/drummond/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/emupia'
make: *** [emupiaclean] Error 2



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