[PATCH] svgalib error in mmap documentation

From: Matan Ziv-Av (matan@svgalib.org)
Date: Sat Jan 06 2001 - 03:33:27 EST


Hi,

svgalib needs to be compiled without background support in order to run
under kernl 2.4.0 or newer. Here's a patch to Documentation/Changes that
says this.

--- /usr/src/linux.b/Documentation/Changes Tue Dec 12 18:43:22 2000
+++ linux/Documentation/Changes Sat Jan 6 10:28:20 2001
@@ -517,6 +517,14 @@
 Older isdn4k-utils versions don't support EXTRAVERSION into kernel version
 string. A upgrade to isdn4k-utils.v3.1beta7 or later is recomented.

+SVGAlib
+=======
+If you want svgalib programs to run with kernel 2.4.0 or newer, svgalib
+needs to be compiled without background support (BACKGROUND not defined in
+Makefile.cfg). This is relevant to any svgalib version.
+This is because svgalib uses mmap of /proc/mem to emulate vga's memory bank
+switching when in background, and kernel 2.4.0 stopped supporting this feature.
+

-- 
Matan Ziv-Av.                         matan@svgalib.org

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 07 2001 - 21:00:24 EST