Bug#611750: Bug#613790: 2nd update (Re: Bug#613790: pm-utils: eeepc 1005 PE recently stopped resuming from hibernate)

2011-04-02 Thread Ben Hutchings
On Fri, 2011-04-01 at 15:03 +0200, Frédéric Boiteux wrote:
   Hello Ben,
 
   I've run the 2.6.32-31 Debian kernel without the identified faulty
 patch
 (x86-hotplug-use-mwait-to-offline-a-processor-fix-the-legacy-case.patch)
 since about two weeks, using multiple hibernation cycles, without any
 problem. I don't know if other people involved tried this also ?
 What are you plans about this bug ? Did you reported it upstream to the
 kernel devs ? Do you plan to revert it in next Debian kernel release ?

So far, every other comment 2.6.32-31 or on 2.6.32-30 with the 3 i915
patches removed says that resume from hibernation i fixed.  I will need
to check with the original submitters, but I think that their bug is
fixed.

I think you must be seeing an entirely separate bug.  Please make a new
bug report summarising your results, so we can deal with it separately.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.


signature.asc
Description: This is a digitally signed message part


Bug#611750: Bug#613790: 2nd update (Re: Bug#613790: pm-utils: eeepc 1005 PE recently stopped resuming from hibernate)

2011-04-01 Thread Frédéric Boiteux
Hello Ben,

  I've run the 2.6.32-31 Debian kernel without the identified faulty
patch
(x86-hotplug-use-mwait-to-offline-a-processor-fix-the-legacy-case.patch)
since about two weeks, using multiple hibernation cycles, without any
problem. I don't know if other people involved tried this also ?
What are you plans about this bug ? Did you reported it upstream to the
kernel devs ? Do you plan to revert it in next Debian kernel release ?

  Thanks for your feedback,
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/20110401150331.7de17cb8@prem6s



Bug#611750: Bug#613790: 2nd update (Re: Bug#613790: pm-utils: eeepc 1005 PE recently stopped resuming from hibernate)

2011-04-01 Thread Emmanuel Charpentier
One more datapoint :

I also upgraded to 2.6.32.31 as packaged in testing, without further
problems on my 1005PE. I have used it since its apparition in testing
(that's 8 days and 8 hours according to uptime), using my machine as
usual (meaning 2-5 hibernations per day) without shutdown or reboot.

Other models may be pickier ?

HTH,
Emmanuel Charpentier

Le vendredi 01 avril 2011 à 15:03 +0200, Frédéric Boiteux a écrit :
   Hello Ben,
 
   I've run the 2.6.32-31 Debian kernel without the identified faulty
 patch
 (x86-hotplug-use-mwait-to-offline-a-processor-fix-the-legacy-case.patch)
 since about two weeks, using multiple hibernation cycles, without any
 problem. I don't know if other people involved tried this also ?
 What are you plans about this bug ? Did you reported it upstream to the
 kernel devs ? Do you plan to revert it in next Debian kernel release ?
 
   Thanks for your feedback,
 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/1301684635.2727.193.ca...@portable-ec.bacbuc.dyndns.org



Bug#611750: Bug#613790: 2nd update (Re: Bug#613790: pm-utils: eeepc 1005 PE recently stopped resuming from hibernate)

2011-03-18 Thread Frédéric Boiteux
Le Wed, 16 Mar 2011 03:58:47 +,
Ben Hutchings b...@decadent.org.uk a écrit :

 I can't see any fix that looks related to this, but please do try the
 new version.  You will need to add the 'stable-proposed-updates' suite
 in /etc/apt/sources.list.

  Hello Ben,

I've tried the 2.6.32-31 version from stable-proposed-updates, and it
fails at second hibernation resume attempt !
I'll work on a 2.6.32-31 with patch
x86-hotplug-use-mwait-to-offline-a-processor-fix-the-legacy-case.patch
reversed...

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/20110318162020.6ff8fcd0@prem6s



Bug#611750: Bug#613790: 2nd update (Re: Bug#613790: pm-utils: eeepc 1005 PE recently stopped resuming from hibernate)

2011-03-15 Thread Ben Hutchings
On Mon, 2011-03-14 at 13:07 +0100, Frédéric Boiteux wrote:
 Le Sun, 06 Mar 2011 00:50:50 +,
 Ben Hutchings b...@decadent.org.uk a écrit :
 
  You can find all the individual patches as a quilt series in:
  
  git://git.kernel.org/pub/scm/linux/kernel/git/longterm/longterm-queue-2.6.32.git
  
  subdirectory releases/2.6.32.28.
  
  Since quilt doesn't have a bisect command you would have to have to
  keep track of good and bad positions in the series yourself.  I would
  guess that it's most likely one of:
  
  releases/2.6.32.28/pm-hibernate-fix-pm_post_-notification-with-user-space-suspend.patch
  releases/2.6.32.28/x86-enable-the-intr-remap-fault-handling-after-local-apic-setup.patch
  
  so you could try reverting those before going through the whole
  series.
 
 
   Hello Ben,
 
   I've done the manual bisecting with 2.6.32.28 patches, and with 6
 tries (and 2 more checks to be sure), I found that the patch causing
 hibernation resume failures was :
 
 x86-hotplug-use-mwait-to-offline-a-processor-fix-the-legacy-case.patch
 
 I've done about ten successfull hibernation/resume cycles with a
 2.6.32-30 without this patch, and I'm using it since the end of my
 bisecting with success.
 
 I've also read on bug #611750's log that  the new
 linux-image-2.6.32-5-686_2.6.32-31_i386 could have a fix for this
 problem, perhaps you could look if there is a patch in this latest
 version fixing the previous faulty patch I've identified here.

I can't see any fix that looks related to this, but please do try the
new version.  You will need to add the 'stable-proposed-updates' suite
in /etc/apt/sources.list.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.


signature.asc
Description: This is a digitally signed message part


Bug#611750: Bug#613790: 2nd update (Re: Bug#613790: pm-utils: eeepc 1005 PE recently stopped resuming from hibernate)

2011-03-14 Thread Frédéric Boiteux
Le Sun, 06 Mar 2011 00:50:50 +,
Ben Hutchings b...@decadent.org.uk a écrit :

 You can find all the individual patches as a quilt series in:
 
 git://git.kernel.org/pub/scm/linux/kernel/git/longterm/longterm-queue-2.6.32.git
 
 subdirectory releases/2.6.32.28.
 
 Since quilt doesn't have a bisect command you would have to have to
 keep track of good and bad positions in the series yourself.  I would
 guess that it's most likely one of:
 
 releases/2.6.32.28/pm-hibernate-fix-pm_post_-notification-with-user-space-suspend.patch
 releases/2.6.32.28/x86-enable-the-intr-remap-fault-handling-after-local-apic-setup.patch
 
 so you could try reverting those before going through the whole
 series.


Hello Ben,

  I've done the manual bisecting with 2.6.32.28 patches, and with 6
tries (and 2 more checks to be sure), I found that the patch causing
hibernation resume failures was :

x86-hotplug-use-mwait-to-offline-a-processor-fix-the-legacy-case.patch

I've done about ten successfull hibernation/resume cycles with a
2.6.32-30 without this patch, and I'm using it since the end of my
bisecting with success.

I've also read on bug #611750's log that  the new
linux-image-2.6.32-5-686_2.6.32-31_i386 could have a fix for this
problem, perhaps you could look if there is a patch in this latest
version fixing the previous faulty patch I've identified here.

  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/20110314130719.4283daee@prem6s



Bug#611750: Bug#613790: 2nd update (Re: Bug#613790: pm-utils: eeepc 1005 PE recently stopped resuming from hibernate)

2011-03-08 Thread Frédéric Boiteux
Le Sun, 06 Mar 2011 00:50:50 +,
Ben Hutchings b...@decadent.org.uk a écrit :

 You can find all the individual patches as a quilt series in:
 
 git://git.kernel.org/pub/scm/linux/kernel/git/longterm/longterm-queue-2.6.32.git
 
 subdirectory releases/2.6.32.28.
 
 Since quilt doesn't have a bisect command you would have to have to
 keep track of good and bad positions in the series yourself.  I would
 guess that it's most likely one of:
 
 releases/2.6.32.28/pm-hibernate-fix-pm_post_-notification-with-user-space-suspend.patch
 releases/2.6.32.28/x86-enable-the-intr-remap-fault-handling-after-local-apic-setup.patch
 
 so you could try reverting those before going through the whole
 series.

Hello Ben,

  Your guesses wasn't good, using a Debian kernel 2.6.32-30 without one
of these 2 patches gave hibernation faulty systems. I'll try to bisect
myself with the whole series in the next days...

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/20110309080018.5633f916@Prem1s.lanvoc



Bug#611750: Bug#613790: 2nd update (Re: Bug#613790: pm-utils: eeepc 1005 PE recently stopped resuming from hibernate)

2011-03-05 Thread Ben Hutchings
On Fri, 2011-03-04 at 14:27 +0100, Frédéric Boiteux wrote:
 Le Thu, 3 Mar 2011 17:46:38 +0100,
 Frédéric Boiteux fboit...@calistel.com a écrit :
 
  Hi,
  
It was a false assertion, I did get hibernation resuming fail later
  with this commit reversed :-(( Indeed, the bug is quite difficult to
  verify, I've done 2/3 hibernation/resume loops before stating a
  bissecting kernel was good, perhaps it was not enough !
I'll retry, starting from last 'good' kernel before this.
 
 [ Sorry for my previous e-mail, I didn't finished it ]
 
   I've done more tests, and finally got this commit as faulty for
 hibernation resuming :
 
 ee7181e2b0625ffaa8a7b3dd19dd0c1684cc2d70 is first bad commit
 commit ee7181e2b0625ffaa8a7b3dd19dd0c1684cc2d70
 Author: Debian kernel team debian-kernel@lists.debian.org
 Date:   Thu Feb 17 22:22:25 2011 +
 
 Apply 2.6.32.28.patch

Thanks for the confirmation.

[...]
 I've tried at least 5 hibernation / resume cycles with a 2.6.32-30
 version without this commit (with some parts of patch not reversed
 cleanly, but seemed not a problem) , waiting for some time unplugged,
 and it seems to work.
 
   Perhaps we could bisect further inside this multi-purpose patch, but
 I don't know how to do  it.

You can find all the individual patches as a quilt series in:

git://git.kernel.org/pub/scm/linux/kernel/git/longterm/longterm-queue-2.6.32.git

subdirectory releases/2.6.32.28.

Since quilt doesn't have a bisect command you would have to have to keep
track of good and bad positions in the series yourself.  I would guess
that it's most likely one of:

releases/2.6.32.28/pm-hibernate-fix-pm_post_-notification-with-user-space-suspend.patch
releases/2.6.32.28/x86-enable-the-intr-remap-fault-handling-after-local-apic-setup.patch

so you could try reverting those before going through the whole series.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.


signature.asc
Description: This is a digitally signed message part


Bug#611750: Bug#613790: 2nd update (Re: Bug#613790: pm-utils: eeepc 1005 PE recently stopped resuming from hibernate)

2011-03-03 Thread Frédéric Boiteux
Le Mon, 21 Feb 2011 17:08:58 +,
Ben Hutchings b...@decadent.org.uk a écrit :

 On Mon, Feb 21, 2011 at 05:58:52PM +0100, Frédéric Boiteux wrote:
  Hello,
  
I've tried a self-compiled Debian 2.6.32-30 kernel without
  kprobes, as suggested in bug #611551, but it didn't work for me,
  after hibernation, my eeepc (1002HA) didn't resume, but returned to
  Grub menu after few seconds.
I've then tried a self-compiled Debian 2.6.32-30 with the 3
  drm-i915 related patches reverted :
  drm-i915-free-hardware-status-page-on-unload-when-physically-mapped.patch.bz2
  drm-i915-overlay-ensure-that-the-reg_bo-is-in-the-gtt-prior-to-writing.patch.bz2
  drm-i915-sdvo-always-add-a-30ms-delay-to-make-sdvo-tv-detection-reliable.patch.bz2
  
But I had the same result, the hibernation is still broken :-(
  
At now, I've returned to 2.6.32-29 which is OK.
  
I've tried one time to do a git-bisect to find a bug, but I don't
  know if it's usable with a Debian-patched kernel ?
  
 If you clone git://git.debian.org/kernel/linux-2.6.git you can
 then use 'git bisect debian/2.6.32-30 debian/2.6.32-29'.
 
 At least, you will after I update it later today.
 
 Ben.
 

Hello Ben,

  I've actually found the culprit's commit. I has been harder than I
thought, as at first git bisect process, I was always finding 'good'
systems, ending with latest commit of 2.6.30 (which is unrelated, about
powerpc) :-( I doubted of my rebuild system (I wasn't do a 'make clean'
between kernel recompilations, I'm not sure if it's mandatory) and
finally found that the bug (resumimg from hibernation fails), I had to
wait some time, and remove the current plug for some time, or at least
do a cold boot.

I've found following commit as problematic :

eb28b7f273d768a62f58baacb7e8473481b05dc5 is first bad commit
commit eb28b7f273d768a62f58baacb7e8473481b05dc5
Author: Ben Hutchings b...@decadent.org.uk
Date:   Thu Feb 17 22:22:26 2011 +

Revert most of block: Deprecate QUEUE_FLAG_CLUSTER ...

This reverts the API- and ABI-breaking changes in commit
e692cb668fdd5a712c6ed2a2d6f2a36ee83997b4 upstream, included in
stable update 2.6.32.28.

Restore both blk_queue_limits::no_cluster and QUEUE_FLAG_CLUSTER.
Modify blk_queue_cluster() to check both of them, to cope with any
drivers that fail to update them both.

Signed-off-by: Ben Hutchings b...@decadent.org.uk

:04 04 21b8932d10749394aacbb2f07c8e6b7e8f3256f9
2998f524ab5f85f9b894c3421aee2391b33d509c M  block :04 04
af298ebe2fac399537275d8515516964c1ffeb5c
46916a3bcd8b182d6f2b314b1b4b3125d7ac3563 M  drivers :04 04
53352a9d2a102c31a98a8e55370c4841e7b3b3ea
193a630d1fdb9a107f3e04f80bd580e1671a2294 M  include

I've tried to build then a kernel 2.6.32-30 with this specific patch,
and my tests were successful, hibertation worked here.

  I'm not enough experienced in kernel dev to understand why this
commit has a problem, I'm relying on you ;-)


   Hope this can be helpful for others too, and perhaps in time for
next Squeeze release...

 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/20110303162259.4907a135@Prem1s.lanvoc



Bug#611750: Bug#613790: 2nd update (Re: Bug#613790: pm-utils: eeepc 1005 PE recently stopped resuming from hibernate)

2011-03-03 Thread Frédéric Boiteux
Hi,

  It was a false assertion, I did get hibernation resuming fail later
with this commit reversed :-(( Indeed, the bug is quite difficult to
verify, I've done 2/3 hibernation/resume loops before stating a
bissecting kernel was good, perhaps it was not enough !
  I'll retry, starting from last 'good' kernel before this.

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/20110303174638.603f44f9@Prem1s.lanvoc



Bug#611750: Bug#613790: 2nd update (Re: Bug#613790: pm-utils: eeepc 1005 PE recently stopped resuming from hibernate)

2011-02-21 Thread Ben Hutchings
On Mon, Feb 21, 2011 at 05:58:52PM +0100, Frédéric Boiteux wrote:
   Hello,
 
   I've tried a self-compiled Debian 2.6.32-30 kernel without kprobes,
 as suggested in bug #611551, but it didn't work for me, after
 hibernation, my eeepc (1002HA) didn't resume, but returned to Grub menu
 after few seconds.
   I've then tried a self-compiled Debian 2.6.32-30 with the 3 drm-i915
 related patches reverted :
 drm-i915-free-hardware-status-page-on-unload-when-physically-mapped.patch.bz2
 drm-i915-overlay-ensure-that-the-reg_bo-is-in-the-gtt-prior-to-writing.patch.bz2
 drm-i915-sdvo-always-add-a-30ms-delay-to-make-sdvo-tv-detection-reliable.patch.bz2
 
   But I had the same result, the hibernation is still broken :-(
 
   At now, I've returned to 2.6.32-29 which is OK.
 
   I've tried one time to do a git-bisect to find a bug, but I don't
 know if it's usable with a Debian-patched kernel ?
 
If you clone git://git.debian.org/kernel/linux-2.6.git you can
then use 'git bisect debian/2.6.32-30 debian/2.6.32-29'.

At least, you will after I update it later today.

Ben.

-- 
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
  - Albert Camus



-- 
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/20110221170858.gi28...@decadent.org.uk