Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68686 - mtxdrivers-pro fails on 2.6 kernels with ACCESS DENIED errors
Summary: mtxdrivers-pro fails on 2.6 kernels with ACCESS DENIED errors
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 165898
  Show dependency tree
 
Reported: 2004-10-24 02:28 UTC by Daniel Armyr
Modified: 2007-06-24 17:18 UTC (History)
0 users

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


Attachments
Uses ewarn to inform user they need FEATURES="-sandbox" (matrox.eclass.diff,593 bytes, patch)
2004-11-29 23:59 UTC, Daniel Armyr
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Armyr 2004-10-24 02:28:50 UTC
When emerging mtxdrivers-pro-1.1.0-beta-r2 I get a series of acess violation errors as the ebuild tries to modify files inside the kernel source. The output is quite compact, so I post it all here:

Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/mtxdrivers-pro-1.1.0_beta-r2 to /
>>> md5 src_uri ;-) mtxdrivers-rh9.0-v1.1.0-pro-beta.run
 * X11 implementation is xfree.
/usr/lib/portage/bin/ebuild.sh: line 44: [: 4.3.0: integer expression expected
>>> Unpacking source...
>>> Unpacking mtxdrivers-rh9.0-v1.1.0-pro-beta.run to /var/tmp/portage/mtxdrivers-pro-1.1.0_beta-r2/work
 * Applying mtxdrivers-pro-1.1.0_beta-r2-kernel-2.6-will1-20041013.patch ...                                                                                      [ ok ]
>>> Source unpacked.
make -C /lib/modules/2.6.4/build SUBDIRS=/var/tmp/portage/mtxdrivers-pro-1.1.0_beta-r2/work/src/kernel MTXDIR=/var/tmp/portage/mtxdrivers-pro-1.1.0_beta-r2/work/src/kernel clean
make[1]: Entering directory `/usr/src/linux-2.6.4'
  CLEAN   arch/i386/boot/compressed
ACCESS DENIED  unlink:    /usr/src/linux-2.6.4/arch/i386/boot/compressed/vmlinux
rm: kan inte ta bort "arch/i386/boot/compressed/vmlinux": 
Comment 1 Daniel Armyr 2004-10-24 02:28:50 UTC
When emerging mtxdrivers-pro-1.1.0-beta-r2 I get a series of acess violation errors as the ebuild tries to modify files inside the kernel source. The output is quite compact, so I post it all here:

Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/mtxdrivers-pro-1.1.0_beta-r2 to /
>>> md5 src_uri ;-) mtxdrivers-rh9.0-v1.1.0-pro-beta.run
 * X11 implementation is xfree.
/usr/lib/portage/bin/ebuild.sh: line 44: [: 4.3.0: integer expression expected
>>> Unpacking source...
>>> Unpacking mtxdrivers-rh9.0-v1.1.0-pro-beta.run to /var/tmp/portage/mtxdrivers-pro-1.1.0_beta-r2/work
 * Applying mtxdrivers-pro-1.1.0_beta-r2-kernel-2.6-will1-20041013.patch ...                                                                                      [ ok ]
>>> Source unpacked.
make -C /lib/modules/2.6.4/build SUBDIRS=/var/tmp/portage/mtxdrivers-pro-1.1.0_beta-r2/work/src/kernel MTXDIR=/var/tmp/portage/mtxdrivers-pro-1.1.0_beta-r2/work/src/kernel clean
make[1]: Entering directory `/usr/src/linux-2.6.4'
  CLEAN   arch/i386/boot/compressed
ACCESS DENIED  unlink:    /usr/src/linux-2.6.4/arch/i386/boot/compressed/vmlinux
rm: kan inte ta bort "arch/i386/boot/compressed/vmlinux": Åtkomst nekas
ACCESS DENIED  unlink:    /usr/src/linux-2.6.4/arch/i386/boot/compressed/vmlinux.bin
rm: kan inte ta bort "arch/i386/boot/compressed/vmlinux.bin": Åtkomst nekas
ACCESS DENIED  unlink:    /usr/src/linux-2.6.4/arch/i386/boot/compressed/vmlinux.bin.gz
rm: kan inte ta bort "arch/i386/boot/compressed/vmlinux.bin.gz": Åtkomst nekas
ACCESS DENIED  unlink:    /usr/src/linux-2.6.4/arch/i386/boot/compressed/head.o
rm: kan inte ta bort "arch/i386/boot/compressed/head.o": Åtkomst nekas
ACCESS DENIED  unlink:    /usr/src/linux-2.6.4/arch/i386/boot/compressed/misc.o
rm: kan inte ta bort "arch/i386/boot/compressed/misc.o": Åtkomst nekas
ACCESS DENIED  unlink:    /usr/src/linux-2.6.4/arch/i386/boot/compressed/piggy.o
rm: kan inte ta bort "arch/i386/boot/compressed/piggy.o": Åtkomst nekas
make[3]: *** [__clean] Fel 1
make[2]: *** [arch/i386/boot/compressed] Fel 2
make[1]: *** [archclean] Fel 2
make[1]: Leaving directory `/usr/src/linux-2.6.4'
make: *** [clean] Fel 2
make -C /lib/modules/2.6.4/build SUBDIRS=/var/tmp/portage/mtxdrivers-pro-1.1.0_beta-r2/work/src/kernel MTXDIR=/var/tmp/portage/mtxdrivers-pro-1.1.0_beta-r2/work/src/kernel modules

emerge info:
Portage 2.0.51 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.4 i686)
=================================================================
System uname: 2.6.4 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.9
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
Binutils: sys-devel/binutils-2.14.90.0.7-r4
Headers:  sys-kernel/linux-headers-2.4.19,sys-kernel/linux-headers-2.4.21
Libtools: sys-devel/libtool-1.4.3-r4
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O1 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /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="-march=athlon-xp -O1 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks fixpackages sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ ftp://ftp.uninett.no/pub/linux/Gentoo http://mirror.pudas.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X Xaw3d acpi acpi4linux alsa apm avi berkdb bitmap-fonts cdr crypt dga dvd emacs encode esd f77 freetype gdbm gif glut gpm gtk gtk2 imagemagick imap imlib ipv6 java jpeg libg++ libwww mad mikmod mms mmx mozilla mpeg nas ncurses nls offensive oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sasl sdl slang spell sqlite sse sse2 ssl tcltk tcpd tetex truetype unicode usb x86 xinerama xml2 xmms xprint xscreensaver xv zlib"
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2004-10-24 10:50:51 UTC
Guess it needs that M= stuff added. I'll look into it soonish.

A temporary hack workaround is to disable the sandbox FEATURE.
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2004-11-17 23:06:25 UTC
It would be welcomed if you would contribute a fix for this.
Comment 4 Daniel Armyr 2004-11-17 23:39:38 UTC
My total lack of experience with sandbox, kernel modules and eclasses would make this just the perfect challenge for me. 
Comment 5 Daniel Armyr 2004-11-29 23:59:10 UTC
Created attachment 44973 [details, diff]
Uses ewarn to inform user they need FEATURES="-sandbox"

Ok, this is not the way to fix a bug, but this eclass should be deprecated, and
the mtxdrivers-pro should depend on a kernel-module-building eclass instead. 
I can considder fixing that when Matrox releases their next 2.6-supporting
module.
But this at least tells about the fairly simple work-around.
Comment 6 Spooky Ghost 2004-12-21 02:49:00 UTC
There seems to be a new driver available (at last:) The topic "Happy Birthday Party Driver Party" in Matrox's General Linux forum has a link to http://www.goth.net/~prez/mtx/mtxdriver-pro-1.4.0.run along with some success reports.  It doesn't seem to have been officially announced yet though...
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2004-12-21 09:46:36 UTC
It won't be officially announced, since prez wasn't a Matrox employee last I heard.
Comment 8 Daniel Armyr 2004-12-22 04:30:20 UTC
yesterday my Parhelia broke ( as in smoke and ashes ), so it may be a few weeks before I can fix an ebuild for the new driver. Either way some dev should either accept my patch, or reject it and close this bug with a WONTFIX.
Comment 9 Daniel Armyr 2004-12-25 23:34:34 UTC
Well, seems noone cares. So I am pulling the plug on this one.
Comment 10 Donnie Berkholz (RETIRED) gentoo-dev 2004-12-28 11:18:18 UTC
It's not that it won't be fixed, it will be, but it takes time because there aren't enough people helping out. Have you noticed the other 200 X bugs?
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2007-06-24 17:18:18 UTC
peper * gentoo-x86/profiles/ (ChangeLog package.mask): Mask x11-drivers/mtxdrivers-pro for removal.

WONTFIX.