Skip to contentSkip to conversation

suspend-to-disk oddities

2.6.9-rc3 Jan De Luyck 4 participants 7 messages Oct 4, 2004

lore
Share & tools
lore
#0 lore raw

Hello list,

Just tried swsusp, works great, besides a few strange things:

- The suspend routine is unable to shutdown the mysqld process:

Oct  4 10:19:43 precious kernel: Stopping tasks: =================================================
Oct  4 10:19:43 precious kernel:  stopping tasks failed (1 tasks remaining)
Oct  4 10:19:43 precious kernel: Restarting tasks...<6> Strange, mysqld not stopped
Oct  4 10:19:43 precious kernel:  done

- USB subsystem is totally unworking until I reinitialise it (using /etc/init.d/hotplug restart)
- modem does not work (uses ALSA module snd_intel8x0m with a 'modem daemon'). Restarting the daemon makes things work.
- ALSA mixer volume is set to 0 for all channels (can be fixed by running /etc/init.d/alsa start at resume)

Otherwise than these small problems it works fine, from within X. Using the radeon driver.

Jan

Signature · 1 line
Beauty and harmony are as necessary to you as the very breath of life.
#1 lore raw

Am Montag, 4. Oktober 2004 11:07 schrieb Jan De Luyck:

Quoted 10 lines

Just tried swsusp, works great, besides a few strange things:

- The suspend routine is unable to shutdown the mysqld process:

Oct  4 10:19:43 precious kernel: Stopping tasks: ================================================= Oct  4 10:19:43 precious kernel:  stopping tasks failed (1 tasks remaining)
Oct  4 10:19:43 precious kernel: Restarting tasks...<6> Strange, mysqld not stopped Oct  4 10:19:43 precious kernel:  done

- USB subsystem is totally unworking until I reinitialise it (using /etc/init.d/hotplug restart)

Precisely how does it fail?
Is taht after a failed suspend or after suspend?

Regards
Oliver

#2 lore raw
Quoted 11 lines · Oliver Neukum

Am Montag, 4. Oktober 2004 11:07 schrieb Jan De Luyck:

Quoted 10 lines

Just tried swsusp, works great, besides a few strange things:

- The suspend routine is unable to shutdown the mysqld process:

Oct  4 10:19:43 precious kernel: Stopping tasks:
================================================= Oct  4 10:19:43 precious kernel:  stopping tasks failed (1 tasks remaining) Oct  4 10:19:43 precious kernel: Restarting tasks...<6> Strange, mysqld not stopped Oct  4 10:19:43 precious kernel:  done

Quoted 4 lines
Quoted 2 lines

- USB subsystem is totally unworking until I reinitialise it (using /etc/init.d/hotplug restart)

Precisely how does it fail?

This is after a successfull suspend-resume.

It doesn't work, period. No messages in the logs, anything I plug in isn't reacted to, lsusb gives nothing. It's just 'not there'.

Jan

Signature · 3 lines
BOFH excuse #136:

Daemons loose in system.
#3 lore raw

Am Montag, 4. Oktober 2004 13:59 schrieb Jan De Luyck:

Quoted 15 lines · Oliver Neukum
Quoted 14 lines

Am Montag, 4. Oktober 2004 11:07 schrieb Jan De Luyck:

Quoted 12 lines

Just tried swsusp, works great, besides a few strange things:

- The suspend routine is unable to shutdown the mysqld process:

Oct  4 10:19:43 precious kernel: Stopping tasks:
================================================= Oct  4 10:19:43 precious kernel:  stopping tasks failed (1 tasks remaining) Oct  4 10:19:43 precious kernel: Restarting tasks...<6> Strange, mysqld not stopped Oct  4 10:19:43 precious kernel:  done

- USB subsystem is totally unworking until I reinitialise it (using /etc/init.d/hotplug restart)

Quoted 6 lines
Quoted 1 line

Precisely how does it fail?

This is after a successfull suspend-resume.

It doesn't work, period. No messages in the logs, anything I plug in isn't reacted to, lsusb gives nothing. It's just 'not there'.

Does "cat /proc/bus/usb/devices" give you an empty file or does it hang? Is that modular USB or is it compiled into the kernel? OHCI or UHCI?

Regards
Oliver

#4 lore raw
Quoted 18 lines · Oliver Neukum

Am Montag, 4. Oktober 2004 13:59 schrieb Jan De Luyck:

Quoted 17 lines · Oliver Neukum
Quoted 15 lines

Am Montag, 4. Oktober 2004 11:07 schrieb Jan De Luyck:

Quoted 4 lines

Just tried swsusp, works great, besides a few strange things:

- The suspend routine is unable to shutdown the mysqld process:

Quoted 8 lines

Oct  4 10:19:43 precious kernel: Stopping tasks:
================================================= Oct  4 10:19:43 precious kernel:  stopping tasks failed (1 tasks remaining) Oct  4 10:19:43 precious kernel: Restarting tasks...<6> Strange, mysqld not stopped Oct  4 10:19:43 precious kernel:  done

- USB subsystem is totally unworking until I reinitialise it (using /etc/init.d/hotplug restart)

Precisely how does it fail?

Quoted 7 lines
Quoted 4 lines

This is after a successfull suspend-resume.

It doesn't work, period. No messages in the logs, anything I plug in isn't reacted to, lsusb gives nothing. It's just 'not there'.

Does "cat /proc/bus/usb/devices" give you an empty file or does it hang? Is that modular USB or is it compiled into the kernel? OHCI or UHCI?

UHCI. I just did a test-suspend-resume, currently plugged USB devices don't work, but it does show up in the devices file. It also responds to replugging.... I don't get it.
I had no response whatsoever earlier. Mouse doesn't work until replugged, lots of messages like this in dmesg:

Oct  4 14:16:49 precious kernel: drivers/usb/input/hid-core.c: input irq status -84 received
Oct  4 14:16:54 precious last message repeated 209 times

Jan

Signature · 3 lines
BOFH excuse #285:

Telecommunications is upgrading. 
#5 lore raw

On Monday 04 of October 2004 14:22, Jan De Luyck wrote:
[-- snip --]

Quoted 4 lines
Quoted 2 lines

Does "cat /proc/bus/usb/devices" give you an empty file or does it hang? Is that modular USB or is it compiled into the kernel? OHCI or UHCI?

UHCI. I just did a test-suspend-resume, currently plugged USB devices don't

work, but it does show up in the devices file. It also responds to replugging.... I don't get it.

Quoted 1 line

I had no response whatsoever earlier. Mouse doesn't work until replugged,

lots of messages like this in dmesg:

Quoted 2 lines
Oct  4 14:16:49 precious kernel: drivers/usb/input/hid-core.c: input irq 

status -84 received

Quoted 1 line
Oct  4 14:16:54 precious last message repeated 209 times

Have you tried booting with pci=routeirq? It may help.

Greets,
RJW

Signature · 3 lines
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
		-- Lewis Carroll "Alice's Adventures in Wonderland"
#6 lore raw
Quoted 8 lines · Rafael J. Wysocki
Quoted 5 lines · Jan De Luyck

UHCI. I just did a test-suspend-resume, currently plugged USB devices don't work, but it does show up in the devices file. It also responds to replugging.... I don't get it.
I had no response whatsoever earlier. ...

Have you tried booting with pci=routeirq? It may help.

I've seen strangeness on the resume path too, with devices not responding but still being known to the kernel. What I found odd was that I know the OHCI hardware was reinitialized correctly, and it was just khubd that wasn't responding. So it wouldn't even respond to unplug/replug. And this is with known-OK IRQ settings (driver did get IRQs after resume).

There's some other stuff misbehaving still. I'm hoping to see the simpler stuff work first -- standby and STR behaving, wakeup by USB keyboards not ACPI power buttons -- and at that point the remaining problems will be specific to STD. There are enough wierd BIOS and power states with STD that making that work first is very likely to bork the other stuff.

- Dave