LinuxQuestions.org
Review your favorite Linux distribution.
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 04-15-2006, 10:53 AM   #1
c10
LQ Newbie
 
Registered: Apr 2006
Distribution: Slackware 10.2, Ubuntu 5.10
Posts: 3

Rep: Reputation: 0
Unreliable suspend to disk with Slackware 10.2


Hi,

First I should say that I don't expect someone to have an answer to this - I'm looking for suggestions about how to start to debug the problem. I have been using linux for a long time, but only using it to do other things - I know little about how it works.

I have a laptop with the Phoenix NoteBIOS (4.0). Previously I had Slackware 10.1 installed and was able to use the suspend to disk function without any problems. (I think this worked via apm somehow instructing the BIOS to use its suspend to disk manager, but really I have little idea.)

I changed to Slackware 10.2, and although the suspend to disk works sometimes (apparently via the same mechanism as before), about 1 time in 5 the laptop gets stuck, and often it takes a long time (up to 30 seconds, where usually it is just a few seconds) before the BIOS's suspend to disk manager appears.

On the times where the suspend to disk fails, before the BIOS's suspend to disk manager appears, everything freezes (black screen). After a few minutes the laptop's fan comes on. This will continue until I kill the power (I left it for a few hours one time).

When I installed Slackware 10.1 and 10.2, I don't remember doing anything to customize the installation. I used the default kernels both times, etc, and booted from the CD without passing any options (I think).

I have two devices connected to the computer: a USB mouse and a wireless LAN card (both present when I used 10.1, too). I have a script in /etc/apm/ that stops the hotplug service, and another that does a 'cardctl eject'. I've tried suspending with neither of these devices present, and the results are the same.

How can I work out where the process is getting stuck? I tried looking at /var/log/messages but I don't see anything to indicate where the failure occurs. Of course I might be missing something obvious.


Thanks very much in advance,
Chris
 
Old 04-15-2006, 03:58 PM   #2
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
This is a shot in the dark but I'd try using the 2.6.13 kernel in /testing and recompile it with all of the acpi and laptop options enabled.
 
Old 04-17-2006, 04:55 AM   #3
c10
LQ Newbie
 
Registered: Apr 2006
Distribution: Slackware 10.2, Ubuntu 5.10
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks, but what I'd really like to do is learn how to use log messages etc. (maybe adding some of my own to various scripts?) to work out at least where the suspend procedure is getting stuck. Knowing the different packages between 10.1 and 10.2, that might allow me to guess what is causing the problem. Or does that sound way too naïve?

Your suggestion might well result in me having suspend to disk working properly on my laptop, solving my problem. But I don't really want to spend my time learning how to do that, particularly since I could render my computer unusable...I need to use it for work!

Thanks anyway
 
  


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
Unreliable slackware Computer VampireL0rd Slackware 10 03-04-2006 02:24 PM
Suspend to disk question eggoz Linux - Software 3 09-11-2005 10:09 PM
Can't suspend to disk. tfc Linux - General 2 11-14-2004 03:25 PM
how to suspend to disk. ? qwijibow Linux - Software 7 10-07-2004 06:56 PM
Hibernation and suspend to disk Slasher Linux - General 19 11-11-2003 10:53 PM

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

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