Daninku Posted January 15, 2009 Author Share Posted January 15, 2009 I have important data so I can't really risk. In the meantime, I'm also having problems getting my X-Fi Xtreme Music to work. After some research I found that creative drivers for Linux are not the best out there :/ Anyone got a Creative soundcard on Linux? I just removed dust from my RHCE (RedHat certified engeneer) book and checked whats wrong. Look like you have execute a command simillar to this one sudo mdadm -C /dev/md0 --chunk=64 --level=1 --raid-devices=2 /dev/sd{a,b}1 But watch out, I never did it myself (I am programmer, I rarelly do (professional) system instalation these day, and these system are mostly desktop and non mission-critical server, so no raid and not too much selinux work). I don't know if it will affect the content of the drive, but it will setup the software raid. You will have to change {a,b} to your real device. You can use a partition manager to see witch one is part of the raid. {a,b} are the 2 first drive. But please google this or wait until someone who know what he is doing better than me answer you. Link to comment Share on other sites More sharing options...
ichi Posted January 15, 2009 Share Posted January 15, 2009 In the meantime, I'm also having problems getting my X-Fi Xtreme Music to work. After some research I found that creative drivers for Linux are not the best out there :/ Anyone got a Creative soundcard on Linux? Creative soundcards yes, but not a X-Fi. Audigy cards work great out of the box, but the X-Fi driver is different and it's still beta (you might have to do some tweaking). Link to comment Share on other sites More sharing options...
Daninku Posted January 15, 2009 Author Share Posted January 15, 2009 That's kind of Chinese for me :p I'd appreiate any help about that. To compile succesfully I had to replace SA_SHIRQ with IRQF_SHARED in LinuxSys.c (SA_SHIRQ is depreciated). Additionally I had to run make KBUILD_NOPEDANTIC=1 as your CFLAGS are not more sane for 2.6.24+ kernels. Thanks ichi for pointing that out, appreciated :) Creative soundcards yes, but not a X-Fi.Audigy cards work great out of the box, but the X-Fi driver is different and it's still beta (you might have to do some tweaking). Link to comment Share on other sites More sharing options...
ichi Posted January 15, 2009 Share Posted January 15, 2009 That's kind of Chinese for me :p I'd appreiate any help about that. I'd first try to build and install the driver just following the included readme. If it fails then: -Find a file named LinuxSys.c in the directory where you extracted XFiDrv_Linux_US-1.18.tar.gz, open it with a text editor and find/replace SA_SHIRQ with IRQF_SHARED. -When running make (as specified in the readme), prepend KBUILD_NOPEDANTIC=1, like: KBUILD_NOPEDANTIC=1 make KBUILD_NOPEDANTIC=1 make install Link to comment Share on other sites More sharing options...
Daninku Posted January 15, 2009 Author Share Posted January 15, 2009 there is not file named LinuxSys.c in the downloaded file. I've extracted the files and cd to the extracted folder. Then input make install and got this: [root@localhost XFiDrv_Linux_Public_US_1.00]# make install Copy module files... cp: cannot stat `ctxfi.ko': No such file or directory make: *** [install] Error 1 ... so I looked for the file LinuxSys.c and didn't find such file. These are the files in the directory: [root@localhost XFiDrv_Linux_Public_US_1.00]# lsCOPYING ctatc.c cthardware.c ctimap.h ctresource.c ctvmem.c xfi.c ct20k1reg.h ctatc.h cthardware.h ctmixer.c ctresource.h ctvmem.h ct20k2reg.h ctdaio.c cthw20k1.c ctmixer.h ctsrc.c Disk.id ctamixer.c ctdaio.h cthw20k2.c ctpcm.c ctsrc.h Makefile ctamixer.h ctdrv.h ctimap.c ctpcm.h ctutils.h README Link to comment Share on other sites More sharing options...
Lechio Posted January 15, 2009 Share Posted January 15, 2009 Quick install============= In terminal, 1) Goto source directory 2) Execute make command as root make make install make first, then make install. :) Link to comment Share on other sites More sharing options...
Daninku Posted January 15, 2009 Author Share Posted January 15, 2009 You're right, but: [root@localhost XFiDrv_Linux_Public_US_1.00]# makemake -C /lib/modules/2.6.27.9-159.fc10.x86_64/build M=/home/Daniel/Desktop/XFiDrv_Linux_Public_US_1.00 make: *** /lib/modules/2.6.27.9-159.fc10.x86_64/build: No such file or directory. Stop. make: *** [all] Error 2 Link to comment Share on other sites More sharing options...
Lechio Posted January 15, 2009 Share Posted January 15, 2009 To be able to build a module it needs the kernel source or the kernel headers to compile against that. Install those packages first. Link to comment Share on other sites More sharing options...
Elv13 Posted January 15, 2009 Share Posted January 15, 2009 @Daninku: What you are doing right now is probably the hardest thing you can do on Linux, if sound is not really important, wait until someone do that and provide an RPM, you can ask for one on fedoraforums.org, I am sure someone can produce one for you. It may be a little too hard for a new commer to start patching a kernel. But as Lechoi said, you need to get kernel source and kernel header first (using yum). Link to comment Share on other sites More sharing options...
Daninku Posted January 15, 2009 Author Share Posted January 15, 2009 Yeah that would be too difficult for me, I can't even understand yum properly yet... let alone patching a kernel :p At the moment I'm searching about the Nvidia Raid. As it's more important than sound. Link to comment Share on other sites More sharing options...
Elv13 Posted January 15, 2009 Share Posted January 15, 2009 is it hardware or software raid? And how did you setup it (bios? software?)? Link to comment Share on other sites More sharing options...
Daninku Posted January 15, 2009 Author Share Posted January 15, 2009 I've set the Raid through the BIOS. Does that make it software or hardware controlled? Link to comment Share on other sites More sharing options...
Daninku Posted January 16, 2009 Author Share Posted January 16, 2009 OK, managed to install the sound drivers, although 5.1 is not supported yet at least they're working :) Link to comment Share on other sites More sharing options...
Elv13 Posted January 16, 2009 Share Posted January 16, 2009 This driver is not open source since a lot of time and have been reported to be a peice of c**p. You are lucky to have 2.1 working at all, wait few month to update and 5.1 will probably work. About the raid, I think it is hardware, but I am not sure, I am not a Raid expert, you should ask on fedoraforum.org Link to comment Share on other sites More sharing options...
Daninku Posted January 17, 2009 Author Share Posted January 17, 2009 Actually only 2 speakers are working, sot hat makes it a 2 way sound lol. As regards to the RAID, I've almost messed up everything. I decided to get rid of the array, but I'm still working on that. Actually, it's kinda of stupid but you can't remove an array using the Nvidia MediaShield. It's just not an option, you do an array and you can't go back. If you decide to remove the array and redo it everything will be lost. So I'm still working on that, through Windows. What I need to ask is... I'm going to use these hard drives for both Linux and Windows. I guess NTFS would be fine right? Link to comment Share on other sites More sharing options...
Recommended Posts