Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110776 - zd1211 kernel module fail to compile
Summary: zd1211 kernel module fail to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-29 02:47 UTC by Cesare Gargano
Modified: 2005-11-05 00:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
zd1211 module patch (zd1211-gentoo-20051028.diff,1.18 KB, patch)
2005-10-29 02:51 UTC, Cesare Gargano
Details | Diff
zd1211 modified ebuild (zd1211-20050822.ebuild,918 bytes, text/plain)
2005-10-29 02:52 UTC, Cesare Gargano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cesare Gargano 2005-10-29 02:47:46 UTC
zd1211 kernel module fail to compile. It try to find "verify_area" kernel ksym,
but "verify_area" from linux kernel version up to 2.6.13 there's no more. Change
it to "access_ok" work.
At "www.mail-archive.com/linux-usb-devel@lists.sourceforge.net/msg37872.html"
there's a explanation of URB_ASYNC_UNLINK use, set it to 0 is "a" solution (to
verify).
That's all. Goodbye.

#emerge info
Portage 2.0.53_rc6 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14
i686)
=================================================================
System uname: 2.6.14 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.12.0_pre9
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -mtune=athlon-tbird -funroll-loops -O2 -pipe"
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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-tbird -mtune=athlon-tbird -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO http://ftp.gentoo.or.kr/
http://mirror.gentoo.gr.jp http://mymirror.asiaosc.org/gentoo/
http://gentoo.gg3.net/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aalib acl acpi alsa apache2 apm arts audiofile
avi bash-completion berkdb bitmap-fonts bl bluetooth bzlib caps cdda cddb cdio
cdparanoia cdr crypt cscope cups curl custom-cflags db2 dbus dga dio directfb
dpms dts dv dvb dvd dvdr dvdread eds emboss encode esd faac faad fam fame fb
fbcon ffmpeg fftw firefox flac flash fluidsynth fmod font-server foomaticdb
fortran fpx gd gd-external gdbm gif gimpprint gnome gnome-print gpm graphviz gs
gstreamer gtk gtk2 hal httpd ieee1394 imagemagick imlib inkjar ipv6 jack
jack-tmpfs java javascript jbig jp2 jpeg ladcca ladspa lcms ldap libcaca libg++
libgd libsamplerate libwww lzo lzw mad matroska mikmod ming mjpeg mmx mmxext mng
motif mozsvg mp3 mpeg mplayer mysql ncurses network nls nptl ogg oggvorbis
openal opengl osc pam pdflib perl php plugin png pnp portaudio posix ppds pvm
python qt quicktime readline real recode rtc ruby samba sasl sblive sdl slp
sndfile sockets sox speex spell ssh ssl stream svg svga symlink sysfs tcltk tcpd
tga theora threads tiff transcode truetype truetype-fonts type1-fonts udev
unicode usb v4l v4l2 vidix vim-pager visualization vlm vorbis win32codecs wmf
xanim xine xml xml2 xmms xpm xv xvid xvmc yv12 zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Cesare Gargano 2005-10-29 02:51:10 UTC
Created attachment 71670 [details, diff]
zd1211 module patch

here is verify_area && URB_ASYNC_UNLINK patch.
Comment 2 Cesare Gargano 2005-10-29 02:52:48 UTC
Created attachment 71671 [details]
zd1211 modified ebuild

here is modified ebuild for zd1211 patch
Comment 3 Aaron Kulbe (RETIRED) gentoo-dev 2005-11-04 20:17:28 UTC
Tested on PPC.  It works.  latexer, I went ahead and did the commit.  I hope that's okay.

Please test on other platforms.
Comment 4 Aaron Kulbe (RETIRED) gentoo-dev 2005-11-05 00:16:01 UTC
Bumped to -r1, with patch applied.  It's already committed and in the tree.  Thank you, Cesare, for the 
patch.