LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 10-03-2003, 04:34 PM   #1
CEdstrom
LQ Newbie
 
Registered: Sep 2003
Location: Wisconsin
Distribution: Slackware
Posts: 27

Rep: Reputation: 15
Strange hanging problem...


Ok I know most people will blame this problem on hardware and I am sure its related. But...

I have Slackware 9.0 installed. I had upgraded from Slackware 7.1. Under 7.1 the pc ( AMD 500mhz / 6gig drive / 256 memory ) ha been running like a tank for 3 years. Never a problem. But since upgrading to SL9 I have a random problem. The screen will blank out, either in Xwindows or in console and nothing will respond. Its locked up hard. I noticed one time when it did this, that it sounded like the hard drive spun down and then the HD light stayed lit up. So I turned off the standby time. This help as the freezes are less freqent now.

My only suspect is that the new kernel is using power management features that I am not aware of, but that seems odd if it would do something while I am actively using it. I have all bios apm features turn off. I also tried to use hdparm to also turn off any apm features in teh hard drive but the drive is too old for that.

So any suggestions would be helpful ( bios changes, kernel settings, etc. ) and I know I could replace the drive, I am just not convinced thats going to solve the problem. Its just very coincidental that the problem began with SL9 installation.

 
Old 10-03-2003, 09:54 PM   #2
akaBeaVis
Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
What about the (*dreaded*) acpi business? is this machine new enough to have acpi? is acpid running now and not before? or, even more *dreaded*, are apmd and acpid running at the same time?

oops, forgot this, my screen(s) blank (some of them, some of the time) but don't freeze on an "ntpdate" command, could this be anything to do with the sysclock vs hwclock?

Last edited by akaBeaVis; 10-03-2003 at 09:57 PM.
 
Old 10-03-2003, 10:23 PM   #3
187807
Member
 
Registered: Oct 2003
Location: North Carolina, USA
Distribution: Slackware 11
Posts: 174

Rep: Reputation: 30
re: Strange hanging problem...

Quote:
Originally posted by akaBeaVis
What about the (*dreaded*) acpi business? is this machine new enough to have acpi? is acpid running now and not before? or, even more *dreaded*, are apmd and acpid running at the same time?
I am in agreement with akaBeaVis on this one. I have heard (many times) of acpi and apm causing problems such as you describe (although this might not, obviously, be your actual problem).


As for APM, if you examine your /etc/rc.d/rc.modules file, you may see a line such as:

Quote:
/sbin/modprobe apm
If this line is not commented out (with '#') then you may wish to do so as a test. That is, make the above line look like:

Quote:
#/sbin/modprobe apm

Additionally, as to ACPI, you may find that you have a file such as /etc/rc.d/rc.acpid. You may wish to do a:

ls -al /etc/rc.d/rc.acpid

and see if the file is listed as executable. If it is, then it will be loaded at startup.

In my case, I get:

sh-2.05b$ ls -al /etc/rc.d/rc.acpid
-rwxr-xr-x 1 root root 466 Aug 28 02:57 /etc/rc.d/rc.acpid


indicating that this acpid script is run at boot. You may (as root)

chmod 644 /etc/rc.d/rc.acpid


In my case this results in:

bash-2.05b# ls -al /etc/rc.d/rc.acpid
-rw-r--r-- 1 root root 466 Aug 28 02:57 /etc/rc.d/rc.acpid

which indicates this script will not be run at boot.

Reboot and see if it helps your freezing.

Note than I am a newb at this linux stuff, so I mean not to offend you if my comments seem elementary to you. Just trying to help with what I have learned.

Cheers,
Bob
 
Old 10-03-2003, 10:57 PM   #4
CEdstrom
LQ Newbie
 
Registered: Sep 2003
Location: Wisconsin
Distribution: Slackware
Posts: 27

Original Poster
Rep: Reputation: 15
No acpi on this machine and I ran rc.acpid stop and there were no processes running. I have set the udma setting now to 0. I am seeing fi this helps. My next choice will be compiling a new kernal, thats assuming it does not lockup while compiling it. :grin:
 
Old 10-04-2003, 01:29 PM   #5
akaBeaVis
Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
you've checked the logs for any weirdness?
 
Old 10-04-2003, 01:56 PM   #6
php
Member
 
Registered: Jun 2001
Location: USA
Distribution: Slackware
Posts: 825

Rep: Reputation: 30
does this machine have hotplug installed?
 
Old 10-06-2003, 11:18 AM   #7
CEdstrom
LQ Newbie
 
Registered: Sep 2003
Location: Wisconsin
Distribution: Slackware
Posts: 27

Original Poster
Rep: Reputation: 15
To answer the last two replies, no hotplug in this machine, again too old. And the log files just stop dead. The only thing I can tell from the logs is when it stops within a 10 minute window because of the mark entries.

I compiled a new kernel but I think I did afew things wrong. So back to the drawing board again. I am now beggining to suspect and overheating CPU since the system is completly dead when it hangs. I don't suspect the hard drive cause a bad hard drive not cause the kernel to die or anything else.
 
Old 10-20-2003, 11:16 AM   #8
CEdstrom
LQ Newbie
 
Registered: Sep 2003
Location: Wisconsin
Distribution: Slackware
Posts: 27

Original Poster
Rep: Reputation: 15
Smile Strange hanging problem... Solved?

Well I am hear to say I am wrong. Sortof. After turnning off FB and disabling other features like the DRM for Radeon, I got a clue what might be causing it. I left the system running in console and came back to it frozen. But this time I found not a blank screen but garbage. This gave me a clue it was video. So I took out the card ( an ATI Radeon 32SDR PCI ) and installed a little older ATI Rage128 PRO ( Expert 2000 ) card.

I have now been able to run more than 24 hours with out a lockup / freeze. And I recompile my kernel to activate FB and DRM for the Rage128. Its seems so strange that Slack 7 ran like a tank with the Radeon card but Slack 9 didn't like it. My only thought was the fact that this was a PCI Radeon card, and one of the first ones produced by ATI. Maybe there was something changed in the 2.4 kernel versus the 2.2 kernel that caused the problem. I have the Radeon card running in a Windoze box flawlessly currently.

What are other's thoughts on this?
 
  


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
openLDAP hanging problem. topcat Linux - Software 2 03-28-2005 06:10 AM
Strange Hanging on First boot, Config Kernel Paramaters, FC3 LinuxFox Fedora - Installation 6 03-06-2005 10:44 PM
strange, strange alsa problem: sound is grainy/pixellated? fenderman11111 Linux - Software 1 11-01-2004 05:16 PM
Rpm hanging problem jacky Red Hat 1 05-13-2004 10:48 AM
Problem re Mozilla hanging on screen satimis Linux - Newbie 4 09-12-2003 11:06 AM


All times are GMT -5. The time now is 06:58 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration