<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>77186</bug_id>
          
          <creation_ts>2005-01-08 16:48 0000</creation_ts>
          <short_desc>Svgalib doesn&apos;t work with 2.6.10 kernel</short_desc>
          <delta_ts>2005-01-13 11:39:22 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Core system</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>Inclusion</keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ltsiros@yahoo.com</reporter>
          <assigned_to>kernel@gentoo.org</assigned_to>
          <cc>codergeek42@gentoo.org</cc>
    
    <cc>joerg.schaible@gmx.de</cc>
    
    <cc>kernel@gentoo.org</cc>
    
    <cc>vapier@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>ltsiros@yahoo.com</who>
            <bug_when>2005-01-08 16:48:24 0000</bug_when>
            <thetext>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&apos;t think this has to do with -ck. I reemerged svgalib with no success (both with USE=&quot;build&quot; and USE=&quot;-build&quot;)

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=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O3 -mcpu=pentium3 -march=pentium3 -mmmx -msse -fprefetch-loop-arrays
-funroll-loops -pipe -maccumulate-outgoing-args -falign-functions=4
-fomit-frame-pointer -ffast-math&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O3 -mcpu=pentium3 -march=pentium3 -mmmx -msse -fprefetch-loop-arrays
-funroll-loops -pipe -maccumulate-outgoing-args -falign-functions=4
-fomit-frame-pointer -ffast-math&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig ccache distlocks sandbox sfperms&quot;
GENTOO_MIRRORS=&quot;http://gentoo.seren.com/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>codergeek42@gentoo.org</who>
            <bug_when>2005-01-08 23:41:36 0000</bug_when>
            <thetext>This happens to me as well, using a vanilla 2.6.10 kernel patched with vesafb-tng.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dsd@gentoo.org</who>
            <bug_when>2005-01-09 09:13:52 0000</bug_when>
            <thetext>Created an attachment (id=48024)
svgalib-1.9.19-devfs.patch

Remove the symlink creation...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dsd@gentoo.org</who>
            <bug_when>2005-01-09 09:16:10 0000</bug_when>
            <thetext>Created an attachment (id=48025)
svgalib.devfs

...and reimplement it in userspace</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dsd@gentoo.org</who>
            <bug_when>2005-01-09 09:19:29 0000</bug_when>
            <thetext>Created an attachment (id=48028)
ebuild fix
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dsd@gentoo.org</who>
            <bug_when>2005-01-09 09:19:53 0000</bug_when>
            <thetext>vapier: ok to commit this as -r2 ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ltsiros@yahoo.com</who>
            <bug_when>2005-01-11 18:18:20 0000</bug_when>
            <thetext>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!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dsd@gentoo.org</who>
            <bug_when>2005-01-12 11:43:16 0000</bug_when>
            <thetext>in portage</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>joerg.schaible@gmx.de</who>
            <bug_when>2005-01-13 11:15:20 0000</bug_when>
            <thetext>svgalib is not compilable anymore, since applying the patch fails ... :(



&gt;&gt;&gt; emerge (3 of 3) media-libs/svgalib-1.9.19-r1 to /
&gt;&gt;&gt; md5 src_uri ;-) svgalib-1.9.19.tar.gz
&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; 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 &lt; /usr/portage/media-libs/svgalib/files/svgalib-1.9.19-devfs.patch

======================================
missing header for unified diff at line 8 of patch
can&apos;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 &lt;dsd@gentoo.org&gt;
|
|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.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dsd@gentoo.org</who>
            <bug_when>2005-01-13 11:39:22 0000</bug_when>
            <thetext>This is fixed in cvs, just emerge sync again :)</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>48024</attachid>
            <date>2005-01-09 09:13 0000</date>
            <desc>svgalib-1.9.19-devfs.patch</desc>
            <filename>drop-symlink-creation.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtdXJOcCBzdmdhbGliLTEuOS4xOS9rZXJuZWwvc3ZnYWxpYl9oZWxwZXIvbWFpbi5jIHN2
Z2FsaWItZHNkL2tlcm5lbC9zdmdhbGliX2hlbHBlci9tYWluLmMKLS0tIHN2Z2FsaWItMS45LjE5
L2tlcm5lbC9zdmdhbGliX2hlbHBlci9tYWluLmMJMjAwNC0wNS0wNyAxMDoxMDoyMi4wMDAwMDAw
MDAgKzAxMDAKKysrIHN2Z2FsaWItZHNkL2tlcm5lbC9zdmdhbGliX2hlbHBlci9tYWluLmMJMjAw
NS0wMS0wOSAxODoyNToxMy4wOTQwMjYyOTYgKzAwMDAKQEAgLTU3Nyw3ICs1NzcsNiBAQCBpbnQg
aW5pdF9tb2R1bGUodm9pZCkKIAkJZGV2ZnNfbWtfY2RldihNS0RFVihTVkdBTElCX0hFTFBFUl9N
QUpPUiwgaSksCiAJCQkJU19JRkNIUiB8ICBTX0lSVUdPIHwgU19JUldYVSwgInN2Z2FfaGVscGVy
LyVkIiwgaSk7CiAJfQotCWRldmZzX21rX3N5bWxpbmsoInN2Z2EiLCAic3ZnYV9oZWxwZXIvMCIp
OwogIyBlbmRpZgogI2VuZGlmIC8qIGRldmZzZCBzdXBwb3J0ICovCiAK
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>48025</attachid>
            <date>2005-01-09 09:16 0000</date>
            <desc>svgalib.devfs</desc>
            <filename>svgalib.devfs</filename>
            <type>text/plain</type>
            <data encoding="base64">TE9PS1VQICAgICAgICAgIF5zdmdhJCAgICAgICAgICAgIENGVU5DVElPTiBHTE9CQUwgbWtzeW1s
aW5rIHN2Z2FfaGVscGVyLzAgc3ZnYQpSRUdJU1RFUiAgICAgICAgXnN2Z2FfaGVscGVyLzAkICAg
Q0ZVTkNUSU9OIEdMT0JBTCBta3N5bWxpbmsgJGRldm5hbWUgc3ZnYQpVTlJFR0lTVEVSICAgICAg
XnN2Z2FfaGVscGVyLzAkICAgQ0ZVTkNUSU9OIEdMT0JBTCB1bmxpbmsgc3ZnYQoK
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>48028</attachid>
            <date>2005-01-09 09:19 0000</date>
            <desc>ebuild fix</desc>
            <filename>svgalib-ebuild-fix</filename>
            <type>text/plain</type>
            <data encoding="base64">PyBmaWxlcy9zdmdhbGliLmRldmZzCkluZGV4OiBzdmdhbGliLTEuOS4xOS1yMS5lYnVpbGQKPT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PQpSQ1MgZmlsZTogL3Zhci9jdnNyb290L2dlbnRvby14ODYvbWVkaWEtbGlicy9zdmdh
bGliL3N2Z2FsaWItMS45LjE5LXIxLmVidWlsZCx2CnJldHJpZXZpbmcgcmV2aXNpb24gMS42CmRp
ZmYgLXUgLWIgLUIgLXIxLjYgc3ZnYWxpYi0xLjkuMTktcjEuZWJ1aWxkCi0tLSBzdmdhbGliLTEu
OS4xOS1yMS5lYnVpbGQJMTYgTm92IDIwMDQgMDQ6NTY6MzEgLTAwMDAJMS42CisrKyBzdmdhbGli
LTEuOS4xOS1yMS5lYnVpbGQJOSBKYW4gMjAwNSAxNzoxOToxNSAtMDAwMApAQCAtNDQsNiArN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