Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 133936
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: SpanKY <vapier@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Walter Meinl <wuno@lsvw.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ei emerge --info text/plain Walter Meinl 2006-05-21 04:01 0000 3.28 KB Details
all_devices_non_static.patch patch for making all_devices parameter non static patch Pablo De Nápoli 2006-06-03 13:12 0000 347 bytes Details | Diff
svgalib-1.9.24.ebuild svgalib-1.9.24.ebuild with this patch added text/plain Pablo De Nápoli 2006-06-03 13:13 0000 4.46 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 133936 depends on: Show dependency tree
Bug 133936 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-05-21 04:00 0000
Since I've upgraded to udev-0.90 gentoo-sources-2.6.16-r7 the svgalib_helper
module refuses to load after successful compilation.

output of modprobe:

WARNING: /etc/modprobe.conf line 100: ignoring bad line starting with
'probeall'
FATAL: Error inserting svgalib_helper
(/lib/modules/2.6.16-gentoo-r7/misc/svgalib_helper.ko): Invalid argument

output of dmseg:
svgalib_helper: falsely claims to have parameter all_devices

There's also no /dev/svga being created

------- Comment #1 From Walter Meinl 2006-05-21 04:01:28 0000 -------
Created an attachment (id=87190) [details]
emerge --info

------- Comment #2 From Pablo De Nápoli 2006-05-30 08:26:54 0000 -------
I'm having the same trouble, but I'm not sure if it is related
to udev (in fact, I'm using udev-087)

modprobe svgalib_helper

gives the message

FATAL: Error inserting svgalib_helper
(/lib/modules/2.6.16.18/misc/svgalib_helper.ko): Invalid argument

I'm using linux-2.6.16.18 (with 2.6.16 headers) on a Gentoo x86 host.
module-init-tools-3.2.2 (I've tested it also with 3.2.1)
glibc 3.2.1 gcc-4.1.1 binutils-2.16.1

and dmesg muestra el mensaje

svgalib_helper: falsely claims to have parameter all_devices

------- Comment #3 From Pablo De Nápoli 2006-05-30 08:33:25 0000 -------
In fact, I've also tried udev-079-r1 (the version that I was using
before the upgrade), and it didn't work either.
In my opinion, this issue is related to the upgrade of binutils.
Which version of binutils are you using?

------- Comment #4 From Walter Meinl 2006-05-30 12:08:20 0000 -------
(In reply to comment #3)
> Which version of binutils are you using?
> 

binutils-2.16.1-r2 marked x86 stable

------- Comment #5 From Pablo De Nápoli 2006-06-03 12:27:28 0000 -------
I've suceded to load svgalib_helper into the 2.6.16.18 kernel
by comenting out the lines declaring the all_devices parameter
in /kernel/svgalib_helper/main.c and building the module from
the source:

MODULE_PARAM(all_devices,"i")
MODULE_PARAM_DESC(all_devices,....)

Of course, this is just a temporary work around if you don't really
need the all_devices parameter.

a mistake in my previous report: I'm using glibc-2.4
and svgalib-1.9.24

------- Comment #6 From Pablo De Nápoli 2006-06-03 13:10:16 0000 -------
I've succeded in fixing this bug!

The solution is very simple: remove the static keyword in the line

static int all_devices=0;

in kernel/svgalib_helper/main.c

(this causes the symbol not to be exported by the linker)

I'm submitting a patch for this issue. Since don't have write access, please
someone add this patch to portage.

------- Comment #7 From Pablo De Nápoli 2006-06-03 13:12:43 0000 -------
Created an attachment (id=88297) [details]
patch for making all_devices parameter non static

file name: all_devices_non_static.patch

------- Comment #8 From Pablo De Nápoli 2006-06-03 13:13:28 0000 -------
Created an attachment (id=88298) [details]
svgalib-1.9.24.ebuild with this patch added

------- Comment #9 From SpanKY 2006-06-04 02:48:40 0000 -------
fix looks good to me ... could you e-mail this to the upstream author please ?

you can find his contact info at the bottom of:
http://www.arava.co.il/matan/svgalib/

------- Comment #10 From Jakub Moc (RETIRED) 2006-07-19 23:08:43 0000 -------
*** Bug 141090 has been marked as a duplicate of this bug. ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug