Skip to contentSkip to conversation

lguest: unhandled trap

Lguest Rusty Russell 2 participants 2 messages Oct 19, 2008 – Oct 20, 2008 1 message not in the archive Dmi/smbios support

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 6 lines · 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)
drivers/firmware/dmi_scan.c +5 -0
diff -r 47449cd8e3d8 drivers/firmware/dmi_scan.c
@@ -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;
#2 lore raw
Quoted 10 lines · Rusty Russell
Quoted 7 lines · 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)

Quoted 7 lines

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?

No, we deal with this by just reserving the ISA memory space and leaving it all zero.

J