I try to compile svgalib 1.9.25 library with Kernel 2.6.28 and found different output when I try to compile the same library with Kernel 2.6.26.3.
> ls -lS /dev/svga*
Result on Kernel Linux-2.6.26.3:
crw-rw-rw- 1 root root 209, 0 /dev/svga
crw-rw-rw- 1 root root 209, 1 /dev/svga1
> ls -lS /dev/svga*
Result on Kernel Linux-2.6.28:
crw-rw-rw- 1 root root 209, 0 /dev/svga0
crw-rw-rw- 1 root root 209, 1 /dev/svga11
I use 3 svgalib patches on Kernel 2.6.28:
svgalib-1.9.25-build.patch
svgalib-1.9.25-linux2.6.patch
svgalib-1.9.25-linux2.6.28.patch
You can download it from here:
http://www.megaupload.com/?d=X07G8LLR
I use the same svgalib patches on Kernel 2.6.26.3.
(except svgalib-1.9.25-linux2.6.28.patch)
On the Kernel 2.6.26.3, the result is correct, because there is a "/dev/svga" file.
On Kernel 2.6.28, there is no such file, instead a "/dev/svga0" file. Most svgalib applications failed on Kernel 2.6.28, because the applications expect to use "/dev/svga".
The possible workaround is creating symbolic link:
ln -s /dev/svga0 /dev/svga
Is this a bug or something wrong with the patch?
Thank you