LinuxQuestions.org
Review your favorite Linux distribution.
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-22-2011, 12:28 PM   #1
jgunderm256K
LQ Newbie
 
Registered: Sep 2011
Posts: 5

Rep: Reputation: Disabled
My slackware 13.37 OS hangs after about 10 min. when the network cable is plugged in.


How can I find out what causes my Slackware 13.37 OS to "hang" after about 10 minutes or so? When this happens, the mouse cursor moves around the screen but the mouse buttons and the keyboard have no effect. To work around it I hold the power switch (on/off button) down until the computer turns off. Then I turn the computer back on. When the network cable is unplugged, the problem seems to go away, that is, I can work for several hours without the computer "hanging".

I looked at /var/log/messages and syslog but I cannot make sense of them. I think I can see where I re-cycled the power ("general protection") but I see no clue indicating a malfunction or its cause.

Which log file should I study? Where are the logs for network connections? Can you give me any keywords that I should look for in the logs that will provide evidence as to the cause of this problem?

I should mention that while researching this question I have been trouble-free for about 90 minutes.
 
Old 09-23-2011, 06:44 AM   #2
Cultist
Member
 
Registered: Feb 2010
Location: Georgia
Distribution: Slackware64 14.2
Posts: 779

Rep: Reputation: 107Reputation: 107
My first thought is that you've got a faulty ethernet card, but try this first. When your cable is unplugged, open Konsole and use
Code:
top
(as user, not root). You'll get a lot of information, what you're looking for is the two lines near the top that say Mem and Swap. There will be a segment on each of those lines that says "[somenumber]k free." This is saying how much memory and swap space you have free.

Keep an eye on that and plug in the network cable, and see if the number drops to zero when it starts hanging.
And right above Mem is a line that starts with CPU:, followed by a bunch of percentage numbers. Do any of those hit 95-100%?

Also
While your cable is plugged in but before the computer hangs, are you able to browse the web like normal?
You said that without it being plugged in, you can work for several hours without it hanging. Does this mean that it does hang after a while anyway, but starts earlier with the network cable plugged in?

Last edited by Cultist; 09-23-2011 at 06:45 AM.
 
1 members found this post helpful.
Old 09-27-2011, 08:58 PM   #3
jgunderm256K
LQ Newbie
 
Registered: Sep 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Excellent post. Many thanks. I have to man this "top" program and get back to you.
 
Old 09-27-2011, 11:31 PM   #4
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,554
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Check your IRQs as well if your motherboard supports IRQ manipulation. Check and make sure the mouse and network/PCI IRQs aren't on the same channel.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to RDP into virtualbox when no network cable is plugged in? xmrkite Linux - Software 13 12-17-2010 09:46 PM
Detect network cable being plugged in Vgui Slackware 7 01-03-2009 06:22 AM
Will not connect to the network with the cable plugged in after a reboot accpilot Linux - Networking 8 11-13-2008 06:41 AM
What happens when a network cable is plugged in ? balajipriya Linux - Networking 1 08-12-2004 09:10 AM
dhcpcd, no network cable plugged in meyert Slackware 3 04-28-2004 08:34 PM

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

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