<?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>137646</bug_id>
          
          <creation_ts>2006-06-22 12:25 0000</creation_ts>
          <short_desc>app-laptop/thinkpad-5.9-r1 fails with gentoo-sources 2.6.17</short_desc>
          <delta_ts>2006-07-17 13:03:17 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>Ebuilds</component>
          <version>2006.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>137175</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>philantrop@gentoo.org</reporter>
          <assigned_to>steev@gentoo.org</assigned_to>
          <cc>mobile@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>philantrop@gentoo.org</who>
            <bug_when>2006-06-22 12:25:12 0000</bug_when>
            <thetext>CC [M]  /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/smapi_core.o
as --32   -o /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/smapi_call.o /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/smapi_call.s
/var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/smapi_call.s: Assembler messages:
/var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/smapi_call.s:50: Warning: indirect lcall without `*&apos;
  CC [M]  /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/superio.o
  CC [M]  /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/rtcmosram.o
In file included from /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/../include/thinkpad_common.h:80,
                 from /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/thinkpad.c:49:
/var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/../include/rtcmosram.h:171: warning: &apos;packed&apos; attribute ignored
/var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/thinkpad.c:94: error: expected &apos;)&apos; before string constant
/var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/thinkpad.c:96: error: expected &apos;)&apos; before string constant
/var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/thinkpad.c:98: error: expected &apos;)&apos; before string constant
make[2]: *** [/var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/thinkpad.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/../include/thinkpad_common.h:80,
                 from /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/smapi_core.c:39:
/var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/../include/rtcmosram.h:171: warning: &apos;packed&apos; attribute ignored
In file included from /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/../include/thinkpad_common.h:80,
                 from /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/superio.c:41:
/var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/../include/rtcmosram.h:171: warning: &apos;packed&apos; attribute ignored
In file included from /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/../include/thinkpad_common.h:80,
                 from /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/rtcmosram.c:41:
/var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/../include/rtcmosram.h:171: warning: &apos;packed&apos; attribute ignored
make[1]: *** [_module_/var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.17-gentoo&apos;
make: *** [default] Error 2

!!! ERROR: app-laptop/thinkpad-5.9-r1 failed.
Call stack:
  ebuild.sh, line 1540:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  ebuild.sh, line 1249:   Called linux-mod_src_compile
  linux-mod.eclass, line 515:   Called die

!!! Unable to make                                  KSRC=/usr/src/linux default.
!!! If you need support, post the topmost build error, and the call stack if relevant.


emerge --info

Portage 2.1.1_pre1-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-gentoo-r8 i686)
=================================================================
System uname: 2.6.16-gentoo-r8 i686 AMD Athlon(TM) XP 2800+
Gentoo Base System version 1.12.1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: [Not Present]
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-mtune=athlon-xp -march=athlon-xp -O3 -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /mnt/etc /usr/share/X11/xkb /var/www/localhost /var/www/localhost/cgi-bin /var/www/localhost/htdig /var/www/localhost/htdocs/phpmyadmin&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo&quot;
CXXFLAGS=&quot;-mtune=athlon-xp -march=athlon-xp -O3 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig ccache confcache distcc distlocks metadata-transfer sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ http://mirror.switch.ch/mirror/gentoo/ http://gentoo.mirror.solnet.ch http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.inode.at/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.math.bme.hu http://gentoo.mirror.icd.hu/ http://ftp.heanet.ie/pub/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/gentoo http://mirror.uni-c.dk/gentoo/ http://mir.zyrianes.net/gentoo/ http://mirror.uni-c.dk/gentoo/ http://mirror.gentoo.no/ http://gentoo.ynet.sk/pub http://linuv.uv.es/mirror/gentoo/ http://gentoo.osuosl.org/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://gentoo.inode.at/source/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.du.se/pub/os/gentoo ftp://mirror.pudas.net/gentoo ftp://mir.zyrianes.net/gentoo/&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=&apos;/distfiles&apos; --exclude=&apos;/local&apos; --exclude=&apos;/packages&apos;&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/overlays/portage /usr/local/overlays/ecatmur /usr/local/overlays/vmware&quot;
SYNC=&quot;rsync://mordor.mailstation.de/gentoo-portage&quot;
USE=&quot;x86 3dnow 3dnowext X X509 Xaw3d async bash-completion berkdb bzlib c++ cairo chroot client cracklib crypt cups curlwrappers dga dio dri dvd emacs emacs-w3 exif extensions fam font-server foomaticdb foreign-package foreign-sysvinit gdbm german gif glibc-omitfp glut gnutls gpm gtk2 iconv innodb javascript jce jp2 jpeg jpeg2k kde kdeenablefinal leim milter mime mmap mmx mmxext mule multi-tty ncurses network nls nptl nptlonly offensive pam pcntl pcre pdf perl pic png posix python qt readline sasl sdk session shared sharedmem sockets sse ssl symbol_visibility sysvipc tcpd threads truetype truetype-fonts type1-fonts udev unicode usb xcomposite xface xine xml xorg xpm xrandr xscreensaver xsl xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_apm video_cards_dummy video_cards_fbdev video_cards_vesa video_cards_vga video_cards_vmware&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

It compiles cleanly with 2.6.16-gentoo-r8. I&apos;m aware I&apos;m not running 2.6.17. I did prepare the 2.6.17 tree, though. (make oldconfig, etc.)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>steev@gentoo.org</who>
            <bug_when>2006-06-25 01:14:46 0000</bug_when>
            <thetext>Yeah, they changed the way module_param works yet again... looks like Xorg isn&apos;t the only one that likes to be a pain in the ass about drivers...

Anyways, I am workin on this, as I need it on my thinkpad as well.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>steev@gentoo.org</who>
            <bug_when>2006-07-11 18:16:37 0000</bug_when>
            <thetext>Minor setback - my thinkpad is out of commission currently  if someone could step up and help with this, would be appreciated until I get it fixed</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>henryk@ploetzli.ch</who>
            <bug_when>2006-07-15 03:52:14 0000</bug_when>
            <thetext>Created an attachment (id=91772)
Patch to replace MODULE_PARM with module_param so that it compiles with 2.6.17

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dsd@gentoo.org</who>
            <bug_when>2006-07-17 13:03:17 0000</bug_when>
            <thetext>In portage, thanks</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>91772</attachid>
            <date>2006-07-15 03:52 0000</date>
            <desc>Patch to replace MODULE_PARM with module_param so that it compiles with 2.6.17</desc>
            <filename>thinkpad-5.9-module_param.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtcHVyTiB0aGlua3BhZC01Ljktb3JpZy8yLjYvZHJpdmVycy90aGlua3BhZC5jIHRoaW5r
cGFkLTUuOS8yLjYvZHJpdm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