Linux - NewbieThis 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.
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.
Earlier today I installed SUSE 11.2 with KDE and everything worked fine at first. Then I started monkeying around.
First I tried getting my XFI extremegamer to work right and that didn't go well. So I started from the install disk and repaired the install. That messed up GRUB so I couldn't choose to boot Windows 7. Tried fixing that with super GRUB disk(USB) and now GRUB gets error 22. I did some searching and found that the most common cause is deleting the linux partition in windows. Which I didn't do.
I also need some help installing stuff, like drivers and other programs. The guides I've found don't help because the things I want to install are not in packages.
The problem with my sound card is that I can't even hear anything out of it outside of the test sound. The included media player doesn't get anything, neither does online site like youtube.
On a side note, I'm thinking about just reinstalling linux and starting fresh. Considering that I'm such a linux n00b, would it be better to use KDE or GNOME?
You might download the openSUSE 11.2 DVD and install from there. 11.2 is said to be he best implementation of KDE 4 to date, and KDE allows you more flexibility than Gnome. Then use the links here to install the media packages for restricted formats.
For your media programs, be sure to go to the module in YaST2 for adding and removing repositories. Select "Community Repository" and from the list include the packman and vlc repos. There packages are built to include support for more media formats and codecs.
For sound problems where you don't have sound at all, running "sudo /usr/sbin/alsaconf" followed by "kdesu yast2 sound" will often resolve no sound problems.
For youtube, you need to check your flash support. For a 64bit distro then is a wrapper to use the 32bit flash support.
I also find the "padevchooser" program helpful with sound (if you have pulse audio enabled). Some people prefer not using pulse audio. You can disable it in "kdesu yast2 sound". It is an option in the "Other" drop down button.
I reinstalled using the DVD and everything was fine. Then I restarted after following what you suggested only to find out that GRUB has error 22 again. It went to an old looking style GRUB which let me select an OS, so I selected OpenSUSE and I get "partition does not exist" message.
After that I booted from the install dvd and went to fix install. Went through all of that and noticed I get an error at one point. It says "Check file system support - loading failed for kernel moduals: NTFS" On the right side of the screen it says "Problemat ic"
I've tried searching around to see what may be going on, but I haven't found anything.
:edit: I did another install. After a bit more searching I have been able to get mp3s working through Amarok. Though I still don't get audio from anything else. I went to yast/sound and my sound card is not even listed. I've tried adding it via the list, but that just messes up and won't add the card to the list.
Sorry for the double post, but I've run into a new couple issues.
First I can't get audio from any program where I can't select the default sound card. In some searching I found that the XFI sound card is not supported in YaST and can't be configured in ALSA. That I can live with for now.
The main issue that I really want to resolve is compiling from source. I've read a few tutorials and they seem strait forward. I get the files untarbelled and in they're own dir, but the problem arises when I try to run ./configure. All that comes up is "./configure: No such file or directory". Also when I try to execute "make" with something that already has a makefile I get the same message. Is there something I doing wrong? Or is there something special that I need? Any help would be greatly appreciated. I'm determend to learn this, I don't want to have to rely on others to compile and make packages.
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369
Rep:
Quote:
Originally Posted by Jac3624
Sorry for the double post, but I've run into a new couple issues.
First I can't get audio from any program where I can't select the default sound card. In some searching I found that the XFI sound card is not supported in YaST and can't be configured in ALSA. That I can live with for now.
The main issue that I really want to resolve is compiling from source. I've read a few tutorials and they seem strait forward. I get the files untarbelled and in they're own dir, but the problem arises when I try to run ./configure. All that comes up is "./configure: No such file or directory". Also when I try to execute "make" with something that already has a makefile I get the same message. Is there something I doing wrong? Or is there something special that I need? Any help would be greatly appreciated. I'm determend to learn this, I don't want to have to rely on others to compile and make packages.
What did you find in that directory after you untar it ?
Please give us a list of the contents of that directory.
Try running "sudo /usr/sbin/alsaconf" to double check that. Then run "kdesu yast2 sound". Often running both will fix sound problems.
Also try modprobing the "snd-ctxfi" kernel module:
sudo /sbin/modprobe/snd-ctxfi
This device is in my kernel:
Code:
jschiwal@qosmio:/lib/modules/2.6.31.8-0.1-desktop/kernel/sound> sudo /sbin/modinfo snd-ctxfi
filename: /lib/modules/2.6.31.8-0.1-desktop/kernel/sound/pci/ctxfi/snd-ctxfi.ko
license: GPL v2
description: X-Fi driver version 1.03
author: Creative Technology Ltd
srcversion: F6D2960F45FDDDD4A318DE8
alias: pci:v00001102d0000000Bsv*sd*bc*sc*i*
alias: pci:v00001102d00000005sv*sd*bc*sc*i*
depends: snd-pcm,snd
vermagic: 2.6.31.8-0.1-desktop SMP preempt mod_unload modversions
parm: use_system_timer:Foce to use system-timer (bool)
parm: reference_rate:Reference rate (default=48000) (uint)
parm: multiple:Rate multiplier (default=2) (uint)
parm: index:Index value for Creative X-Fi driver (array of int)
parm: id:ID string for Creative X-Fi driver (array of charp)
parm: enable:Enable Creative X-Fi driver (array of bool)
---
Not all projects use autoconf. For some, there is a simple Makefile instead. The first step in building from source is to read the README and INSTALL files. For packages with a configure file, also start with "./configure --help" to learn of features you may need or want.
More information on what this package is would be helpful in soliciting advice.
The readme in this one only gives instructions to run "bcs-linux-openal-fixer.sh" to install OpenAL for the game.
The other thing I'm trying to compile is the XFI drivers. It has a makefile and I've followed the instructions in the readme.
Code:
In terminal,
1) Goto source directory
2) Execute make command as root
make
make install
after I type is "sudo make" I get this
Code:
make -C /lib/modules/2.6.31.8-0.1-desktop/build M=/home/Jac3624/Download/XFiDrv_Linux_Public_US_1.00
make: *** /lib/modules/2.6.31.8-0.1-desktop/build: No such file or directory. Stop.
make: *** [all] Error 2
I get the same if I switch to su and then run make.
@jschiwal, when I run alsaconf I lose all ability to use my sound card. it forgets the device and the only way to get it back is to restart. "kdesu yast2 sound" doesn't show my card and trying to add it has the same results as alsaconf.
When I run "sudo /sbin/modprobe/snd-ctxfi" I get "sudo: /sbin/modprobe/snd-ctxfi: command not found"
make -C /lib/modules/2.6.31.8-0.1-desktop/build M=/home/Jac3624/Download/XFiDrv_Linux_Public_US_1.00
make: *** /lib/modules/2.6.31.8-0.1-desktop/build: No such file or directory. Stop.
make: *** [all] Error 2
This stuff above leads me to believe that the kernel sources are not installed on your machine. Or, you've written this `make` command incorrectly.
Can you please provide a link to exactly the thing you downloaded, which you are trying to build above?
bash-3.1# make
make -C /lib/modules/2.6.32.2-26322-00/build M=/home/sasha/Downloads/XFiDrv_Linux_Public_US_1.00
make[1]: Entering directory `/usr/src/source/linux-2.6.32.2'
LD /home/sasha/Downloads/XFiDrv_Linux_Public_US_1.00/built-in.o
CC [M] /home/sasha/Downloads/XFiDrv_Linux_Public_US_1.00/xfi.o
CC [M] /home/sasha/Downloads/XFiDrv_Linux_Public_US_1.00/ctatc.o
CC [M] /home/sasha/Downloads/XFiDrv_Linux_Public_US_1.00/ctvmem.o
CC [M] /home/sasha/Downloads/XFiDrv_Linux_Public_US_1.00/ctpcm.o
So, I extracted the folder, entered it, and typed make, and as you see, it entered my kernel/build folder and proceeded to build stuff. On your machine, it found no such kernel/build folder, meaning that most likely your kernel sources are not installed.
NOTE: The build failed on my machine, because I either am missing some stuff it requires, or my kernel is too new for this driver, or because I have not configured enough sound stuff in my kernel config. Hopefully it won't do this for you
Anyhow, you should see if your kernel sources are missing, and install them if so.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.