Re: 2.6.25-rc7 : hibernation sometimes not resuming on Dell Latitude D630

2008-04-03 Thread Didier Raboud
Le mercredi, 2 avril 2008 14.06:29 Didier Raboud, vous avez écrit :
 Le mardi, 1 avril 2008 23.22:35 Rafael J. Wysocki, vous avez écrit :
  On Tuesday, 1 of April 2008, Didier Raboud wrote:
   Le mardi, 1 avril 2008 23.11:15 Rafael J. Wysocki, vous avez écrit :
(...)
Can you please test the in-kernel hibernation, then?
   
Rafael
  
   Hi,
  
   would like to. How ?
  
   # echo -n disk  /sys/power/state
 
  Yes, should work without the -n, too.  Of course, you have to use the
  'resume=' kernel command line argument for this to work.
 
  Perhaps increase the console log level before that.
 
  Thanks,
  Rafael

 Ok. I found a better way to do it : just uninstall uswsusp and let
 kpowersave use hal to use suspend :-)

 Anyway, so far so good (with USB_SUSPEND not set), no hang. I will test
 with USB_SUSPEND set and the incoming 2.6.25-rc8.

 Regards,

 Didier

So far so good too with stock Debian Kernel (2.7.25-rc7-amd64) with 
USB_SUSPEND set. No hang.

The kernel suspend is less user-friendly than uswsusp though...

So I bet there is a bug in uswsusp's kernel part ?

Regards, 

Didier


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


Re: 2.6.25-rc7 : hibernation sometimes not resuming on Dell Latitude D630

2008-04-03 Thread Rafael J. Wysocki
On Thursday, 3 of April 2008, Didier Raboud wrote:
 Le mercredi, 2 avril 2008 14.06:29 Didier Raboud, vous avez écrit :
  Le mardi, 1 avril 2008 23.22:35 Rafael J. Wysocki, vous avez écrit :
   On Tuesday, 1 of April 2008, Didier Raboud wrote:
Le mardi, 1 avril 2008 23.11:15 Rafael J. Wysocki, vous avez écrit :
 (...)
 Can you please test the in-kernel hibernation, then?

 Rafael
   
Hi,
   
would like to. How ?
   
# echo -n disk  /sys/power/state
  
   Yes, should work without the -n, too.  Of course, you have to use the
   'resume=' kernel command line argument for this to work.
  
   Perhaps increase the console log level before that.
  
   Thanks,
   Rafael
 
  Ok. I found a better way to do it : just uninstall uswsusp and let
  kpowersave use hal to use suspend :-)
 
  Anyway, so far so good (with USB_SUSPEND not set), no hang. I will test
  with USB_SUSPEND set and the incoming 2.6.25-rc8.
 
  Regards,
 
  Didier
 
 So far so good too with stock Debian Kernel (2.7.25-rc7-amd64) with 
 USB_SUSPEND set. No hang.
 
 The kernel suspend is less user-friendly than uswsusp though...
 
 So I bet there is a bug in uswsusp's kernel part ?

It's almost the same as the in-kernel one, especially as far as the resume is
concerned.  The simplest explanation coming to mind is that the image is
somehow damaged in the uswsusp case.

You can use the uswsusp's checksumming to verify that, though.

Thanks,
Rafael



Re: 2.6.25-rc7 : hibernation sometimes not resuming on Dell Latitude D630

2008-04-02 Thread Didier Raboud
Le mardi, 1 avril 2008 23.22:35 Rafael J. Wysocki, vous avez écrit :
 On Tuesday, 1 of April 2008, Didier Raboud wrote:
  Le mardi, 1 avril 2008 23.11:15 Rafael J. Wysocki, vous avez écrit :
   (...)
   Can you please test the in-kernel hibernation, then?
  
   Rafael
 
  Hi,
 
  would like to. How ?
 
  # echo -n disk  /sys/power/state

 Yes, should work without the -n, too.  Of course, you have to use the
 'resume=' kernel command line argument for this to work.

 Perhaps increase the console log level before that.

 Thanks,
 Rafael

Ok. I found a better way to do it : just uninstall uswsusp and let 
kpowersave use hal to use suspend :-)

Anyway, so far so good (with USB_SUSPEND not set), no hang. I will test with 
USB_SUSPEND set and the incoming 2.6.25-rc8.

Regards, 

Didier


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


Re: 2.6.25-rc7 : hibernation sometimes not resuming on Dell Latitude D630

2008-04-01 Thread Didier Raboud
Le lundi, 31 mars 2008 23.03:16 Didier Raboud, vous avez écrit :
 Le lundi, 31 mars 2008 22.29:20 Rafael J. Wysocki, vous avez écrit :
  On Monday, 31 of March 2008, Didier Raboud wrote:
   Le lundi, 31 mars 2008 19.36:00 Didier Raboud, vous avez écrit :
Le lundi, 31 mars 2008 19.24:55 maximilian attems, vous avez écrit :
 On Mon, Mar 31, 2008 at 07:03:13PM +0200, Didier Raboud wrote:
 snipp

Attached are a 2.6.25-rc7 and a 2.6.24 dmesg's after two
successful hibernate/resume cycles.
  
   Could you please check if the problem is still present if you
   boot with acpi_new_pts_ordering kernel command line argument?
 
  By the way, I just added acp_new_pts_ordering at the end of the
  Grub line beginning by linux (hd0,1)/vmlinuz(...). Is that
  correct ?

 seems strange you should add it to the kopt line and then kick as
 root update-grub

 # kopt=root=/dev/sda1 ro
 it should land
 kernel  /boot/vmlinuz-2.6.25-rc7-amd64 root=/dev/sda1 ro
   
Well... I'm using Grub2 (grub-pc). I altered the boot option at boot
time but forgot to check /proc/cmdline. Will try again and report
back.
   
Regards,
   
Didier
  
   Hi,
  
   I tried again and ensured that /proc/cmdline 's end was
   acpi_new_pts_ordering . It did work for 2-3 hibernation, but then
   failed.
 
  Well, there were quite a lot of suspend-related changes between 2.6.24
  and now.
 
  Hmm, do you have CONFIG_USB_SUSPEND set in .config by chance?
 
  Rafael

 I do (Debian default option)... I will build a kernel without it and retry.

 Didier

Hi again. 

I compiled the same kernel with CONFIG_USB_SUSPEND not set. After 6 
hibernations, I haven't had a problem for now.

Regards,

Didier


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


Re: 2.6.25-rc7 : hibernation sometimes not resuming on Dell Latitude D630

2008-04-01 Thread Didier Raboud
Le mardi, 1 avril 2008 08.18:57 Didier Raboud, vous avez écrit :
 Le lundi, 31 mars 2008 23.03:16 Didier Raboud, vous avez écrit :
  Le lundi, 31 mars 2008 22.29:20 Rafael J. Wysocki, vous avez écrit :
   On Monday, 31 of March 2008, Didier Raboud wrote:
Le lundi, 31 mars 2008 19.36:00 Didier Raboud, vous avez écrit :
 Le lundi, 31 mars 2008 19.24:55 maximilian attems, vous avez écrit :
  On Mon, Mar 31, 2008 at 07:03:13PM +0200, Didier Raboud wrote:
  snipp
 
 Attached are a 2.6.25-rc7 and a 2.6.24 dmesg's after two
 successful hibernate/resume cycles.
   
Could you please check if the problem is still present if you
boot with acpi_new_pts_ordering kernel command line argument?
  
   By the way, I just added acp_new_pts_ordering at the end of the
   Grub line beginning by linux (hd0,1)/vmlinuz(...). Is that
   correct ?
 
  seems strange you should add it to the kopt line and then kick as
  root update-grub
 
  # kopt=root=/dev/sda1 ro
  it should land
  kernel  /boot/vmlinuz-2.6.25-rc7-amd64 root=/dev/sda1 ro

 Well... I'm using Grub2 (grub-pc). I altered the boot option at
 boot time but forgot to check /proc/cmdline. Will try again and
 report back.

 Regards,

 Didier
   
Hi,
   
I tried again and ensured that /proc/cmdline 's end was
acpi_new_pts_ordering . It did work for 2-3 hibernation, but then
failed.
  
   Well, there were quite a lot of suspend-related changes between 2.6.24
   and now.
  
   Hmm, do you have CONFIG_USB_SUSPEND set in .config by chance?
  
   Rafael
 
  I do (Debian default option)... I will build a kernel without it and
  retry.
 
  Didier

 Hi again.

 I compiled the same kernel with CONFIG_USB_SUSPEND not set. After 6
 hibernations, I haven't had a problem for now.

 Regards,

 Didier

Hi again again,

It hung after the 10th hibernation...

I wonder if the problem would not be of Debian's uswsusp binary, because tty1 
tells me that the image is successfully loaded but I just can't act on my box 
afterwards.

There is a bug open in the Debian BTS requesting a packaging of the new 
upstream version (0.8) but the maintainer is told to be too busy to handle it 
for now.

Don't know...

Regards, 

Didier


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


Re: 2.6.25-rc7 : hibernation sometimes not resuming on Dell Latitude D630

2008-04-01 Thread Rafael J. Wysocki
On Tuesday, 1 of April 2008, Didier Raboud wrote:
 Le mardi, 1 avril 2008 23.11:15 Rafael J. Wysocki, vous avez écrit :
  (...)
  Can you please test the in-kernel hibernation, then?
 
  Rafael
 
 Hi,
 
 would like to. How ? 
 
 # echo -n disk  /sys/power/state 

Yes, should work without the -n, too.  Of course, you have to use the
'resume=' kernel command line argument for this to work.

Perhaps increase the console log level before that.

Thanks,
Rafael



Re: 2.6.25-rc7 : hibernation sometimes not resuming on Dell Latitude D630

2008-03-31 Thread Didier Raboud
Le lundi, 31 mars 2008 18.33:19 Rafael J. Wysocki, vous avez écrit :
 On Monday, 31 of March 2008, Didier Raboud wrote:
  Hi,

 Hi,

  I'm using the latest Debian 2.6.25-rc7 kernel [0] and I have big troubles
  with hibernation. With this version, the hibernation (suspend on disk) is
  sometimes not resuming correctly. The only thing I get is a blinking
  cursor at the top-left of the screen. The problem is that it is not
  easily reproducible : sometimes it works, sometimes not.
 
  AFAIK, 2.6.24 is not affected, but 2.6.25-rc6 and -rc7 (at least) are.
 
  I'm using a Dell Latitude D630. (lspci attached).
 
  Attached are a 2.6.25-rc7 and a 2.6.24 dmesg's after two successful
  hibernate/resume cycles.

 Could you please check if the problem is still present if you boot with
 acpi_new_pts_ordering kernel command line argument?

 Thanks,
 Rafael

Hi. 

It did not help. I had to test 4 hibernation/resume cycles to see the resume 
fail.

By the way, I just added acp_new_pts_ordering at the end of the Grub line 
beginning by linux (hd0,1)/vmlinuz(...). Is that correct ?

Regards, 

Didier


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


Re: 2.6.25-rc7 : hibernation sometimes not resuming on Dell Latitude D630

2008-03-31 Thread Rafael J. Wysocki
On Monday, 31 of March 2008, Didier Raboud wrote:
 Hi, 

Hi,
 
 I'm using the latest Debian 2.6.25-rc7 kernel [0] and I have big troubles 
 with 
 hibernation. With this version, the hibernation (suspend on disk) is 
 sometimes not resuming correctly. The only thing I get is a blinking cursor 
 at the top-left of the screen. The problem is that it is not easily 
 reproducible : sometimes it works, sometimes not.
 
 AFAIK, 2.6.24 is not affected, but 2.6.25-rc6 and -rc7 (at least) are.
 
 I'm using a Dell Latitude D630. (lspci attached).
 
 Attached are a 2.6.25-rc7 and a 2.6.24 dmesg's after two successful 
 hibernate/resume cycles.

Could you please check if the problem is still present if you boot with
acpi_new_pts_ordering kernel command line argument?

Thanks,
Rafael



Re: 2.6.25-rc7 : hibernation sometimes not resuming on Dell Latitude D630

2008-03-31 Thread Didier Raboud
Le lundi, 31 mars 2008 19.24:55 maximilian attems, vous avez écrit :
 On Mon, Mar 31, 2008 at 07:03:13PM +0200, Didier Raboud wrote:
 snipp

Attached are a 2.6.25-rc7 and a 2.6.24 dmesg's after two successful
hibernate/resume cycles.
  
   Could you please check if the problem is still present if you boot with
   acpi_new_pts_ordering kernel command line argument?
 
  By the way, I just added acp_new_pts_ordering at the end of the Grub line
  beginning by linux (hd0,1)/vmlinuz(...). Is that correct ?

 seems strange you should add it to the kopt line and then kick as root
 update-grub

 # kopt=root=/dev/sda1 ro
 it should land
 kernel  /boot/vmlinuz-2.6.25-rc7-amd64 root=/dev/sda1 ro

Well... I'm using Grub2 (grub-pc). I altered the boot option at boot time but 
forgot to check /proc/cmdline. Will try again and report back.

Regards, 

Didier


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


Re: 2.6.25-rc7 : hibernation sometimes not resuming on Dell Latitude D630

2008-03-31 Thread Didier Raboud
Le lundi, 31 mars 2008 19.36:00 Didier Raboud, vous avez écrit :
 Le lundi, 31 mars 2008 19.24:55 maximilian attems, vous avez écrit :
  On Mon, Mar 31, 2008 at 07:03:13PM +0200, Didier Raboud wrote:
  snipp
 
 Attached are a 2.6.25-rc7 and a 2.6.24 dmesg's after two successful
 hibernate/resume cycles.
   
Could you please check if the problem is still present if you boot
with acpi_new_pts_ordering kernel command line argument?
  
   By the way, I just added acp_new_pts_ordering at the end of the Grub
   line beginning by linux (hd0,1)/vmlinuz(...). Is that correct ?
 
  seems strange you should add it to the kopt line and then kick as root
  update-grub
 
  # kopt=root=/dev/sda1 ro
  it should land
  kernel  /boot/vmlinuz-2.6.25-rc7-amd64 root=/dev/sda1 ro

 Well... I'm using Grub2 (grub-pc). I altered the boot option at boot time
 but forgot to check /proc/cmdline. Will try again and report back.

 Regards,

 Didier

Hi, 

I tried again and ensured that /proc/cmdline 's end was 
acpi_new_pts_ordering . It did work for 2-3 hibernation, but then failed.

Regards, 

Didier


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


Re: 2.6.25-rc7 : hibernation sometimes not resuming on Dell Latitude D630

2008-03-31 Thread Rafael J. Wysocki
On Monday, 31 of March 2008, Didier Raboud wrote:
 Le lundi, 31 mars 2008 19.36:00 Didier Raboud, vous avez écrit :
  Le lundi, 31 mars 2008 19.24:55 maximilian attems, vous avez écrit :
   On Mon, Mar 31, 2008 at 07:03:13PM +0200, Didier Raboud wrote:
   snipp
  
  Attached are a 2.6.25-rc7 and a 2.6.24 dmesg's after two successful
  hibernate/resume cycles.

 Could you please check if the problem is still present if you boot
 with acpi_new_pts_ordering kernel command line argument?
   
By the way, I just added acp_new_pts_ordering at the end of the Grub
line beginning by linux (hd0,1)/vmlinuz(...). Is that correct ?
  
   seems strange you should add it to the kopt line and then kick as root
   update-grub
  
   # kopt=root=/dev/sda1 ro
   it should land
   kernel  /boot/vmlinuz-2.6.25-rc7-amd64 root=/dev/sda1 ro
 
  Well... I'm using Grub2 (grub-pc). I altered the boot option at boot time
  but forgot to check /proc/cmdline. Will try again and report back.
 
  Regards,
 
  Didier
 
 Hi, 
 
 I tried again and ensured that /proc/cmdline 's end was 
 acpi_new_pts_ordering . It did work for 2-3 hibernation, but then failed.

Well, there were quite a lot of suspend-related changes between 2.6.24 and
now.

Hmm, do you have CONFIG_USB_SUSPEND set in .config by chance?

Rafael



Re: 2.6.25-rc7 : hibernation sometimes not resuming on Dell Latitude D630

2008-03-31 Thread Didier Raboud
Le lundi, 31 mars 2008 22.29:20 Rafael J. Wysocki, vous avez écrit :
 On Monday, 31 of March 2008, Didier Raboud wrote:
  Le lundi, 31 mars 2008 19.36:00 Didier Raboud, vous avez écrit :
   Le lundi, 31 mars 2008 19.24:55 maximilian attems, vous avez écrit :
On Mon, Mar 31, 2008 at 07:03:13PM +0200, Didier Raboud wrote:
snipp
   
   Attached are a 2.6.25-rc7 and a 2.6.24 dmesg's after two
   successful hibernate/resume cycles.
 
  Could you please check if the problem is still present if you
  boot with acpi_new_pts_ordering kernel command line argument?

 By the way, I just added acp_new_pts_ordering at the end of the
 Grub line beginning by linux (hd0,1)/vmlinuz(...). Is that
 correct ?
   
seems strange you should add it to the kopt line and then kick as
root update-grub
   
# kopt=root=/dev/sda1 ro
it should land
kernel  /boot/vmlinuz-2.6.25-rc7-amd64 root=/dev/sda1 ro
  
   Well... I'm using Grub2 (grub-pc). I altered the boot option at boot
   time but forgot to check /proc/cmdline. Will try again and report back.
  
   Regards,
  
   Didier
 
  Hi,
 
  I tried again and ensured that /proc/cmdline 's end was
  acpi_new_pts_ordering . It did work for 2-3 hibernation, but then failed.

 Well, there were quite a lot of suspend-related changes between 2.6.24 and
 now.

 Hmm, do you have CONFIG_USB_SUSPEND set in .config by chance?

 Rafael

I do (Debian default option)... I will build a kernel without it and retry. 

Didier


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