Re: [gentoo-user] problems, with, 'hibernate, to, disk', two, nvidia, cards, installed

2012-01-05 Thread meino . cramer
Paul Hartman paul.hartman+gen...@gmail.com [12-01-04 02:29]:
 On Tue, Jan 3, 2012 at 6:01 PM, Mick michaelkintz...@gmail.com wrote:
  I'm not sure if this is related, but here it goes:
 
  Unllike you, I'm running a (single) ATI card in a laptop and have just
  compiled and installed the 3.1.6-gentoo kernel.
 
  Like you, when I tried to hibernate the screen but dark, but it never
  actually completes the hibernation.  Similarly with suspend to RAM I
  cannot recover from it and I have to power cycle it.
 
  I have not had such a problem with this laptop since I bought it two
  years ago.  All I'm thinking of blaming is the new 3.1.6 kernel.
 
 Linux kernel 3.1.7 was just released with a fix for some kind of
 suspend/resume problem. Maybe it's related?
 

Any hope to get this working again?

Best regards,
mcc





Re: [gentoo-user] problems, with, 'hibernate, to, disk', two, nvidia, cards, installed

2012-01-04 Thread Mick
On Wednesday 04 Jan 2012 06:31:45 meino.cra...@gmx.de wrote:
 Walter Dnes waltd...@waltdnes.org [12-01-04 06:25]:
  On Wed, Jan 04, 2012 at 03:03:49AM +0100, meino.cra...@gmx.de wrote
  
   ...I tried linux kernel 3.1.7 and it does not fix the problem.
   The situation remains the samesigh
   
   What can I addtionaly check ?
   
An excerpt from the hibernate.conf man page...
  
  
===
  Verbosity N
  
Determines  how  verbose  the  output from the suspend script
should be: 0: silent except for  errors  1:  print  steps  2:
print  steps  in  detail  3: print steps in lots of detail 4:
print out every command executed (uses -x)
  
  LogFile filename
  
If specified, output from the suspend  script  will  also  be
redirected to this file - useful for debugging purposes.
  
  
===
  
Add the 2 lines...
  
  Verbosity 4
  LogFile /root/hibernate.log
 
 It is
 
  LogVerbosity 4
 
 and the configuration file is
 
  /etc/hibernate/common.conf
 
 (just for those reading this thread later)
 
  ...to /etc/hibernate.conf and attempt to suspend.  If it doesn't power
  off, do *NOT* use the power switch.  Either reboot with {CTRL}{ALT}{DEL}
  or else use the Magic SysReq Key, if you have it enabled.  Once you
  restart, take a look at the logfile to see where it dies.  If you can't
  figure it out, gzip the logfile and attach it to a posting here, and
  we'll try to figure it out.
 
 CTRL-ALT-DEL does not work here.
 Sysrq does not work either.
 May be this is because the usb-module gets unloaded before (just a
 shot in the dark)?
 
 I had to power off again.
 
 I dont know, whether the log entries are valid under this conditions,
 but here they are:
 
 Starting suspend at Wed Jan 4 06:35:36 CET 2012
 Jan 4 06:35:36.67 hibernate: [01] Executing CheckLastResume ...
 Jan 4 06:35:36.68 hibernate: [01] Executing CheckRunlevel ...
 Jan 4 06:35:36.69 hibernate: [01] Executing LockFileGet ...
 Jan 4 06:35:36.70 hibernate: [01] Executing NewKernelFileCheck ...
 Jan 4 06:35:36.71 hibernate: [10] Executing EnsureSysfsPowerStateCapable
 ... Jan 4 06:35:36.72 hibernate: [11] Executing XHacksSuspendHook1 ... Jan
 4 06:35:36.73 hibernate: [19] Executing DevicesFree ...
 Jan 4 06:35:43.53 hibernate: [30] Executing ServicesStop ...
 Jan 4 06:35:43.54 Executing /etc/init.d/alsasound stop
  * Storing ALSA Mixer Levels ... [ ok ]
 Jan 4 06:35:43.64 hibernate: [45] Executing FSTypesUnmount ...
 Jan 4 06:35:43.66 hibernate: [59] Executing RemountXFSBootRO ...
 Jan 4 06:35:43.67 hibernate: [89] Executing SaveKernelModprobe ...
 Jan 4 06:35:43.68 Saved /proc/sys/kernel/modprobe is /sbin/modprobe
 Jan 4 06:35:43.69 hibernate: [90] Executing ModulesUnload ...
 Jan 4 06:35:43.70 -n Unloading module snd_via82cxxx...
 Jan 4 06:35:43.70 not loaded.
 Jan 4 06:35:43.71 -n Unloading module usb-ohci...
 Jan 4 06:35:43.71 not loaded.
 Jan 4 06:35:43.72 -n Unloading module snd_via82cxxx...
 Jan 4 06:35:43.72 not loaded.
 Jan 4 06:35:43.73 -n Unloading module usb-ohci...
 Jan 4 06:35:43.74 not loaded.
 Jan 4 06:35:43.74 hibernate: [91] Executing ModulesUnloadBlacklist ...
 Jan 4 06:35:43.75 Unloading blacklisted modules listed
 /etc/hibernate/blacklisted-modules Jan 4 06:35:43.89 Module version for
 ipw2100 is
 Jan 4 06:35:43.91 Module version for ipw2200 is
 Jan 4 06:35:44.08 Module version for snd_bt_sco is
 Jan 4 06:35:44.21 Module version for ndiswrapper is
 Jan 4 06:35:44.33 hibernate: [91] Executing ModulesUnloadBlacklist ...
 Jan 4 06:35:44.34 Unloading blacklisted modules listed
 /etc/hibernate/blacklisted-modules Jan 4 06:35:44.45 Module version for
 ipw2100 is
 Jan 4 06:35:44.47 Module version for ipw2200 is
 Jan 4 06:35:44.64 Module version for snd_bt_sco is
 Jan 4 06:35:44.77 Module version for ndiswrapper is
 Jan 4 06:35:44.90 hibernate: [95] Executing XHacksSuspendHook2 ...
 Jan 4 06:35:44.92 xhacks: changing console from 7 to 15
 Jan 4 06:35:46.65 hibernate: [98] Executing CheckRunlevel ...
 Jan 4 06:35:46.66 hibernate: [98] Executing FullSpeedCPUSuspend ...
 Jan 4 06:35:46.69 Switched to performance, with min freq at 360
 Jan 4 06:35:46.71 Switched to performance, with min freq at 360
 Jan 4 06:35:46.73 Switched to performance, with min freq at 360
 Jan 4 06:35:46.74 Switched to performance, with min freq at 360
 Jan 4 06:35:46.75 Switched to performance, with min freq at 360
 Jan 4 06:35:46.76 Switched to performance, with min freq at 360
 Jan 4 06:35:46.76 hibernate: [99] Executing DoSysfsPowerStateSuspend ...
 Jan 4 06:35:46.76 hibernate: Activating sysfs power state disk ...

I haven't yet tried anything else, but diff'ing the 3.0.6 and 3.1.6 gentoo 
kernels .config files, these are the modules that stand out in the new kernel:

CONFIG_ARCH_CLOCKSOURCE_DATA=y

CONFIG_HAVE_PCSPKR_PLATFORM=y


Re: [gentoo-user] problems, with, 'hibernate, to, disk', two, nvidia, cards, installed

2012-01-04 Thread meino . cramer
Mick michaelkintz...@gmail.com [12-01-04 14:22]:
 On Wednesday 04 Jan 2012 06:31:45 meino.cra...@gmx.de wrote:
  Walter Dnes waltd...@waltdnes.org [12-01-04 06:25]:
   On Wed, Jan 04, 2012 at 03:03:49AM +0100, meino.cra...@gmx.de wrote
   
...I tried linux kernel 3.1.7 and it does not fix the problem.
The situation remains the samesigh

What can I addtionaly check ?

 An excerpt from the hibernate.conf man page...
   
   
 ===
   Verbosity N
   
 Determines  how  verbose  the  output from the suspend script
 should be: 0: silent except for  errors  1:  print  steps  2:
 print  steps  in  detail  3: print steps in lots of detail 4:
 print out every command executed (uses -x)
   
   LogFile filename
   
 If specified, output from the suspend  script  will  also  be
 redirected to this file - useful for debugging purposes.
   
   
 ===
   
 Add the 2 lines...
   
   Verbosity 4
   LogFile /root/hibernate.log
  
  It is
  
   LogVerbosity 4
  
  and the configuration file is
  
   /etc/hibernate/common.conf
  
  (just for those reading this thread later)
  
   ...to /etc/hibernate.conf and attempt to suspend.  If it doesn't power
   off, do *NOT* use the power switch.  Either reboot with {CTRL}{ALT}{DEL}
   or else use the Magic SysReq Key, if you have it enabled.  Once you
   restart, take a look at the logfile to see where it dies.  If you can't
   figure it out, gzip the logfile and attach it to a posting here, and
   we'll try to figure it out.
  
  CTRL-ALT-DEL does not work here.
  Sysrq does not work either.
  May be this is because the usb-module gets unloaded before (just a
  shot in the dark)?
  
  I had to power off again.
  
  I dont know, whether the log entries are valid under this conditions,
  but here they are:
  
  Starting suspend at Wed Jan 4 06:35:36 CET 2012
  Jan 4 06:35:36.67 hibernate: [01] Executing CheckLastResume ...
  Jan 4 06:35:36.68 hibernate: [01] Executing CheckRunlevel ...
  Jan 4 06:35:36.69 hibernate: [01] Executing LockFileGet ...
  Jan 4 06:35:36.70 hibernate: [01] Executing NewKernelFileCheck ...
  Jan 4 06:35:36.71 hibernate: [10] Executing EnsureSysfsPowerStateCapable
  ... Jan 4 06:35:36.72 hibernate: [11] Executing XHacksSuspendHook1 ... Jan
  4 06:35:36.73 hibernate: [19] Executing DevicesFree ...
  Jan 4 06:35:43.53 hibernate: [30] Executing ServicesStop ...
  Jan 4 06:35:43.54 Executing /etc/init.d/alsasound stop
   * Storing ALSA Mixer Levels ... [ ok ]
  Jan 4 06:35:43.64 hibernate: [45] Executing FSTypesUnmount ...
  Jan 4 06:35:43.66 hibernate: [59] Executing RemountXFSBootRO ...
  Jan 4 06:35:43.67 hibernate: [89] Executing SaveKernelModprobe ...
  Jan 4 06:35:43.68 Saved /proc/sys/kernel/modprobe is /sbin/modprobe
  Jan 4 06:35:43.69 hibernate: [90] Executing ModulesUnload ...
  Jan 4 06:35:43.70 -n Unloading module snd_via82cxxx...
  Jan 4 06:35:43.70 not loaded.
  Jan 4 06:35:43.71 -n Unloading module usb-ohci...
  Jan 4 06:35:43.71 not loaded.
  Jan 4 06:35:43.72 -n Unloading module snd_via82cxxx...
  Jan 4 06:35:43.72 not loaded.
  Jan 4 06:35:43.73 -n Unloading module usb-ohci...
  Jan 4 06:35:43.74 not loaded.
  Jan 4 06:35:43.74 hibernate: [91] Executing ModulesUnloadBlacklist ...
  Jan 4 06:35:43.75 Unloading blacklisted modules listed
  /etc/hibernate/blacklisted-modules Jan 4 06:35:43.89 Module version for
  ipw2100 is
  Jan 4 06:35:43.91 Module version for ipw2200 is
  Jan 4 06:35:44.08 Module version for snd_bt_sco is
  Jan 4 06:35:44.21 Module version for ndiswrapper is
  Jan 4 06:35:44.33 hibernate: [91] Executing ModulesUnloadBlacklist ...
  Jan 4 06:35:44.34 Unloading blacklisted modules listed
  /etc/hibernate/blacklisted-modules Jan 4 06:35:44.45 Module version for
  ipw2100 is
  Jan 4 06:35:44.47 Module version for ipw2200 is
  Jan 4 06:35:44.64 Module version for snd_bt_sco is
  Jan 4 06:35:44.77 Module version for ndiswrapper is
  Jan 4 06:35:44.90 hibernate: [95] Executing XHacksSuspendHook2 ...
  Jan 4 06:35:44.92 xhacks: changing console from 7 to 15
  Jan 4 06:35:46.65 hibernate: [98] Executing CheckRunlevel ...
  Jan 4 06:35:46.66 hibernate: [98] Executing FullSpeedCPUSuspend ...
  Jan 4 06:35:46.69 Switched to performance, with min freq at 360
  Jan 4 06:35:46.71 Switched to performance, with min freq at 360
  Jan 4 06:35:46.73 Switched to performance, with min freq at 360
  Jan 4 06:35:46.74 Switched to performance, with min freq at 360
  Jan 4 06:35:46.75 Switched to performance, with min freq at 360
  Jan 4 06:35:46.76 Switched to performance, with min freq at 360
  Jan 4 06:35:46.76 hibernate: [99] Executing DoSysfsPowerStateSuspend ...
  Jan 4 06:35:46.76 hibernate: Activating sysfs power state disk ...
 
 I haven't yet tried anything else, but diff'ing the 3.0.6 

Re: [gentoo-user] problems, with, 'hibernate, to, disk', two, nvidia, cards, installed

2012-01-04 Thread Mick
On Wednesday 04 Jan 2012 13:23:20 meino.cra...@gmx.de wrote:
 Mick michaelkintz...@gmail.com [12-01-04 14:22]:
  On Wednesday 04 Jan 2012 06:31:45 meino.cra...@gmx.de wrote:
   Walter Dnes waltd...@waltdnes.org [12-01-04 06:25]:
On Wed, Jan 04, 2012 at 03:03:49AM +0100, meino.cra...@gmx.de wrote

 ...I tried linux kernel 3.1.7 and it does not fix the problem.
 The situation remains the samesigh
 
 What can I addtionaly check ?
 
  An excerpt from the hibernate.conf man page...
  
  
===
  
Verbosity N

  Determines  how  verbose  the  output from the suspend
  script should be: 0: silent except for  errors  1:  print 
  steps  2: print  steps  in  detail  3: print steps in lots
  of detail 4: print out every command executed (uses -x)

LogFile filename

  If specified, output from the suspend  script  will  also 
  be redirected to this file - useful for debugging
  purposes.
  
  
===
  
  Add the 2 lines...

Verbosity 4
LogFile /root/hibernate.log
   
   It is
   
LogVerbosity 4
   
   and the configuration file is
   
/etc/hibernate/common.conf
   
   (just for those reading this thread later)
   
...to /etc/hibernate.conf and attempt to suspend.  If it doesn't
power off, do *NOT* use the power switch.  Either reboot with
{CTRL}{ALT}{DEL} or else use the Magic SysReq Key, if you have it
enabled.  Once you restart, take a look at the logfile to see where
it dies.  If you can't figure it out, gzip the logfile and attach it
to a posting here, and we'll try to figure it out.
   
   CTRL-ALT-DEL does not work here.
   Sysrq does not work either.
   May be this is because the usb-module gets unloaded before (just a
   shot in the dark)?
   
   I had to power off again.
   
   I dont know, whether the log entries are valid under this conditions,
   but here they are:
   
   Starting suspend at Wed Jan 4 06:35:36 CET 2012
   Jan 4 06:35:36.67 hibernate: [01] Executing CheckLastResume ...
   Jan 4 06:35:36.68 hibernate: [01] Executing CheckRunlevel ...
   Jan 4 06:35:36.69 hibernate: [01] Executing LockFileGet ...
   Jan 4 06:35:36.70 hibernate: [01] Executing NewKernelFileCheck ...
   Jan 4 06:35:36.71 hibernate: [10] Executing
   EnsureSysfsPowerStateCapable ... Jan 4 06:35:36.72 hibernate: [11]
   Executing XHacksSuspendHook1 ... Jan 4 06:35:36.73 hibernate: [19]
   Executing DevicesFree ...
   Jan 4 06:35:43.53 hibernate: [30] Executing ServicesStop ...
   Jan 4 06:35:43.54 Executing /etc/init.d/alsasound stop
   
* Storing ALSA Mixer Levels ... [ ok ]
   
   Jan 4 06:35:43.64 hibernate: [45] Executing FSTypesUnmount ...
   Jan 4 06:35:43.66 hibernate: [59] Executing RemountXFSBootRO ...
   Jan 4 06:35:43.67 hibernate: [89] Executing SaveKernelModprobe ...
   Jan 4 06:35:43.68 Saved /proc/sys/kernel/modprobe is /sbin/modprobe
   Jan 4 06:35:43.69 hibernate: [90] Executing ModulesUnload ...
   Jan 4 06:35:43.70 -n Unloading module snd_via82cxxx...
   Jan 4 06:35:43.70 not loaded.
   Jan 4 06:35:43.71 -n Unloading module usb-ohci...
   Jan 4 06:35:43.71 not loaded.
   Jan 4 06:35:43.72 -n Unloading module snd_via82cxxx...
   Jan 4 06:35:43.72 not loaded.
   Jan 4 06:35:43.73 -n Unloading module usb-ohci...
   Jan 4 06:35:43.74 not loaded.
   Jan 4 06:35:43.74 hibernate: [91] Executing ModulesUnloadBlacklist ...
   Jan 4 06:35:43.75 Unloading blacklisted modules listed
   /etc/hibernate/blacklisted-modules Jan 4 06:35:43.89 Module version for
   ipw2100 is
   Jan 4 06:35:43.91 Module version for ipw2200 is
   Jan 4 06:35:44.08 Module version for snd_bt_sco is
   Jan 4 06:35:44.21 Module version for ndiswrapper is
   Jan 4 06:35:44.33 hibernate: [91] Executing ModulesUnloadBlacklist ...
   Jan 4 06:35:44.34 Unloading blacklisted modules listed
   /etc/hibernate/blacklisted-modules Jan 4 06:35:44.45 Module version for
   ipw2100 is
   Jan 4 06:35:44.47 Module version for ipw2200 is
   Jan 4 06:35:44.64 Module version for snd_bt_sco is
   Jan 4 06:35:44.77 Module version for ndiswrapper is
   Jan 4 06:35:44.90 hibernate: [95] Executing XHacksSuspendHook2 ...
   Jan 4 06:35:44.92 xhacks: changing console from 7 to 15
   Jan 4 06:35:46.65 hibernate: [98] Executing CheckRunlevel ...
   Jan 4 06:35:46.66 hibernate: [98] Executing FullSpeedCPUSuspend ...
   Jan 4 06:35:46.69 Switched to performance, with min freq at 360
   Jan 4 06:35:46.71 Switched to performance, with min freq at 360
   Jan 4 06:35:46.73 Switched to performance, with min freq at 360
   Jan 4 06:35:46.74 Switched to performance, with min freq at 360
   Jan 4 06:35:46.75 Switched to performance, with min freq at 360
   Jan 4 06:35:46.76 Switched to performance, with min freq at 360
   Jan 4 06:35:46.76 

[gentoo-user] problems, with, 'hibernate, to, disk', two, nvidia, cards, installed

2012-01-03 Thread meino . cramer

Hi,

My gentoo box runs with linux kernel 3.1.6 (vanilla).
The hardware consists of an Asus Crosshair Formula IV
motherboard, a AMD Phenom II X6 1090T Processor and
two nviida cards:
02:00.0 VGA compatible controller: nVidia Corporation GF110 [GeForce GTX 
560 Ti] (rev a1)
09:00.0 VGA compatible controller: nVidia Corporation GF108 [GeForce GT 
430] (rev a1)

Previously I had installed the GT 430 card only.
With this card, hibernation to disk using sys-power/hibernate-script was no
problem.

Then I removed the GT 430 and uses a GTX 560 Ti for better performance
when rendering while utilzing the GPU.
With this card the same hibernation was no problem also.

Then on the Blender forum one came up with the idea to install both
cards. The GT 430 is used for desktop purposes then, the GTX 560 Ti
was used for rendering only.

With this setup hibernation is not possible anymore.

Whe starting the hibernation, the screen wents dark, but the PC does
not power off.

I had to push the power button finally and the reboot afterwards wents
through the normal process like after any normal shutdown...with the
exception, that the journals of the partitions had to be fixed.

/var/log/hibernate.log shows the following of the failed hibernation
and the boot afterwards:

Starting suspend at Tue Jan 3 21:48:58 CET 2012
hibernate: [01] Executing CheckLastResume ... 
hibernate: [01] Executing CheckRunlevel ... 
hibernate: [01] Executing LockFileGet ... 
hibernate: [01] Executing NewKernelFileCheck ... 
hibernate: [10] Executing EnsureSysfsPowerStateCapable ... 
hibernate: [11] Executing XHacksSuspendHook1 ... 
hibernate: [19] Executing DevicesFree ... 
hibernate: [30] Executing ServicesStop ... 
* Storing ALSA Mixer Levels ... [ ok ]
hibernate: [45] Executing FSTypesUnmount ... 
hibernate: [59] Executing RemountXFSBootRO ... 
hibernate: [89] Executing SaveKernelModprobe ... 
hibernate: [90] Executing ModulesUnload ... 
hibernate: [91] Executing ModulesUnloadBlacklist ... 
hibernate: [91] Executing ModulesUnloadBlacklist ... 
hibernate: [95] Executing XHacksSuspendHook2 ... 
hibernate: [98] Executing CheckRunlevel ... 
hibernate: [98] Executing FullSpeedCPUSuspend ... 
hibernate: [99] Executing DoSysfsPowerStateSuspend ... 
hibernate: Activating sysfs power state disk ...

I tried to blacklist the nvidia drivers (290.10), but the hibernation
couldn't unload this driver.

How can I get back the hibernation functionality?

Thank you very much in advance for any help !

Best regards,
mcc







Re: [gentoo-user] problems, with, 'hibernate, to, disk', two, nvidia, cards, installed

2012-01-03 Thread Mick
On 3 January 2012 21:10,  meino.cra...@gmx.de wrote:

 Hi,

 My gentoo box runs with linux kernel 3.1.6 (vanilla).
 The hardware consists of an Asus Crosshair Formula IV
 motherboard, a AMD Phenom II X6 1090T Processor and
 two nviida cards:
    02:00.0 VGA compatible controller: nVidia Corporation GF110 [GeForce GTX 
 560 Ti] (rev a1)
    09:00.0 VGA compatible controller: nVidia Corporation GF108 [GeForce GT 
 430] (rev a1)

 Previously I had installed the GT 430 card only.
 With this card, hibernation to disk using sys-power/hibernate-script was no
 problem.

 Then I removed the GT 430 and uses a GTX 560 Ti for better performance
 when rendering while utilzing the GPU.
 With this card the same hibernation was no problem also.

 Then on the Blender forum one came up with the idea to install both
 cards. The GT 430 is used for desktop purposes then, the GTX 560 Ti
 was used for rendering only.

 With this setup hibernation is not possible anymore.

 Whe starting the hibernation, the screen wents dark, but the PC does
 not power off.

 I had to push the power button finally and the reboot afterwards wents
 through the normal process like after any normal shutdown...with the
 exception, that the journals of the partitions had to be fixed.

 /var/log/hibernate.log shows the following of the failed hibernation
 and the boot afterwards:

    Starting suspend at Tue Jan 3 21:48:58 CET 2012
    hibernate: [01] Executing CheckLastResume ...
    hibernate: [01] Executing CheckRunlevel ...
    hibernate: [01] Executing LockFileGet ...
    hibernate: [01] Executing NewKernelFileCheck ...
    hibernate: [10] Executing EnsureSysfsPowerStateCapable ...
    hibernate: [11] Executing XHacksSuspendHook1 ...
    hibernate: [19] Executing DevicesFree ...
    hibernate: [30] Executing ServicesStop ...
    * Storing ALSA Mixer Levels ... [ ok ]
    hibernate: [45] Executing FSTypesUnmount ...
    hibernate: [59] Executing RemountXFSBootRO ...
    hibernate: [89] Executing SaveKernelModprobe ...
    hibernate: [90] Executing ModulesUnload ...
    hibernate: [91] Executing ModulesUnloadBlacklist ...
    hibernate: [91] Executing ModulesUnloadBlacklist ...
    hibernate: [95] Executing XHacksSuspendHook2 ...
    hibernate: [98] Executing CheckRunlevel ...
    hibernate: [98] Executing FullSpeedCPUSuspend ...
    hibernate: [99] Executing DoSysfsPowerStateSuspend ...
    hibernate: Activating sysfs power state disk ...

 I tried to blacklist the nvidia drivers (290.10), but the hibernation
 couldn't unload this driver.

 How can I get back the hibernation functionality?

 Thank you very much in advance for any help !

I'm not sure if this is related, but here it goes:

Unllike you, I'm running a (single) ATI card in a laptop and have just
compiled and installed the 3.1.6-gentoo kernel.

Like you, when I tried to hibernate the screen but dark, but it never
actually completes the hibernation.  Similarly with suspend to RAM I
cannot recover from it and I have to power cycle it.

I have not had such a problem with this laptop since I bought it two
years ago.  All I'm thinking of blaming is the new 3.1.6 kernel.
-- 
Regards,
Mick



Re: [gentoo-user] problems, with, 'hibernate, to, disk', two, nvidia, cards, installed

2012-01-03 Thread Paul Hartman
On Tue, Jan 3, 2012 at 6:01 PM, Mick michaelkintz...@gmail.com wrote:
 I'm not sure if this is related, but here it goes:

 Unllike you, I'm running a (single) ATI card in a laptop and have just
 compiled and installed the 3.1.6-gentoo kernel.

 Like you, when I tried to hibernate the screen but dark, but it never
 actually completes the hibernation.  Similarly with suspend to RAM I
 cannot recover from it and I have to power cycle it.

 I have not had such a problem with this laptop since I bought it two
 years ago.  All I'm thinking of blaming is the new 3.1.6 kernel.

Linux kernel 3.1.7 was just released with a fix for some kind of
suspend/resume problem. Maybe it's related?



Re: [gentoo-user] problems, with, 'hibernate, to, disk', two, nvidia, cards, installed

2012-01-03 Thread meino . cramer
Paul Hartman paul.hartman+gen...@gmail.com [12-01-04 02:29]:
 On Tue, Jan 3, 2012 at 6:01 PM, Mick michaelkintz...@gmail.com wrote:
  I'm not sure if this is related, but here it goes:
 
  Unllike you, I'm running a (single) ATI card in a laptop and have just
  compiled and installed the 3.1.6-gentoo kernel.
 
  Like you, when I tried to hibernate the screen but dark, but it never
  actually completes the hibernation.  Similarly with suspend to RAM I
  cannot recover from it and I have to power cycle it.
 
  I have not had such a problem with this laptop since I bought it two
  years ago.  All I'm thinking of blaming is the new 3.1.6 kernel.
 
 Linux kernel 3.1.7 was just released with a fix for some kind of
 suspend/resume problem. Maybe it's related?
 

Hi, 

thank you for your replies!

...I tried linux kernel 3.1.7 and it does not fix the problem.
The situation remains the samesigh

What can I addtionaly check ?

Best regards,
mcc





Re: [gentoo-user] problems, with, 'hibernate, to, disk', two, nvidia, cards, installed

2012-01-03 Thread Claudio Roberto França Pereira
Just for completeness sake, try downgrading the kernel to 3.1.5 or lower.



Re: [gentoo-user] problems, with, 'hibernate, to, disk', two, nvidia, cards, installed

2012-01-03 Thread Walter Dnes
On Wed, Jan 04, 2012 at 03:03:49AM +0100, meino.cra...@gmx.de wrote

 ...I tried linux kernel 3.1.7 and it does not fix the problem.
 The situation remains the samesigh
 
 What can I addtionaly check ?

  An excerpt from the hibernate.conf man page...

===
Verbosity N
  Determines  how  verbose  the  output from the suspend script
  should be: 0: silent except for  errors  1:  print  steps  2:
  print  steps  in  detail  3: print steps in lots of detail 4:
  print out every command executed (uses -x)


LogFile filename
  If specified, output from the suspend  script  will  also  be
  redirected to this file - useful for debugging purposes.
===

  Add the 2 lines...

Verbosity 4
LogFile /root/hibernate.log

...to /etc/hibernate.conf and attempt to suspend.  If it doesn't power
off, do *NOT* use the power switch.  Either reboot with {CTRL}{ALT}{DEL}
or else use the Magic SysReq Key, if you have it enabled.  Once you
restart, take a look at the logfile to see where it dies.  If you can't
figure it out, gzip the logfile and attach it to a posting here, and
we'll try to figure it out.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] problems, with, 'hibernate, to, disk', two, nvidia, cards, installed

2012-01-03 Thread meino . cramer
Walter Dnes waltd...@waltdnes.org [12-01-04 06:25]:
 On Wed, Jan 04, 2012 at 03:03:49AM +0100, meino.cra...@gmx.de wrote
 
  ...I tried linux kernel 3.1.7 and it does not fix the problem.
  The situation remains the samesigh
  
  What can I addtionaly check ?
 
   An excerpt from the hibernate.conf man page...
 
 ===
 Verbosity N
   Determines  how  verbose  the  output from the suspend script
   should be: 0: silent except for  errors  1:  print  steps  2:
   print  steps  in  detail  3: print steps in lots of detail 4:
   print out every command executed (uses -x)
 
 
 LogFile filename
   If specified, output from the suspend  script  will  also  be
   redirected to this file - useful for debugging purposes.
 ===
 
   Add the 2 lines...
 
 Verbosity 4
 LogFile /root/hibernate.log
 

It is 

 LogVerbosity 4

and the configuration file is

 /etc/hibernate/common.conf

(just for those reading this thread later)


 ...to /etc/hibernate.conf and attempt to suspend.  If it doesn't power
 off, do *NOT* use the power switch.  Either reboot with {CTRL}{ALT}{DEL}
 or else use the Magic SysReq Key, if you have it enabled.  Once you
 restart, take a look at the logfile to see where it dies.  If you can't
 figure it out, gzip the logfile and attach it to a posting here, and
 we'll try to figure it out.

CTRL-ALT-DEL does not work here.
Sysrq does not work either.
May be this is because the usb-module gets unloaded before (just a
shot in the dark)?

I had to power off again.

I dont know, whether the log entries are valid under this conditions,
but here they are:

Starting suspend at Wed Jan 4 06:35:36 CET 2012
Jan 4 06:35:36.67 hibernate: [01] Executing CheckLastResume ...
Jan 4 06:35:36.68 hibernate: [01] Executing CheckRunlevel ...
Jan 4 06:35:36.69 hibernate: [01] Executing LockFileGet ...
Jan 4 06:35:36.70 hibernate: [01] Executing NewKernelFileCheck ...
Jan 4 06:35:36.71 hibernate: [10] Executing EnsureSysfsPowerStateCapable ...
Jan 4 06:35:36.72 hibernate: [11] Executing XHacksSuspendHook1 ...
Jan 4 06:35:36.73 hibernate: [19] Executing DevicesFree ...
Jan 4 06:35:43.53 hibernate: [30] Executing ServicesStop ...
Jan 4 06:35:43.54 Executing /etc/init.d/alsasound stop
 * Storing ALSA Mixer Levels ... [ ok ]
Jan 4 06:35:43.64 hibernate: [45] Executing FSTypesUnmount ...
Jan 4 06:35:43.66 hibernate: [59] Executing RemountXFSBootRO ...
Jan 4 06:35:43.67 hibernate: [89] Executing SaveKernelModprobe ...
Jan 4 06:35:43.68 Saved /proc/sys/kernel/modprobe is /sbin/modprobe
Jan 4 06:35:43.69 hibernate: [90] Executing ModulesUnload ...
Jan 4 06:35:43.70 -n Unloading module snd_via82cxxx...
Jan 4 06:35:43.70 not loaded.
Jan 4 06:35:43.71 -n Unloading module usb-ohci...
Jan 4 06:35:43.71 not loaded.
Jan 4 06:35:43.72 -n Unloading module snd_via82cxxx...
Jan 4 06:35:43.72 not loaded.
Jan 4 06:35:43.73 -n Unloading module usb-ohci...
Jan 4 06:35:43.74 not loaded.
Jan 4 06:35:43.74 hibernate: [91] Executing ModulesUnloadBlacklist ...
Jan 4 06:35:43.75 Unloading blacklisted modules listed 
/etc/hibernate/blacklisted-modules
Jan 4 06:35:43.89 Module version for ipw2100 is
Jan 4 06:35:43.91 Module version for ipw2200 is
Jan 4 06:35:44.08 Module version for snd_bt_sco is
Jan 4 06:35:44.21 Module version for ndiswrapper is
Jan 4 06:35:44.33 hibernate: [91] Executing ModulesUnloadBlacklist ...
Jan 4 06:35:44.34 Unloading blacklisted modules listed 
/etc/hibernate/blacklisted-modules
Jan 4 06:35:44.45 Module version for ipw2100 is
Jan 4 06:35:44.47 Module version for ipw2200 is
Jan 4 06:35:44.64 Module version for snd_bt_sco is
Jan 4 06:35:44.77 Module version for ndiswrapper is
Jan 4 06:35:44.90 hibernate: [95] Executing XHacksSuspendHook2 ...
Jan 4 06:35:44.92 xhacks: changing console from 7 to 15
Jan 4 06:35:46.65 hibernate: [98] Executing CheckRunlevel ...
Jan 4 06:35:46.66 hibernate: [98] Executing FullSpeedCPUSuspend ...
Jan 4 06:35:46.69 Switched to performance, with min freq at 360
Jan 4 06:35:46.71 Switched to performance, with min freq at 360
Jan 4 06:35:46.73 Switched to performance, with min freq at 360
Jan 4 06:35:46.74 Switched to performance, with min freq at 360
Jan 4 06:35:46.75 Switched to performance, with min freq at 360
Jan 4 06:35:46.76 Switched to performance, with min freq at 360
Jan 4 06:35:46.76 hibernate: [99] Executing DoSysfsPowerStateSuspend ...
Jan 4 06:35:46.76 hibernate: Activating sysfs power state disk ...



 -- 
 Walter Dnes waltd...@waltdnes.org