Bug 77186 - Svgalib doesn't work with 2.6.10 kernel
|
Bug#:
77186
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: major
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: kernel@gentoo.org
|
Reported By: ltsiros@yahoo.com
|
|
Component: Core system
|
|
|
URL:
|
|
Summary: Svgalib doesn't work with 2.6.10 kernel
|
|
Keywords: Inclusion
|
|
Status Whiteboard:
|
|
Opened: 2005-01-08 16:48 0000
|
When I try to load the module svgalib_helper (essential for svgalib output), I
receive the following error:
bash-2.05b# modprobe svgalib_helper
FATAL: Error inserting svgalib_helper
(/lib/modules/2.6.10/kernel/misc/svgalib_helper.ko): Unknown symbol in module,
or unknown parameter (see dmesg)
and the message in dmesg is:
svgalib_helper: Unknown symbol devfs_mk_symlink
The kernel was patched with -ck2, but I don't think this has to do with -ck. I
reemerged svgalib with no success (both with USE="build" and USE="-build")
Reproducible: Always
Steps to Reproduce:
1.modprobe svgalib_helper
Actual Results:
bash-2.05b# modprobe svgalib_helper
FATAL: Error inserting svgalib_helper
(/lib/modules/2.6.10/kernel/misc/svgalib_helper.ko): Unknown symbol in module,
or unknown parameter (see dmesg)
Expected Results:
The module should be loaded
bash-2.05b# emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.2, glibc-2.3.2-r3, 2.6.10
i686)
=================================================================
System uname: 2.6.10 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers: sys-kernel/linux-headers-2.6.7-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium3 -march=pentium3 -mmmx -msse -fprefetch-loop-arrays
-funroll-loops -pipe -maccumulate-outgoing-args -falign-functions=4
-fomit-frame-pointer -ffast-math"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium3 -march=pentium3 -mmmx -msse -fprefetch-loop-arrays
-funroll-loops -pipe -maccumulate-outgoing-args -falign-functions=4
-fomit-frame-pointer -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa apm avi berkdb bitmap-fonts cdr crypt cups dga directfb encode
esd fam fb fbcon foomaticdb fortran gdbm gif gpm gtk2 guile imagemagick imlib
ipv6 java jpeg junit kde libg++ libwww mad mikmod mmx mmx2 motif mpeg ncurses
nls oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime
readline sdl slang spell sse ssl svga tcltk tcpd tiff truetype x86 xml2 xmms xv
xvid zlib"
This happens to me as well, using a vanilla 2.6.10 kernel patched with
vesafb-tng.
vapier: ok to commit this as -r2 ?
Any news? If you want I can try the patches myself, just give me some hints on
how to patch what I have to patch ;)
Thanks for the work so far!
svgalib is not compilable anymore, since applying the patch fails ... :(
>>> emerge (3 of 3) media-libs/svgalib-1.9.19-r1 to /
>>> md5 src_uri ;-) svgalib-1.9.19.tar.gz
>>> Unpacking source...
>>> Unpacking svgalib-1.9.19.tar.gz to /volatile/portage/svgalib-1.9.19-r1/work
7G [ ok ]g svgalib-1.9.19-gentoo.patch ...
7G [ ok ]g svgalib-1.9.19-linux2.6.patch ...
7G [ ok ]g svgalib-1.9.18-utils-include.patch ...
7G [ ok ]g svgalib-1.9.18-lrmi-gentoo-cflags.patch ...
7G [ ok ]g svgalib-1.9.19-pic.patch ...
7G [ ok ]g svgalib-1.9.19-dont-touch-ld.conf.patch ...
7G [ ok ]g svgalib-1.9.19-pci-get-class.patch ...
* Applying svgalib-1.9.19-devfs.patch ...
* Failed Patch: svgalib-1.9.19-devfs.patch!
*
* Include in your bugreport the contents of:
*
* /volatile/portage/svgalib-1.9.19-r1/temp/svgalib-1.9.19-devfs.patch-20066.out
PATCH COMMAND: patch -p4 -g0 < /usr/portage/media-libs/svgalib/files/svgalib-1.9.19-devfs.patch
======================================
missing header for unified diff at line 8 of patch
can't find file to patch at input line 8
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|No longer available in Linux 2.6.10
|
|- Daniel Drake <dsd@gentoo.org>
|
|diff -urNp svgalib-1.9.19/kernel/svgalib_helper/main.c svgalib-dsd/kernel/svgalib_helper/main.c
|--- svgalib-1.9.19/kernel/svgalib_helper/main.c 2004-05-07 10:10:22.000000000 +0100
|+++ svgalib-dsd/kernel/svgalib_helper/main.c 2005-01-09 18:25:13.094026296 +0000
--------------------------
No file to patch. Skipping patch.
This is fixed in cvs, just emerge sync again :)