Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 42848

Summary: swsusp doesn't resume
Product: Gentoo Linux Reporter: roma1390
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description roma1390 2004-02-24 23:50:03 UTC
2.6.3-gentoo-r1 and vanila 2.6.0 doesn't resume after suspend to disk.

some info:
$ uname -r
2.6.3-gentoo-r1
$ dmesg | grep command
Kernel command line: root=/dev/hda6 resume=/dev/hda5
$ dmesg | grep swap
Resume Machine: This is normal swap space
Adding 1052216k swap on /dev/hda5.  Priority:-1 extents:1

## suspending:
# { echo 4 > /proc/acpi/sleep; } &

after next boot doesn't resume.

Reproducible: Always
Steps to Reproduce:

Actual Results:  
system doesn't boot after suspend to disk

Expected Results:  
system resumes after suspend to disk

Additional Information:

 cat /proc/cpuinfo 
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 6
model name      : AMD Athlon(tm) XP 1600+
stepping        : 2
cpu MHz         : 1405.381
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow
bogomips        : 2768.89

cat /proc/meminfo 
MemTotal:       255112 kB
MemFree:         24668 kB
Buffers:         23220 kB
Cached:         154344 kB
SwapCached:          0 kB
Active:         108836 kB
Inactive:       104880 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       255112 kB
LowFree:         24668 kB
SwapTotal:     1052216 kB
SwapFree:      1052216 kB
Dirty:              44 kB
Writeback:           0 kB
Mapped:          69796 kB
Slab:            10164 kB
Committed_AS:    80992 kB
PageTables:        712 kB
VmallocTotal:   778168 kB
VmallocUsed:      4456 kB
VmallocChunk:   768028 kB
# echo p | fdisk  /dev/hda 2>/dev/null| grep hda
Disk /dev/hda: 80.0 GB, 80026361856 bytes
/dev/hda1   *           1         522     4192933+  83  Linux
/dev/hda2             523        9729    73955227+   5  Extended
/dev/hda5             523         653     1052226   82  Linux swap
/dev/hda6             654        1163     4096543+  83  Linux
/dev/hda7            1164        1650     3911796   83  Linux
/dev/hda8            1651        2137     3911796   83  Linux
/dev/hda9            2138        2381     1959898+  83  Linux

 # cat /proc/acpi/sleep 
S0 S1 S4 S5
Comment 1 John Mylchreest (RETIRED) gentoo-dev 2004-02-24 23:53:38 UTC
swsup2 will be includd shortly but unfortunately as we don mainthere is litttain this le we can do.
i shall raise the bug with upstream but they most likely wont do anything with swsup2 being around.
I hope to get this included asap.
Comment 2 roma1390 2004-02-25 01:13:04 UTC
please inform about this kernel team. Thanks