FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 08-27-2011, 06:49 AM
Jonathan Nieder
 
Default Bug#622259: resuming from hibernation sometimes fails on eeepc 1002HA

found 622259 linux-2.6/2.6.32-34
# regression
severity 622259 important
merge 622259 623149
quit

Hi Robert and Frédéric,

Frédéric Boiteux wrote:

> I've tried the 2.6.32-34 Debian kernel recently released for Squeeze,
> and the bug is still present.

Thanks, and sorry for the late reply.

I think we are long overdue to take this one upstream. I have a few
questions anyway for before then:

- does hibernation work for you if you try a sid (3.x) kernel?
- could you attach dmesg output from right after booting?
- is this reproducible this with a pristine kernel from kernel.org
(e.g., 2.6.32.45, 2.6.33.18, or 2.6.35.14)?



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110827064955.GA4789@elie.gateway.2wire.net">http ://lists.debian.org/20110827064955.GA4789@elie.gateway.2wire.net
 
Old 08-27-2011, 05:37 PM
Robert Scott
 
Default Bug#622259: resuming from hibernation sometimes fails on eeepc 1002HA

On Saturday 27 August 2011, Jonathan Nieder wrote:
> I think we are long overdue to take this one upstream. I have a few
> questions anyway for before then:
>
> - does hibernation work for you if you try a sid (3.x) kernel?

Would 2.6.39+35.1 (from squeeze-backports) do? It's a lot easier to get installed

Or is there a specific relevant patch that's gone into 3.*?


robert.



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201108271837.32153.bugs@humanleg.org.uk">http://lists.debian.org/201108271837.32153.bugs@humanleg.org.uk
 
Old 08-27-2011, 05:53 PM
Jonathan Nieder
 
Default Bug#622259: resuming from hibernation sometimes fails on eeepc 1002HA

Robert Scott wrote:
> On Saturday 27 August 2011, Jonathan Nieder wrote:

>> I think we are long overdue to take this one upstream. I have a few
>> questions anyway for before then:
>>
>> - does hibernation work for you if you try a sid (3.x) kernel?
>
> Would 2.6.39+35.1 (from squeeze-backports) do? It's a lot easier to get
> installed
>
> Or is there a specific relevant patch that's gone into 3.*?

Sure, 2.6.39 is fine. 3.* from sid should install fine with
linux-base and initramfs-tools from squeeze-backports, by the way.



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110827175306.GF10476@elie.gateway.2wire.net">htt p://lists.debian.org/20110827175306.GF10476@elie.gateway.2wire.net
 
Old 08-27-2011, 10:18 PM
Robert Scott
 
Default Bug#622259: resuming from hibernation sometimes fails on eeepc 1002HA

On Saturday 27 August 2011, Jonathan Nieder wrote:
> >> - does hibernation work for you if you try a sid (3.x) kernel?
> >
> > Would 2.6.39+35.1 (from squeeze-backports) do? It's a lot easier to get
> > installed
> >
> > Or is there a specific relevant patch that's gone into 3.*?
>
> Sure, 2.6.39 is fine. 3.* from sid should install fine with
> linux-base and initramfs-tools from squeeze-backports, by the way.

Success.

Hibernation works with 2.6.39-bpo.2-686-pae.

This is on a Lenovo Ideapad S10-3.


robert.



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201108272318.20980.bugs@humanleg.org.uk">http://lists.debian.org/201108272318.20980.bugs@humanleg.org.uk
 
Old 08-28-2011, 06:44 PM
Jonathan Nieder
 
Default Bug#622259: resuming from hibernation sometimes fails on eeepc 1002HA

forwarded 622259 http://thread.gmane.org/gmane.linux.kernel.stable/6341/focus=16950
quit

Robert Scott wrote:

> I'm afraid both 2.6.32.45 and 2.6.33.18 are a fail.

Thanks for checking so quickly. Let's take this upstream.



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110828184417.GB6722@elie.gateway.2wire.net">http ://lists.debian.org/20110828184417.GB6722@elie.gateway.2wire.net
 
Old 08-29-2011, 11:37 AM
Frédéric Boiteux
 
Default Bug#622259: resuming from hibernation sometimes fails on eeepc 1002HA

Le Sat, 27 Aug 2011 12:53:06 -0500,
Jonathan Nieder <jrnieder@gmail.com> a écrit :

> Robert Scott wrote:
> > On Saturday 27 August 2011, Jonathan Nieder wrote:
>
> >> I think we are long overdue to take this one upstream. I have a
> >> few questions anyway for before then:
> >>
> >> - does hibernation work for you if you try a sid (3.x) kernel?
> >
> > Would 2.6.39+35.1 (from squeeze-backports) do? It's a lot easier to
> > get installed
> >
> > Or is there a specific relevant patch that's gone into 3.*?
>
> Sure, 2.6.39 is fine. 3.* from sid should install fine with
> linux-base and initramfs-tools from squeeze-backports, by the way.

Hello Jonathan,

Robert already did tests very quickly, but I'll try also to give some
info : I've tried 2.6.39-bpo.2-686-pae, making 4 hibernations with some
pauses between them, and it worked each time (the bug wasn't easily
reproductible, but usually appeared in the 1 to 4*hibernations
attempts).
I remember I did test some 2.6.33 kernel revisions, with the same bug
always found. I'll try to compile a pristine 2.6.32.45 to test it, but
as I*identified the culprit patch, it was in the vanilla kernel also,
so I don't think it could change something...

Also, trying 2.6.39 for squeeze-backports showed that the other bug I
had to patch my kernel for, Ethernet adapter giving corrupted packets
at hibernation resume (see #577747), is already present :-(


with regards,
Fred.
 
Old 08-29-2011, 09:18 PM
Jonathan Nieder
 
Default Bug#622259: resuming from hibernation sometimes fails on eeepc 1002HA

forwarded 622259 https://bugzilla.kernel.org/show_bug.cgi?id=41982
quit

Frédéric Boiteux wrote:

> Robert already did tests very quickly, but I'll try also to give some
> info : I've tried 2.6.39-bpo.2-686-pae, making 4 hibernations with some
> pauses between them, and it worked each time (the bug wasn't easily
> reproductible, but usually appeared in the 1 to 4*hibernations
> attempts).
> I remember I did test some 2.6.33 kernel revisions, with the same bug
> always found. I'll try to compile a pristine 2.6.32.45 to test it, but
> as I*identified the culprit patch, it was in the vanilla kernel also,
> so I don't think it could change something...

No need --- Robert already did enough.

Actually, it would be interesting to find how new the kernel has to be
to avoid this bug. That is, first try v2.6.35.14 and then "bisect the
fix":

apt-get install git-core build-essential
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
cd linux
git tag culprit v2.6.37-rc1~205^2

git checkout v2.6.36-rc4
git merge culprit
make localmodconfig; # minimal configuration
make deb-pkg; # add -j<n> for parallel build
dpkg -i ../<name of package>
... test test test ...

For the sake of concreteness, let's say v2.6.35.14 triggers the
problem but v2.6.36-rc4 + culprit doesn't. Then initialize the
bisection using the first "bad" and last "good" commits:

# This is a little weird. "bad" means fixed. "good" means broken.
git bisect start v2.6.36-rc4 v2.6.35

And run a round:

# Git checks out a version half-way between. Apply the fix:
git rev-list v2.6.36-rc4..culprit |
while read cmit
do
git cherry-pick --no-commit $cmit || break
done
make silentoldconfig; # reuse configuration
make deb-pkg
dpkg -i ../<name of package>
... test test test ...
cd ~/src/linux
git bisect good; # if it reproduces the failure to resume
git bisect bad; # if it seems perfectly functional
git bisect skip; # if some other bug makes it hard to test

So far, so usual, except for the new meanings for "good" and "bad".
Repeat until bored as usual. Even a couple of rounds could help a
lot in narrowing down what change is missing.



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110829211849.GF9045@elie.gateway.2wire.net">http ://lists.debian.org/20110829211849.GF9045@elie.gateway.2wire.net
 
Old 08-30-2011, 07:19 AM
Frédéric Boiteux
 
Default Bug#622259: resuming from hibernation sometimes fails on eeepc 1002HA

Le Mon, 29 Aug 2011 16:18:50 -0500,
Jonathan Nieder <jrnieder@gmail.com> a écrit :

> Actually, it would be interesting to find how new the kernel has to be
> to avoid this bug. That is, first try v2.6.35.14 and then "bisect the
> fix":
> …

Hello,

I'll try to do this, but as it needs some time (compilations, tests),
I can't do it now, I'll tell you when I've results.

I already learnt how to use «Â*git bisectÂ*» to identify the problem,
Ben Hutchings explained me some time ago, I use it to identify
culprit patch.

with regards,
Fred.



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110830091921.6558646c@prem6s">http://lists.debian.org/20110830091921.6558646c@prem6s
 

Thread Tools




All times are GMT. The time now is 10:07 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org