LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-21-2013, 08:00 PM   #1
elesmod
Member
 
Registered: Sep 2012
Distribution: Slackware
Posts: 88

Rep: Reputation: Disabled
Sudden "general protection fault" on Slackware64 14.0


I was playing around in the CLI when suddenly all of my 3 xterm windows got spammed with some kernel messages. Luckily Slackware did not crash

System: Slackware64 14.0 (multilib)
Kernel: 3.2.45

Here's the syslog:
Code:
edit: irrelevant, hardware issue
The only unusual thing my system was doing was running a script which was downloading videos from youtube. I'm a noob when it comes to this stuff, so maybe I've written something that made that "general protection fault"? I'm attaching the script as well.

Code:
edit: irrelevant, hardware issue
But the script did it's job and I have the videos on my HDD

Do you think I should try to post this stuff elsewhere (some kernel.org forum/bugzilla)?

Last edited by elesmod; 09-22-2013 at 05:50 AM.
 
Old 09-21-2013, 08:39 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
How is your free disk space?

A quick comment on your script. There is an unnecessary use of 'cat'. This construction is preferred.
Code:
while read LINE
do
 ...
done < $FILE
 
1 members found this post helpful.
Old 09-21-2013, 09:30 PM   #3
elesmod
Member
 
Registered: Sep 2012
Distribution: Slackware
Posts: 88

Original Poster
Rep: Reputation: Disabled
(Thanks for the comment about cat.)

Disk space? That was the first thing I've checked right after it appeared.

Code:
edit: irrelevant, hardware issue
Out of that list only /mnt/win is low on space, but still 880M left, besides, it's a Windows partition.

Code:
edit: irrelevant, hardware issue
Also looks good; and swap wasn't used at all.

I was about to go to sleep and wanted to suspend my machine and now I'm starting to see ramifications.
I cannot put my PC to sleep.
When I issue the sync command, it hangs.
There are a lot of processes which I cannot kill -9. I've tried all the 5 digit ones and most cannot be taken down.

Code:
edit: irrelevant, hardware issue

Last edited by elesmod; 09-22-2013 at 05:51 AM. Reason: fixing code tags and typos
 
Old 09-22-2013, 12:18 AM   #4
number22
Member
 
Registered: Sep 2006
Location: Earth
Distribution: Slackware 14.1 Slackware64-current multilib
Posts: 278
Blog Entries: 7

Rep: Reputation: Disabled
1.Power Supply caused interference.
2.Check your motherboard for bloated capacitors.

Last edited by number22; 09-22-2013 at 12:21 AM.
 
Old 09-22-2013, 03:50 AM   #5
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
I suggest a reboot.
 
Old 09-22-2013, 05:01 AM   #6
turtleli
Member
 
Registered: Aug 2012
Location: UK
Posts: 206

Rep: Reputation: Disabled
Searching for "kswapd0 general protection fault" seems to return results about ram becoming faulty. Can you test your ram with memtest86+?
 
Old 09-22-2013, 05:47 AM   #7
elesmod
Member
 
Registered: Sep 2012
Distribution: Slackware
Posts: 88

Original Poster
Rep: Reputation: Disabled
Yep, it's definately a hardware issue. After switching off my PC, I cannot turn it back on.

Thanks for your replies, guys. I'm marking this as solved and going to look inside my box.
 
Old 09-22-2013, 02:01 PM   #8
elesmod
Member
 
Registered: Sep 2012
Distribution: Slackware
Posts: 88

Original Poster
Rep: Reputation: Disabled
Just an update.

After taking apart my computer, checking the capacitors, thoroughly cleaning (removed the case from PSU too), reapplying thermal paste on CPU and piecing my PC back together, I've been running memtest86 for several hours. So far no errors. I'll stop it after 2nd pass completes.

Hopefully it was nothing more than some dust getting between sockets
 
  


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
Shouldn't "Slackware64" Become just "Slackware" and 32-bit Become "Slackware32"? foodown Slackware 6 06-23-2009 01:24 PM
"General Protection Fault" in freeBSD bootup Bill_Hwy *BSD 4 07-21-2007 01:31 PM
general protection fault: 5360 wazir1483 Linux - Server 1 04-07-2007 07:16 AM
sunbird 0.3 does not start, error: Segmentation fault : "$prog" ${1+"$@"} polemon Ubuntu 8 01-08-2007 04:22 AM
why iam getting problems like "...too many files opened" or "segmentation fault" naren_0101bits Linux - Newbie 2 07-19-2004 12:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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