Bug 85079 - net-wireless/rt2500-1.1.0_beta2 fails to make the module ( 2.6.11-mm3 )
|
Bug#:
85079
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: mobile@gentoo.org
|
Reported By: ikaro@fluxbox.org
|
|
Component: Unspecified
|
|
|
URL:
|
|
Summary: net-wireless/rt2500-1.1.0_beta2 fails to make the module ( 2.6.11-mm3 )
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2005-03-13 06:17 0000
|
>>> emerge (1 of 1) net-wireless/rt2500-1.1.0_beta2 to /
>>> md5 src_uri ;-) rt2500-1.1.0-b2.tar.gz
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.11-mm3CFQ
* Checking for suitable kernel configuration options
>>> Unpacking source...
>>> Unpacking rt2500-1.1.0-b2.tar.gz to /var/tmp/portage/rt2500-1.1.0_beta2/work
>>> Source unpacked.
* Preparing rt2500 module
make: Entering directory `/usr/src/linux-2.6.11-mm3'
CC [M] /var/tmp/portage/rt2500-1.1.0_beta2/work/rt2500-1.1.0/Module/rtmp_main.o
CC [M] /var/tmp/portage/rt2500-1.1.0_beta2/work/rt2500-1.1.0/Module/mlme.o
/var/tmp/portage/rt2500-1.1.0_beta2/work/rt2500-1.1.0/Module/rtmp_main.c: In function `RT2500_probe':
/var/tmp/portage/rt2500-1.1.0_beta2/work/rt2500-1.1.0/Module/rtmp_main.c:103: error: structure has no member named `slot_name'
make[1]: *** [/var/tmp/portage/rt2500-1.1.0_beta2/work/rt2500-1.1.0/Module/rtmp_main.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [_module_/var/tmp/portage/rt2500-1.1.0_beta2/work/rt2500-1.1.0/Module] Error 2
make: Leaving directory `/usr/src/linux-2.6.11-mm3'
!!! ERROR: net-wireless/rt2500-1.1.0_beta2 failed.
!!! Function linux-mod_src_compile, Line 417, Exitcode 2
!!! Unable to make -C /usr/src/linux M=/var/tmp/portage/rt2500-1.1.0_beta2/work/rt2500-1.1.0/Module modules.
!!! If you need support, post the topmost build error, NOT this status message.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r0, 2.6.11-mm3CFQ x86_64)
=================================================================
System uname: 2.6.11-mm3CFQ x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.10
Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 26 2005, 16:27:31)]
ccache version 2.4 [enabled]
dev-lang/python: 2.3.5
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils: 2.15.92.0.2-r6
sys-devel/libtool: 1.5.14
virtual/os-headers: 2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoclean autoconfig ccache distlocks noinfo notitles sandbox"
GENTOO_MIRRORS="http://mirror.uni-c.dk/gentoo/ ftp://ftp.dkuug.dk/pub/gentoo/
ftp://rsync.gentoo.diku.dk http://ftp.du.se/pub/os/gentoo"
LANG="en_US"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 ncurses"
Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL
Do you see this bug also on vanilla-kernel?
I'll have to make one first.
I'll let you know when its done ( couple minutes )
builds and loads ok in 2.6.11 ( vanilla )
but since its broken on the mm tree, I suspect that soon it will be broken on the vanilla tree as well ( unless something gets changed before that )
sorry the noise.
:)
Self-fulfilling prophecies? :) Well, it is indeed broken in vanilla now, and
not limited to amd64 either (plain old PIII here). I'll try again with an older
kernel, the one that breaks it is 2.6.12-rc2, and the error message I'm getting
is identical to the one in the original report.
reassigning the the appropriate herd and cc'ing myself in. This fault looks
like its a problem with a conditional include in the rt2500 code. Not checked
yet though.
Can you please give us a direct link to the patch or wiki node?
And maybe make an ebuild for it and test it so that I can RESOLVE this bug :)
Created an attachment (id=59100) [details]
emerge rt2500 log file
Still flunking out of module compilation, now with vanilla kernel 2.6.12-rc4.
I've looked around the sourceforge site for hints or patches, but came up
empty.
Created an attachment (id=59111) [details]
Patch for rtmp_main.c
Frankly, I have no idea what I'm doing here, but it appears to compile and
install when I do it... Found this page in the support section of their
sourceforge site, and produced a patch from what I read there:
http://sourceforge.net/tracker/index.php?func=detail&aid=1196199&group_id=107832&atid=648845
Looks like rt2500 in CVS has been patched a long time ago, while Gentoo is
still using the outdated form. Maybe it's better to use that newer version
rather than patch the one we've got? You better double-check the whole thing
before using the patch... Anyway, changing that one line in rtmp_main.c makes
it compile with my 2.6.12-rc4 kernel.
Does your patch break older kernels?
It makes it compile for me with rc4-mm1 :)
thanks fixed
I apply the patch conditionally on kernel ge 2 6 12