Subject: Re: fatal server error
To: None <tech-x11@netbsd.org>
From: Pavel Cahyna <pcah8322@artax.karlin.mff.cuni.cz>
List: tech-x11
Date: 03/24/2003 13:29:38
Hello,
I saw you have a problem with deciphering the "fatal server error"
message.
I was also puzzled when I saw it for the first time. Then I realized
that's a symptom of the problem described here:
http://www.netbsd.org/Ports/i386/faq.html#x_needs_insecure_kernel
Briefly, you need the aperture driver. Install it as described in the
FAQ.
Also note that i haven't been able to compile it. If you has this
problem, the following two patches should fix it (apply in the module/
subdirectory):
--- cut here ---
===================================================================
RCS file: aperture.c,v
retrieving revision 1.1
retrieving revision 1.3
diff -u -r1.1 -r1.3
--- aperture.c 2003/03/15 15:12:21 1.1
+++ aperture.c 2003/03/15 15:28:03 1.3
@@ -118,10 +118,10 @@
* allow only section in the vga framebuffer and above main memory
* to be mapped
*/
-int
+paddr_t
xf86mmap(dev, offset, length)
dev_t dev;
- int offset;
+ off_t offset;
int length;
{
--- cut here ---
and
--- cut here ---
===================================================================
RCS file: xf86_reg.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- xf86_reg.h 2003/03/15 15:32:36 1.1
+++ xf86_reg.h 2003/03/15 15:37:24 1.2
@@ -21,6 +21,7 @@
/*
* XXX - These belong to cpufunc.h
*/
+ /*
static __inline u_int64_t
rdmsr(u_int msr)
{
@@ -41,6 +42,8 @@
{
__asm __volatile(".byte 0x0f, 0x30" : : "A" (newval), "c"
(msr));
}
+
+*/
#ifndef M_MEMDESC
#define M_MEMDESC M_TEMP /* XXX */
--- cut here ---
Hope it helps.
Bye Pavel