SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It seems as though using sleep in KDE4 likes to power the system down rather than suspending to RAM. The computer gives all the signs that it is sleeping (power light turns to orange, monitor shuts off, etc). It experiences this problem regardless of what method I use to suspend to RAM (using the GUI menu, shutting the laptop lid, etc). When it "reboots" it doesn't start killing processes and the like. It seems to go to sleep and when awakened it comes back at the VAIO boot splash screen.
The weirdest part is that this problem starts when it wants. My most recent install of Slackware 13.1 was working fine (I recompiled the kernel, multilib, edited inittab, and installed the prop ATI drivers) for a week and then I was sitting in class shut the lid, tried turning resuming right away and the boot screen came up. It never did return to normal operating behavior.
Have you updated your /etc/lilo.conf to point to the new kernel, checked the resume partition (and also rebuilt your initrd if you use one) and rerun lilo?
Ok. I added a resume line to lilo, recompiled the kernel to make sure I set the default resume partition, and made sure certain things were built into the kernel.
No luck. It seemed as though it was working after recompiling the kernel. It was letting the computer go to sleep and resume flawlessly until I shutdown the computer once and after that it has gone back to resume to the Vaio bootsplash and LILO.
Have similar behaviour on 2.6.35.4 64bit. Have no idea what is going on. I also have a Sony vaio. On earlier kernels (prior to 2.6.35.x) didn't have this issue. I have ATI graphics in it. Anyone has any ideas?
I completely lost understanding on what is going on with my computer. I lost this failure behavior and now suspend works as it should. I tried to remember what I did, but I cannot. The only difference I see is that I installed vaiopower from http://vaio-utils.org/power/.
Code:
mkdir /usr/src/vaio
cd /usr/src/vaio
wget http://vaio-utils.org/download/vaiopower-0.4.4.tar.gz
tar xvf vaio*.tar.gz
cd vaiopower-0.4.4
mkdir /tmp/vaiopower
make prefix=/usr install DESTDIR=/tmp/vaiopower
makepkg -l y -c n /tmp/vaiopower-0.4.4-noarch-1.txz
upgradepkg --install-new /tmp/vaiopower-0.4.4-noarch-1.txz
Do not have time to test the behavior without this package. If will have time, will advise accordingly.
PS
I am on VAIO VGN-SR11MR. As per VAIOPOWER, it is a "Model lines including only SNY5001". I am running 2.6.35.4 kernel, configured with rlworkman's generic-config file.
PS2
if I removepkg vaiopower, suspending (through pm-suspend) still works. Probably it should be something else which fixed wrong behavior. No clue as for the moment. But have feeling that it has something to do with VAIO's buggy BIOS.
Yes. probably you are right. Before it started to work as it should, I switched on VT in BIOS. Could this be the reason?
Another thing, I was updating some packages, and after this update my rc.local was overwritten to the default empty one. It switched off vbox from starting.
When will have some time, will try to play with VT BIOS switch and with vbox. Probably one of this is causing suspend failure.
For quite a long time with 2.6.35.4 everything worked as it should. After update, I received the same behaviour again. When computer wakes up, the noise from CR-ROM trying to rotate the disk comes two or three times and computer reboots.
What I did is following:
went to BIOS and loaded default values. Rebooted. After that suspend started to work. On next reboot I can switch on VT, disable booting from external devices and set first boot device to HDD. Everything is working.
I am not an expert, but I think, that Sony's BIOS has some kind of special memory or flags for ACPI state. I still remember, when I had Windows installed I choose to keep Batery Care from Sony utility. Battery was only charging to 80% of it's capacity. Then I removed Windows. And in Linux the same behaviour remained. I didn't know how to clean this flag. But simple Load defaults in Bios removed this behaviour. So if you are unlucky owner of a Sony VAIO, do the system defaults in BIOS.
PS would appreciate if anyone has additional information on handlins VAIO's bios from linux.
I have a Sony Vaio VPCEB1Z1E and passing the option acpi_sleep=nonvs to the kernel solved the issue of rebooting instead of resuming from suspend. As you can read here problems started when was introduced (in 2.6.35-rc4) saving NVS area during suspend: http://www.spinics.net/lists/linux-acpi/msg29521.html
I have a Sony Vaio VPCEB1Z1E and passing the option acpi_sleep=nonvs to the kernel solved the issue of rebooting instead of resuming from suspend. As you can read here problems started when was introduced (in 2.6.35-rc4) saving NVS area during suspend: http://www.spinics.net/lists/linux-acpi/msg29521.html
And quoting also this patch:
So if this is your problem we could also help kernel developers and other users.
thanks a lot. you hit the target. after few days of testing, i am 99% sure that this solves the problem. at least i do not see it anymore. would appreciate if you share the information where and how do i have to report this. unfortunately i never submitted bug reports except of posting to forums and etc.
Sincerly I just sent an email to Rafael J. Wysocki (who worked on this bug) saying that my laptop needed to be blacklisted and I attached my dmidecode output, so he patched the kernel: https://patchwork.kernel.org/patch/260501/
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.