Power manager Failed to suspend

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
sunwatt
Level 2
Level 2
Posts: 87
Joined: Thu Jul 30, 2009 2:07 pm

Power manager Failed to suspend

Post by sunwatt »

When I plug my Dell Mini 9 into the power supply to give it a boost, leaving it running, it gives me these two warning messages when I detach the power supply.

The battery is full, freshly back to 100%. So the message is an error. It started doing this for no reason I know of, all my power settings remain the same.

I'm running LMDE.

thanks
lauren
Level 5
Level 5
Posts: 602
Joined: Thu Nov 26, 2009 10:50 am

Re: Power manager Failed to suspend

Post by lauren »

Hi!
One possibility (among others) is that your swap partition is not big enough (at least 10 % more than RAM).
You can control your swap and RAM with Terminal:

Code: Select all

free
lauren
Notebook: BIOS Linux multiboot
Netbook: EFI Linux multiboot
sunwatt
Level 2
Level 2
Posts: 87
Joined: Thu Jul 30, 2009 2:07 pm

Re: Power manager Failed to suspend

Post by sunwatt »

I'm not sure what this all means, but I ran the terminal and this was generated.

Swap is 0 so if this is a problem, can it be fixed?

Thank you
lauren
Level 5
Level 5
Posts: 602
Joined: Thu Nov 26, 2009 10:50 am

Re: Power manager Failed to suspend

Post by lauren »

Hi!
Please search Menu/..../ System Monitor to approve that swap is not activated (or GParted).
In any case you should post the output of Terminal

Code: Select all

sudo fdisk -l
lowercase "L" like list
and

Code: Select all

sudo parted -l print
lauren
Notebook: BIOS Linux multiboot
Netbook: EFI Linux multiboot
sunwatt
Level 2
Level 2
Posts: 87
Joined: Thu Jul 30, 2009 2:07 pm

Re: Power manager Failed to suspend

Post by sunwatt »

Here's the results, the 2nd code didnt do anything as you can see.

thanks
lauren
Level 5
Level 5
Posts: 602
Joined: Thu Nov 26, 2009 10:50 am

Re: Power manager Failed to suspend

Post by lauren »

Hi!
First: you should try again

Code: Select all

sudo parted -l print
Normally you will get a message: "... is not installed, you can install it by..."
Please do it, because we need that program to proceed.
2. You have a primary partition /dev/sda1 and a logical p. sda5 within an extended p. sda2.
I must know: which data are on sda1 and sda5 (boot? root? home?).
Please post the output of

Code: Select all

mount
lauren
Notebook: BIOS Linux multiboot
Netbook: EFI Linux multiboot
sunwatt
Level 2
Level 2
Posts: 87
Joined: Thu Jul 30, 2009 2:07 pm

Re: Power manager Failed to suspend

Post by sunwatt »

I tried it two more times, you'll see the result, then the mount worked.

thank you
lauren
Level 5
Level 5
Posts: 602
Joined: Thu Nov 26, 2009 10:50 am

Re: Power manager Failed to suspend

Post by lauren »

Hi!
Okay, sda1 is your root p. and sda5 your home p.
Please try

Code: Select all

sudo gparted
if not installed, install it.
GParted is a graphical partition editor.
After starting GP you should see an overview; on the right upper corner you can choose sda or your USB flash drive / SD card or...
You could attach a screenshot of the window of GP.
lauren
Notebook: BIOS Linux multiboot
Netbook: EFI Linux multiboot
sunwatt
Level 2
Level 2
Posts: 87
Joined: Thu Jul 30, 2009 2:07 pm

Re: Power manager Failed to suspend

Post by sunwatt »

Ok, here we go gparted is installed so that was easy. I used it when I installed on this SSB afew months ago

thanks
lauren
Level 5
Level 5
Posts: 602
Joined: Thu Nov 26, 2009 10:50 am

Re: Power manager Failed to suspend

Post by lauren »

Hi!
Okay, we can create a swap partition (size 2.4 GB I suggest) at the end of the extended partition (-> log. p. number 6: /dev/sda6).
Important: you must resize your home p. sda5, but not from a running system - you need a live Linux.
You can find 2 positions:
1. GParted is Gparted [0.6 or 0.7 or 0.8]
2. Use the latest version
I recommend not to use 0.6 or even earlier ( I strictly use the latest one).
If your Mint live medium (find it out) has GP 0.7 or later - okay; if not, I would not use it!
As far as I remember, LMDE (newest) has 0.7 (okay).
If not, you should consider to download
either, if you are familiar with Terminal, GParted
or PartedMagic (contains the latest GP).
PM has many useful tools and you can access all files, connect to the net, test disk,...
lauren
Notebook: BIOS Linux multiboot
Netbook: EFI Linux multiboot
sunwatt
Level 2
Level 2
Posts: 87
Joined: Thu Jul 30, 2009 2:07 pm

Re: Power manager Failed to suspend

Post by sunwatt »

Thanks, I have 07 so Im good to go.

Unfortunately I'm not so familiar with using GP... I did setup this SSD by myself.

Took me afew tries!!

So I can learn.

So in time I should be able to figure out how to add a 2.4gb swap where you said to add it.

Extended partition... I dont see that right now but I'm saving this link and will keep working on it.

I appreciate the help!!
lauren
Level 5
Level 5
Posts: 602
Joined: Thu Nov 26, 2009 10:50 am

Re: Power manager Failed to suspend

Post by lauren »

Hi!
You should read through Seeley's "Quickly get help":
http://forums.linuxmint.com/viewtopic.p ... 366328/url
chapter IV reply 6
and
my Howto (link in signature)
to learn a bit about partitions.
lauren
Notebook: BIOS Linux multiboot
Netbook: EFI Linux multiboot
sunwatt
Level 2
Level 2
Posts: 87
Joined: Thu Jul 30, 2009 2:07 pm

Re: Power manager Failed to suspend

Post by sunwatt »

Thanks!! That'll help!!!

I didnt know swap was important, these two error messages might be a warning of other problems Im not aware of yet?

I had heard of swap before... but thought I set it up with swap..

DOH!!!
lauren
Level 5
Level 5
Posts: 602
Joined: Thu Nov 26, 2009 10:50 am

Re: Power manager Failed to suspend

Post by lauren »

Hi!
In any case, I would download PartedMagic; Documentation and download :
http://partedmagic.com/doku.php
I never will miss it! It contains latest GParted - you can test GP without writing changes to disk (choose "undo" or "clear", don't choose "apply")
and will see it is easy to use.
And PM is a Linux operating system with many useful tools (only 143 MB!)!
lauren
Notebook: BIOS Linux multiboot
Netbook: EFI Linux multiboot
Post Reply

Return to “Newbie Questions”