Bug#622259: resuming from hibernation sometimes fails on eeepc 1002HA
Le Mon, 29 Aug 2011 16:18:50 -0500, Jonathan Nieder jrnie...@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-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110830091921.6558646c@prem6s
Bug#622259: resuming from hibernation sometimes fails on eeepc 1002HA
Le Sat, 27 Aug 2011 12:53:06 -0500, Jonathan Nieder jrnie...@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. dmesg.2.6.39-bpo.2-686-pae.bz2 Description: application/bzip
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 -jn 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-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110829211849.gf9...@elie.gateway.2wire.net
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-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110828184417.gb6...@elie.gateway.2wire.net
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-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110827064955.ga4...@elie.gateway.2wire.net
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-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201108271837.32153.b...@humanleg.org.uk
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-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110827175306.gf10...@elie.gateway.2wire.net
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-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201108272318.20980.b...@humanleg.org.uk