Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139852 - gentoo-sources-2.6.17-r2 hangs in resume after suspend
Summary: gentoo-sources-2.6.17-r2 hangs in resume after suspend
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Drake (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-10 03:01 UTC by Ulrich Müller
Modified: 2006-07-22 13:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Kernel .config (.config,34.86 KB, text/plain)
2006-07-10 03:02 UTC, Ulrich Müller
Details
Hunk of 4400_speakup-20060618.patch that causes (triggers?) the bug (4400_speakup-20060618.part.patch,903 bytes, patch)
2006-07-10 03:03 UTC, Ulrich Müller
Details | Diff
Proposed bugfix for drivers/Makefile (makefile-serio.patch,653 bytes, patch)
2006-07-10 05:28 UTC, Ulrich Müller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2006-07-10 03:01:57 UTC
With kernel 2.6.17-gentoo-r2, suspend/resume does not work on my HP/Compaq nc6120 notebook.


Steps to reproduce:
1. Boot kernel 2.6.17-gentoo-r2 (config see attachment)
2. Suspend the system with "echo -n disk >/sys/power/state"
3. Boot again and try to resume

Actual results:
The following messages appear on the console...

ACPI: write EC, IB not empty
ACPI Exception (evregion-0409): AE_TIME, Returned by Handler for [EmbeddedControl] [20060127]
ACPI Error (psparse-0517): Method parse/execution failed [\_SB_.C002.C003.C004.C153] (Node c778e440), AE_TIME
ACPI Error (psparse-0517): Method parse/execution failed [\_TZ_.C23E] (Node c7793f80), AE_TIME
ACPI Error (psparse-0517): Method parse/execution failed [\_TZ_.C245._ON_] (Node c7793e00), AE_TIME
Synaptics Touchpad, model: 1, fw: 6.2, id: 0x25a0b1, caps: 0xa04793/0x300000
serio: Synaptics pass-through port at isa0060/serio4/input0
input: SynPS/2 Synaptics TouchPad as /class/input/input0

... and then the system hangs and must be switched off by pressing the power switch for 5 seconds.

Expected results:
System should resume properly.


Additional observations:

1. Suspend/resume just works fine with vanilla-sources-2.6.17.4 (identical kernel configuration, as far as possible)

2. If I reverse attached hunk from 4400_speakup-20060618.patch, the resulting kernel suspends/resumes properly, too.
Comment 1 Ulrich Müller gentoo-dev 2006-07-10 03:02:47 UTC
Created attachment 91340 [details]
Kernel .config
Comment 2 Ulrich Müller gentoo-dev 2006-07-10 03:03:54 UTC
Created attachment 91341 [details, diff]
Hunk of 4400_speakup-20060618.patch that causes (triggers?) the bug
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2006-07-10 03:45:03 UTC
Does this happen every time?

Please boot with the "initcall_debug" and "debug" parameters and examine the hang messages again.
Comment 4 Ulrich Müller gentoo-dev 2006-07-10 05:27:12 UTC
(In reply to comment #3)
> Does this happen every time?

Yes, it does.

> Please boot with the "initcall_debug" and "debug" parameters and examine the
> hang messages again.

Sorry, no additional hang messages. (The screen is cleared before resuming, so I don't see what comes before. Maybe I can check with the serial console later.)


However, I have further investigated: If I move "input/serio/" along with "input/gameport/" and "input/" in drivers/Makefile, then the problem goes away.

See attached patch. It used to be like this in the 2.6.16 series, BTW.
Comment 5 Ulrich Müller gentoo-dev 2006-07-10 05:28:08 UTC
Created attachment 91352 [details, diff]
Proposed bugfix for drivers/Makefile
Comment 6 Ulrich Müller gentoo-dev 2006-07-16 03:03:18 UTC
The problem still exists in 2.6.17-r3.
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2006-07-21 16:34:32 UTC
Fixed in gentoo-sources-2.6.17-r4
Comment 8 Ulrich Müller gentoo-dev 2006-07-22 13:20:57 UTC
(In reply to comment #7)
> Fixed in gentoo-sources-2.6.17-r4

Yes, looks good.