LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 04-16-2005, 02:26 AM   #1
slink3r
LQ Newbie
 
Registered: Apr 2005
Location: Palmdale, CA
Distribution: Gentoo
Posts: 4

Rep: Reputation: 0
svgalib_helper


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
 
Old 04-16-2005, 09:38 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
did you try
modprobe svgalib_helper

or more importantly if you are using udev did you try loading svgalib_helper at boot
 
Old 04-17-2005, 09:49 PM   #3
slink3r
LQ Newbie
 
Registered: Apr 2005
Location: Palmdale, CA
Distribution: Gentoo
Posts: 4

Original Poster
Rep: Reputation: 0
root@slink3r clanaos # modprobe svgalib_helper
FATAL: Module svgalib_helper not found.

and I'm not using udev

If you need any lines from my kernel I would be more than happy to show you

I'm using 2.6.9, the gentoo-r4 version.
 
Old 04-18-2005, 05:29 PM   #4
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
Quote:
Originally posted by slink3r
root@slink3r clanaos # modprobe svgalib_helper
FATAL: Module svgalib_helper not found.

and I'm not using udev

If you need any lines from my kernel I would be more than happy to show you

I'm using 2.6.9, the gentoo-r4 version.
and you have svgalib installed-- i think it has to be a new 1.9.19 or greater version for the kernel module to work with a modern 2.6 kernel

http://www.arava.co.il/matan/svgalib/
 
Old 04-18-2005, 05:36 PM   #5
slink3r
LQ Newbie
 
Registered: Apr 2005
Location: Palmdale, CA
Distribution: Gentoo
Posts: 4

Original Poster
Rep: Reputation: 0
svgalib

well I have 1.9.19 gentoo-r1 installed, but I see portage has a gentoo-r3, I'll grab that and see if it fixes anything


---------------------Update--------------

Nope, still the same error

Last edited by slink3r; 04-18-2005 at 05:41 PM.
 
Old 04-18-2005, 11:13 PM   #6
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
i don't know anything about gentoo but it is building the package yes ??

try instead of modprobe to be more direct with
insmod /lib/modules/`uname -r`/kernel/misc/svgalib_helper.ko

if that doesn't work

is there a ./kernel/svgalib_helper/svgalib_helper.ko
in that source package after it's built ?

if it's there try
insmod ./svgalib_helper.ko
you know from within the directory it's in

does the file
/lib/modules/`uname -r`/kernel/misc/svgalib_helper.ko exist ?
 
Old 04-18-2005, 11:46 PM   #7
slink3r
LQ Newbie
 
Registered: Apr 2005
Location: Palmdale, CA
Distribution: Gentoo
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
Old 04-19-2005, 02:52 PM   #8
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
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
 
Old 05-05-2005, 03:46 PM   #9
sgonzale
LQ Newbie
 
Registered: May 2005
Posts: 1

Rep: Reputation: 0
Question svgalib_helper module

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.

Last edited by sgonzale; 05-06-2005 at 10:39 AM.
 
Old 09-15-2005, 05:06 AM   #10
bave
LQ Newbie
 
Registered: Sep 2005
Location: rotterdam
Posts: 3

Rep: Reputation: 0
Re: svgalib_helper

Quote:
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.

bave
 
Old 09-22-2005, 09:11 PM   #11
tgape
LQ Newbie
 
Registered: Sep 2005
Posts: 2

Rep: Reputation: 0
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.
 
Old 09-22-2005, 09:25 PM   #12
tgape
LQ Newbie
 
Registered: Sep 2005
Posts: 2

Rep: Reputation: 0
Quote:
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
svgalib_helper.ko apoth Linux - Software 0 05-09-2005 05:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration