LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 11-15-2006, 05:06 PM   #1
adam_blackice
Member
 
Registered: Apr 2006
Location: /*Egypt */ //cairo
Distribution: Ubuntu 7.04 , SLED 10 , Fedora , RHEL 5
Posts: 312

Rep: Reputation: 32
how can i update kernel


hello all ;

iam useni suse linux enterprise desktop distribution and i want to updat kernel how can i do this and i will br thankful .
 
Old 11-15-2006, 05:20 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Build 2.4 kernel or 2.6 kernel?

Brian
 
Old 11-15-2006, 06:02 PM   #3
adam_blackice
Member
 
Registered: Apr 2006
Location: /*Egypt */ //cairo
Distribution: Ubuntu 7.04 , SLED 10 , Fedora , RHEL 5
Posts: 312

Original Poster
Rep: Reputation: 32
thanx seniro brian

when am runinng command uname -a i found that i using 2.6.16.21-0.8-smp #1 SMP and i want to update kernel to the last version

cuz i have aproblem with sound on linux i download the last vrsion of alsa and there is any thing muted and the card working well and there isnot any sound appear am really depressed some one advise me that if i update kernel every thing will be ok cuz he had the same problem and the update solve it help me plz and if the sound problem solved i will never back to (blck box) windows and thanx
 
Old 11-15-2006, 06:24 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
1. Download the latest stable kernel from http://www.kernel.org
2. Extract it and place in /usr/src
3. Now I will use the following kernel version as example in the commands 2.6.18.
4. Now open a terminal console.
5. Change to usr/src directory ' cd /usr/src '
6. Create softlink ' ln -s /usr/src/linux-2.6.18 /usr/src/linux '
7. Change to new linux ' cd /usr/src/linux '
8. Now run the command ' make oldconfig ' to help build a .config based on current kernel.
9. Now you can run one follow commands to open a config tool. Some may not work depending on what is installed but only one is needed. Select either ' make xconfig ' , ' make gconfig ' , or ' make config '
10. Modify any thing that may be needed and Save then Exit.
11. Run ' make ' to build the kernel and modules
12. Run ' make modules_install ' to install modules to /lib/modules
13. Run ' make install ' to add to grub menu.
Reboot

Brian
 
Old 11-15-2006, 06:43 PM   #5
adam_blackice
Member
 
Registered: Apr 2006
Location: /*Egypt */ //cairo
Distribution: Ubuntu 7.04 , SLED 10 , Fedora , RHEL 5
Posts: 312

Original Poster
Rep: Reputation: 32
thanx alot for the fast support and when i made 6. Create softlink ' ln -s /usr/src/linux-2.6.18 /usr/src/linux '
7. Change to new linux ' cd /usr/src/linux ' and i do the following


linux-55ml:/usr/src # ln -s /usr/src/patch-2.6.18 /usr/src/patch
linux-55ml:/usr/src # ls
linux-2.6.16.21-0.8-obj packages patch patch-2.6.18.2
linux-55ml:/usr/src # cd patch
-bash: cd: patch: No such file or directory

the file path in the shell is highlighted with red and on the gui it seems to be locked !!!!
what i the problem and thanx alot again
 
Old 11-15-2006, 07:18 PM   #6
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Patch 2.6.18.2 will only work on 2.6.18 or 2.6.18.1. It is used to modify current 2.6.18 level to current without downloading the full source each time. You need to download the full source file about 50meg in size depending on whether you get the bz2 or gz. Both the same just compressed differently.

Brian
 
Old 11-16-2006, 09:04 AM   #7
adam_blackice
Member
 
Registered: Apr 2006
Location: /*Egypt */ //cairo
Distribution: Ubuntu 7.04 , SLED 10 , Fedora , RHEL 5
Posts: 312

Original Poster
Rep: Reputation: 32
sinor brian thank you for your support that makes me comfortable with open source communities plz can u give me adirect link for the new kernel cuz most of he links were dumped and thanx again
 
Old 11-16-2006, 03:51 PM   #8
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
If you goto http://www.kernel.org it will list kernel 2.6.18.2. Hit the F link to the right of the name. It is a link to download the full source.

Brian
 
Old 11-16-2006, 05:51 PM   #9
adam_blackice
Member
 
Registered: Apr 2006
Location: /*Egypt */ //cairo
Distribution: Ubuntu 7.04 , SLED 10 , Fedora , RHEL 5
Posts: 312

Original Poster
Rep: Reputation: 32
thanx thanx and thanx you are the man

Last edited by adam_blackice; 11-16-2006 at 05:55 PM.
 
Old 11-17-2006, 05:41 PM   #10
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Glad to be of help.

Brian
 
Old 11-18-2006, 01:46 PM   #11
adam_blackice
Member
 
Registered: Apr 2006
Location: /*Egypt */ //cairo
Distribution: Ubuntu 7.04 , SLED 10 , Fedora , RHEL 5
Posts: 312

Original Poster
Rep: Reputation: 32
mr brain

when i run make i get this output
linux-55ml:/usr/src/linux # make
scripts/kconfig/conf -s arch/i386/Kconfig
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CHK include/linux/compile.h
GZIP kernel/config_data.gz
IKCFG kernel/config_data.h
CC kernel/configs.o
LD kernel/built-in.o
drivers/media/dvb/ttpci/fdump "/usr/lib/hotplug/firmware/dvb-ttpci-01.fw" dvb_ttpci_fw drivers/media/dvb/ttpci/av7110_firm.h
firmware file '/usr/lib/hotplug/firmware/dvb-ttpci-01.fw' not found
make[4]: *** [drivers/media/dvb/ttpci/av7110_firm.h] Error 255
make[3]: *** [drivers/media/dvb/ttpci] Error 2
make[2]: *** [drivers/media/dvb] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2

=====================================================================================

and for make install i got this

linux-55ml:/usr/src/linux # make install
sh /usr/src/linux-2.6.18.2/arch/i386/boot/install.sh 2.6.18.2-smp arch/i386/boot/bzImage System.map "/boot"

*** Missing file: arch/i386/boot/bzImage
*** You need to run "make" before "make install".

make[1]: *** [install] Error 1


 
  


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
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Software 4 05-06-2007 10:27 AM
Latest Suse "YOU" update....Linux Kernel Update Failed Balarabay1 SUSE / openSUSE 10 06-11-2006 09:07 PM
YaST Online Update(YOU) Kernel Update? batorma Linux - Newbie 9 10-30-2005 03:17 AM
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Distributions 0 10-13-2004 11:01 AM
KDE update and RH 9.0 Kernel update massacre Linux - Newbie 1 02-02-2004 06:13 PM

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

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