LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-25-2003, 02:58 AM   #1
TI83
LQ Newbie
 
Registered: Sep 2003
Location: Kristiansand, Norway
Distribution: Red Hat 9
Posts: 8

Rep: Reputation: 0
Unhappy Error msg help


I am trying to install a driver for my network card in red hat 9. When I use the command make linux gives me the error msg "Linux kernel source tree not found" What does it mean? How do I solve it?

thnx
 
Old 09-25-2003, 03:20 AM   #2
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
You may want to install the kernel source?
 
Old 09-25-2003, 03:21 AM   #3
TI83
LQ Newbie
 
Registered: Sep 2003
Location: Kristiansand, Norway
Distribution: Red Hat 9
Posts: 8

Original Poster
Rep: Reputation: 0
thnx, but how do I do that?

Last edited by TI83; 09-25-2003 at 03:24 AM.
 
Old 09-25-2003, 03:24 AM   #4
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
Well, it comes with the linux distro usually. Not usually installed by default.

Try you install CD's'
 
Old 09-25-2003, 03:28 AM   #5
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
more specifically:

bash$ su - root
bash# cd /mnt/cdrom/RedHat/RPMS
bash# rpm -i kernel-headers*.rpm
bash# rpm -i kernel-sources*.rpm
bash# rpm -i dev86*.rpm
bash# rpm -i bin86*.rpm
 
Old 09-25-2003, 04:05 AM   #6
TI83
LQ Newbie
 
Registered: Sep 2003
Location: Kristiansand, Norway
Distribution: Red Hat 9
Posts: 8

Original Poster
Rep: Reputation: 0
tnx again.
I did what you wrote, but I couldn't fin the package called kernel-headers*.rpm, but I installed kernel-docs.rpm, and kernel-utils.rpm.
dev86.rpm was already installed, and bin 86 wasn't there

I tried to do the make command again, an everything worked fine, but when i do the insmod command linux replies with command not found... it also responds this way when i try ifconfig.

I really hope I can get this to work, because i have to boot my XP partition every time I want to access the internet...
 
Old 09-25-2003, 04:10 AM   #7
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
Woops

Try:

/sbin/insmod
/sbin/ifconfig

You may need to adjust your $PATH
 
Old 09-25-2003, 04:37 AM   #8
TI83
LQ Newbie
 
Registered: Sep 2003
Location: Kristiansand, Norway
Distribution: Red Hat 9
Posts: 8

Original Poster
Rep: Reputation: 0
ok...

when I booted linux this time, it found my netcard when it looked for new hardware, that means that the driver i correctly installed, right?

but when linux, (and I) tried to activate it, linux tells me that "bcm4400 device eth1 does not seem to be present, delaying initialization"

by the way, insmod and ifconfig worked when i trried what you wrote, i assume that if I adjust my $PATH it will work anyway, so how do I do that?
 
Old 09-25-2003, 04:52 AM   #9
Lordendu
LQ Newbie
 
Registered: Aug 2003
Posts: 18

Rep: Reputation: 0
ok Im pretty new to linux so far i have spent a month of 4hr sleep nights...lol. Well I was using RH 8.0 with kernel 2.4.18-8-14. I have a Epox 8dra+ MB. I got all the nforce drivers, everything worked, with the exeption of the agpgart. Nvidia sent out a patch which i installed but it worked only with 2.4.20-20.8. After I updated kernels from RH to the 2.4.20, nic, audio quit, couldnt run under that kernel and Nvidia only provided drivers for 2.4.19.

Seeing some good things about SuSE I bought 8.2. WoW kernel 2.4.20-SuSE everything worked out of box, very happy. (so i thought) Finding that SuSE did not include the kernel src, I downloaded it from there site installed the rpm and bamo. Now out of box the kernel see the ide nvidia controlers and such, but no agpgart. I applied the patch from nvidia and started my xconfig.

I went to where u find agpgart support and selected Y for Nforce chipset support. Agpgart was already at Y. I exited and did a

make dep
-then
make install

I use Grub boot I got errors for lilo though. it made a vmlinuz file
but when i reseted it made my kernel panic.

What did i do wrong, and how can i fix it?

please
Woody
 
Old 09-25-2003, 06:10 AM   #10
TI83
LQ Newbie
 
Registered: Sep 2003
Location: Kristiansand, Norway
Distribution: Red Hat 9
Posts: 8

Original Poster
Rep: Reputation: 0
I made it at last!!

I think my problem in the end was that i had tried to install my NIC as another card on eth0, and installed my new driver as eth1... When I deleted them both, and installed the new driver as eth 0 everything worked fine!!

anyway, this guy has written step by step the way to solve it with broadcom cards!
 
Old 09-25-2003, 03:02 PM   #11
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
To add to your path, execute this command or add this command to you .bash_profile or .profile or whatever shell you are using. (The command may vary on different shells)

export PATH=$PATH:/sbin/

This will create $PATH as your current $PATH and add ":/sbin" to the end.

Lordendu: You may want to start a new thread!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error msg on icewm harlemno1 Linux - Software 2 11-23-2004 11:26 PM
Fedora GONE error msg treotan Fedora 1 09-13-2004 11:34 AM
Sound Error FC2 2.6.5 error msg inside xemous Linux - Hardware 0 06-19-2004 10:15 PM
slooze error: validateInputs(); $msg = $mySlooze->renderPage($vars); echo $msg; ?> rioguia Linux - Software 0 01-26-2003 08:59 PM
Error msg ripryda Linux - Newbie 5 07-20-2002 12:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration