Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've had this problem for a while, and have tried everything I could think of to attempt to fix it, so I decided to pose the question to those more knowledgable than I in an attempt for help.
Whenever I try to use anything with the svgalib it gives me the error:
svgalib: Cannot open /dev/svga
Is svgalib_helper module loaded?
More than twice I have gone through my kernel and attempted to find an svgalib_helper module, and have also looked around through some forums. I normally have no problems with Linux, and if I do I can typically resolve them rather quickly, so I've been really irritated with this.
If anybody has any suggestions what to do, or any questions about specifics, make sure to let me know, or ask me.
funny enough, I spent a while searching for the svgalib_helper.ko a while back, and to no avail.
As far as I know I have it enabled in my kernel, I've checked several times, and everything should work, except for some reason there is no svgalib_helper.ko, that's why I'm so puzzled.
it's built and installed when you build svgalib and is not a part of the kernel before that
so i think try to build that package by hand
it may be that if the package can't find the kernel build directory during the configure it just doesn't build and install the module
so make sure /lib/modules/`uname -r`/build points to you kernel build directory before you build the package
This is strange, i got same error when i try installing gnuplot on gentoo. I think i read somewhere it was related to a misconfigured ebuild file, not sure that it is directly related to the module, i beleive when i checked the compile error info it was trying to read a broken symlink, corresponding to the "Cant read /dev/svga" error, so it makes the /dev/svga link pointing to a non-existant /dev/svga_helper/0 file.
Originally posted by slink3r I've had this problem for a while, and have tried everything I could think of to attempt to fix it, so I decided to pose the question to those more knowledgable than I in an attempt for help.
Whenever I try to use anything with the svgalib it gives me the error:
svgalib: Cannot open /dev/svga
Is svgalib_helper module loaded?
More than twice I have gone through my kernel and attempted to find an svgalib_helper module, and have also looked around through some forums. I normally have no problems with Linux, and if I do I can typically resolve them rather quickly, so I've been really irritated with this.
If anybody has any suggestions what to do, or any questions about specifics, make sure to let me know, or ask me.
Thanks
I did have the same problem recently. If you don't mind running svgalib as root you can disable the helper by uncommenting NO_HELPER in Makefile.cfg.
I encountered this error just tonight. I managed to move on (to the next error - oh, joy!) by updating my /usr/src/linux link to my current kernel, copying /boot/System.map-[kernel version] to /usr/src/linux/System.map, and re-emerging svgalib (gentoo's 1.9.21-r1).
The next error I'm getting is 'FATAL: Error inserting svgalib_helper (/lib/modules/2.6.11-hardened-r1/misc/svgalib_helper.ko): Invalid module format'.
I believe my opinion of the idea of running a graphics library as root is adequately expressed buried within that error message.
The pertinent use options for svgalib were -build and -no-helper.
Originally posted by tgape
[B]The next error I'm getting is 'FATAL: Error inserting svgalib_helper (/lib/modules/2.6.11-hardened-r1/misc/svgalib_helper.ko): Invalid module format'.
It helps to rm -rf /var/tmp/portage/svgalib* before re-emerging svgalib. I'm working now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.