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 08-31-2005, 06:12 PM   #1
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Rep: Reputation: 35
most painless way to upgrade the kernel?


Hi. i've had bad luck with compiling my own kernels before. Im having issues with the computer freezing at select times and want to upgrade the kernel to see if the problem exist. What is the least painful way to do so? Patching? It isn't anyhing yum could be used for right?
 
Old 08-31-2005, 06:20 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
standard kernels should be able to be updated via yum or apt-get. Naturally there actually needs to be a precompiled kernel built and distributed already...
 
Old 08-31-2005, 06:21 PM   #3
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
You could use Yum to do this, most distribution provide packages of some generic binary kernel. Try to upgrade "linux-kernel" or something equivalent
 
Old 08-31-2005, 06:31 PM   #4
yowi
Member
 
Registered: Dec 2002
Location: Au
Distribution: Debian
Posts: 209

Rep: Reputation: 55
Why do you think it's a software problem?
can you ssh to the system after it has "frozen"?
does it respond to ctrl-alt-backspace/ctrl-alt-delete?
the magic sys-req keys are really handy here if your kernel has them enabled.
what's in the logs?
does it have similar problems under XP?
All the low level problems (ie kernel no longer responding) that i have run into have turned out to be hardware issues.
At this point I doubt a kernel upgrade is going to help, do some troubleshooting/analysis first.
Good luck....
 
Old 08-31-2005, 06:38 PM   #5
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
Quote:
Originally posted by yowi
Why do you think it's a software problem?
can you ssh to the system after it has "frozen"?
does it respond to ctrl-alt-backspace/ctrl-alt-delete?
the magic sys-req keys are really handy here if your kernel has them enabled.
what's in the logs?
does it have similar problems under XP?
All the low level problems (ie kernel no longer responding) that i have run into have turned out to be hardware issues.
At this point I doubt a kernel upgrade is going to help, do some troubleshooting/analysis first.
Good luck....
i've been trying to troubleshoot and analyize for the past week. I haven't used ssh - familar with it but haven't used it. Can you install it on windows? The only other box in the house is windows. no response to crt-alt-del/backspace. i don't know what the sys-req keys are. i can't remember what was in the logs when it happens. don't have xp installed on this box - isnt dual boot. here is when it has froze up. i can reproduce the problem
1. ripping with grip
2. encoding a movie with tovid
3. had system on while i was at work and came home and the screensaver was froze.

checked bugzilla and didn't find any freezing that occured similar to my situations.
 
Old 09-01-2005, 08:39 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
Sounds like an X-windows issue to me, not the kernel ... Maybe the (X..) video driver...
 
Old 09-01-2005, 09:37 AM   #7
yowi
Member
 
Registered: Dec 2002
Location: Au
Distribution: Debian
Posts: 209

Rep: Reputation: 55
actually for testing, when it locks just try and ping it from another machine. Make sure your firewalls aren't blocking ICMP first and test to be sure you can ping as you'd expect.
If it pings ok when frozen then you can start pointing the finger at something in user land.
If the kernel was having problems I'd expect panic messages to console and logs.
The fact that it's crashing when you do I/O, RAM and CPU intensive work like encoding with grip and tovid leans me towards a hardware problem, probaly RAM or mobo. Have you tried memtest86? Leave it running. The only way i know to test mobo's requires surgery.
What's your spec?

Last edited by yowi; 09-01-2005 at 09:39 AM.
 
Old 09-01-2005, 11:08 AM   #8
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
what is memtest?
how can i find out my ip to ping the computer?
specs:
1.3ghz amd atholon
256 mb ram.
 
Old 09-01-2005, 06:44 PM   #9
yowi
Member
 
Registered: Dec 2002
Location: Au
Distribution: Debian
Posts: 209

Rep: Reputation: 55
Your googlefu is lacking young grasshopper.
memtest86.com is what you would've found.

ifconfig will list details on your network interfaces.
 
Old 09-01-2005, 06:57 PM   #10
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
inet addr: is the number im looking for in the output of ifconfig right?
 
Old 09-01-2005, 07:32 PM   #11
tonyfreeman
Member
 
Registered: Sep 2003
Location: Fort worth, TX
Distribution: Debian testing 64bit at home, EL5 32/64bit at work.
Posts: 196

Rep: Reputation: 30
yum

OK ... way back in there you said you used 'yum' to update software. This means you have a redhat/fedora system ... or a yellowdog system for the apple power mac.

There is a setting in the /etc/yum.conf file that prevents the kernel from being upgraded ... just comment this line out.

Code:
#exclude=kernel*
If you don't see that line in the /etc/yum.conf file, then look for it in the multitude of files in the /etc/yum.repos.d directory

Code:
#cd /etc/yum.repos.d
#grep -Hni kernel *
If you still cannot find it, then that's OK. We can go on and do the update by issuing this command as the root user:

Code:
yum update kernel
Heck you might as well update all your software:

Code:
yum update
The kernel is probably NOT freezing your system ... it's most likely some application. Updating the entire system might be a good idea in your case as the update may likely install a newer version of the application that doesn't cause problems.

-- Tony
 
Old 09-03-2005, 12:16 PM   #12
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
Quote:
Originally posted by yowi
Your googlefu is lacking young grasshopper.
memtest86.com is what you would've found.

ifconfig will list details on your network interfaces.
i tried memtest. I don't know if it stops on its own but i let it run for an hour and a half and there was no errors and it passed 4 times.
 
Old 09-03-2005, 03:25 PM   #13
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
Quote:
Originally posted by yowi
actually for testing, when it locks just try and ping it from another machine. Make sure your firewalls aren't blocking ICMP first and test to be sure you can ping as you'd expect.
If it pings ok when frozen then you can start pointing the finger at something in user land.
If the kernel was having problems I'd expect panic messages to console and logs.
The fact that it's crashing when you do I/O, RAM and CPU intensive work like encoding with grip and tovid leans me towards a hardware problem, probaly RAM or mobo. Have you tried memtest86? Leave it running. The only way i know to test mobo's requires surgery.
What's your spec?
how can i be sure it is pinging my machine? do i just need the ip address or the netmask as well?
 
Old 09-05-2005, 06:06 AM   #14
yowi
Member
 
Registered: Dec 2002
Location: Au
Distribution: Debian
Posts: 209

Rep: Reputation: 55
just the ip address.
if it pings ok, but not with the network cable unplugged then you just need a crash...

Has updateing the software made any difference?

Have you checked the logs? Sift through the files in /var/log. I'm not sure how redhat organises things but they're a great place to find clues.
 
Old 09-05-2005, 08:21 AM   #15
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
Well i haven't had a problem since i updated everything doing yum update. The only thing i don't like about that is now im not certain what was causing the problem and i always like to know what was going wrong specifically if it happens again or if someone on here posted about it i could help them.
 
  


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
Kernel Audit Support Unavaible error when booting after kernel upgrade abefroman Red Hat 2 03-21-2013 08:32 AM
What first upgrade kernel or upgrade slack 10.0 to current Kelean Slackware 7 01-16-2005 06:54 PM
Kernel upgrade: Unable to handle kernel paging request deviantintegral Debian 4 07-14-2004 04:59 PM
I'm in need of a good, fast, reliable, and relatively painless distro for my aging PC johnnyblade Linux - Distributions 4 03-18-2004 06:58 PM
Painless wine install in RH 9 !!! Athlon_Jedi Linux - Software 2 05-21-2003 05:48 PM

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

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