First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 115176
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Mobile Herd <mobile@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Erik Geiger <erik.geiger@gmx.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
verify-write-api-change.patch verify-write patch patch Steev Klimaszewski 2005-12-25 14:18 0000 669 bytes Details | Diff
rt2570-cvs-update.patch rt2570 latest cvs patch patch Steev Klimaszewski 2005-12-26 17:54 0000 663.22 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 115176 depends on: Show dependency tree
Bug 115176 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: 2005-12-11 03:05 0000
After installing net-wireless/rt2570-1.1.0_beta1 the module could not be
loaded.
In dmesg there is an entry: rt2570: Unknown symbol verify_area
I've seen that the function verify_area() has yet been deprecated in kernel
2.6.13 and now in 2.6.14 has been removed.
I also tried the drivers from
http://dlsvr02.asus.com/pub/ASUS/wireless/WL-167g/SourceCode-V2040.zip
with the same result.

Reproducible: Always
Steps to Reproduce:
1.emerge net-wireless/rt2570-1.1.0_beta1
2.modprobe rt2570
3.

Actual Results:  
I get the Error Message:
FATAL: Error inserting rt2570 (/lib/modules/2.6.14-gentoo-r4/net/rt2570.ko):
Unknown symbol in module, or unknown parameter (see dmesg)

Expected Results:  
The Module should be loaded

net-wireless/ndiswrapper-1.2 also only works with kernel <= 2.6.13-gentoo-r5.
With newer kernel it only compiles with the new ebuild and patch from:
http://bugs.gentoo.org/show_bug.cgi?id=111029
After that patching it compiles, but it also doesn't work.


Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.14-gentoo-r4 i686)
=================================================================
System uname: 2.6.14-gentoo-r4 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/Daten/distfiles"
FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://pandemonium.tiscali.de/pub/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://pandemonium.tiscali.de/pub/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 alsa apm arts audiofile avi berkdb bitmap-fonts
bzip2 cdr crypt cups curl divx4linux dts dvd dvdr dvdread eds emboss encode
exif
expat fam ffmpeg foomaticdb fortran gcj gdbm gif gimp gimpprint glut gnokii gpm
gstreamer gtk2 idn imagemagick imlib ipv6 irda java jpeg kde lcms libg++ libwww
live mad mikmod mjpeg mmx mmxext mng motif mozilla mp3 mpeg ncurses nls objc
ogg
oggvorbis opengl oss pam pcre pda pdflib perl png ppds python qt readline real
scanner sdl sms spell sse ssl subject-rewrite symlink tcpd tiff truetype
truetype-fonts type1-fonts udev usb v4l v4l2 vorbis win32codecs xml2 xmms xv
xvid yv12 zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY

------- Comment #1 From Jakub Moc (RETIRED) 2005-12-11 06:27:52 0000 -------
*** Bug 115190 has been marked as a duplicate of this bug. ***

------- Comment #2 From Stefan Schweizer 2005-12-24 16:49:00 0000 -------
I currently do not own a rt2570 device, rather not interested in digging for
patches or writing them myselves.
Can you please provide a patch for this bug?

I will close this as "UPSTREAM", because I wait for upstream to provide a new
version or for you to give me a patch.

------- Comment #3 From Steev Klimaszewski 2005-12-24 17:21:21 0000 -------
Stefan, I'll take over this if you like, I do happen to have 2 rt2570 usb wifi
devices - I have a patch that does work, but I also do some patching from cvs. 
Upstream has pretty much given up releases on this in favor of the new rt2x00
drivers that they are working on, which do not work for me here.

------- Comment #4 From Stefan Schweizer 2005-12-25 02:34:12 0000 -------
steev takes this over

------- Comment #5 From Steev Klimaszewski 2005-12-25 14:18:52 0000 -------
Created an attachment (id=75527) [edit]
verify-write patch

Please try this patch, and let me know if it helps for you - this is for the
rt2570 ebuild - just add it to an overlay, and add

epatch ${FILESDIR}/verify-write-api.patch
above the linux-mod_src_compile line - if this doesn't work properly - as in
doesn't apply, let me know

------- Comment #6 From Erik Geiger 2005-12-26 04:05:22 0000 -------
Hello Steev,

Thanks for patching. Now I can load the module without any errors.

But if I bring up my wireless interface rausb0 I get a Kernel panic. But this
also happens with my laptop running kernel 2.6.13-gentoo-r5 and the original
ebuild and driver.

So I think there is also another problem, may be with my hardware ASUS WL-167g,
but that has nothing to do with this bug-report. So I think this bug is solved.

------- Comment #7 From Steev Klimaszewski 2005-12-26 17:54:10 0000 -------
Created an attachment (id=75574) [edit]
rt2570 latest cvs patch

Try this patch out, it is latest from CVS diffed to the 1.1.0_b1 release, let
me know if this affects anything - I was reading the forums, and a guy said
that he does have some problems with his wifi card - which is the exact same
one you say you have - you could also try the rt2x00 drivers in portage, which
are what upstream is actively working on, moreso than the rt2570/rt2500/rt2400
(its a unified driver for all the chipsets)

Let me know how this goes for you.  You should just need to remove the
verify-api patch and replace it with this one.

------- Comment #8 From Erik Geiger 2005-12-27 13:57:23 0000 -------
Wow, that's it. Now the driver rt2570 works really fine ;-)
Thanks!

------- Comment #9 From Steev Klimaszewski 2005-12-31 08:43:00 0000 -------
InCVS

First Last Prev Next    No search results available      Search page      Enter new bug