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

From: Stefan Seyfried
Date: Mon Nov 27 2006 - 15:01:42 EST


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."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/