Re: Resume from swsusp stopped working with 2.6.14 and 2.6.15-rc1

From: Bjørn Mork
Date: Fri Nov 18 2005 - 04:37:26 EST


Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> writes:
> On 11/12/05, Bjørn Mork <bmork@xxxxxx> wrote:
>> IPv6 over IPv4 tunneling driver
>> NET: Registered protocol family 17
>> Using IPI Shortcut mode
>> Stopping tasks: ===<6>Synaptics Touchpad, model: 1, fw: 5.9, id: 0x2c6ab1, caps: 0x884793/0x0
>> serio: Synaptics pass-through port at isa0060/serio1/input0
>> input: SynPS/2 Synaptics TouchPad as /class/input/input1
>>
>> stopping tasks failed (1 tasks remaining)
>> Restarting tasks...<6> Strange, kseriod not stopped
>> done
>
> Crazy idea - did you let it finish booting or you hit suspend as soon
> as you could? It looks like kseriod was busy discovering your
> touchpad/trackpoint for the first time...

The boot was complete, even including X running.

> Anyway, Pavel, I think 6 seconds it too short of a timeout for
> stopping all tasks. PS/2 is pretty slow, trackpad reset can take up to
> 2 seconds alone...
>
> Bjorn, does it help if you change TIMEOUT in kernel/power/process.c to 30 * HZ?

Yup. Resume is working with this change in an otherwise unchanged
2.6.15-rc1, so that seems to be it.

Thanks.


Bjørn
--
You sound like a real weakling.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/