LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-01-2015, 07:17 PM   #1
browny_amiga
Member
 
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu, Debian Buster Stable, Windoze 7
Posts: 653

Rep: Reputation: 46
Red face Kernel Panic on Lenovo T61 with Debian 8 (stable)


Hi,

I'm having the strangest of problems: Kernel panics with Debian 8 Jessie (stable). A thing that after about 10 years of using Linux has never happened to me.
This is a Lenovo T61 Laptop that I have been running Linux on for years (Debian 7 and 6 before that), without ever having a panic that I remember.
Now when I use the system, with Gnome or KDE, after a while (it feels when I have a lot of windows open), the mouse pointer locks up, freezes and then the system hangs for around 10 seconds and then just restarts. The logs show absolutely nothing, so I don't even know if this is a panic, but I would assume so.

The first thing I want to do is to stop it from restarting and actually display the error, the panic, so I can start to troubleshoot it.
Then I need to find out how to do a memory dump for submitting a bug report.

I have never done this before (or had to do this), and this is a work laptop, a productive system, which makes crashes like this totally unacceptable.
I might have to downgrade to Debian 7 if I can't fix it.

My suspicion so far is the nouveau graphics card driver.
lspci reports: NVIDIA Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro] (rev 15)
I used to use the proprietary driver under Debian 7 and it ran like a pig, was so terribly slow and laggy. But it was rock stable.
Now the nouveau driver under Debian 8 gives me stellar performance and finally makes me appreciate this GPU, BUT it is crashing nonstop now and I suspect that it is the driver.
 
Old 12-01-2015, 10:52 PM   #2
TxLonghorn
Member
 
Registered: Feb 2004
Location: Austin Texas
Distribution: Mandrake 9.2
Posts: 702

Rep: Reputation: 231Reputation: 231Reputation: 231
The first things I would suspect:
The cpu could be overheating.
The power supply could be failing.
Memory modules could be going bad.

Start monitoring your cpu temperatures.
Run a memory check.
CLEAN inside the computer case.
 
Old 12-02-2015, 05:44 PM   #3
browny_amiga
Member
 
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu, Debian Buster Stable, Windoze 7
Posts: 653

Original Poster
Rep: Reputation: 46
Quote:
Originally Posted by browny_amiga View Post
Hi,

I'm having the strangest of problems: Kernel panics with Debian 8 Jessie (stable). A thing that after about 10 years of using Linux has never happened to me.
This is a Lenovo T61 Laptop that I have been running Linux on for years (Debian 7 and 6 before that), without ever having a panic that I remember.
Hmm, you did not seem to read my post entirely (see above). This is a laptop, so no powersupply issue (running on battery, having the PSU as a backup), CPU gets trottled down, in case it gets to hot, so no danger of it overheating, RAM works fine and most importantly, this laptop has been working perfect since 2008, no panics, no problem, no crashes and I constantly loaded the RAM with Debian 7, so no RAM problems neither, but NOW that I installed Debian 8, I got this problem. So it is clearly a software issue, that much is certain.
 
Old 12-02-2015, 07:45 PM   #4
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, Arch, Void
Posts: 3,506

Rep: Reputation: 1160Reputation: 1160Reputation: 1160Reputation: 1160Reputation: 1160Reputation: 1160Reputation: 1160Reputation: 1160Reputation: 1160
First thing I'd suspect is bad sectors on the hard drive causing the kernel to not be able to read necessary files. Does it have the bios diagnostics?
 
Old 12-02-2015, 08:03 PM   #5
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,317

Rep: Reputation: Disabled
Will it act up when booted from USB, SystemrescueCD for instance? You can also run badblocks and fsck from USB.
 
Old 12-02-2015, 08:33 PM   #6
browny_amiga
Member
 
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu, Debian Buster Stable, Windoze 7
Posts: 653

Original Poster
Rep: Reputation: 46
This system worked 100 reliable for years, every day, and I ran Debian 7 on it just last week, I work with this laptop every day and it worked, no problem. So this is not hardware related at all, I'm 100% sure of this, this is not the first time I would be troubleshooting hardware, I'm quite experienced with it. I ran a RAM test for 5 hours and before installing the new OS, came back clear, I did a format on the HD (a SSD) with checking for bad blocks, as a precautionary measure, all came back negative.
But one way or another, I need to look at the kernel panic message, what does it show? What part of the kernel caused it?
I remember Linux used to display it, like a Windows Bluescreen, but it does not anymore. How can I switch this on?
Without this data, troubleshooting doesn't have a good chance of success.
 
Old 12-02-2015, 09:46 PM   #7
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,317

Rep: Reputation: Disabled
If you keep tail -f /var/log/messages running in a foreground terminal window ... maybe you can see some clues.
 
Old 12-03-2015, 02:25 PM   #8
browny_amiga
Member
 
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu, Debian Buster Stable, Windoze 7
Posts: 653

Original Poster
Rep: Reputation: 46
Quote:
Originally Posted by Emerson View Post
If you keep tail -f /var/log/messages running in a foreground terminal window ... maybe you can see some clues.
Hmm, that's something to try.
Thanks for the tip.
 
Old 12-03-2015, 02:51 PM   #9
browny_amiga
Member
 
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu, Debian Buster Stable, Windoze 7
Posts: 653

Original Poster
Rep: Reputation: 46
Is there a mechanism in Linux to note a crash like this? Where the system notifies the user that there has been a kernel panic and that the system restarted? So far I have not seen a thing and the log does not show anything, not even a mention of a panic, which sounds a little criminal to me:
You might have a server that crashes, restarts automatically and you just have data loss and nobody will ever know about it that it panicked. There must be at least a note in the log.
 
Old 12-03-2015, 03:18 PM   #10
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,317

Rep: Reputation: Disabled
I'm not convinced you have kernel panic. It still can be a power issue. There are power supplies on motherboard to supply 12 V, 5 V, 3.3 V. One of these may be suffering from old age. Besides, kernel panic usually results in system hang, not reboot. Unless you have watchdog enabled, it will reboot, but not instantly.
 
Old 12-03-2015, 05:25 PM   #11
bimboleum
Member
 
Registered: Oct 2009
Posts: 111

Rep: Reputation: 23
Hi,
Suspect the fan ... t61's are notorious for having fan problems as they age ... fixing them is not rocket science .. google thinkpad t61 hardware manual .. there are three of them depending on your model .... fans/cooler assemblies are about $30 on ebay.

As always YMMV.

cheers
pete
 
Old 12-04-2015, 07:30 PM   #12
browny_amiga
Member
 
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu, Debian Buster Stable, Windoze 7
Posts: 653

Original Poster
Rep: Reputation: 46
Not a fan problem, not a CPU overheating problem, not a GPU overheating problem. I just checked, used CPU burn and glxgears and run it for 20 minutes, nothing. And that on battery. The system usually crashes of normal use much before that.
For some reason, it does not seem to crash if you just let it sit down. Moving windows around and opening and closing programs, basically working with it, makes it crash 100 sure.
If you don't believe me, please see the screenshot, Fans work really well on this laptop, better than any other I have ever seen, the Laptop is now almost 10 years old and you have to strain your hearing to even hear them spin, not one of these laptops that you think it is going to take off like an airplane when you work with it.
Attached Thumbnails
Click image for larger version

Name:	heat_test.png
Views:	21
Size:	20.0 KB
ID:	20221  

Last edited by browny_amiga; 12-04-2015 at 07:32 PM.
 
Old 12-04-2015, 07:36 PM   #13
browny_amiga
Member
 
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu, Debian Buster Stable, Windoze 7
Posts: 653

Original Poster
Rep: Reputation: 46
Quote:
Originally Posted by Emerson View Post
I'm not convinced you have kernel panic. It still can be a power issue. There are power supplies on motherboard to supply 12 V, 5 V, 3.3 V. One of these may be suffering from old age. Besides, kernel panic usually results in system hang, not reboot. Unless you have watchdog enabled, it will reboot, but not instantly.
I please ask you guys to read what I'm writing, I explicitly mentioned that the system hangs for a while and then restarts, it does not restart instantly.
I just noticed that people keep mentioning things that were clearly written or ruled out via my posts.
 
Old 12-04-2015, 07:39 PM   #14
browny_amiga
Member
 
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu, Debian Buster Stable, Windoze 7
Posts: 653

Original Poster
Rep: Reputation: 46
One thing that I find shocking is that Linux does not have any crash reporting for Kernel Panics, the System is not even aware of it happening. A server could crash 20 times in a row, always restart and nobody would even know, you check the logs, NOTHING mentioned in there. That is really pathetic. I'm a big fan of Linux and use it on most of my systems, but this is really terrible.
If stuff screws up so bad, you want to at least know about it.
 
Old 12-04-2015, 08:51 PM   #15
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,317

Rep: Reputation: Disabled
You never wrote you have watchdog enabled. Too bad people ask questions and do not read answers.

I still think this is an hardware issue, probably graphics part is going haywire. I still do not believe you have kernel panic.

Last edited by Emerson; 12-04-2015 at 08:59 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] wlan pci on Lenovo T520 Debian Wheezy not working stable; HowTo solve? floppy_stuttgart Linux - Wireless Networking 5 08-25-2015 04:01 PM
moved harddrive from t61 lenovo to t60 lenovo, now cpu freezes Peter Shepard Ubuntu 3 10-26-2009 06:11 PM
Slackware 12.0 on a Lenovo Thinkpad T61 Savet Linux - Laptop and Netbook 11 10-29-2008 12:14 AM
Lenovo T61 users! Archer36 Slackware 6 04-03-2008 05:08 AM
Thinkpad Lenovo T61 Nikosis Slackware 33 07-05-2007 06:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:18 PM.

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