Ubuntu :: Prevent The Sleep State From Being Lost On Power Failure?
May 17, 2010
When I tell the computer to go to sleep and there is a power failure the sleep state is lost. Is there a way to prevent this? I already know about hibernate and I'm using it but sleep is faster and there is no complete loading of the computer (BIOS, Grub and so on) it just goes directly into the desktop. As far as I know the sleep state is done when everything is in RAM and the computer is turned off but the RAM sticks still receive power. Is this true?
P.S. Can this be done with hibernate and SSD drives? As far as I can tell from what I've read it will be the same but with no state loss. Is this true?
Running Ubuntu headless server 9.10 with a RAID 1 on ext3. After a power failure (UPS power button was hit accidentally), I logged into the system via ssh and found that I had lost all data since my last reboot, which was 4 months ago. It was as if I had a perfect snapshot of my machine from 4 months ago. Everything, database files, logs, all report as if the machine had been off for 4 months. Fortunately, I have quality backups of all my data so I am able to recover, but I have never had such a problem before and I cannot figure out what happened.
My problem is, firefox (3.6.12 and 4.0 beta 7) freezes for seconds/minutes and enters in disk sleep state (the usb-storage process too). My system is an EeePC 701, openSUSE 11.3 x86, with the /home and swap partitions on a SD card.
If I set my Ubuntu 10.10 to sleep after an hour of inactivity, I can't leave Blender to render overnight. The processing that Blender is doing seems to be ignored, and the computer goes to sleep after an hour. How can I prevent this from happening? I don't want to set Sleep to Never, I would like the computer to sleep after Blender is done.
Note: I use debian testing.GUI very frequently completely breaks for me, it looks like this:URL....It usually happens after a short freeze or after going back to GUI from TTY (which doesn't display because of a known Nvidia proprietary driver issue).And sometimes my laptop goes into sleep state by itself while it's being used. This is lenovo ideapad z510 laptop, with intel+nvidia GPU (nvidia Optimus). To use nvidia GPU I use bumblebee.
I have installed ubuntu 9.10 with karmic kernel and GNOME, on toshiba 512 MB RAm laptop. it worked fine but some times after complete shut down or sleep, it wont boot again. Laptop is completely dead and silent. I had to power it off, battery taken out and inserted again to get it started again. Then it worked all normal and fine. Why it happens and what i shud do next?
I have to questions: I am new with Linux and using ubuntu on my laptop computer. when i reopen my leptops cover after i closed it, meaning - putting computer to sleep, every thing is working, but the screen is black and nothing is seen. No matter what i tried to do, i cant make it to "wake up".
Using the computers battery, with no electric supply, the battery time is only half of what i get when using windows. i tried using less lumination but it didnt seem to help.
I have an odd problem since preupgrading from Fedora 12 to Fedora 14.
My power management settings are set to never put the monitor to sleep, yet after a certain amount of time, lo and behold, the Fedora box has gone blank and I have to enter my user information and password to get back to my gnome session.
In the power management preferences I have "never" selected for both putting the computer or display to sleep.
In the screensaver preferences "Lock Screen After" is *not* checked. (And if I click "advanced" I also note that "Power Management Enabled" is also *not* checked).
I'd just as soon not have to "log on" to this machine every time I'm away from it for a while.
I'm an emacs (and ubuntu of course!) enthusiast, and I'd like to use it to write latex file. I'm using longlines mode in emacs to wrap around the lines, the problem is though that once a line is wrapped, the indentation is lost...
is there a feature which could be activated to prevent this?
I'm running Squeeze with Gnome & GDM3. After 1 h my laptop automatically suspends while in the login screen (GDM3; so no user login). I want to prevent that, since this machine also has a server role. how this can be prevented?
I was upgrading my ubuntu(9.10)/xp machine to ubuntu(10.4)/xp . but there was a power failure and was running in backup for 15 min. But after that the system shutdown automatically. Now when i boot, grub appears and after selecting the ubuntu partition i get a error saying cannot find device.
While using my computer the other day (I was sending an email) it suddenly turned off. I didn't get any low power warning, but I was running on battery and had my iphone charging from a USB port.
As I didn't think there was low battery, I just turned it back on again. As it was booting I saw the battery light flashing, indicating low power. I went to get the charger, but before I got it, mid boot-up it turned off again.
This seemingly damaged something hard-disk-wise.
Upon turning it on again it dropped into busy box with some message similar to this:
No init fount. Try passing init= bootarg.
BusyBox v1.13.3 (Ubuntu 1:1.13.3-1ubuntu7) built in shell (ash) Enter 'help' for a list of build in commands
That's not the actual message (copy pasted from another post) but the message is VERY similar to that.
If I "exit" busy box, I get a load of message about "kernel panic" before it freezes up.
I have booted a live USB (what I am using now). I thought since it wasn't cleanly unmounted, simply mounting and unmounting would do the trick. I was wrong.
Code: ubuntu@ubuntu:~$ sudo fdisk -l Disk /dev/sda: 250.1 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
I had previously ran e2fsck (after checking it was unmounted) but it wouldn't run also because it was reporting that the device was already mounted, busy, or being exclusively used by a process.
I don't want to do any more for fear of causing further damage.
I am astounded that such damage can be caused so easily!
Running 10.10 After a main power failure I can't boot.
It says: ........... [sdb] Attached SCSI removable disk [sdc] Attached SCSI removable disk [sdd] Attached SCSI removable disk [sde] Attached SCSI removable disk and stops.
I get a (initramfs) prompt and have no idea what to do with it.
Allready tried to install 10.10 again from a CD. But it also hangs immediately when it starts to install. The liveCD feature works OK and I can access the hard disk. I tried to update the initramfs with the liveCD but it says I can't write since I have only "read-only" access. But if I do "sudo nautilus" I have full access to the disk.
I have the old version 8.10 installed in my laptop. The laptop already some battery issue and after the power failure i cannot access the external usb drives anymore.I have ntfs-configuration installed and do not know how to access the drives using the tool.Every time i try to access the drive it says that i do not have the privilege to mount the volume.
Just upgraded to Debian Jessie. I'm having a problem with the desktop and lockscreen that I never had before in Debian 7. Whenever I open the laptop to wake it up, there is very bad discoloration of the background. (screenshot : [URL] ..... )
Hardware is an IBM Lenovo T410 with no customizations. The graphics are factory nvidia. 3D acceleration works flawlessly, and I have no other issues except this background problem.
$ nvidia-detect Detected NVIDIA GPUs: 01:00.0 VGA compatible controller : NVIDIA Corporation GT218M [NVS 3100M] [10de:0a6c] (rev a2) Your card is supported by the default drivers and legacy driver series 304.
I have a box running Lenny and boot with lilo. Today there was a power failure and now the system is stuck on Lilo ..It doesnt get passed that. I tried to boot in single mode but the same thing is happens. How can I fix this problem
I recently installed Lynx 10.04 amd64. Twice now, my entire file system has become unusable -- each time after a short power outage (2 seconds).
In the first setup, I had two primary partitions: 1) / that was ext4; 2) /home that was ext4.
In the second setup, I changed the /home to ext3.
Both times, after booting up following the power outage, I received a message saying that "serious errors" were found in /home. But, after several reboots, I was able to login and use the system. Then, some time later, I would started getting "Read Only" messages when trying to write to the file system.
fsck gave the following message: "/home terminated with status 4". I received numerous "I/O error" on sda messages.
My question: Is this vulnerability due to using ext4 or is it related more to something else in Lynx 10.04? Further, what can I do (other than buying a power backup device) to avoid my file system becoming unusable after a power outage?
I'm using Ubuntu 10.04 64-bit, which is installed to a second hard drive on my desktop. Earlier this afternoon, there were two 10 second power outages in my neighborhood. The first caused the system to restart with no effect, but after the second outage Ubuntu no longer boots properly. The problem is this: When I boot, I get to the grub screen. I have tried choosing four different options (the most recent kernel, a slightly older kernel, and the recovery mode of each). For each, kernel begins loading, but at a certain point the input to the monitor dries up, and after a few seconds the monitor enters standby mode. When I boot into recovery mood, the last message I see before the screen goes blank includes "udev starting version 151" followed by three lines that read "assuming [something that I can't read before the screen goes blank]." The computer itself remains on, but I have no way of knowing exactly what it is doing.
There seems to be no hardware damage as I can boat into Vista, and I can also boot into 10.04 from a USB. I've used fsck to check the partitions on my hard drive and the test came up clean for all of them. Since I only installed 10.04 a week ago, I could just copy the handful of useful files I have to my external drive and re-install, but I'd like to get some experience troubleshooting this problem. My first assumption is some kind of problem with the video drivers or GUI.
today my desktop crashed due to power failure. When i again started the machine and tried to boot Ubuntu i m getting the following message in command screen:- "Minimal BASH-Like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists is possible device & file completions."
My pc had hardware malfunction; power supply interruption. At this moment it is working stable. My Windows 7 installation is ok but Ubuntu Maverick which I used during crush has malfunction. When I start to boot it looks like this: I had to make a foto so you all can see the problem. all my important files are stored on Ubuntu partition..
we are using linux email server axigen past few years. we keep port open ssh and pop,smtp webmail etc. ssh use for remote trouble shooting. so through firewall it is globally accessable. we notice many attacks coming to our machine, also some people try to enter in our system but failure. as example see below a log come in messages file
Mar 17 09:19:50 sa1 sshd(pam_unix): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=184.108.40.206 user=root how we can secure more. as per my understanding only good long strong password can stop to prevent from attacks.
have Karmic Coala runing on an IBM thinkpad X.41. Works great. My home network is all ethernet so I have a router , CAT5 cable to laptop.A coupleof times I've had power outages The laptop carries on as it's on battery power. When the power comes back , the router restarts, it reconnects after a few minutes but the laptop doesn't reconnect to the network seamlessly. On some other Linux distro's I've had running /etc/init.d/network restart will refresh everything. On Ubuntu I have /etc/init.d/networks but running restart In the end I needed to reboot the laptop to get the network back on.Perhaps this is a power management issue with the laptop ethernet card i.e losing power powers down the card and it never comes back up properly.
I was updating the kernel and left the computer to let it do its business. There was power failure and I don't know if the update completed or if it was in the middle of it. Now if I start the computer, it freezes up at the login screen. I tried to recover from grub, by selecting "Ubuntu, with Linux 2.6.32-21-generic (recovery mode)". There were no prompts for input after this. The recovery screen is not updating anything after:
[2.348886] EXT4-fs (sda1): INFO: recovery required on readonly filesystem [2.349015] EXT4-fs (sda1): write access will be enabled during recovery [2.577641] EXT4-fs (sda1): recovery complete [2.578072] EXT4-fs (sda1): mounted filesystem with ordered data mode Begin: Running /scripts/local-bottom ... Done. Done. Begin: Running /scripts/init-bottom ... Done.
When I come out of that screen (ctrl-alt-del), the problem repeats.
I had a power failure during the portion of the upgrade after the reboot where it was upgrading the packages.I tried restarting the machine with the upgrade line in the bootloader but it says it cant find the bootloader. So I rebooted into the working install and ran preupgrade again, and after it reboots, it gives an error the it cant find "root" of the previous installation.even thought the machine boots and works, I cant tell what state I am in. the boot option lines, shows a fc12 kernel designation and the "about this computer" says "release 13"Also the add remove software doesn't show anything.
I had a power failure, now Gnome will not completly start and just hangs almost there. another member of the family was at the computer and when it restarted and something like TomBoy was flagged as no working and the question was asked if they wanted to delete reference or not , so they said yes now Gnome still will not finish loading. How do i repair from the console prompt?