Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Other Distributions > Centos 5.3 driver update

Forgot Password?
 Other Distributions   Post questions about distributions that do not have their own forums in here

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 07-12-2009   #11 (permalink)
Just Joined!
 
Join Date: Jul 2009
Location: Ansager, Denmark
Posts: 26
Send a message via ICQ to Sovetryne
That's right, unless you want to install the machine But in this fase, I am just testing to find a driver that suits to this system, so in this case I could use SSH. But thanks for the side note
Sovetryne is offline  


Reply With Quote
Old 07-12-2009   #12 (permalink)
Linux User
 
Join Date: Jun 2008
Location: Acadiana
Posts: 334
Off topic
Well, to tell you the truth the only Linux I use is Gentoo. And installing Gentoo requires boot up with some Linux CD (GRML works fine for me) and from there SSH will do. No display needed.
Segfault is offline   Reply With Quote
Old 07-13-2009   #13 (permalink)
Just Joined!
 
Join Date: Jul 2009
Location: Ansager, Denmark
Posts: 26
Send a message via ICQ to Sovetryne
Quote:
Originally Posted by Segfault View Post
Off topic
Well, to tell you the truth the only Linux I use is Gentoo. And installing Gentoo requires boot up with some Linux CD (GRML works fine for me) and from there SSH will do. No display needed.
[OFFTOPIC]
Nice That
would be perfect if Digium would make such a distribution with Asterisk, but unfortunately, I am not in that position

Albert
[/OFFTOPIC]
Sovetryne is offline   Reply With Quote
Old 07-13-2009   #14 (permalink)
Just Joined!
 
Join Date: Jul 2009
Location: Ansager, Denmark
Posts: 26
Send a message via ICQ to Sovetryne
Quote:
Originally Posted by Segfault View Post
That's OK ! However, the very first step to become a guru is to provide more information. Make helping you easier for us! I'm not going to recite everything written is this great source, do you mind looking at it?
How To Ask Questions The Smart Way
I can tell you from experience, all this is damn true.
I'm sure we can solve your problem.
I know! My problem is: I solve almost every problem on Windows machines, that's my daily bread: I assist computer users who cannot install their router, who have f*cked up at printer installation and who are trying to get rid of a spyware. Most of them tell me the what they THINK is right, but have not any clue on what the difference is between a harddisk and a tower: "Do you take the harddisk with you?" "Yes, and everything else in the tower too".
So I know what you mean with "How To Ask Questions The Smart Way" - my customers don't.
And well - it's hard for me to admit, that I am not having any knowledge at all to what I am doing now, although it's all computer I am dealing with... I should stop sounding cool and smart.

OK, I will supply more information as soon as I can! Guess that will be later today.
Sovetryne is offline   Reply With Quote
Old 07-13-2009   #15 (permalink)
Just Joined!
 
Join Date: Jul 2009
Location: Ansager, Denmark
Posts: 26
Send a message via ICQ to Sovetryne
Quote:
Originally Posted by Segfault View Post
Welcome Sovetryne!
At which point you get stuck?
Following the README:
Quote:
1.) Please ensure cc, the source compiler , version is above 3 by issuing Linux command :
# gcc -v
If you do not install the compiler, you will not be able to built Promise driver.
I write gcc -v at the CLI
There appears a lot on the screen, starting with "Using built-in specs" and ends with "gcc version 4.1.2. 20080704 (Red Hat 4.1.2-44)"

Then:
Quote:
2.) Please ensure linux kernel source directory is "/usr/src/linux".
For SuSE EL9 platform, it always release its kernel source in /usr/src/linux-2.6.7-97.
Please make a link to the appropriate directory, for example:
# ln -s /usr/src/linux-2.6.7-97 /usr/src/linux

For RHEL4 platform, it always release its kernel source in /usr/src/kernels/2.6.9-5.EL.??? which ??? means various kernel images.
And now I need to know where my kernel is placed. I tried looking /usr/src, but I don't know how I can recognize a kernel. If this was Windows - then I could recognize a bit more (read: the entire list of files), but on Linux, it is just like somebody is speaking Swahili to me.

While I don't know where my kernel is placed, I cannot make a link called /usr/src/linux

I tried googling to find out if there was a command to determine where the kernel is located, but I couldn't find such a command.

This is where I got stuck.
Sovetryne is offline   Reply With Quote
Old 07-13-2009   #16 (permalink)
Linux User
 
Join Date: Jun 2008
Location: Acadiana
Posts: 334
Hmmm ... chances are you do not have sources installed, what is the output of
ls -l /usr/src
Code:
$ ls -l /usr/src/
total 8
lrwxrwxrwx  1 root root   22 2009-06-16 15:39 linux -> linux-2.6.29-gentoo-r5
drwxr-xr-x 23 root root 4096 2009-07-12 14:10 linux-2.6.29-gentoo-r5
drwxr-xr-x 22 root root 4096 2009-07-11 12:29 linux-2.6.30-gentoo-r2
This is mine. I have sources af two kernel versions installed, as you can see. The one symlink points on is in use.

EDIT: Forgot to tell you. You need configured sources for your actual kernel to build the driver successfully. Not sure how you get these in Red Hat. In Gentoo it's other way around. You get the sources first, build your kernel and install it.
Segfault is offline   Reply With Quote
Old 07-13-2009   #17 (permalink)
Just Joined!
 
Join Date: Jul 2009
Location: Ansager, Denmark
Posts: 26
Send a message via ICQ to Sovetryne
Quote:
Originally Posted by Segfault View Post
Hmmm ... chances are you do not have sources installed, what is the output of
ls -l /usr/src
total 16
drwxr-xr-x 7 root root 4096 Jul 10 20:47 freepbx-2.5.1
lrwxrwxrwx 1 root root 8 Jul 13 22:01 linux ->/src/bin (blinking in red box with white text)
drwxr-xr-x 7 root root 4096 Jul 11 15:55 redhat

Quote:
Originally Posted by Segfault View Post
Code:
$ ls -l /usr/src/
total 8
lrwxrwxrwx  1 root root   22 2009-06-16 15:39 linux -> linux-2.6.29-gentoo-r5
drwxr-xr-x 23 root root 4096 2009-07-12 14:10 linux-2.6.29-gentoo-r5
drwxr-xr-x 22 root root 4096 2009-07-11 12:29 linux-2.6.30-gentoo-r2
This is mine. I have sources af two kernel versions installed, as you can see. The one symlink points on is in use.

EDIT: Forgot to tell you. You need configured sources for your actual kernel to build the driver successfully. Not sure how you get these in Red Hat. In Gentoo it's other way around. You get the sources first, build your kernel and install it.
Well, I guess, that once I've located the kernel, I can follow the readme, can't I?
Sovetryne is offline   Reply With Quote
Old 07-13-2009   #18 (permalink)
Linux User
 
Join Date: Jun 2008
Location: Acadiana
Posts: 334
Yep. I'm sure there is a procedure for RH to get sources for your existing kernel installed. I just don't know how.
For sake of preciseness. We know where your kernel is, we are looking for configured sources.
Segfault is offline   Reply With Quote
Old 07-13-2009   #19 (permalink)
Just Joined!
 
Join Date: Jul 2009
Location: Ansager, Denmark
Posts: 26
Send a message via ICQ to Sovetryne
Quote:
Originally Posted by Segfault View Post
Yep. I'm sure there is a procedure for RH to get sources for your existing kernel installed. I just don't know how.
For sake of preciseness. We know where your kernel is, we are looking for configured sources.
OK, haha. Well, at least you know where my kernel is, I still don't know, but that's because I don't know how a kernel looks like.
I found a directory called /lib/modules which contains two subdirectories: 2.6.18-128.1.16.el5 and 2.6.18-128.1.1.el5
So I made a link to the 1.16-directory, but a make clean didn't work out; /usr/src/linux/.config: no such file or directory.
So I tried a locate .config, but that didn't make sence at all...

I am only trying - perhaps doing a lot of irrelevant things. I am still hoping you can help me...
Sovetryne is offline   Reply With Quote
Old 07-13-2009   #20 (permalink)
Just Joined!
 
Join Date: Jul 2009
Location: Ansager, Denmark
Posts: 26
Send a message via ICQ to Sovetryne
Quote:
Originally Posted by Sovetryne View Post
I am only trying - perhaps doing a lot of irrelevant things. I am still hoping you can help me...
In /usr/src/redhat is a directory called SOURCES. Would that help?
Sovetryne is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 02:21 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2