Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74655 - net-wireless/orinoco-0.15_rc2 always fails with "ACCESS VIOLATION"
Summary: net-wireless/orinoco-0.15_rc2 always fails with "ACCESS VIOLATION"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-16 10:49 UTC by Dean Pierce
Modified: 2005-01-06 05:58 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dean Pierce 2004-12-16 10:49:48 UTC
every time that I try to emerge orinoco, it compiles all the modules, and then crashes saying there was an access violation with .tmp_gas_check

Reproducible: Always
Steps to Reproduce:
1. emerge orinoco
Actual Results:  
icarus linux # emerge orinoco
Calculating dependencies ...done!
>>> emerge (1 of 1) net-wireless/orinoco-0.15_rc2 to /
>>> md5 src_uri ;-) pcmcia-cs-3.2.5.tar.gz
>>> md5 src_uri ;-) pcmcia-cs-3.2.5-module-init-tools.diff.gz
>>> md5 src_uri ;-) pcmcia-cs-3.2.5-SMP-fix.diff.gz
>>> md5 src_uri ;-) pcmcia-cs-3.2.5-3.2.6.diff.gz
>>> md5 src_uri ;-) pcmcia-cs-3.2.5-3.2.7.diff.gz
>>> md5 src_uri ;-) orinoco-0.15rc2.tar.gz
>>> Unpacking source...
>>> Unpacking pcmcia-cs-3.2.5.tar.gz to /var/tmp/portage/orinoco-0.15_rc2/work
>>> Unpacking pcmcia-cs-3.2.5-module-init-tools.diff.gz to
/var/tmp/portage/orinoco-0.15_rc2/work
>>> Unpacking pcmcia-cs-3.2.5-SMP-fix.diff.gz to
/var/tmp/portage/orinoco-0.15_rc2/work
>>> Unpacking pcmcia-cs-3.2.5-3.2.6.diff.gz to
/var/tmp/portage/orinoco-0.15_rc2/work
>>> Unpacking pcmcia-cs-3.2.5-3.2.7.diff.gz to
/var/tmp/portage/orinoco-0.15_rc2/work
>>> Unpacking orinoco-0.15rc2.tar.gz to /var/tmp/portage/orinoco-0.15_rc2/work
 * Kernel PCMCIA detected. Skipping external pcmcia-cs sources.
 * /usr/src/linux is a symbolic link
 * Determining the real directory of the Linux kernel source code
 * Building for Linux 2.6.9 found in /usr/src/linux
>>> Source unpacked.
make -C //usr/src/linux/
M=/var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2 modules
make[1]: Entering directory `/usr/src/linux-2.6.9'
  CC [M]  /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.o
  CC [M]  /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.o
  CC [M]  /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/airport.o
  CC [M]  /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_nortel.o
  CC [M]  /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_pci.o
  CC [M]  /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_plx.o
  CC [M]  /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_tmd.o
  CC [M]  /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_cs.o
  CC [M]  /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/spectrum_cs.o
  Building modules, stage 2.
  MODPOST
  CC      /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/airport.mod.o
  CC      /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.mod.o
  CC      /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.mod.o
  CC      /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_cs.mod.o
  CC     
/var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_nortel.mod.o
  CC      /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_pci.mod.o
  CC      /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_plx.mod.o
  CC      /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_tmd.mod.o
  CC      /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/spectrum_cs.mod.o
  LD [M]  /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/airport.ko
  LD [M]  /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.ko
  LD [M]  /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.ko
  LD [M]  /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_cs.ko
  LD [M]  /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_nortel.ko
  LD [M]  /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_pci.ko
  LD [M]  /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_plx.ko
  LD [M]  /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_tmd.ko
  LD [M]  /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/spectrum_cs.ko
make[1]: Leaving directory `/usr/src/linux-2.6.9'
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-net-wireless_-_orinoco-0.15_rc2-19721.log"

unlink:    /usr/src/linux-2.6.9/.tmp_gas_check
open_wr:   /usr/src/linux-2.6.9/.tmp_gas_check
unlink:    /usr/src/linux-2.6.9/.tmp_gas_check
open_wr:   /usr/src/linux-2.6.9/.tmp_gas_check
--------------------------------------------------------------------------------


Expected Results:  
properly installed the orinoco wireless modules

icarus linux # emerge info   
Portage 2.0.51-r8 (default-ppc-2004.1, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9
ppc)
=================================================================
System uname: 2.6.9 ppc 750FX
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov 29 2004, 12:04:49)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.90.0.3-r3
sys-devel/libtool:   1.5.10
virtual/os-headers:  2.4.22, 2.4.19-r1
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://adelie.polymtl.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa arts berkdb bitmap-fonts cdr crypt dvd esd f77 fbcon fortran
gdbm gif gnome-libs gnutls gpm gtk gtk2 hardened imap imlib ipv6 java jpeg ldap
libwww motif nls oggvorbis opengl pam pcmcia perl png ppc python qt readline sdl
slang spell ssl tcltk tcpd tetex truetype xmms xprint xvid"
Comment 1 Henrik Brix Andersen 2004-12-16 11:08:12 UTC
Did you run 'make all' in /usr/src/linux prior to emerging the driver?
Comment 2 Dean Pierce 2004-12-16 12:00:34 UTC
yes, and I have also done "make clean", and neither seemed to affect the outcome.
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2004-12-20 20:05:58 UTC
Also see bug #75034 w/ xorg-x11. This seems to be a more general problem than just orinoco.
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2005-01-05 14:40:11 UTC
Every ppc module ebuild needs TOUT=${TMP}/tmp-gas-check as BUILD_PARAM, I think we should talk to johnm to add it in the eclass.
Comment 5 Henrik Brix Andersen 2005-01-06 02:41:59 UTC
Is it safe to add TOUT=${TMP}/tmp-gas-check even when the ARCH is not ppc?
Comment 6 John Mylchreest (RETIRED) gentoo-dev 2005-01-06 05:58:02 UTC
fixed in linux-info.eclass.