LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-01-2006, 07:10 AM   #1
tikliang
LQ Newbie
 
Registered: May 2006
Posts: 6

Rep: Reputation: 0
Upgrading Kernel


I'm lost now.I hope some of you here can help me.I installed Red Hat Enterprise(kernel version:2.6.9.8)few weeks ago. Everything work well including the USB drive. But after i upgrade the kernel to 2.6.16.18,my USB start to have problem.My pen drive couldn't be loaded.
Here is the procedures i had gone through:-

$cd /usr/src
$tar -jxvf linux-2.6.16.18.tar.bz2
$make menuconfig

in the menu,i choose everything related to USB.

$make bzImage
$make modules
$make modules install
$make install

Lastly,i copy the bzImage file to the boot folder.


Am i doing the right thing?Do i need to do some configuration to the USB or anything else?


THe purpose of upgrading the kernel is bacause i want to install the intel e1000 driver. The installation for driver was successful. But somehow, the network connection was just fail to work. The hardware that is the Intel ESB2 Gilgal network card can be detected but when i activate it,an error come out:


e1000 eth0 device is not exist

I simply don't know why.I hope you all can help me.And since this is the first time i write in this forum,i hope you all would assist me and give me some comments if my explaination is not clear enough.Thanks everyone.
 
Old 06-01-2006, 08:05 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Hint:

Whatever software you install on your own - do read README file included. The set of commands you used is not a proper way to build and install a 2.6 kernel.
 
Old 06-01-2006, 09:05 AM   #3
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
Those steps are correct, though running make install isn't recommended. Run uname -a to see what kernel you're running. Is that hardware built into the kernel or are they modules? If they are modules run lsmod to see if they're loaded. If not, run modprobe yourmodule to load them or add them to your module.conf file in /etc; I think that's what it is in RH. Also, what does dmesg | grep eth say?

Last edited by Linux~Powered; 06-01-2006 at 09:07 AM.
 
Old 06-01-2006, 09:25 AM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Correct steps to build a 2.6 kernel:
1. make
2. make modules_install

Linux~Powered, are you saying "make modules install" is equal to "make modules_install"? I'd say it rather makes modules and installs kernel (but not modules).
 
Old 06-01-2006, 09:36 AM   #5
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
Oops! I missed that. Thanks for pointing that one out. If that was a typo on his part then yeah, those are the right steps. Though the make install is iffy. It's better to copy the kernel to /boot yourself.
 
Old 06-01-2006, 10:14 AM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
It sounds like you did not select the support for the particular type of ethernet card that you have.

One "cheap trick" way to do it is to boot up any sort of stand-alone Linux CD, such as Red Hat's own installer-disk or Knoppix. Now, do lsmod to see what device-driver modules have been loaded. That list should include what will work properly for your hardware.

Your basic procedure for building a kernel is correct...

In a nutshell, the procedure is this:

(1) The various make xxxconfig procedures create a list of option-flags that are used when compiling the kernel source-code.

(2) The make steps actually compile that source-code, build it into a kernel-image (and a set of modules), and compress the kernel-image. If an initial-ramdisk is needed, that is built.

(3) make install puts the compressed kernel-image and related files onto /boot, and may also update the boot-loader files for GRUB or LILO. If there is an initial-ramdisk, that's loaded too.

When you booted the new kernel, it scans the hardware and looks for device-drivers that know how to handle each device. If it can't, that device is ignored .. and that's what happened to your ethernet device.
 
Old 06-01-2006, 01:34 PM   #7
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Ping: tikliang

Please see my reply to your other thread on this subject, you forgot something very important.

http://www.linuxquestions.org/questi...d.php?t=450519
 
Old 06-06-2006, 05:55 AM   #8
tikliang
LQ Newbie
 
Registered: May 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Dear everyone,

First of all,i apologize for not posting and replying for these four days.I had three days off because of the weekend and one extra public holiday in my country.Since then i was unable to carry out my project in my lab.I really appreciate you all efforts to help me in upgrading the kernel.Zillion thanks to you all.

Today i try to troubleshoot the problems,but my efforts are not paid.I upgrated my old kernel,2.6.9.8 to 2.6.15.I did follow you all advices to upgrade the kernel and the new kernel starts well.No problem on that.

However i have two problems here.First,my network adapter is not working and my pen drive cannot be detected.

My network adapter is a dual-port 10-Gigabit Ethernet built-in adapter.To make it works,i installed Intel e1000 driver and the installation of this driver was successful.However in the end,the network adapter fails to work.

I did type this command dmesg | grep eth after upgrading the kernel,but it comes up with nothing.And also i did type modprobe e1000 ,but still it cant work.

The good news is Kudzu can detect the network adapter and i did configured the ip address for it.But whenever i try to bring the network up,it comes out with an error as below:

The e1000 eth0 does not seems to be exist


To make the matters worst,my pen drive is not working too in the new kernel.it works in the old kernel but not in the new kernel.

Is that because of my configuration during the kernel upgrading process that make these problems exist?what are the important configurations that i should choose in order to solve the problem.Or doest it caused by other factor?I hope you all could help me.
 
Old 06-06-2006, 06:00 AM   #9
tikliang
LQ Newbie
 
Registered: May 2006
Posts: 6

Original Poster
Rep: Reputation: 0
dear administrator,

I'm sorry for my mistake where i posted my entries in two threads.I sincerely apologized for that.I would not repeat it in future.Thanks.
 
Old 06-06-2006, 08:09 AM   #10
ghatamos
Member
 
Registered: Nov 2003
Posts: 35

Rep: Reputation: 15
I found this link to be very helpful to me when I was installing a new kernel to my FC2 and RedHat 9, maybe they will be helpful to you too.

I would suggest that you do not skip and of the steps that were recommended.

http://www.mjmwired.net/resources/mjm-notes-fc2.html

Also for your networking problem, you can type "neat" on your console and see if eth0 is activated.

Sometimes I do not see kudzu doing its job, so I manually link my hardware to my driver in that utility.

You might also want to try running neat in X since that gui is better there.
 
Old 06-07-2006, 05:34 AM   #11
tikliang
LQ Newbie
 
Registered: May 2006
Posts: 6

Original Poster
Rep: Reputation: 0
This is the error message that i found when i type the dmesg command.It is regarding to the e1000 driver that i installed for the gigabit ethernet card.

EEPROM Checksum Is Not Valid
e1000: probe of 0000:00:10.0 failed with error -5


And regarding the pen drive problem, i had manage to solve it already.The pen drive could be detected now.


I hope you guys can give me some guidances on this.I'm really lost of idea now.
 
  


Reply



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
upgrading kernel vohra27 Linux - Newbie 17 05-28-2006 08:32 AM
Upgrading my Kernel Paulsuk Linux From Scratch 2 01-25-2006 10:05 AM
problems occured after upgrading kernel and kernel-utils parv Fedora 0 05-02-2005 06:21 PM
Upgrading kernel on Debian from 2.4 to 2.6.8, Kernel Panic omlette Linux - General 3 03-07-2005 07:00 AM
upgrading kernel from 2.4.20-8 to 2.6.4 mandelchan Linux - Laptop and Netbook 3 04-21-2004 12:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:20 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