Re: [patch] PM: suspend/resume debugging should depend on SOFTWARE_SUSPEND

Stefan Seyfried
2006-11-27T20:01:24Z

On Sun, Nov 26, 2006 at 01:11:33AM -0600, Robert Hancock wrote:
> options seem to work, and vbetool appears to helpfully segfault on any operation so that's out.

Try this one:

From: Matthew Garrett
Subject: Fix failures on AMD64

This patch fixes at least some of the cases where vbetool segfaulted on x86_64
while the x86 emulator was executing BIOS code.

--- x86-common.c
+++ x86-common.c
@@ -33,8 +33,8 @@

#include "include/lrmi.h"

-#define REAL_MEM_BASE ((void *)0x10000)
-#define REAL_MEM_SIZE 0x90000
+#define REAL_MEM_BASE ((void *)0x1000)
+#define REAL_MEM_SIZE 0xa0000
#define REAL_MEM_BLOCKS 0x100

struct mem_block {

I have this in our vbetool-0.7 packages and have no reports about
segfaults since then.
--
Stefan Seyfried
QA / R&D Team Mobile Devices | "Any ideas, John?"
SUSE LINUX Products GmbH, Nürnberg | "Well, surrounding them's out."