Bug 125271

Summary: standby not possible because mysqld not stopped
Product: [Fedora] Fedora Reporter: info
Component: kernelAssignee: Dave Jones <davej>
Status: CLOSED NEXTRELEASE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 2CC: pfrields
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-16 05:57:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description info 2004-06-04 10:51:37 UTC
Description of problem: 
 
Trying to go to standby mode gives an error that mysql is not 
stopped. If mysqld is stopped manually, then standby works as 
expected. 
 
How reproducible: Always. 
 
Steps to Reproduce: 
1. type as root 
echo -n "standby" > /sys/power/state 
 
Actual results: 
 
Screen goes to text mode with the following message (also recorded 
in dmesg): 
PM: Preparing system for suspend 
Stopping tasks: 
================================================================================== 
 stopping tasks failed (1 tasks remaining) 
Restarting tasks...<6> Strange, mysqld not stopped 
 done 
 
Then the system goes back into X.  
 
Expected results: 
should stop mysqld and go into standby. 
 
If I stop mysql manually before attempting standby, then everything 
is fine: 
 
[root@Godzilla-PC stephan]# /etc/init.d/mysqld stop 
MySQL beenden:                                             [  OK  ] 
[root@Godzilla-PC stephan]# echo -n "standby" > /sys/power/state 
 
Then it goes into standby, and can be woken up with the power 
button. The output in dmesg in this case: 
 
PM: Preparing system for suspend 
Stopping tasks: 
===============================================================================| 
PM: Entering state. 
Back to C! 
PM: Finishing up. 
PCI: Setting latency timer of device 0000:00:1d.0 to 64 
PCI: Setting latency timer of device 0000:00:1d.1 to 64 
PCI: Setting latency timer of device 0000:00:1f.5 to 64 
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 
blk: queue 0332ae00, I/O limit 4095Mb (mask 0xffffffff) 
Restarting tasks... done 
 
Additional info: 
I'm using a Toshiba Satellite 1110 Laptop, ACPI, kernel 2.6.5-1.358, 
from Fedora Core 2. 
MySQL is also from the Fedora Core distribution (mysql-3.23.58-9). 
Only change from standard: I changed in /etc/init.d/mysqld the line 
41: 
	# ping="/usr/bin/mysqladmin -uUNKNOWN_MYSQL_USER ping" 
	ping="/usr/bin/mysqladmin -ucontroluser ping" 
(otherwise there is an error when starting the service). 
 
Thanks! 
Stephan

Comment 1 Dave Jones 2005-04-16 05:57:30 UTC
Fedora Core 2 has now reached end of life, and no further updates will be
provided by Red Hat.  The Fedora legacy project will be producing further kernel
updates for security problems only.

If this bug has not been fixed in the latest Fedora Core 2 update kernel, please
try to reproduce it under Fedora Core 3, and reopen if necessary, changing the
product version accordingly.

Thank you.