Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50914 - svgalib-1.9.18-r1 produces an unusable svgalib_helper kernel module.
Summary: svgalib-1.9.18-r1 produces an unusable svgalib_helper kernel module.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-13 02:18 UTC by J van der Wulp
Modified: 2004-05-29 23:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description J van der Wulp 2004-05-13 02:18:14 UTC
The svgalib_helper.ko module is not loadable on 2.6.6 kernels. The error when issueing a `insmod svgalib_helper.ko' is `invalid module format'.


Reproducible: Always
Steps to Reproduce:
1. execute `emerge =media-libs/svgalib-helper-1.9.18-r1
2. execute `modprobe svgalib_helper'


Actual Results:  
Error: Invalid module format

Expected Results:  
nothing, issueing `lsmod' would have had to produce a list with libsvga_helper
in it.

A solution is to make sure that svgalib-1.9.18-r1/kernel/Makefile is executed
instead of svgalib-1.9.18-r1/kernel/Makefile.alt.

For me this solved the problem.

I use module-init-tools 3.0 from module-init-tools-3.0-r2.ebuild
With a vanilla 2.6.6 kernel.
Comment 1 SpanKY gentoo-dev 2004-05-17 04:47:49 UTC
what if you run `modinfo` on the module after building with the ebuild ?

when you used the Makefile, did you do so with the ebuild, or did you build it yourself ?
Comment 2 SpanKY gentoo-dev 2004-05-18 05:14:33 UTC
latexer: this is the new 2.6.6 mod stuff thats breaking here yeah ?
Comment 3 SpanKY gentoo-dev 2004-05-26 20:27:19 UTC
well re-open when you get back to us
Comment 4 Josef Kovacs 2004-05-27 05:41:36 UTC
Hello,

i have the same problem. I use the kernel from the development-sources-2.6.6. Svgalib-1.9.17-r3  and also the "unstable" svgalib-1.8.18-r1 have emerge perfectly, but when i try to modprobe or insmod the module libsvga_helper i get the message:

insmod: error inserting '/lib/modules/2.6.6/misc/svgalib_helper.ko': -1 Invalid module format

The modinfo command produce only this:

license:        GPL and additional rights
author:         Matan Ziv-Av <matan@svgalib.org>
description:    Generic hardware access to vga cards

The effect is, that the kernel-udev can't create the /dev/svga device.

The module was produces with the regular ebuild. I don't have compile it manualy. 

Is more information needed? 
Comment 5 SpanKY gentoo-dev 2004-05-29 14:26:28 UTC
it's the new kernel stuff ... since nvidia-kernel seems to do it properly now, i'll see how it works
Comment 6 SpanKY gentoo-dev 2004-05-29 23:12:18 UTC
should be fixed in 1.9.18-r1