General :: Relationship Between S2disk And Hibernate?
Jan 25, 2010
On a Debian system, there are packages called uswsusp and hibernate. The former contains a program named s2disk, the latter contains a program called hibernate. Superficially, these both do the same thing: the suspend the machine to disk. Usually, this works fine, but since I'm often using Debian testing and there are lots of changes in kernel and other packages (I assume), somethings this breaks. But then, when one of these programs doesn't work, sometimes the other works. Often, hibernate works when s2disk doesn't.annoyingly, however, the "Suspend" or "Hibernate" buttons in the graphical user interfaces (e.g., LXDE, KDE) appear to be wired up to the s2disk program, so when that breaks I have to use hibernate manually.
So, what is the difference between these packages? Interestingly, the hibernate package "recommends" uswsusp, but the package description says that it "smartly puts your computer to sleep ... using one of the various methods available in the kernel". So apparently it can fall back to something else when the s2disk method fails? And if hibernate is more powerful, why wouldn't the GUIs use it instead?
View 1 Replies
ADVERTISEMENT
Dec 9, 2010
I just found in kernel-2.6.35.3, in file arch/x86/kernel/irq.c:
unsigned int __irq_entry do_IRQ(struct pt_regs *regs)
{
struct pt_regs *old_regs = set_irq_regs(regs);
/* high bit used in ret_from_ code */
unsigned vector = ~regs->orig_ax;
[Code]...
Does any body know the relationship between the vector number and irq number?
View 1 Replies
View Related
Apr 15, 2011
Recently,I am learnning about the LFS and I can not understand the relationship between the kernel and file system !!It is so annoyed because I want to understand the LFS deeply.who can describe the relationship between them!and who can give me a simple example?
View 1 Replies
View Related
Apr 10, 2010
I'm using pm-hibernate, and would like to reboot the machine after it's done hibernating, rather than having the machine turn off.Is there a way to do this with pm-hibernate, or any other Linux hibernate thing?
View 2 Replies
View Related
Feb 13, 2011
in my windows7 laptop, I installed a virtualbox 4.0 then Fedora 14 as OS. Can I transfer the files from Linux system to windows syatem? I mean can I create a relationship between two OS like mapping network drive?
View 3 Replies
View Related
May 18, 2010
I have this problem and the workstation is on windows 7 and the domain is on samba. My Xp computers are connecting fine just the windows 7 ones.i've even tried to do the registry edit and its not working.
View 2 Replies
View Related
Dec 9, 2009
I saw the article in Suspend to disk - openSUSE and I decided to test s2disk on my VAIO VGN-AR41L (laptop) using ext4 system (which supports journaling). I used the button of the KDE4 to initiate the process of suspend to disk. The process of storing the image and shutdown the computer worked. But the reverse process didn't work. I also saw in the article that there is a workaround for the journaled systems. Instead of doing this can I switch off journaling on ext4 without loss of data? And if yes, how can this be done?
View 5 Replies
View Related
Dec 21, 2009
When my computer is going down for hibernation (ram2disk) he safes the session corretly to the disk and the statusbar reaches 100%, but the computer and screen leaves on. Maybe some acpi troubles?
It is just that the computer won't switch off so that I have to press the OnButton 3sec. When I start again the session is sucessfully restored.
View 1 Replies
View Related
May 28, 2010
Firstly I thought LWP value listed during execution of command ps -eLf is same as the TID value of each threads getting spawned.But actually these two values are totally different(got TID value using pthread_self()).Please let me know what is this LWP value?
View 1 Replies
View Related
Jul 12, 2011
Could you please explain the relationship between the languages?For one, is C writing assembly when you compile, does every piece of code end up assembly/hex? Is there a way to convert (?port?) between them?I don't understand much at all of them yet, but I've seen examples where it looks like they are interacting, and an understanding of all of them looks to be important?
View 12 Replies
View Related
Mar 11, 2010
I need a ERD tool (ERD -> Entity Relationship Diagram). Where and how i can get it?. If it is platform independiente, open source (or free), it will help me greatly.
View 14 Replies
View Related
May 14, 2010
I am looking for customer relationship management, I have had a look at "Sugarcrm" but cannot seem to figure out how to install it.I run a small business on my own which often means i get flooded with customers from time to time and i need a CRM system that is simple to use and doesnt have to be fancy..What I am asking is there a package out there for ubuntu other then Sugarcrm?Btw the software will be installed on a stand alone computer.
View 2 Replies
View Related
Apr 8, 2011
Do you know what's relationship between ethx and physical net cards? such as i have three net cards in the PC, named A, B, C. In which config file i could know that eth0 -> A, eth1 -> B, and eth2 -> C. Would the mapping relationship change after reboot? Is there any method i could change the mapping?
View 5 Replies
View Related
Dec 9, 2010
My server is running Ubuntu. I have no problem adding a windows XP to the domain. I however have a problem with windows 7 laptop. I keep getting the following error
"The user could not be added because the following error has occurred:
The trust relationship between this workstation and the primary domain failed".
View 4 Replies
View Related
Jul 1, 2010
i already put a windows 7 in domain, but now i cant login with samba user in windows 7 machine, i recive the error: problem with trust relationship.
View 1 Replies
View Related
Mar 16, 2010
Just got Ubuntu 9.10 and I'm liking it a lot, but my computer refuses to go into hibernate or suspend. I have a Dell M1530 but I don't really think it's a dell hardware issue because it's not just when I close the screen, it's also when I click suspend or hibernate from the menu.
View 2 Replies
View Related
Apr 2, 2010
i am using kubuntu and my laptop does not hibernate or even sleep whenever i close the lid of my laptop!! i have tried to configure the powersave but it is all in vain!!
When i close the lid,the screen goes blank and it deactivates everything including the mouse and the keyboard!
View 2 Replies
View Related
Jun 7, 2010
Is it possible to catch the power management events(hibarnate/standby/sleep)o the code(c++)?
View 2 Replies
View Related
Jul 23, 2011
where do I define that my laptop should go hibernate or suspend when my battery has a certain percentage? Where do I define this percentage ?I see no such options under Power Management Preferences.
View 4 Replies
View Related
Apr 6, 2011
I have installed Fedora 15 Alpha with GNOME 3. Everything is working fine. However, I can't see any option to hibernate or shutdown.
In the top panel when I click my user name, I only have one option and that is to suspend. Normally I like to hibernate or shutdown. And I can't see any option of what to do when I close my netbook. Normally, I prefer to hibernate.
View 3 Replies
View Related
May 18, 2011
Put 'nix box to sleep from command line?
I found that the solution was to do: pmi action hibernate
But when I typed in that, it showed: Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Hal was not provided by any .service files
View 2 Replies
View Related
May 25, 2011
I have fedora 13. What is the difference between suspend and resume? If I suspend, how do I turn on the pc? If I hibernate, how do I get out of hibernation?
View 3 Replies
View Related
Jul 24, 2011
I dual boot Ubuntu and Windows and sometimes I just want to switch between the partitions without loosing the state of the OS I was currently working with. Currently to do that I just hibernate that OS and, when the computer turns off, I restart it and select the correct partition.
I do not really want to have to press the on button again every time I want to switch between partitions. I figure that there must be a way to make the hibernate action restart instead of shutting down.
How do I make the hibernate action restart instead of shutting down on:
Windows, or Ubuntu
P.S. It is more important to me that I can do this in Ubuntu than Windows (because of the way I use the partitions) therefore if one answer says the Ubuntu way and the other says the Windows way then I will mark the Ubuntu one as the answer and give the Windows one an upvote and a big thankyou.
View 1 Replies
View Related
Jun 29, 2011
I have installed Ubuntu as wubi (next to windows 7). When I expect the computer to shut down (either to hibernate or as part of, you know, shutdown), it doesn't. All the programs end, I am logged out, but I still have a picture on the screen (ubuntu default picture).
View 7 Replies
View Related
Dec 3, 2010
Why doesn't Hibernate work in Ubuntu 10.10?
I have tried to research the problem and suspect that the hibernation function is not a default function of the system. But how do I install it.
View 4 Replies
View Related
Aug 4, 2011
First of all let me introduce myself. My name is Rasheed and i am from UAE, after not having any reply from a week in Fedora's official forum i came across the linuxquestions through google and hoping to help others and resolve my issues as well with the help of experts here. So here is my problem what i am currently having. I am going through a serious issue right now. My laptop crashes when SUSPEND/HIBERNATE or unplugging the laptop's charger.
View 14 Replies
View Related
Mar 18, 2010
I am using ubuntu 9.10 and when i close the lid of the laptop it does not hibernate or suspend?
what do i do?
View 1 Replies
View Related
May 26, 2011
Currently running Slackware 13.37 64-bit on a notebook and finally have suspend/hibernate after realizing that USB devices, especially USB HDDs, need to be disconnected before suspend/hibernate can work. Problem is I have 2 USB HDDs that are connected to my notebook whenever the notebook is stationary for the extra storage so I'd like to create a script that would get invoked that would stop the suspend/hibernate process if certain partitions are mounted. I know what I would like to accomplish, but I have basic scripting knowledge so I was hoping to get some assistance.
1. script would basically store a user specified string containing devices that are non-USB, ie: NONUSB="/dev/sda /dev/sdb"
2. possibly use /etc/mtab to get a list of what is currently mounted and then remove lines containing whatever is specified in $NONUSB and store those values in $USB
3. run a for loop that executes 'umount' on each token in $USB
3a. stop suspend/hibernate process if 'umount' fails at any point
3b. if 'umount' passes then suspend/hibernate
View 2 Replies
View Related
Jan 5, 2011
I have been using Linux Mint with great success for about 5 months. The other day when I went to turn off my computer instead of selecting shut down, I accidentally clicked on "Hibernate". Now my computer will not turn on, even after a hard shut down. Nothing comes up, not even the BIOs screen. It did this once before and my Linux-guru ex was able to fix it, but I will be dammed if I remember what he did.
View 14 Replies
View Related
Feb 11, 2010
I am not able to connect to Mysql using hibernate.
Is there any configuration in my.cnf or any where i used:
This configuration in my.cnf but still i am not able to connect. Can any one helps me. I am newer to mysql,
Why to use debian.cnf,mysqld_safe_syslog.cnf
View 1 Replies
View Related