hibernate issue

If none of the more specific forums is the right place to ask

hibernate issue

Postby rpm13 » 2010-10-01 03:16

When I click system -> shut down I get the choices:

Code: Select all
suspend hibernate restart cancel shut-down


Of these suspend works but if I use hibernate I get unclean mounts in the next boot

Whats broken? Is there a fix?
rpm13
 
Posts: 79
Joined: 2007-05-08 17:15

Re: hibernate issue

Postby Hallvor » 2010-10-01 06:09

It might help if you told us what version of Debian you are using, and what hardware you have it installed on.
Laptop: Intel Core i5 3210-M CPU @ 2.50 GHz, 16 GB RAM, Intel HD 4000 graphics, 128 GB SSD + 1 TB HDD, Debian Wheezy (KDE)
Media center/seedbox: Raspberry Pi, Raspbian (LXDE)
User avatar
Hallvor
 
Posts: 468
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway

Re: hibernate issue

Postby rpm13 » 2010-10-01 12:01

Hallvor wrote:It might help if you told us what version of Debian you are using, and what hardware you have it installed on.


OOPs... Sorry :?

Debian version: squeeze
hardware:
Well not sure how to report this: But
$ uname -m
i686

$ uname -p

unknown

(which is surely strange?)
/proc/cpuinfo has
Code: Select all
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 6
model name      : Intel(R) Pentium(R) D CPU 3.00GHz
stepping        : 5
cpu MHz         : 2400.000
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 6
wp              : yes


What else should I add??
rpm13
 
Posts: 79
Joined: 2007-05-08 17:15

Re: hibernate issue

Postby Hallvor » 2010-10-01 18:05

The output of lspci and the laptop brand and type would help if someone else has that piece of hardware. Other than that there is the wiki:

http://wiki.debian.org/Hibernation

I just use suspend on my Acer Aspire One. Works whenever I close the lid.
Laptop: Intel Core i5 3210-M CPU @ 2.50 GHz, 16 GB RAM, Intel HD 4000 graphics, 128 GB SSD + 1 TB HDD, Debian Wheezy (KDE)
Media center/seedbox: Raspberry Pi, Raspbian (LXDE)
User avatar
Hallvor
 
Posts: 468
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway

Re: hibernate issue

Postby rpm13 » 2010-10-01 18:28

Hallvor wrote:The output of lspci and the laptop brand and type would help if someone else has that piece of hardware.

Its a desktop. Intel dual-core (not core 2)
Code: Select all
$ lspci
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 01)
00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 3 (rev 01)
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 01)
04:08.0 Ethernet controller: Intel Corporation PRO/100 VE Network Connection (rev 01)

Other than that there is the wiki:

http://wiki.debian.org/Hibernation

I just use suspend on my Acer Aspire One. Works whenever I close the lid.


Thanks I'll study that.
rpm13
 
Posts: 79
Joined: 2007-05-08 17:15

Re: hibernate issue

Postby stevepusser » 2010-10-01 19:36

It really depends on an interaction of the BIOS version, motherboard, and the kernel. You can dump dmidecode to a text file: (my system needs root permisions for this command)

dmidecode > dmidecode.txt

(default terminal opens in your home folder, so that's where the text file ends up.) Your motherboard should appear in that result; perhaps some searching of the web would yield answers.
stevepusser
 
Posts: 3670
Joined: 2009-10-06 05:53

Re: hibernate issue

Postby rpm13 » 2010-10-02 02:55

dmidecode gives some 200 lines of stuff most of which makes no sense to me. I could attach it here if thats ok. Searching for motherboard gives (with a little context):

Code: Select all
Handle 0x0013, DMI type 16, 15 bytes
Physical Memory Array
   Location: System Board Or Motherboard
   Use: System Memory
   Error Correction Type: None
   Maximum Capacity: 4 GB
   Error Information Handle: Not Provided
   Number Of Devices: 2

Theres no other 'mother...'

Some other stuff that may be meaningful (to more knowledgeable folks :) :D )
Code: Select all
Handle 0x0005, DMI type 2, 20 bytes
Base Board Information
   Manufacturer: Intel Corporation
   Product Name: D945GCCR
   Version: AAD78647-300
   Serial Number: BTCR70100Y9X
   Asset Tag: Base Board Asset Tag
   Features:
      Board is a hosting board
      Board is replaceable
   Location In Chassis: Base Board Chassis Location
   Chassis Handle: 0x0006
   Type: Unknown
   Contained Object Handles: 0

Handle 0x0006, DMI type 3, 17 bytes
Chassis Information
   Manufacturer:                                 
   Type: Unknown
   Lock: Not Present
   Version:                         
   Serial Number:                                 
   Asset Tag:                                 
   Boot-up State: Safe
   Power Supply State: Safe
   Thermal State: Other
   Security Status: Other
   OEM Information: 0x00000000
rpm13
 
Posts: 79
Joined: 2007-05-08 17:15

Re: hibernate issue

Postby rpm13 » 2010-10-02 03:55

To partially answer my own question:

From this link http://wiki.archlinux.org/index.php/Pm-utils

I gather I need to put in a line resume=/dev/sdann (no of swap) in my grub.cfg.
Now that seems to make hibernate work

But as of now its a 'hand-edited' grub.cfg whereas with grub2 one is supposed to edit something in /etc/grub.d etc and regenerate grub.cfg

Any pointers to how to do this?
rpm13
 
Posts: 79
Joined: 2007-05-08 17:15

Re: hibernate issue

Postby stevepusser » 2010-10-02 04:03

Base Board Information
Manufacturer: Intel Corporation
Product Name: D945GCCR


Well...at least that shows you have a board based on Intel's 945 chipset. I had a laptop based on that chipset and it did manage to hibernate and suspend to ram correctly. But then the machine's particular BIOS makes a difference, too. Often a newer kernel has included "quirks" for problem hardware, and you may luck out and find that fixes the suspend issue. Depending on what version of Debian is installed, you can grab a newer kernel from backports, upstream repositories, or a third party repo, such as the highly recommended Liquorix kernel.
stevepusser
 
Posts: 3670
Joined: 2009-10-06 05:53

Re: hibernate issue

Postby frmpong » 2013-03-13 15:24

which debian kernel version are you using.
frmpong
 
Posts: 2
Joined: 2013-03-13 15:20

Re: hibernate issue

Postby frmpong » 2013-03-13 15:49

hello am using debian wheezy on raspberry pi ,armhf arch and i cant get it to suspend or hibernate.I have installed pm-util and hibernate packages without any errors but still it does not hibernate nor suspend. the kernel version is 3.6.11. does this kernel version susport thes packages at all.what can I do to make it hibernate or suspend.
frmpong
 
Posts: 2
Joined: 2013-03-13 15:20


Return to General Questions

Who is online

Users browsing this forum: fleabus and 26 guests

fashionable