lkml.org 
[lkml]   [2008]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: [Lguest] lguest: unhandled trap
Date
On Sunday 19 October 2008 10:36:51 Tiago Maluta wrote:
> Hi,
>
> I'm using 2.6.27-05323-g26e9a39 and when I try to use lguest:
>
> ~#Documentation/lguest/lguest 128 vmlinux
> lguest: unhandled trap 14 at 0xc0594f6a (0xff900000)

Yes, I found the same issue. Does this fix it for you?

Subject: lguest: don't try DMI

dmi_scan_machine breaks under lguest; this is the simplest fix (though
ugly). Perhaps this hurts Xen too?

Error:
lguest: unhandled trap 14 at 0xc04edeae (0xffa00000)

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

diff -r 47449cd8e3d8 drivers/firmware/dmi_scan.c
--- a/drivers/firmware/dmi_scan.c Fri Oct 17 12:14:40 2008 +1100
+++ b/drivers/firmware/dmi_scan.c Fri Oct 17 20:54:30 2008 +1100
@@ -369,6 +369,11 @@ void __init dmi_scan_machine(void)
char __iomem *p, *q;
int rc;

+#ifdef CONFIG_PARAVIRT
+ if (strcmp(pv_info.name, "lguest") == 0)
+ goto error;
+#endif
+
if (efi_enabled) {
if (efi.smbios == EFI_INVALID_TABLE_ADDR)
goto error;




\
 
 \ /
  Last update: 2008-10-20 01:41    [W:0.039 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site