Help!

Slackware 13.37rc1 & rc2: regression with suspend on ram ?

 
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Slackware RSS
Next:  How to make a postinst script in Debian architect..  
Author Message
Christophe NINUCCI
External


Since: Mar 17, 2011
Posts: 6



PostPosted: Thu Mar 17, 2011 11:10 am    Post subject: Slackware 13.37rc1 & rc2: regression with suspend on ram ?
Archived from groups: alt>os>linux>slackware (more info?)

Hello,

I upgraded to slackware 13.37 ( rc1 and now rc2 ) with slackpkg and I
have an issue with suspend on ram that doesn't resume correctly on my
samsung n210.

To reproduce the issue:
- use sleep from kde's desktop (I didn't try with pm-suspend, but I
think it has the same issue... I will try. ) At this moment, the computer
seems normally asleep.
- when you try to power on the machine, small lights on the laptop
come back, but screen lighting doesn't come back and the computer is
totally freezed. The only solution is to power off 5 seconds with the
main button.

To (fast and dirty) fix this problem, I reverted to kernel 2.6.35.11
(upgrading to 2.6.38 does the trick but I have poor performances with my
graphic card and this kernel.. and 2.6.38 is still a testing kernel ! ).

Not difficult to conclude that the problem is linked to 2.6.37.x, maybe
too easy ?

I don't know if this problem appends on other machines... Have a try.

Regards,

Christophe NINUCCI
Back to top
Douglas Mayne
External


Since: Aug 26, 2010
Posts: 38



PostPosted: Thu Mar 17, 2011 2:10 pm    Post subject: Re: Slackware 13.37rc1 & rc2: regression with suspend on ram ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 17 Mar 2011 10:26:43 +0000, Christophe NINUCCI wrote:

> Hello,
>
> I upgraded to slackware 13.37 ( rc1 and now rc2 ) with slackpkg and I
> have an issue with suspend on ram that doesn't resume correctly on my
> samsung n210.
>
> To reproduce the issue:
> - use sleep from kde's desktop (I didn't try with pm-suspend, but I
> think it has the same issue... I will try. ) At this moment, the
> computer seems normally asleep.
> - when you try to power on the machine, small lights on the laptop
> come back, but screen lighting doesn't come back and the computer is
> totally freezed. The only solution is to power off 5 seconds with the
> main button.
>
> To (fast and dirty) fix this problem, I reverted to kernel 2.6.35.11
> (upgrading to 2.6.38 does the trick but I have poor performances with my
> graphic card and this kernel.. and 2.6.38 is still a testing kernel ! ).
>
> Not difficult to conclude that the problem is linked to 2.6.37.x, maybe
> too easy ?
>
> I don't know if this problem appends on other machines... Have a try.
>
> Regards,
>
> Christophe NINUCCI
>
Suspend to RAM works for me on a Samsung NC10. However, suspend to disk
(hibernate) does not. I wrote about the problem here:
http://groups.google.com/group/alt.os.linux.slackware/msg/51f7d8db2c86d379

p.s. I am not running KDE. I used the pm-suspend, pm-hibernate commands
directly. Also, I am using the official kernel, 2.6.37.4-smp.

--
Douglas Mayne
Back to top
D Herring
External


Since: Aug 28, 2006
Posts: 55



PostPosted: Fri Mar 18, 2011 12:48 pm    Post subject: Re: Slackware 13.37rc1 & rc2: regression with suspend on ram ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 03/17/2011 06:26 AM, Christophe NINUCCI wrote:
> To reproduce the issue:
> - use sleep from kde's desktop (I didn't try with pm-suspend, but I
> think it has the same issue... I will try. ) At this moment, the computer
> seems normally asleep.
> - when you try to power on the machine, small lights on the laptop
> come back, but screen lighting doesn't come back and the computer is
> totally freezed. The only solution is to power off 5 seconds with the
> main button.

Sounds like the video driver. Is this an NVidia chipset? If so, did
you reinstall the proprietary driver after upgrading kernels? Can you
ssh in from a remote machine and/or do commands like
Ctrl-Alt-Backspace and Ctrl-Alt-Delete still work?

I fixed a similar problem with the following command.
# echo "blacklist nouveau" > /etc/modprobe.d/local-graphics.conf

- Daniel
Back to top
Christophe NINUCCI
External


Since: Mar 17, 2011
Posts: 6



PostPosted: Mon Mar 21, 2011 11:10 am    Post subject: Re: Slackware 13.37rc1 & rc2: regression with suspend on ram ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Unfortunately (or not Wink ?) I use an intel pineview (VGA compatible
controller: Intel Corporation N10 Family Integrated Graphics Controller)
on this computer.

I can't ssh the computer, the network card does'nt come back from sleep,
nothing works but forced shutdown on main power button for 5 seconds Wink

On Fri, 18 Mar 2011 08:48:20 -0400, D Herring wrote:

> On 03/17/2011 06:26 AM, Christophe NINUCCI wrote:
>> To reproduce the issue:
>> - use sleep from kde's desktop (I didn't try with pm-suspend, but I
>> think it has the same issue... I will try. ) At this moment, the
>> computer seems normally asleep.
>> - when you try to power on the machine, small lights on the laptop
>> come back, but screen lighting doesn't come back and the computer is
>> totally freezed. The only solution is to power off 5 seconds with the
>> main button.
>
> Sounds like the video driver. Is this an NVidia chipset? If so, did
> you reinstall the proprietary driver after upgrading kernels? Can you
> ssh in from a remote machine and/or do commands like Ctrl-Alt-Backspace
> and Ctrl-Alt-Delete still work?
>
> I fixed a similar problem with the following command. # echo "blacklist
> nouveau" > /etc/modprobe.d/local-graphics.conf
>
> - Daniel
Back to top
Christophe NINUCCI
External


Since: Mar 17, 2011
Posts: 6



PostPosted: Mon Mar 21, 2011 11:10 am    Post subject: Re: Slackware 13.37rc1 & rc2: regression with suspend on ram ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 17 Mar 2011 13:39:01 +0000, Douglas Mayne wrote:

> On Thu, 17 Mar 2011 10:26:43 +0000, Christophe NINUCCI wrote:
>
>> Hello,
>>
>> I upgraded to slackware 13.37 ( rc1 and now rc2 ) with slackpkg and I
>> have an issue with suspend on ram that doesn't resume correctly on my
>> samsung n210.
>>
>> To reproduce the issue:
>> - use sleep from kde's desktop (I didn't try with pm-suspend, but I
>> think it has the same issue... I will try. ) At this moment, the
>> computer seems normally asleep.
>> - when you try to power on the machine, small lights on the laptop
>> come back, but screen lighting doesn't come back and the computer is
>> totally freezed. The only solution is to power off 5 seconds with the
>> main button.
>>
>> To (fast and dirty) fix this problem, I reverted to kernel 2.6.35.11
>> (upgrading to 2.6.38 does the trick but I have poor performances with
>> my graphic card and this kernel.. and 2.6.38 is still a testing kernel
>> ! ).
>>
>> Not difficult to conclude that the problem is linked to 2.6.37.x, maybe
>> too easy ?
>>
>> I don't know if this problem appends on other machines... Have a try.
>>
>> Regards,
>>
>> Christophe NINUCCI
>>
> Suspend to RAM works for me on a Samsung NC10. However, suspend to disk
> (hibernate) does not. I wrote about the problem here:
> http://groups.google.com/group/alt.os.linux.slackware/
msg/51f7d8db2c86d379
>
> p.s. I am not running KDE. I used the pm-suspend, pm-hibernate commands
> directly. Also, I am using the official kernel, 2.6.37.4-smp.

I also tried with pm-suspend with no X server running, same issue. I
have'nt tried with pm-hibernate... I'll try it next time I have to
reboot. Wink

( I may have not said that before, I'm using slackware64. )
Back to top
Christophe NINUCCI
External


Since: Mar 17, 2011
Posts: 6



PostPosted: Mon Mar 28, 2011 2:10 pm    Post subject: Re: Slackware 13.37rc1 & rc2: regression with suspend on ram ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi,

I just upgraded to slackware 13.37 RC pi and the problem is still there.

Regards,

Christophe NINUCCI
Back to top
Christophe NINUCCI
External


Since: Mar 17, 2011
Posts: 6



PostPosted: Sun Jul 10, 2011 11:10 am    Post subject: Re: Slackware 13.37rc1 & rc2: regression with suspend on ram ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 17 Mar 2011 10:26:43 +0000, Christophe NINUCCI wrote:

> Hello,
>
> I upgraded to slackware 13.37 ( rc1 and now rc2 ) with slackpkg and I
> have an issue with suspend on ram that doesn't resume correctly on my
> samsung n210.
>
> To reproduce the issue:
> - use sleep from kde's desktop (I didn't try with pm-suspend, but I
> think it has the same issue... I will try. ) At this moment, the
> computer seems normally asleep.
> - when you try to power on the machine, small lights on the laptop
> come back, but screen lighting doesn't come back and the computer is
> totally freezed. The only solution is to power off 5 seconds with the
> main button.
>
> To (fast and dirty) fix this problem, I reverted to kernel 2.6.35.11
> (upgrading to 2.6.38 does the trick but I have poor performances with my
> graphic card and this kernel.. and 2.6.38 is still a testing kernel ! ).
>
> Not difficult to conclude that the problem is linked to 2.6.37.x, maybe
> too easy ?
>
> I don't know if this problem appends on other machines... Have a try.
>
> Regards,
>
> Christophe NINUCCI

Finally, I just found a workaround this morning. I added
"intel_idle.max_cstate=0" to boot parameters and now suspend on ram works
just fine. I didn't manage to understand why this parameters is mandatory
since kernel 2.6.36 whereas it was not before. If someone have a clue,
I'm interested...

The workaround I found is related to this thread https://
bbs.archlinux.org/viewtopic.php?pid=871441 itself related to this one
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/539609

Cheers ♥,

Christophe NINUCCI.
Back to top
Christophe NINUCCI
External


Since: Mar 17, 2011
Posts: 6



PostPosted: Sun Jul 10, 2011 2:10 pm    Post subject: Re: Slackware 13.37rc1 & rc2: regression with suspend on ram ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sun, 10 Jul 2011 10:17:02 +0000, Christophe NINUCCI wrote:

> Finally, I just found a workaround this morning. I added
> "intel_idle.max_cstate=0" to boot parameters and now suspend on ram
> works just fine. I didn't manage to understand why this parameters is
> mandatory since kernel 2.6.36 whereas it was not before. If someone have
> a clue, I'm interested...
>
> The workaround I found is related to this thread https://
> bbs.archlinux.org/viewtopic.php?pid=871441 itself related to this one
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/539609
>
> Cheers ♥,
>
> Christophe NINUCCI.

It seems to be a bug in the kernel Surprised ...
I just found disabling HT in bios of my netbook would fix the issue. If
you really need HT for any reason, you can set max_cstate up to 3 for
samsung n210.

More info here: https://bugzilla.kernel.org/show_bug.cgi?id=21952
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Slackware All times are: Eastern Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum