* [Qemu-devel] KQEMU 0.7.1 not working
@ 2005-07-28 18:01 Mike Swanson
2005-07-28 20:39 ` Pablo R. Canto
0 siblings, 1 reply; 4+ messages in thread
From: Mike Swanson @ 2005-07-28 18:01 UTC (permalink / raw)
To: qemu-devel
Not sure why, but dmesg says this:
kqemu: Unknown symbol __PAGE_KERNEL_EXEC
--
Mike
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] KQEMU 0.7.1 not working
2005-07-28 18:01 [Qemu-devel] KQEMU 0.7.1 not working Mike Swanson
@ 2005-07-28 20:39 ` Pablo R. Canto
2005-07-29 12:35 ` Sebastian Kaliszewski
0 siblings, 1 reply; 4+ messages in thread
From: Pablo R. Canto @ 2005-07-28 20:39 UTC (permalink / raw)
To: Mike Swanson, qemu-devel
Mike Swanson wrote:
>Not sure why, but dmesg says this:
>
>kqemu: Unknown symbol __PAGE_KERNEL_EXEC
>
>
This patch is the solution
http://www.zarb.org/cgi-bin/viewcvs.cgi/plf/SPECS/non-free/dkms-kqemu/kqemu-0.7.1-PAGE_KERNEL_EXEC.patch?rev=1.1&view=log
Pablo.-
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] KQEMU 0.7.1 not working
2005-07-28 20:39 ` Pablo R. Canto
@ 2005-07-29 12:35 ` Sebastian Kaliszewski
2005-07-29 19:12 ` Mike Swanson
0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Kaliszewski @ 2005-07-29 12:35 UTC (permalink / raw)
To: qemu-devel
Pablo R. Canto wrote:
> Mike Swanson wrote:
>
>> Not sure why, but dmesg says this:
>>
>> kqemu: Unknown symbol __PAGE_KERNEL_EXEC
>>
>>
> This patch is the solution
> http://www.zarb.org/cgi-bin/viewcvs.cgi/plf/SPECS/non-free/dkms-kqemu/kqemu-0.7.1-PAGE_KERNEL_EXEC.patch?rev=1.1&view=log
Farbice proposed this instead (and it works for me):
--- kqemu-linux.c 25 Apr 2005 22:14:39 -0000 1.4
+++ kqemu-linux.c 25 Jul 2005 22:17:34 -0000
@@ -28,7 +28,13 @@
#define pfn_to_page(pfn) (mem_map + (pfn))
#endif
-#ifndef PAGE_KERNEL_EXEC
+#ifdef PAGE_KERNEL_EXEC
+#if defined(__i386__)
+/* problem : i386 kernels usually don't export __PAGE_KERNEL_EXEC */
+#undef PAGE_KERNEL_EXEC
+#define PAGE_KERNEL_EXEC __pgprot(__PAGE_KERNEL & ~_PAGE_NX)
+#endif
+#else
#define PAGE_KERNEL_EXEC PAGE_KERNEL
#endif
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] KQEMU 0.7.1 not working
2005-07-29 12:35 ` Sebastian Kaliszewski
@ 2005-07-29 19:12 ` Mike Swanson
0 siblings, 0 replies; 4+ messages in thread
From: Mike Swanson @ 2005-07-29 19:12 UTC (permalink / raw)
To: qemu-devel
The first patch worked fine for me, but I've got kqemu-0.7.1-1
downloaded for the next time I sync with CVS
Thanks for both of you guys' help.
--
Mike
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-07-29 19:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-28 18:01 [Qemu-devel] KQEMU 0.7.1 not working Mike Swanson
2005-07-28 20:39 ` Pablo R. Canto
2005-07-29 12:35 ` Sebastian Kaliszewski
2005-07-29 19:12 ` Mike Swanson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).