svgalib doesn't work after kernel upgrade (126.96.36.199 to 188.8.131.52, slackware 11))
After kernel upgrade (184.108.40.206 to 220.127.116.11, built from sources) on Slackware 11.
programs that use svgalib doesn't work anymore (I'm trying to start them in runlevel 3), they just print
I've tried to rebuild it from the sources, but it doesn't compile (sources are quite old, and gcc doesn't like some macros (mm.##x) in vga.c and labels in s3.c) and even after some "hacking" (modified code a bit - replaced macros with actual code and put ';' after empty label to make it work) compilation ends complaining about some headers in /usr/include/linux which I didn't dare to modify.
maybe it's connected with processor optimization? svgalib worked with previos kernel (kompiled for i486) and new kernel is optimized for i686. (AMD Sempron 2800+)
How can I fix the problem?
svgalib is a kernel module
thus if a new kernel is compiled,
svgalib must be recompiled for said kernel
there is a patch for 2.6 kernels
So far I've found only:
It looks like there are a lot of patches (http://www.google.com/search?hl=en&n...h&btnG=Search), but I didn't find one for 2.6 kernel.
Or are you talking about svgalib-1.9.25?
yes, it was for 1.9.25
don't remember the location
there should be a mention in the mailing list
sorry, afaik 1.9.x is the only
branch currently being developed
Well, after some fixing I was able to compile and install svgalib-1.4.3 (shipped in slackware 11).
Also I was lucky enough to find (and fix) bug in it. (Couldn't believe it at first)
Al problems were caused by line 1956 in vga.c where
The other compilation issues were fixed by disabling et6000 driver which tried to include
<pci.h> that (in turn) was leading to an "parse error" due to __u16 and __u32 types...
I'll make and post a patch later (there were some other small fixes to make this thing work)...
I must say that some programs using svgalib were not working with version 1.9.25. (wich compile easily).
here is the patch (for the original svgalib-1.4.3 shipped with slackware 11 in /source/l/svgalib/svgalib-1.4.3.tar.gz) to make it compile (and work). Hope it will help someone...:
|All times are GMT -5. The time now is 05:31 PM.|