LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   how can i update kernel (https://www.linuxquestions.org/questions/linux-kernel-70/how-can-i-update-kernel-501973/)

adam_blackice 11-15-2006 05:06 PM

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 .

Brian1 11-15-2006 05:20 PM

Build 2.4 kernel or 2.6 kernel?

Brian

adam_blackice 11-15-2006 06:02 PM

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

Brian1 11-15-2006 06:24 PM

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

adam_blackice 11-15-2006 06:43 PM

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

Brian1 11-15-2006 07:18 PM

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

adam_blackice 11-16-2006 09:04 AM

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

Brian1 11-16-2006 03:51 PM

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

adam_blackice 11-16-2006 05:51 PM

thanx thanx and thanx you are the man :)

Brian1 11-17-2006 05:41 PM

Glad to be of help.

Brian

adam_blackice 11-18-2006 01:46 PM

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


:(


All times are GMT -5. The time now is 10:16 AM.