Skip to contentSkip to conversation

2.6.22-rc1 suspend to RAM problem

DISCUSSION Marcus Better 4 participants 12 messages May 16, 2007 – May 18, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

my Thinkpad R60 (x86_64, SMP, XFS) has failed to resume from RAM twice, with the caps lock LED flashing, blank screen and a locked system (but it usually succeeds). I use s2ram.

Marcus

#2 lore raw
Quoted 5 lines · Marcus Better
Quoted 1 line · Marcus Better

my Thinkpad R60 (x86_64, SMP, XFS) has failed to resume from RAM twice,

I should probably add that I have applied the Rafael's patch [1] for the suspend-to-disk issue.

Please revert it. It's a debug-only patch and it fiddles with too many things.

Does the hibernation work with it, BTW?

Rafael

#3 lore raw
Quoted 4 lines · Rafael J. Wysocki

Please revert it. It's a debug-only patch and it fiddles with too many things.

Does the hibernation work with it, BTW?

Yes, that's why I left it in place. Will remove and try again.

Thanks,

Marcus

#4 lore raw
In reply to Rafael J. Wysocki
Quoted 9 lines · Marcus Better
Quoted 5 lines
Quoted 1 line · Marcus Better

my Thinkpad R60 (x86_64, SMP, XFS) has failed to resume from RAM twice,

I should probably add that I have applied the Rafael's patch [1] for the suspend-to-disk issue.

Please revert it. It's a debug-only patch and it fiddles with too many things.

Ok, so the resume-from-RAM problem appears on 2.6.22-rc1, but not on 2.6.20, and probably not in 2.6.21. I may try to bisect it if I can find some time...

Also, it works correctly with "init=/bin/sh", but not when booting with "single". Perhaps a driver issue?

Marcus

#5 lore raw

Hi!

Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
Quoted 1 line

my Thinkpad R60 (x86_64, SMP, XFS) has failed to resume from RAM twice,

I should probably add that I have applied the Rafael's patch [1] for the suspend-to-disk issue.

Quoted 8 lines
Quoted 2 lines

Please revert it. It's a debug-only patch and it fiddles with too many things.

Ok, so the resume-from-RAM problem appears on 2.6.22-rc1, but not on 2.6.20, and probably not in 2.6.21. I may try to bisect it if I can find some time...

Also, it works correctly with "init=/bin/sh", but not when booting with "single". Perhaps a driver issue?

Sounds so. Try to locate which driver.
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#6 lore raw
Quoted 1 line · Pavel Machek

Sounds so. Try to locate which driver.

Found it! It's fw-ohci. Haven't bisected it yet though.

Marcus

#7 lore raw
Quoted 1 line · Marcus Better

Found it! It's fw-ohci. Haven't bisected it yet though.

Results so far: Commit 7b104bcb8e460e45a1aebe3da9b86aacdb4cab12 is bad, b526ca438b95a6d71210e0ffc79aabac8aba2b1e is good, 261 more revisions to test.

Marcus

#8 lore raw
Quoted 1 line · Marcus Better

Results so far: Commit 7b104bcb8e460e45a1aebe3da9b86aacdb4cab12 is bad,

Forget it, the bisection was borked...

Marcus

#9 lore raw
Quoted 4 lines · Marcus Better
Quoted 1 line · Marcus Better

Results so far: Commit 7b104bcb8e460e45a1aebe3da9b86aacdb4cab12 is bad,

Forget it, the bisection was borked...

fw-ohci is new anyway and I don't think it has seen many revisions in-tree. It's loaded on my machine too but lost against ohci1394 so it's not actually in use.

johannes

#10 lore raw
In reply to Marcus Better

Hi!

Quoted 3 lines
Quoted 1 line

Sounds so. Try to locate which driver.

Found it! It's fw-ohci. Haven't bisected it yet though.

Complain to its maintainer, cc list and akpm, I'd say.
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#11 lore raw
In reply to Pavel Machek
Quoted 1 line · Pavel Machek

Sounds so. Try to locate which driver.

So it's the fw-ohci driver, but I cannot bisect it since it's based on 2.6.21-rc3 which hangs already at suspend.

Marcus