LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-17-2009, 07:43 AM   #1
no.guru
LQ Newbie
 
Registered: Jul 2008
Distribution: Slackware
Posts: 28

Rep: Reputation: 16
System locked overnight on 12.2 - suggestions welcome!


Overnight my system locked and even Ctrl-Alt-Backspace would not escape from xfce. It required a power off from the surge protector. I reboot very seldom and it had almost 30 days of uptime. I leave a browser and email running overnight but close liferea.

A check of /var/log/messages tells me something happened after 4:59 this morning:

Mar 17 03:59:38 slackware -- MARK --
Mar 17 04:19:38 slackware -- MARK --
Mar 17 04:32:03 slackware ntpd[2827]: kernel time sync status change 4001
Mar 17 04:49:07 slackware ntpd[2827]: kernel time sync status change 0001
Mar 17 04:59:39 slackware -- MARK --
Mar 17 06:28:12 slackware syslogd 1.4.1: restart.

I have now installed rkhunter from SlackBuilds just in case.

I am running 12.2 and I keep up with all security updates. Maybe a recent update required a reboot I missed? Is it possible Amarok somehow caused a problem? I often leave it playing overnight.

Suggestions, comments, and criticisms welcome.
 
Old 03-17-2009, 08:46 AM   #2
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,845

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
I have had similar instances, and in each case it was Firefox that locked everything. It barfed on something and I never did have a clue as to why. Thankfully, the incidents are very rare.
 
Old 03-17-2009, 09:45 AM   #3
piete
Member
 
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
If you can, always try to SSH into a locked box, to have a poke around.

I have had, in the past with certain video drivers, X completely lock the system (no mouse, no ctrl-alt-backspace) but been able to shell in, kill X remotely, and start it back up locally.
 
Old 03-17-2009, 11:41 AM   #4
no.guru
LQ Newbie
 
Registered: Jul 2008
Distribution: Slackware
Posts: 28

Original Poster
Rep: Reputation: 16
For security reasons - also because I wouldn't use it except for rare situations like this - I don't have ssh installed. But that's a great idea.
 
Old 03-17-2009, 02:07 PM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
If there's nothing in the logs then it's hard to say what caused it. But, if you're using the nvidia drivers, I can bet those are the cause. For a long time I used the regular nv drivers on my laptop and it could leave it on for as long as I wanted and it was perfectly stable. But, with the nvidia drivers I got all sorts of weird crashes and lockups and many actually did not report anything in the logs.

Of course it could also be a bug in Xorg or some other program.
 
Old 03-17-2009, 02:39 PM   #6
no.guru
LQ Newbie
 
Registered: Jul 2008
Distribution: Slackware
Posts: 28

Original Poster
Rep: Reputation: 16
I am using nvidia drivers, so that could be it.

mlangdn, I think you're right that it could also very well be Firefox. I've had trouble with it shutting down in 12.2. Often I have to kill two PIDs to shut it down, so I usually leave it up as long as possible. Closing it nightly is probably the better approach.
 
Old 03-17-2009, 09:00 PM   #7
no.guru
LQ Newbie
 
Registered: Jul 2008
Distribution: Slackware
Posts: 28

Original Poster
Rep: Reputation: 16
Thank you all for your replies.
 
Old 03-18-2009, 05:41 AM   #8
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
No problem, make sure to post back if you find a solution.
 
Old 03-19-2009, 05:11 AM   #9
molafish
LQ Newbie
 
Registered: Aug 2007
Posts: 21

Rep: Reputation: 0
Quote:
Originally Posted by no.guru View Post
For security reasons - also because I wouldn't use it except for rare situations like this - I don't have ssh installed. But that's a great idea.
Man... ssh with key files required is... the most secure way I can think of to talk to a computer... You can specify the key length! What more do you want?
 
Old 03-22-2009, 12:08 PM   #10
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,176

Rep: Reputation: 233Reputation: 233Reputation: 233
Quote:
Originally Posted by piete View Post
If you can, always try to SSH into a locked box, to have a poke around.

I have had, in the past with certain video drivers, X completely lock the system (no mouse, no ctrl-alt-backspace) but been able to shell in, kill X remotely, and start it back up locally.
No much chance. Because syslog show it to be locked, sshd can do nothing, I bet. It's a true lock-up. I have this kind of lock-ups everyday when I run my wireless network card at txpower=27dBm. When I don't use wireless (wlan0 is up but with no IP address) or when I set the txpower to 21dBm, it does not lock. Seems like EMC problems. Fortunately, most not-very-old chipsets have built-in watchdogs.
 
  


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
How to turn off 3-D effects from safe mode, locked out system ! idk666 Mandriva 6 10-03-2007 06:33 PM
FC4: Screen Locked crash during yum -y update overnight PlanetPHP Linux - General 1 10-24-2005 05:55 AM
system unresponsive overnight with screensaver benhanson Ubuntu 4 09-14-2005 01:25 PM
Help, I am Locked from my system Kaiser_Sose Linux - Software 6 02-03-2004 07:39 AM

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

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