Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180521 - x11-base/xorg-server-1.3.0.0 fails to 'mmap PCI memory'
Summary: x11-base/xorg-server-1.3.0.0 fails to 'mmap PCI memory'
Status: RESOLVED DUPLICATE of bug 167052
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: Sparc64 Linux
: High normal (vote)
Assignee: Sparc Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-01 07:55 UTC by Benjamin Judas
Modified: 2007-06-01 17:03 UTC (History)
1 user (show)

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


Attachments
Xorg-Logfile (Xorg.0.log,15.33 KB, text/plain)
2007-06-01 07:56 UTC, Benjamin Judas
Details
xorg.conf (xorg.conf,2.00 KB, text/plain)
2007-06-01 07:57 UTC, Benjamin Judas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Judas 2007-06-01 07:55:34 UTC
After not touching my Blade for a few months and trying to upgrade now I encountered some major problem:

Fatal server error:
xf86MapPciMem: Could not mmap PCI memory [base=0x426000,hostbase=0x426000,size=2000] (Inappropriate ioctl for device)

This happens no matther which video-driver is selected (I tried ati, radeon and vga).

Searching Google for it gave some hints, nearly all of them related to Sparc with Debian/Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/99221
http://ubuntuforums.org/archive/index.php/t-402688.html
http://www.mail-archive.com/debian-bugs-rc@lists.debian.org/msg100718.html
https://bugs.freedesktop.org/show_bug.cgi?id=7248

emerge --info:
--------------
Portage 2.1.2.7 (default-linux/sparc/sparc64/2007.0, gcc-4.1.2, glibc-2.5-r3, 2.6.21-gentoo-r2 sparc64)
=================================================================
System uname: 2.6.21-gentoo-r2 sparc64 sun4u
Gentoo Base System version 1.6.15
Timestamp of tree: Thu, 31 May 2007 23:50:01 +0000
distcc 2.18.3 sparc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r2
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -mcpu=ultrasparc"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy ccache distlocks keepwork metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://sunsite.dk/mirrors/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="bitmap-fonts cli cracklib cups dri fortran gdbm gpm iconv isdnlog libg++ midi mudflap nptl nptlonly openmp pcre ppds pppd reflection session sparc spl truetype-fonts type1-fonts unicode xorg" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="mach64 r128 radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


X -scanpci:
-----------
Probing for PCI devices (Bus:Device:Function)

(0:0:0) Sun Microsystems Computer Corp. Ultra IIe
(0:3:0) ALi Corporation M7101 Power Management Controller [PMU]
(0:5:0) Intel Corporation 21152 PCI-to-PCI Bridge
(0:7:0) unknown card (0x10b9/0x1533) using a ALi Corporation M1533/M1535 PCI to ISA Bridge [Aladdin IV/V/V+]
(0:8:0) unknown card (0x10b9/0x5451) using a ALi Corporation M5451 PCI AC-Link Controller Audio Device
(0:12:0) Sun Microsystems Computer Corp. RIO EBUS
(0:12:1) Sun Microsystems Computer Corp. RIO GEM
(0:12:2) Sun Microsystems Computer Corp. RIO 1394
(0:12:3) Sun Microsystems Computer Corp. RIO USB
(0:13:0) ALi Corporation M5229 IDE
(0:19:0) ATI Technologies Inc Rage XL
Comment 1 Benjamin Judas 2007-06-01 07:56:07 UTC
Created attachment 120847 [details]
Xorg-Logfile
Comment 2 Benjamin Judas 2007-06-01 07:57:34 UTC
Created attachment 120848 [details]
xorg.conf
Comment 3 Benjamin Judas 2007-06-01 08:46:57 UTC
Okay, I found something helpful:

The bug seems to be related to sysfs and xorgs behaviour when using it.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=422077
Scroll down to Jim Watson's reply dated Sat, 05 May 2007 08:08:09.

So I unmounted /sys and tried again -- et voila, it works.

Probably something for the sparc-faq on g.o?
Comment 4 Benjamin Judas 2007-06-01 09:01:14 UTC
Another reply from me:
http://bugs.gentoo.org/show_bug.cgi?id=167052
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-06-01 17:02:57 UTC
Let's dupe this...
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-06-01 17:03:09 UTC

*** This bug has been marked as a duplicate of bug 167052 ***