Linked by Thom Holwerda on Sat 14th Jul 2007 19:38 UTC, submitted by mark
Linux "Major Linux distributors have been shipping ACPI in Linux for several years, yet mis-perceptions about ACPI persist in the Linux community. This paper addresses the most common myths about ACPI in Linux [.pdf]." In addition, there are proposals to utilise kexec-based hibernation in Linux.
Thread beginning with comment 255487
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[2]: OLS-2007
by anevilyak on Sun 15th Jul 2007 07:09 UTC in reply to "RE: OLS-2007"
anevilyak
Member since:
2005-09-14

Out of curiosity, if the capture kernel were preloaded, wouldn't it be just as vulnerable to getting trashed as anything else in mem? Conversely, if it's not preloaded, how do you ensure that whatever block of code is responsible for loading the capture kernel isn't itself trashed? Does it require hypervisor support to be reliable?

Reply Parent Bookmark Score: 2

RE[3]: OLS-2007
by butters on Sun 15th Jul 2007 09:44 in reply to "RE[2]: OLS-2007"
butters Member since:
2005-07-08

You're correct.

Any code running on bare metal in kernel mode has the potential to barf all over memory until it barfs all over itself. Only hardware virtualization can contain the damage. But this is an unlikely scenario. The most common cause of data corruption is that the code that's supposed to be playing with the data does something wrong. The odds of the capture kernel getting trashed are slim because nothing in the production kernel is supposed to be playing with its data.

So, there is no design that guarantees that we will always be able to dump a crashed host kernel. But we can dramatically increase our chances by using a separate capture kernel, and nothing in a virtual machine can negatively impact the hypervisor's ability to dump it. The hypervisor could crash on its own, of course, but not because the virtual machine crashed.

Reply Parent Bookmark Score: 2