LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-29-2006, 01:06 PM   #1
RHTopics
Member
 
Registered: May 2006
Posts: 45

Rep: Reputation: 3
apm appears to lockup/freeze PC


I have recently installed slackware 10.2 on an old Compaq Presario 5170. This PC has a Pentium II 350MHz with 320 meg memory.

I did a full install of slackware from 2 CDs and installed the default 2.4.31 kernel.

I uncommented "/sbin/modprobe apm" in /etc/rc.d/rc.modules to allow the PC to be automatically powered off after issuing a "shutdown -h now" command.

Having the apm module loaded appears to be causing a lockup problem to the point where the PC does not respond to any keyboard commands and I can not connect to the PC by ssh. After doing a hard shutdown and then commenting out "/sbin/modprobe apm" in rc.modules, and then rebooting, the lockup problem goes away. The lockup appears more quickly while in a X session (XFCE).

The apm module does power off the PC. I have successfully used live distros like DSL and KNOPPIX 3.4 which use apm without this problem.

Any thoughts on how to correct this problem?
 
Old 05-29-2006, 02:52 PM   #2
RHTopics
Member
 
Registered: May 2006
Posts: 45

Original Poster
Rep: Reputation: 3
An update; my problem is something other than apm. Without the apm module loaded, the PC locked up again, but this time it had a Kernel Panic after some type of I/O errors with a reiserfs partition.

Booted up with KNOPPIX and ran "reiserfsck --check" on the partitions. They checked out fine after replaying some journal entries on the root partition.

Any thoughts on what to check to determine the source of the problem?
 
Old 05-29-2006, 02:52 PM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
I don't know if this thread will help:

http://www.linuxquestions.org/questi...d.php?t=446141

That person also had problems with keyboard lockups with a Presario.
 
Old 05-29-2006, 03:07 PM   #4
RHTopics
Member
 
Registered: May 2006
Posts: 45

Original Poster
Rep: Reputation: 3
Woodsman, Thanks for the reply. The Presario 5170 is a desktop PC and had been very stable. My problems usually occur after being in a X session for a period of time.

I also have slackware 10.2 installed on an old Presario 1210 laptop (Pentium 150 Mhz) and it has not given me any problems.
 
Old 05-30-2006, 03:29 PM   #5
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
Any thoughts on what to check to determine the source of the problem?
Open your box, then clean and reseat your memory sticks. Sometimes the least amount of oxidation, not detectable by the human eye, will cause memory stick problems. A light rubbing with a pencil eraser is sufficient to clean contacts.

You might want to check your BIOS settings for your RAM and bump the bus speed to one level slower. I had a box that would work fine for days and then suddenly would burp similar to what you describe. I changed the RAM speed to one level slower and never had a related problem thereafter. I noticed no performance hit.

Also, reseat all ribbon and device connectors.

Quote:
My problems usually occur after being in a X session for a period of time.
Usually or always? After trying the above you then might want to focus on your /etc/X11/xorg.conf and video driver. A lot of people have problems with certain video drivers. Browse the forum for more info. You could try using the generic VESA driver for several days to see what happens.

A challenge with troubleshooting is isolating the problem before trying to derive a solution. Consider temporarily disabling all possible services: networking, APM, CUPS, etc. Run with the bare bones possible. The less overhead you have running the easier to narrow the possible problems.

Hopefully some other people will pipe in to help.
 
Old 05-31-2006, 02:59 PM   #6
RHTopics
Member
 
Registered: May 2006
Posts: 45

Original Poster
Rep: Reputation: 3
Woodsman, I appreciate your thorough reply with some very good suggestions.

After hearing an odd sound, like a click, coming from the PC, I suspected my problem was a bad hard drive.

So using "partimage", "qtparted", and "k3b" while running KNOPPIX on the PC, I was able to successfully make image copies of the old hard drive's partitions and then burn them to CDs. From there, I partitioned the replacement drive to match the old drive's partitions. And then using "partimage", restored the image copies to the replacement drive. Booted from a floppy disk to do the final step of installing lilo using "liloconfig".

So far, "knock on wood", replacing the hard drive appears to have solve my problem. The old drive, is a Western Digital 40GB that I had used in other PCs and is over 4 years old. The replacement drive is a newer Maxtor 80GB. I was pleasantly surprised when the BIOS in this 8 year old PC recognized the full 80 GBs.

As it has been said, the common wisdom for hard drives is not if they are going to fail but instead when they are going to fail. I feel fortunate that I was able to image copy the old drive before it completely failed.

If replacing the hard drive does not solve the problem and I will follow your suggestions.
 
  


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
LQ wiki appears to be down? titanium_geek LQ Suggestions & Feedback 9 06-25-2005 06:16 AM
Firewall off but appears to be on still skipjack_au Linux - Security 6 01-16-2005 12:01 PM
Linux acting like Windows? Has H*ll frozen Over? Lockup/Freeze in FC3 x86_64 Sliceman Linux - Distributions 2 11-16-2004 05:22 PM
HD appears twice? z-vet Mandriva 4 08-11-2004 05:23 PM
apm vs. acpi ? (modprobe: FATAL: Error inserting apm) OneManArmy Linux - Laptop and Netbook 0 05-12-2004 04:39 PM

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

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