I was running the SLS 2.0 kernel, and built a 1.1.47 kernel from source
(why mess around with older kernels :^). All of a sudden, things which
svgalib (gs and sasteroids, for example) stopped working with a "can't
open /dev/mem" message.
As root I can open /dev/mem for reading and writing, and as a user, a
program s-bitted to root can do so, but svgalib seems unable to. I
suspected an incorrect error message was coming from svgalib, but I put
a "printk("got here")" in the open routine for /dev/mem in mem.c, and I
can see it happen when I try to open /dev/mem, and not happen when svgalib
Any clues? I haven't tried it with a non-shared library version of
svgalib. What I have is (according to ldconfig):
libvga.so.1 => libvga.so.1.1.7
Any help appreciated.