View previous topic :: View next topic |
Author |
Message |
ghost_zero n00b
Joined: 26 Sep 2007 Posts: 8
|
Posted: Wed Sep 26, 2007 12:32 pm Post subject: |
|
|
Well: Wouldn't be the first ones... Although these here are still beta...
Anyway: I tried to install it on Ubuntu 7.10 Tribe 5 with the patch supplied by "demik".
However: I have a problem during "make install" I get: "./ctsound: 35: Syntax error: Bad substitution"
And the device won't work too.
I also get some Unknown symbols in dmesg.
Some from ctalsa, emupia, crossrv, ...
I also have the malloc_sizes in it. |
|
Back to top |
|
|
blubbi Guru
Joined: 27 Apr 2003 Posts: 564 Location: Halle (Saale), Germany
|
Posted: Wed Sep 26, 2007 1:02 pm Post subject: |
|
|
AidanJT wrote: | Am I the only one who finds it ironic that opensource folks are fixing closed source drivers? |
No, m2
But we did it.... thanks to demik and Thingol79
An updated howot will be supplied in some minutes on
http://olausson.de/x-fi/
Now we have to find a good ebuilder...
Sound works for me
root@freax $ emerge --info
Portage 2.1.3.9 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.22.8 x86_64)
=================================================================
System uname: 2.6.22.8 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Tue, 25 Sep 2007 13:50:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
It will not work on 2.6.23-r8
stay tuned... |
|
Back to top |
|
|
aidanjt Veteran
Joined: 20 Feb 2005 Posts: 1118 Location: Rep. of Ireland
|
Posted: Wed Sep 26, 2007 1:06 pm Post subject: |
|
|
blubbi wrote: | Now we have to find a good ebuilder... |
I'll try, but I have a funny feeling that there's going to be a ton of sandbox violations thanks to the shitty build system. _________________
juniper wrote: | you experience political reality dilation when travelling at american political speeds. it's in einstein's formulas. it's not their fault. |
|
|
Back to top |
|
|
aidanjt Veteran
Joined: 20 Feb 2005 Posts: 1118 Location: Rep. of Ireland
|
Posted: Wed Sep 26, 2007 1:17 pm Post subject: |
|
|
Code: |
aidan@raptor ~/XFi/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04 $ make
rm: cannot remove `/tmp/xfisrc': Operation not permitted
ln: cannot remove `/tmp/xfisrc': Operation not permitted
Makefile:16: /tmp/xfisrc/Makefile.conf: No such file or directory
make: *** No rule to make target `/tmp/xfisrc/Makefile.conf'. Stop.
|
That confirms my suspicions, this isn't going to work with portage without a major overhaul of the build system. Ugh, this is going to be a lot of work. _________________
juniper wrote: | you experience political reality dilation when travelling at american political speeds. it's in einstein's formulas. it's not their fault. |
|
|
Back to top |
|
|
blubbi Guru
Joined: 27 Apr 2003 Posts: 564 Location: Halle (Saale), Germany
|
|
Back to top |
|
|
jsn n00b
Joined: 26 Dec 2005 Posts: 70 Location: Finland
|
Posted: Wed Sep 26, 2007 1:55 pm Post subject: |
|
|
Works, with the how-to above! Well it doesnt play very smooth, loops the sounds rapidly.
Thanks everyone. |
|
Back to top |
|
|
MetalAZ n00b
Joined: 26 Sep 2007 Posts: 2
|
Posted: Wed Sep 26, 2007 2:22 pm Post subject: |
|
|
ghost_zero wrote: |
Anyway: I tried to install it on Ubuntu 7.10 Tribe 5 with the patch supplied by "demik".
However: I have a problem during "make install" I get: "./ctsound: 35: Syntax error: Bad substitution"
And the device won't work too. |
I'm having the same exact problem. Same patches, same distro |
|
Back to top |
|
|
blubbi Guru
Joined: 27 Apr 2003 Posts: 564 Location: Halle (Saale), Germany
|
Posted: Wed Sep 26, 2007 2:39 pm Post subject: |
|
|
Okay, I have sound...
Code: | mplayer -ao alsa:device=hw=2 yourfile.mp3 |
But its very very ugly, it crackls, is noisy.... bah....
(tested with sound out via jacks... gonna see wat optical does)
Same with optical.... (from the frontpannel)
Last edited by blubbi on Wed Sep 26, 2007 2:42 pm; edited 1 time in total |
|
Back to top |
|
|
ghost_zero n00b
Joined: 26 Sep 2007 Posts: 8
|
Posted: Wed Sep 26, 2007 2:40 pm Post subject: |
|
|
I tried with newest version and I still get the "Bad substitution" problem.
Does anybody know what this could be and how to fix it? |
|
Back to top |
|
|
blubbi Guru
Joined: 27 Apr 2003 Posts: 564 Location: Halle (Saale), Germany
|
Posted: Wed Sep 26, 2007 3:04 pm Post subject: |
|
|
AidanJT wrote: | blubbi wrote: | Now we have to find a good ebuilder... |
I'll try, but I have a funny feeling that there's going to be a ton of sandbox violations thanks to the shitty build system. |
I Believe in You
Seems as if gentoo will be the first "easy install X-Fi" distribution if you finished the ebuild
thanks for the help!
regards
blubbi |
|
Back to top |
|
|
MetalAZ n00b
Joined: 26 Sep 2007 Posts: 2
|
Posted: Wed Sep 26, 2007 3:21 pm Post subject: |
|
|
Well, I've now I've updated gutsy and since I know I'm using the 2.6 kernel I removed the if statement and left just the "suffix=.ko". I get a little further, but then run into:
Code: |
WARNING: Error inserting ctossrv (/lib/modules/2.6.22-12-generic/kernel/drivers/ssound/ctossrv.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting emupia (/lib/modules/2.6.22-12-generic/kernel/drivers/ssound/emupia.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting ctsfman (/lib/modules/2.6.22-12-generic/kernel/drivers/ssound/ctsfman.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting ct20xut (/lib/modules/2.6.22-12-generic/kernel/drivers/ssound/ct20xut.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting ctexfifx (/lib/modules/2.6.22-12-generic/kernel/drivers/ssound/ctexfifx.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting cthwiut (/lib/modules/2.6.22-12-generic/kernel/drivers/ssound/cthwiut.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting haxfi (/lib/modules/2.6.22-12-generic/kernel/drivers/ssound/haxfi.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting ctalsa (/lib/modules/2.6.22-12-generic/kernel/drivers/ssound/ctalsa.ko): Unknown symbol in module, or unknown parameter (see dmesg)
|
dmesg shows:
Code: |
[ 3430.272536] emupia: Unknown symbol InterlockedIncrement
[ 3430.272564] emupia: Unknown symbol heap_alloc
[ 3430.272593] emupia: Unknown symbol stack_free_page
[ 3430.272645] emupia: Unknown symbol stack_alloc
[ 3430.272703] emupia: Unknown symbol get_ossrv
[ 3430.272727] emupia: Unknown symbol unload_all_plugins
[ 3430.272756] emupia: Unknown symbol stack_alloc_page
[ 3430.272780] emupia: Unknown symbol ioctl_dispatch
[ 3430.272805] emupia: Unknown symbol heap_free
[ 3430.272855] emupia: Unknown symbol InterlockedDecrement
[ 3430.272884] emupia: Unknown symbol stack_free
[ 3430.274955] ctsfman: Unknown symbol heap_alloc
[ 3430.275049] ctsfman: Unknown symbol get_ossrv
[ 3430.275074] ctsfman: Unknown symbol ioctl_dispatch
[ 3430.275099] ctsfman: Unknown symbol heap_free
[ 3430.279311] ct20xut: Unknown symbol InterlockedIncrement
[ 3430.279344] ct20xut: Unknown symbol __stack_chk_fail
[ 3430.279366] ct20xut: Unknown symbol heap_alloc
[ 3430.279393] ct20xut: Unknown symbol unregister_plugin
[ 3430.279427] ct20xut: Unknown symbol heap_free
[ 3430.279462] ct20xut: Unknown symbol register_plugin
[ 3430.279483] ct20xut: Unknown symbol InterlockedDecrement
[ 3430.295213] ctexfifx: Unknown symbol InterlockedDecrement
[ 3430.295248] ctexfifx: Unknown symbol register_plugin
[ 3430.295278] ctexfifx: Unknown symbol unregister_plugin
[ 3430.295307] ctexfifx: Unknown symbol __stack_chk_fail
[ 3430.295347] ctexfifx: Unknown symbol heap_alloc
[ 3430.295381] ctexfifx: Unknown symbol InterlockedIncrement
[ 3430.295406] ctexfifx: Unknown symbol heap_free
[ 3430.298108] cthwiut: Unknown symbol InterlockedIncrement
[ 3430.298141] cthwiut: Unknown symbol __stack_chk_fail
[ 3430.298162] cthwiut: Unknown symbol heap_alloc
[ 3430.298188] cthwiut: Unknown symbol unregister_plugin
[ 3430.298220] cthwiut: Unknown symbol heap_free
[ 3430.298262] cthwiut: Unknown symbol register_plugin
[ 3430.298283] cthwiut: Unknown symbol InterlockedDecrement
[ 3430.319572] haxfi: Unknown symbol InterlockedDecrement
[ 3430.319658] haxfi: Unknown symbol get_ossrv
[ 3430.319757] haxfi: Unknown symbol heap_alloc
[ 3430.319816] haxfi: Unknown symbol InterlockedIncrement
[ 3430.319858] haxfi: Unknown symbol heap_free
[ 3430.323062] ctalsa: Unknown symbol bytes_to_order
[ 3430.323399] ctalsa: Unknown symbol get_ossrv
[ 3430.323546] ctalsa: Unknown symbol __stack_chk_fail
[ 3430.323964] ctalsa: Unknown symbol heap_alloc
[ 3430.324028] ctalsa: Unknown symbol malloc_sizes
[ 3430.324109] ctalsa: Unknown symbol ioctl_dispatch
[ 3430.324382] ctalsa: Unknown symbol heap_free
|
Anyone have any ideas on this? |
|
Back to top |
|
|
ghost_zero n00b
Joined: 26 Sep 2007 Posts: 8
|
Posted: Wed Sep 26, 2007 4:27 pm Post subject: |
|
|
I see you got a bit further as did I. Did the same - first I wanted to try was to update and afterwards I looked here.
I get the same as you (well this was probably expected as we use the same system).
EDIT:
I got a bit further again by adding the "-fno-stack-protector" to CFLAGS in the Makefile.conf
Now the only problematic point left in dmesg is this:
[ 893.467928] ctalsa: Unknown symbol malloc_sizes |
|
Back to top |
|
|
ghost_zero n00b
Joined: 26 Sep 2007 Posts: 8
|
Posted: Wed Sep 26, 2007 5:11 pm Post subject: |
|
|
I think the problem is that the Ubuntu v7.10 kernel is compiled to use SLUB and not SLAB because malloc_sizes is not included in SLUB but in SLAB. |
|
Back to top |
|
|
demik n00b
Joined: 26 Sep 2007 Posts: 7
|
Posted: Wed Sep 26, 2007 5:49 pm Post subject: |
|
|
ghost_zero wrote: | I think the problem is that the Ubuntu v7.10 kernel is compiled to use SLUB and not SLAB because malloc_sizes is not included in SLUB but in SLAB. |
You are right, current gentoo and debian kernels are compiled to use SLAB, not SLUB, and malloc_sizes is included only in SLAB |
|
Back to top |
|
|
ghost_zero n00b
Joined: 26 Sep 2007 Posts: 8
|
Posted: Wed Sep 26, 2007 6:43 pm Post subject: |
|
|
Is there a way around this without recompiling the kernel?
EDIT: Seems like NO because this is part of the binary driver if I am correct... |
|
Back to top |
|
|
blubbi Guru
Joined: 27 Apr 2003 Posts: 564 Location: Halle (Saale), Germany
|
Posted: Wed Sep 26, 2007 7:47 pm Post subject: |
|
|
try to use a vanilla source... to avoid interfering patches...
http://omploader.org/vNHFu (2.6.22.8.tar.bz2)
extrackt in /
it will extrackt to /usr/local/portage/sys-kernel/vanilla-sources/vanilla-sources-2.6.22.8.ebuild
download an extrackt it
Code: | wget -O 2.6.22.8.tar.bz2 http://omploader.org/vNHFu && tar -xvjf 2.6.22.8.tar.bz2 |
than run
Code: | ebuild /usr/local/portage/sys-kernel/vanilla-sources/vanilla-sources-2.6.22.8.ebuild digest |
then emerge latest vanilla build:
Code: | emerge =sys-kernel/vanilla-sources-2.6.22.8 |
enshure you have the following in your make.conf
Code: | PORTDIR_OVERLAY="/usr/local/portage" |
my kernelconfig:
http://rafb.net/p/xO8LnK94.html |
|
Back to top |
|
|
thode n00b
Joined: 19 Nov 2004 Posts: 13
|
Posted: Wed Sep 26, 2007 9:11 pm Post subject: |
|
|
I do not have problems building the driver, but apparently something goes wrong when loading the module.
I've tested the following with kernels 2.6.22.8, 2.6.22.9, 2.6.22-gentoo-r5 and 2.6.22-gentoo-r7. 2.6.22.8 was tested with the .config provided by blubbi (slightly modified in regards to filesystems, UTF8 and network drivers), the rest was configured with the configuration I normally use.
"make install" seems to install the drivers fine, but exits with a killed signal in regards to some modprobing (dmesg posted below). Hereafter /etc/init.d/ctsound does nothing, and it is impossible to unload ctossrv, even forced.
Code: |
Modules linked in: ctossrv(P) snd_seq_midi_emul snd_seq snd_seq_device fuse snd_hda_intel snd_pcm snd_timer snd soundcore snd_page_alloc nvidia(P) sky2 scsi_wait_scan(F)
Pid: 8623, comm: modprobe Tainted: PF 2.6.22.8 #2
RIP: 0010:[<0000000000000000>] [<0000000000000000>]
RSP: 0000:ffff8100667efbe0 EFLAGS: 00010246
RAX: ffffffff80518f80 RBX: ffff81006db4b200 RCX: ffffffff00000004
RDX: 0000000000000002 RSI: 0000000000000000 RDI: ffff81006db4b200
RBP: ffff8100667efc38 R08: 0000000000000002 R09: ffffffff80283761
R10: ffffffff8028cb0c R11: ffff81007ada5016 R12: ffff8100667efc14
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 00002b5c721bbae0(0000) GS:ffff810001179dc0(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000000000000000 CR3: 0000000066018000 CR4: 00000000000006e0
Process modprobe (pid: 8623, threadinfo ffff8100667ee000, task ffff810072abe040)
Stack: ffffffff8876f469 ffff810066751cc0 ffff8100667efc38 0000000000000000
ffffffff887721eb ffffffff887921a4 ffffffff887921a4 ffff81006d736000
ffffffff88792178 0000000000000028 ffffffff887921a4 ffff8100667efc48
Call Trace:
[<ffffffff8876f469>] :ctossrv:sysGetFileSize+0x3e/0x71
[<ffffffff887721eb>] :ctossrv:_ZN5OSSrv8SeekFileEPvi13CTFILEIO_SEEK+0x3d/0x76
[<ffffffff8877485d>] :ctossrv:_ZN7Porting14SetFilePointerEPviPij+0x13/0x1a
[<ffffffff887753ad>] :ctossrv:_ZN7VBDFile4SeekEjj+0x39/0x9c
[<ffffffff887759ef>] :ctossrv:_ZN7VBDFile4ReadEPvjj+0x51/0x10e
[<ffffffff887752ab>] :ctossrv:_ZN7VBDFile4OpenEPKc10AccessMode+0x243/0x30c
[<ffffffff8877c041>] :ctossrv:_ZN9CRegistry14GetCreativeHdrEPKcP17CreativeHeaderTag+0x33/0x6e
[<ffffffff8877e0e5>] :ctossrv:_ZN9CRegistry4InitEPKcP17CreativeHeaderTag+0x1b7/0x31e
[<ffffffff887746be>] :ctossrv:_ZN6DevReg10InitDevRegEPKcP17CreativeHeaderTag+0x15a/0x1dc
[<ffffffff88770c28>] :ctossrv:OSSrv_InitDriver+0x100/0x13a
[<ffffffff8879400e>] :ctossrv:ctossrv_init+0xe/0x1a
[<ffffffff802536da>] sys_init_module+0x169c/0x17fc
[<ffffffff804f68ed>] trace_hardirqs_on_thunk+0x35/0x37
[<ffffffff802093fe>] system_call+0x7e/0x83
Code: Bad RIP value.
RIP [<0000000000000000>]
RSP <ffff8100667efbe0>
CR2: 0000000000000000
|
I'm running a system with intel core 2 2.4 ghz. pw5 dh deluxe, 2 gb corssair ram, a geforce 7900 gtx - and an intel software raid 0 on the mobo controller with dmraid.
I don't know a lot about this outside of my normal kernel configuration - but I was wondering whether the alsa use flag (which drags in alsa-lib from portage) in my make.conf, or my boot sequence with a ram partition created with genkernel might have an influence on the module problems I have?
I'll post further information in regards to system, such as my .config, if needed.
Regards
Christian |
|
Back to top |
|
|
ghost_zero n00b
Joined: 26 Sep 2007 Posts: 8
|
Posted: Wed Sep 26, 2007 9:51 pm Post subject: |
|
|
OK. I now compiled my own kernel (but doing it my way - using make-dpkg).
I download 2.6.22.9 vanilla kernel and used my configuration except that I changed from SLUB to SLAB.
AND voilla the driver now works just fine.
BUT: It doesn't load correctly all the time. It happens that it hangs up my whole system during loading (of course as it is in bootup, it hangs up system during boot up) BUT otherwise it works fine. Well: That's probably why it is a Beta version
Furthermore: It can happen that the sound becomes strange for some time or even permanently (some strange repeating sound - don't know how to explain it better in English)... That is really annoying...
Last edited by ghost_zero on Wed Sep 26, 2007 10:02 pm; edited 1 time in total |
|
Back to top |
|
|
demik n00b
Joined: 26 Sep 2007 Posts: 7
|
Posted: Wed Sep 26, 2007 10:00 pm Post subject: |
|
|
Grats
If you mean the sound loop like a scratched gramophone record, I've that too sometimes. |
|
Back to top |
|
|
ghost_zero n00b
Joined: 26 Sep 2007 Posts: 8
|
Posted: Wed Sep 26, 2007 10:21 pm Post subject: |
|
|
Could be, although I believe my problem was/is that the video player hang up during playback and was still active even after the window was closed (used kill or killall to end it completely) but might not always...
Although I am not sure if it is the driver or the video player that caused it to be like this....
EDIT:
One question I have though: How do I enable 5.1 playback with the X-Fi driver (with 5.1 files)?
Furthermore: Is hardware upmixing already included too in this release (means stereo to 5.1)?
EDIT2:
I just noticed something strange. It seems that some players seem to have extreme problems with the playback and this driver it always ends up in looping a second or something like this a few times before going on to the next part... Especially music players - haven't had this problem yet (one the same files) with a video player (although with some of them I have changing position problem or that the hang up on re-positioning or that the hang-up on closing them... |
|
Back to top |
|
|
blubbi Guru
Joined: 27 Apr 2003 Posts: 564 Location: Halle (Saale), Germany
|
Posted: Wed Sep 26, 2007 11:02 pm Post subject: |
|
|
thode wrote: | I do not have problems building the driver, but apparently something goes wrong when loading the module.
I've tested the following with kernels 2.6.22.8, 2.6.22.9, 2.6.22-gentoo-r5 and 2.6.22-gentoo-r7. 2.6.22.8 was tested with the .config provided by blubbi (slightly modified in regards to filesystems, UTF8 and network drivers), the rest was configured with the configuration I normally use.
I'm running a system with intel core 2 2.4 ghz. pw5 dh deluxe, 2 gb corssair ram, a geforce 7900 gtx - and an intel software raid 0 on the mobo controller with dmraid.
Regards
Christian |
I have the same setup
C2D E6600, 2GB RAM, Asus EN7600 GT, and Asus P5W-DH Delux (https://forums.gentoo.org/viewtopic-t-536867-highlight-.html)
Compare your emerge --info with mine (in the first post below the X-Fi howto) |
|
Back to top |
|
|
thode n00b
Joined: 19 Nov 2004 Posts: 13
|
Posted: Wed Sep 26, 2007 11:17 pm Post subject: |
|
|
allright, I didn't bother to check, since I'm running the stable arch, and updated a few hours ago.
I'll have a look see later tonight! |
|
Back to top |
|
|
blubbi Guru
Joined: 27 Apr 2003 Posts: 564 Location: Halle (Saale), Germany
|
Posted: Wed Sep 26, 2007 11:20 pm Post subject: |
|
|
Please post your emerge --info and lshw --short and lspci....
Thats gonna be interesting! |
|
Back to top |
|
|
thode n00b
Joined: 19 Nov 2004 Posts: 13
|
Posted: Wed Sep 26, 2007 11:25 pm Post subject: |
|
|
emerge --info:
Code: |
Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22.8 x86_64)
=================================================================
System uname: 2.6.22.8 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Wed, 26 Sep 2007 14:50:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p17
dev-lang/python: 2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/ "
MAKEOPTS="-j11"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 bash-completion berkdb bitmap-fonts cdr cli cracklib crypt cups dbus dri dvd dvdr fortran gdbm gpm gtk hal iconv ipv6 isdnlog jpeg midi mmx mudflap ncurses nls nptl nptlonly openal opengl openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl tcpd truetype-fonts type1-fonts unicode xorg zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
|
lshw --short:
Code: |
H/W path Device Class Description
======================================================
system P5W DH Deluxe
/0 bus P5W DH Deluxe
/0/0 memory 64KB BIOS
/0/4 processor Intel(R) Core(TM)2 CPU 6600
/0/4/5 memory 32KB L1 cache
/0/4/6 memory 4MB L2 cache
/0/4/7 memory L3 cache
/0/3c memory 2GB System Memory
/0/3c/0 memory 1GB DIMM SDRAM Synchronous
/0/3c/1 memory DIMM [empty]
/0/3c/2 memory 1GB DIMM SDRAM Synchronous
/0/3c/3 memory DIMM [empty]
/0/100 bridge 975X Express Memory Controller Hub
/0/100/1 bridge 975X Express PCI Express Root Port
/0/100/1/0 display GeForce 7900 GTX
/0/100/1b multimedia 82801G (ICH7 Family) High Definition
/0/100/1c bridge 82801G (ICH7 Family) PCI Express Port
/0/100/1c.3 bridge 82801G (ICH7 Family) PCI Express Port
/0/100/1c.3/0 eth0 network 88E8053 PCI-E Gigabit Ethernet Contro
/0/100/1c.4 bridge 82801GR/GH/GHM (ICH7 Family) PCI Expr
/0/100/1c.4/0 eth1 network 88E8053 PCI-E Gigabit Ethernet Contro
/0/100/1d bus 82801G (ICH7 Family) USB UHCI #1
/0/100/1d/1 usb2 bus UHCI Host Controller
/0/100/1d/1/2 generic USB Gaming Mouse
/0/100/1d.1 bus 82801G (ICH7 Family) USB UHCI #2
/0/100/1d.1/1 usb3 bus UHCI Host Controller
/0/100/1d.2 bus 82801G (ICH7 Family) USB UHCI #3
/0/100/1d.2/1 usb4 bus UHCI Host Controller
/0/100/1d.3 bus 82801G (ICH7 Family) USB UHCI #4
/0/100/1d.3/1 usb5 bus UHCI Host Controller
/0/100/1d.7 bus 82801G (ICH7 Family) USB2 EHCI Contro
/0/100/1d.7/1 usb1 bus EHCI Host Controller
/0/100/1d.7/1/7 bus USB2.0 Hub
/0/100/1d.7/1/7/3 generic RTL8187_Wireless
/0/100/1e bridge 82801 PCI Bridge
/0/100/1e/1 multimedia SB X-Fi
/0/100/1f bridge 82801GB/GR (ICH7 Family) LPC Interfac
/0/100/1f.1 scsi4 storage 82801G (ICH7 Family) IDE Controller
/0/100/1f.1/0.0.0 /dev/cdrom disk DVDR PX-760A
/0/100/1f.2 scsi0 storage 82801GR/GH (ICH7 Family) Serial ATA S
/0/100/1f.2/0 /dev/sda disk 232GB ST3250824AS
/0/100/1f.2/0/1 /dev/sda1 volume 235MB Linux filesystem partition
/0/100/1f.2/0/2 /dev/sda2 volume 48GB HPFS/NTFS partition
/0/100/1f.2/0/3 /dev/sda3 volume 48GB Linux filesystem partition
/0/100/1f.2/1 /dev/sdb disk 320KB Config Disk
/0/100/1f.2/0.0.0 /dev/sdc disk 232GB ST3250824AS
/0/100/1f.3 bus 82801G (ICH7 Family) SMBus Controller
/1 irlan0 network Ethernet interface
|
lspci:
Code: |
00:00.0 Host bridge: Intel Corporation 975X Express Memory Controller Hub (rev c0)
00:01.0 PCI bridge: Intel Corporation 975X Express PCI Express Root Port (rev c0)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
00:1c.4 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 5 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 RAID bus controller: Intel Corporation 82801GR/GH (ICH7 Family) Serial ATA Storage Controller RAID (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:01.0 Multimedia audio controller: Creative Labs Unknown device 0005
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 20)
03:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 20)
05:00.0 VGA compatible controller: nVidia Corporation GeForce 7900 GTX (rev a1)
|
|
|
Back to top |
|
|
mauorrizze n00b
Joined: 26 Sep 2007 Posts: 1
|
Posted: Thu Sep 27, 2007 12:26 am Post subject: |
|
|
First of all: great work! Perhaps Creative should have hired some of you guys
thode wrote: | I do not have problems building the driver, but apparently something goes wrong when loading the module.
I've tested the following with kernels 2.6.22.8, 2.6.22.9, 2.6.22-gentoo-r5 and 2.6.22-gentoo-r7. 2.6.22.8 was tested with the .config provided by blubbi (slightly modified in regards to filesystems, UTF8 and network drivers), the rest was configured with the configuration I normally use.
"make install" seems to install the drivers fine, but exits with a killed signal in regards to some modprobing (dmesg posted below). Hereafter /etc/init.d/ctsound does nothing, and it is impossible to unload ctossrv, even forced.
|
Exactly the same problem here. I've used a 2.6.22-gentoo-r6 kernel, furthermore compiled the 2.6.22.6-vanilla-sources, both with my own config and finally the 2.6.22.8 with blubbi's .config, only slightly modified (most important perhaps: changed to utf-8 as default nls). My hardware is similar: E6420, P5B deluxe, 2gb ram, ATI 1950pro, X-Fi Platinum.
The dmesg output is nearly the same when loading the ctossrv module:
Code: |
Unable to handle kernel NULL pointer dereference at 0000000000000000 RIP:
[<0000000000000000>]
PGD 31e06067 PUD 311df067 PMD 0
Oops: 0010 [1] SMP
CPU 1
Modules linked in: ctossrv(P) snd_seq_midi_emul snd_seq coretemp w83627ehf i2c_isa fuse snd_pcm snd_timer snd_page_alloc snd_hwdep snd fglrx(P) i2c_i801 i2c_core
Pid: 8608, comm: modprobe Tainted: P 2.6.22-gentoo-r6 #6
RIP: 0010:[<0000000000000000>] [<0000000000000000>]
RSP: 0000:ffff8100311c7be0 EFLAGS: 00010246
RAX: ffffffff8056f060 RBX: ffff810059c350c0 RCX: ffff810059c350c0
RDX: 0000000000000002 RSI: 0000000000000000 RDI: ffff810059c350c0
RBP: ffff8100311c7c38 R08: 0000000000000000 ...
...
and so on...
|
emerge --info: (again on my gentoo-kernel, but vanilla 2.6.22.8 makes no difference at all)
Code: |
Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r6 x86_64 Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz
Timestamp of tree: Wed, 26 Sep 2007 15:20:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
|
So, apparently no real differences between blubbi's, thode's and mine.
lshw -short:
Code: |
H/W path Device Class Description
=============================================================
system System Product Name
/0 bus P5B-Deluxe
/0/0 memory 64KB BIOS
/0/4 processor Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz
/0/4/5 memory 32KB L1 cache
/0/4/6 memory 4MB L2 cache
/0/4/7 memory L3 cache
/0/43 memory 2GB System Memory
/0/43/0 memory 1GB DIMM SDRAM Synchronous 800 MHz (1.2 ns)
/0/43/1 memory DIMM [empty]
/0/43/2 memory 1GB DIMM SDRAM Synchronous 800 MHz (1.2 ns)
/0/43/3 memory DIMM [empty]
/0/100 bridge Memory Controller Hub
/0/100/1 bridge PCI Express Root Port
/0/100/1/0 display ATI Technologies Inc
/0/100/1/0.1 display ATI Technologies Inc
/0/100/1a bus USB UHCI Controller #4
/0/100/1a/1 usb3 bus UHCI Host Controller
/0/100/1a.1 bus USB UHCI Controller #5
/0/100/1a.1/1 usb4 bus UHCI Host Controller
/0/100/1a.7 bus USB2 EHCI Controller #2
/0/100/1a.7/1 usb1 bus EHCI Host Controller
/0/100/1a.7/1/1 scsi8 generic USB Reader
/0/100/1a.7/1/1/0.0.0 /dev/sdc disk STORAGE DEVICE
/0/100/1a.7/1/1/0.0.0/0 /dev/sdc disk
/0/100/1a.7/1/1/0.0.1 /dev/sdd disk STORAGE DEVICE
/0/100/1a.7/1/1/0.0.1/0 /dev/sdd disk
/0/100/1b multimedia HD Audio Controller
/0/100/1c bridge PCI Express Port 1
/0/100/1c.4 bridge PCI Express Port 5
/0/100/1c.4/0 storage JMicron 20360/20363 AHCI Controller
/0/100/1c.4/0.1 scsi6 storage JMicron 20360/20363 AHCI Controller
/0/100/1c.4/0.1/0.0.0 /dev/cdrom2 disk DVD-ROM SH-D162C
/0/100/1c.5 bridge PCI Express Port 6
/0/100/1c.5/0 eth0 network Marvell Technology Group Ltd.
/0/100/1d bus USB UHCI Controller #1
/0/100/1d/1 usb5 bus UHCI Host Controller
/0/100/1d/1/2 generic USB RECEIVER
/0/100/1d.1 bus USB UHCI Controller #2
/0/100/1d.1/1 usb6 bus UHCI Host Controller
/0/100/1d.2 bus USB UHCI Controller #3
/0/100/1d.2/1 usb7 bus UHCI Host Controller
/0/100/1d.2/1/1 generic Cymotion Master Linux Keyboard
/0/100/1d.7 bus USB2 EHCI Controller #1
/0/100/1d.7/1 usb2 bus EHCI Host Controller
/0/100/1e bridge 82801 PCI Bridge
/0/100/1e/2 multimedia SB X-Fi
/0/100/1e/3 bus TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
/0/100/1f bridge LPC Interface Controller
/0/100/1f.2 scsi2 storage SATA Controller 1 IDE
/0/100/1f.2/0 /dev/sda disk 232GB SAMSUNG SP2504C
/0/100/1f.2/0/1 /dev/sda1 volume 100GB HPFS/NTFS partition
/0/100/1f.2/0/2 /dev/sda2 volume 101MB Linux filesystem partition
/0/100/1f.2/0/3 /dev/sda3 volume 78GB HPFS/NTFS partition
/0/100/1f.2/0/4 /dev/sda4 volume 50GB Extended partition
/0/100/1f.2/0/4/5 /dev/sda5 volume 2000MB Linux swap / Solaris partition
/0/100/1f.2/0/4/6 /dev/sda6 volume 48GB Linux raid autodetect partition
/0/100/1f.2/1 /dev/sdb disk 232GB SAMSUNG SP2504C
/0/100/1f.2/1/1 /dev/sdb1 volume 101MB Linux raid autodetect partition
/0/100/1f.2/1/2 /dev/sdb2 volume 50GB Extended partition
/0/100/1f.2/1/2/5 /dev/sdb5 volume 2000MB Linux swap / Solaris partition
/0/100/1f.2/1/2/6 /dev/sdb6 volume 48GB Linux raid autodetect partition
/0/100/1f.2/1/3 /dev/sdb3 volume 182GB HPFS/NTFS partition
/0/100/1f.3 bus SMBus Controller
/0/100/1f.5 scsi4 storage SATA Controller 2 IDE
/0/100/1f.5/0.0.0 /dev/cdrom1 disk CD/DVDW SH-S183L
|
And again: search the differences
lspci:
Code: |
00:00.0 Host bridge: Intel Corporation Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation PCI Express Root Port (rev 02)
00:1a.0 USB Controller: Intel Corporation USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation PCI Express Port 1 (rev 02)
00:1c.4 PCI bridge: Intel Corporation PCI Express Port 5 (rev 02)
00:1c.5 PCI bridge: Intel Corporation PCI Express Port 6 (rev 02)
00:1d.0 USB Controller: Intel Corporation USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation SATA Controller 1 IDE (rev 02)
00:1f.3 SMBus: Intel Corporation SMBus Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation SATA Controller 2 IDE (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc Unknown device 7280 (rev 9a)
01:00.1 Display controller: ATI Technologies Inc Unknown device 72a0 (rev 9a)
02:00.0 Ethernet controller: Marvell Technology Group Ltd. Unknown device 4364 (rev 12)
03:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
03:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
05:02.0 Multimedia audio controller: Creative Labs Unknown device 0005
05:03.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
|
I'm wondering why the X-fi is listet as "Creative Labs Unknown device 0005" in thode's and my lspci output whereas in blubbi's and some other's it's recognized as "Creative Labs SB X-Fi"...
Hope this bunch of outputs can help you. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|