This is a discussion on [solution] 2.6.9 and svgalib within the Linux Operating System forums, part of the Unix Operating Systems category; --> I recently posted regarding ZGV not running with 2.6.9 kernels. Turned out to be a single line in the ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I recently posted regarding ZGV not running with 2.6.9 kernels. Turned out to be a single line in the svgalib source that needed changing. Credit for this fix goes to Matan Ziv-Av. A short patch is included below. diff -Nur svgalib-1.4.3.orig/src/vga.c svgalib-1.4.3/src/vga.c --- svgalib-1.4.3.orig/src/vga.c 2001-05-29 14:37:55.000000000 +0000 +++ svgalib-1.4.3/src/vga.c 2004-12-07 00:18:29.000000000 +0000 @@ -1953,7 +1953,7 @@ }; __vga_mmap(); - if ((long) GM < 0) { + if ((long) GM == -1) { printf("svgalib: mmap error rrr\n"); exit(1); } -- Blore's Razor: Given a choice between two theories, take the one which is funnier. |