LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   omg linux is going to be a trip to learn, but need lots of help!! (https://www.linuxquestions.org/questions/linux-newbie-8/omg-linux-is-going-to-be-a-trip-to-learn-but-need-lots-of-help-60126/)

muppetwagon 05-16-2003 11:01 AM

omg linux is going to be a trip to learn, but need lots of help!!
 
yeah, my first post...heheh. Just installed mandrake 8.2 and i am all lost.
i figuerd, being the savvy windows user that i am, that this would not be a problem. HAHAHAHA
big mistake. I am willing to learn how to use it and need some major help!!


first off, i am not sure how to load drivers for the sound and video. I have read some of the walkthroughs and
i am getting lost. Kinda need a step by step of what is going on in using the shell.

the only shell i remember is dos...lol, sorry had to say it.

Any help would be schweet!!!


rich

bentz 05-16-2003 11:18 AM

Are you having problems starting X Windows? If you are, you will need to contact the vendor of your Video Card to see if they have a Linux driver for you. This is very similar to getting a driver for windows. The video card vendor should have detailed support for installing or building a kernel module (equivalent of a windows driver for this purpose) and getting X Windows running.

I hope this helps.

HerrSprengstoff 05-16-2003 12:22 PM

What kind of sound and/or video card do you have? They aren't working for your system under Mandy or you just want to upgrade them?

muppetwagon 05-16-2003 12:52 PM

i have a gf3 visiontek and a audigy 2

the problem i am having is to get the sound to work at all. I did their install, but am stuck on telling the config file where the kernel is. i flat out just dont know...really big newb!!!
oh yeah, what do you mean by x windows (e.g. KDE, Gnome...)

Edward78 05-16-2003 12:58 PM

http://www.tldp.org/

http://www.linuxnewbie.org/

muppetwagon 05-16-2003 12:58 PM

# Driver build options
KERNEL_SOURCE :=/usr/src/linux-2.4.18-6mdk/linux
DEBUG := n
SEQUENCER_SUPPORT := n

# say no unless you need to use the dbgemu tool,
# note that this allows users raw access to any register
# it should not be used in a normal driver.
DBGEMU := n

export KERNEL_SOURCE



i dont know where i should tell it to look:
KERNEL_SOURCE :=/usr/src/linux-2.4.18-6mdk/linux???????????

bentz 05-16-2003 12:59 PM

X Windows is the general term for the Graphical Interface for Linux.

bentz 05-16-2003 01:02 PM

Try:
rpm -q --list kernel-source

bulliver 05-16-2003 03:07 PM

Mandrake 8.2 is kind of old, it may not have a driver for the audigy card (which is quite new, isn't it?)

You may have to download the latest stable kernel source (2.4.20) and compile it with the drivers you need. Unfortunately this is no easy task for a beginner. Perhaps mandrake has an rpm of the current kernel which you can install.

Your other option is to upgrade or reinstall your distro to something a bit more recent (the current version of mandrake is 9.1)

As for loading a module, as long as they are set up correctly you would use:
modprobe [module name] to load it in the kernel. Fo example:
modprobe emu10k1
loads the module for my soundblaster card.

muppetwagon 05-16-2003 03:57 PM

ok i am downloading 9.1 and will try to burn them on my plextor 48x24x48. now there is a problem, cause i have not burned anything in linux............hehehhe!

muppetwagon 05-21-2003 01:48 PM

ok!! After a while i got 9.1 installed and have the latest Nvidia drivers ( finally installed). I still need to learn how to compile the kernel to get the sound card drivers to work. Any idea where i can look for a set-by-step to set up what i need. I am saying this, because i would like to play with my clan on Urban Terror ( quake3 mod) and will not give up on Linux. The info i have learned already is awsome and it seems like i am learning dos all over again...hehe...j/k!

I did try and locate the my kernel version. It seems it is in the /libs?????

Any ideas

Cheers,
rich

Proud 05-21-2003 02:17 PM

Try the uname -r command :)

muppetwagon 05-22-2003 11:07 AM

sweet thanks, that was easy...lol! So now i need to tell the config for the audigy2 where the kernel is??? OK back to browsing.

neo77777 05-22-2003 12:18 PM

Have you installed kernel source?
Is there a
/usr/src/linux
directory or anything close to it?
The following command should produce some output besides "No such file or directory"

ls -ltrd /usr/src/linux*

busbarn 05-22-2003 01:22 PM

If you didn't install all three mandrake disks, you won't have the kerenl source. Also, there are several really good "tutorials" on this forum that are more than accurate. I'd type it out but I've done it twice in the past couple weeks...I'll let you do the typing!

muppetwagon 05-22-2003 06:28 PM

i did install all three disks, but now i think i have it narrowed down now. When i go to do:

cp/usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz

it tells me that no directory is found... or something like that...lol.

i am having fun and do have a lot of patience too, so if you could help me out some more that would rock!!!

Cheers,

rich

neo77777 05-22-2003 10:44 PM

Look to see if there are any pre-compiled kernels availabel at /usr/src/linux*/arch/boot directory, if not, you might go ahead and read up on compiling kernels and compile your own, also if you have installed kernel source than you should have the following valid tree (directory structure)/usr/src/linux
|-- Documentation
|-- arch
|-- drivers
|-- fs
|-- include
|-- init
|-- ipc
|-- kernel
|-- lib
|-- mm
|-- net
|`-- scripts
|-- config
so in config directory you should have pre-configured configure files just copy one of them that you know is relevent to your arch and processor to the /usr/src/linux directory as .config
example
cd /usr/src/linux/config
cp configure-athlon-kernel.version ../.config
and then follow the steps on compiling your own kernel outlined in tldp.org kernel-HOWTO

muppetwagon 05-31-2003 09:11 PM

ok ill take a look! Been buissy fraggen on Urban Terror, as my clan wanted to know where i went...heehe. Yeah I had to reload windows and i partitioned a good chunk (20 gigs) for Mandrake 9.1 and am still messing around.

Thanks for the help and i will keep ya posted on the progress.


Cheers,

Rich

fancypiper 05-31-2003 10:06 PM

# Mandrake links
Mandrake home page
Mandrake Users website
Easy software management: Red Carpet
Maximum RPM
rpmfind
You didn't install the developmental packages? As root, command:
urpmi gcc

muppetwagon 06-09-2003 04:13 PM

it says that everything is installed

????:newbie:
:scratch:

fancypiper 06-09-2003 04:29 PM

The kernel source code is located:

/usr/src/linux-<version number>

That should match your running kernel

# Find running kernel version
uname -r

To compile programs, they expect to find a symbolic link with the name /usr/src/linux that points to /usr/src/linux-<version number>

You need to tell us if you have that.

If you haven't installed the kernel source, as root command:

urpmi kernel-source

muppetwagon 06-10-2003 12:47 PM

linux1 linux-2.4.20 linux-2.4.21-0.13mdk
linux-2.4.0.tar.gz linux-2.4.20.tar.bz2 RPM
[root@localhost src]#


that is what is in the dir and please dont ask why i have 2.4.20 when i am running 2.4.21-0.13mdk
[root@localhost src]#
:newbie:

yeah dont mind the mess up top, i was just trying to use the all to many helpfull how to's for kernel compiling, so i might be able to learn the kernel woas.

[root@localhost muppet]# urpmi kernel-source
Everything already installed
[root@localhost muppet]#


so i still need to figure out how to get this darn sound card working, as it has been four days since i heard sound from my computer speakers...hehehe!

fancypiper 06-10-2003 01:37 PM

Something looks strange with that output. :confused:

It is hard to read the output when you don't paste it into the code tags like this
Code:

[phil@uilleann phil]$ uname -r
2.4.18-3
[phil@uilleann phil]$

Can you tell what is what in your directory? If not, try some of these flags with ls:
Code:

[phil@uilleann phil]$ su -
Password:
[root@uilleann root]# cd /usr/src
[root@uilleann src]# ls -c
linux-2.4  linux-2.4.18-3  redhat
[root@uilleann src]# ls -l
total 2
lrwxrwxrwx    1 root    root          14 Jun  4 12:11 linux-2.4 -> linux-2.4.1
8-3
drwxr-xr-x  16 root    root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root    root          168 Jun  4 12:08 redhat
[root@uilleann src]# ln -s linux-2.4.18-3 linux
[root@uilleann src]# ls -l
total 2
lrwxrwxrwx    1 root    root          14 Jun 10 14:41 linux -> linux-2.4.18-3
lrwxrwxrwx    1 root    root          14 Jun  4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x  16 root    root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root    root          168 Jun  4 12:08 redhat
[root@uilleann src]#

Those were the color flag and the long listing flag. You should be able to tell what is a directory, what is a file, and what is a link with one or both of those flags.

I didn't have the /usr/src/linux symbolic link, so I made it. Now my driver should compile OK.

HTH

fancypiper 06-10-2003 01:52 PM

If you don't already have it installed, install Midnight Commander by commanding:
urpmi mc. Then command mc and you have a nice file browser/editor/lots of other tools all in one nice package similar to the old Norton Commander for Windows.


All times are GMT -5. The time now is 04:33 AM.