|
List Info
Thread: "xf86MapVidMem: could not mmap to screen" problem
|
|
| "xf86MapVidMem: could not mmap to
screen" problem |

|
2007-08-24 20:08:22 |
Hello all,
Sorry if this is beating a dead horse, but I couldn't seem
to find a
definitive answer while searching through the list archives.
I'm
having the old chestnut problem with XFree86, which is that
it fails
to start & leaves this error in the log:
---[log text]--
Fatal server error:
xf86MapVidMem: could not mmap screen [s=20000,a=a0000]
(Invalid argument)
---[end log]--
My kernel is compiled with "options INSECURE" (per
the macppc X11 FAQ)
and with what I think is Michael Lorenz's "options
OFB_FAKE_VGA_FB"
solution, but the fatal server error persists. I've got a
dual 867MHz
G4 MDD PowerMac with a Rage 128 card for video.
Anyway, is there a current state of the art, or common
workaround, for
this problem besides or after trying the above kernel
options?
Thanks for any help you can offer. Attached is my XFree86
log file.
Perry
---[XFree86.8.log]--
XFree86 Version 4.5.0
Release Date: 16 March 2005
X Protocol Version 11, Revision 0
Build Operating System:NetBSD/macppc 3.1 - The NetBSD
Foundation, Inc.
Current Operating System: NetBSD powerMac.at.home 3.1 NetBSD
3.1
(powerMac.at.home) #1: Fri Aug 24 18:44:16 UTC 2007
perry powerMac.at.home:/usr/src/sys/arch/macppc/compile/pow
erMac.at.home
macppc
Build Date: 31 October 2006
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
Command line: /usr/X11R6/bin/XFree86 :8 -configure
Markers: (--) probed, (**) from config file, (==) default
setting,
(++) from command line, (!!) notice, (EE) error, (WW)
warning,
(II) informational, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.8.log", Time: Fri
Aug 24 19:08:01 2007
(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.3
XFree86 Video Driver: 0.8
XFree86 XInput driver : 0.5
XFree86 Server Extension : 0.3
XFree86 Font Renderer : 0.5
(II) Loader running on netbsd
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 1.0.0
ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.5
(II) Loading font Bitmap
(--) Using wscons driver
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:0b:0: chip 106b,0034 card 0000,0000 rev 00
class 06,00,00 hdr 00
(II) PCI: 00:10:0: chip 1002,5046 card 0000,0000 rev 00
class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:11:0), (0,0,0), BCTRL: 0x0008
(VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(--) PCI (0:16:0) ATI
Technologies Inc Rage 128 PF/PRO AGP 4x TMDS
rev 0, Mem 0x94000000/26, 0x90000000/14, I/O
0x0400/8, BIOS
0x90020000/17
List of video drivers:
atimisc
imstt
r128
radeon
wsfb
mga
glint
nv
s3
s3virge
sis
tdfx
savage
trident
chips
ati
fbdev
vga
(II) LoadModule: "atimisc"
(II) Loading /usr/X11R6/lib/modules/drivers/atimisc_drv.o
(II) Module atimisc: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 6.5.12
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "imstt"
(II) Loading /usr/X11R6/lib/modules/drivers/imstt_drv.o
(II) Module imstt: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 1.0.0
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "r128"
(II) Loading /usr/X11R6/lib/modules/drivers/r128_drv.o
(II) Module r128: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 4.0.1
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "radeon"
(II) Loading /usr/X11R6/lib/modules/drivers/radeon_drv.o
(II) Module radeon: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 4.0.1
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "wsfb"
(II) Loading /usr/X11R6/lib/modules/drivers/wsfb_drv.o
(II) Module wsfb: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "mga"
(II) Loading /usr/X11R6/lib/modules/drivers/mga_drv.o
(II) Module mga: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 1.1.1
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "glint"
(II) Loading /usr/X11R6/lib/modules/drivers/glint_drv.o
(II) Module glint: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 1.0.0
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "nv"
(II) Loading /usr/X11R6/lib/modules/drivers/nv_drv.o
(II) Module nv: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 1.0.1
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "s3"
(II) Loading /usr/X11R6/lib/modules/drivers/s3_drv.o
(II) Module s3: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 0.3.5
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "s3virge"
(II) Loading /usr/X11R6/lib/modules/drivers/s3virge_drv.o
(II) Module s3virge: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 1.8.6
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "sis"
(II) Loading /usr/X11R6/lib/modules/drivers/sis_drv.o
(II) Module sis: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 0.7.0
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "tdfx"
(II) Loading /usr/X11R6/lib/modules/drivers/tdfx_drv.o
(II) Module tdfx: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 1.0.0
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "savage"
(II) Loading /usr/X11R6/lib/modules/drivers/savage_drv.o
(II) Module savage: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 1.1.27
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "trident"
(II) Loading /usr/X11R6/lib/modules/drivers/trident_drv.o
(II) Module trident: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 1.0.0
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "chips"
(II) Loading /usr/X11R6/lib/modules/drivers/chips_drv.o
(II) Module chips: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 1.0.0
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "ati"
(II) Loading /usr/X11R6/lib/modules/drivers/ati_drv.o
(II) Module ati: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 6.5.12
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "fbdev"
(II) Loading /usr/X11R6/lib/modules/drivers/fbdev_drv.o
(II) Module fbdev: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "vga"
(II) Loading /usr/X11R6/lib/modules/drivers/vga_drv.o
(II) Module vga: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 4.0.0
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.8
(II) Addressable bus resource ranges are
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
[1] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[1] -1 0 0x00000000 - 0x00000000 (0x1) MX[B]
[2] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[3] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
(II) Active PCI resource ranges:
[0] -1 0 0x90020000 - 0x9003ffff (0x20000) MX[B](B)
[1] -1 0 0x90000000 - 0x90003fff (0x4000) MX[B](B)
[2] -1 0 0x94000000 - 0x97ffffff (0x4000000) MX[B](B)
[3] -1 0 0x00000400 - 0x000004ff (0x100) IX[B](B)
(II) Active PCI resource ranges after removing overlaps:
[0] -1 0 0x90020000 - 0x9003ffff (0x20000) MX[B](B)
[1] -1 0 0x90000000 - 0x90003fff (0x4000) MX[B](B)
[2] -1 0 0x94000000 - 0x97ffffff (0x4000000) MX[B](B)
[3] -1 0 0x00000400 - 0x000004ff (0x100) IX[B](B)
(II) OS-reported resource ranges after removing overlaps
with PCI:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[1] -1 0 0x00000000 - 0x00000000 (0x1) MX[B]
[2] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[3] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
(II) All system resource ranges:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[1] -1 0 0x00000000 - 0x00000000 (0x1) MX[B]
[2] -1 0 0x90020000 - 0x9003ffff (0x20000) MX[B](B)
[3] -1 0 0x90000000 - 0x90003fff (0x4000) MX[B](B)
[4] -1 0 0x94000000 - 0x97ffffff (0x4000000) MX[B](B)
[5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[6] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
[7] -1 0 0x00000400 - 0x000004ff (0x100) IX[B](B)
(II) Primary Device is: PCI 00:10:0
(II) ATI: ATI driver (version 6.5.12) for chipset: ati
(II) R128: Driver for ATI Rage 128 chipsets:
ATI Rage 128 Mobility M3 LE (PCI), ATI Rage 128 Mobility M3
LF (AGP),
ATI Rage 128 Mobility M4 MF (AGP), ATI Rage 128 Mobility M4
ML (AGP),
ATI Rage 128 Pro GL PA (PCI/AGP), ATI Rage 128 Pro GL PB
(PCI/AGP),
ATI Rage 128 Pro GL PC (PCI/AGP), ATI Rage 128 Pro GL PD
(PCI),
ATI Rage 128 Pro GL PE (PCI/AGP), ATI Rage 128 Pro GL PF
(AGP),
ATI Rage 128 Pro VR PG (PCI/AGP), ATI Rage 128 Pro VR PH
(PCI/AGP),
ATI Rage 128 Pro VR PI (PCI/AGP), ATI Rage 128 Pro VR PJ
(PCI/AGP),
ATI Rage 128 Pro VR PK (PCI/AGP), ATI Rage 128 Pro VR PL
(PCI/AGP),
ATI Rage 128 Pro VR PM (PCI/AGP), ATI Rage 128 Pro VR PN
(PCI/AGP),
ATI Rage 128 Pro VR PO (PCI/AGP), ATI Rage 128 Pro VR PP
(PCI),
ATI Rage 128 Pro VR PQ (PCI/AGP), ATI Rage 128 Pro VR PR
(PCI),
ATI Rage 128 Pro VR PS (PCI/AGP), ATI Rage 128 Pro VR PT
(PCI/AGP),
ATI Rage 128 Pro VR PU (PCI/AGP), ATI Rage 128 Pro VR PV
(PCI/AGP),
ATI Rage 128 Pro VR PW (PCI/AGP), ATI Rage 128 Pro VR PX
(PCI/AGP),
ATI Rage 128 GL RE (PCI), ATI Rage 128 GL RF (AGP),
ATI Rage 128 RG (AGP), ATI Rage 128 VR RK (PCI),
ATI Rage 128 VR RL (AGP), ATI Rage 128 4X SE (PCI/AGP),
ATI Rage 128 4X SF (PCI/AGP), ATI Rage 128 4X SG
(PCI/AGP),
ATI Rage 128 4X SH (PCI/AGP), ATI Rage 128 4X SK
(PCI/AGP),
ATI Rage 128 4X SL (PCI/AGP), ATI Rage 128 4X SM (AGP),
ATI Rage 128 4X SN (PCI/AGP), ATI Rage 128 Pro ULTRA TF
(AGP),
ATI Rage 128 Pro ULTRA TL (AGP), ATI Rage 128 Pro ULTRA TR
(AGP),
ATI Rage 128 Pro ULTRA TS (AGP?), ATI Rage 128 Pro ULTRA TT
(AGP?),
ATI Rage 128 Pro ULTRA TU (AGP?)
(II) RADEON: Driver for ATI Radeon chipsets: ATI Radeon QD
(AGP),
ATI Radeon QE (AGP), ATI Radeon QF (AGP), ATI Radeon QG
(AGP),
ATI Radeon VE/7000 QY (AGP/PCI), ATI Radeon VE/7000 QZ
(AGP/PCI),
ATI Radeon Mobility M7 LW (AGP),
ATI Mobility FireGL 7800 M7 LX (AGP),
ATI Radeon Mobility M6 LY (AGP), ATI Radeon Mobility M6 LZ
(AGP),
ATI Radeon IGP320 (A3) 4136, ATI Radeon IGP320M (U1) 4336,
ATI Radeon IGP330/340/350 (A4) 4137,
ATI Radeon IGP330M/340M/350M (U2) 4337,
ATI Radeon 7000 IGP (A4+) 4237, ATI Radeon Mobility 7000
IGP 4437,
ATI FireGL 8700/8800 QH (AGP), ATI Radeon 8500 QL (AGP),
ATI Radeon 9100 QM (AGP), ATI Radeon 8500 AIW BB (AGP),
ATI Radeon 8500 AIW BC (AGP), ATI Radeon 7500 QW
(AGP/PCI),
ATI Radeon 7500 QX (AGP/PCI), ATI Radeon 9000/PRO If
(AGP/PCI),
ATI Radeon 9000 Ig (AGP/PCI), ATI FireGL Mobility 9000 (M9)
Ld (AGP),
ATI Radeon Mobility 9000 (M9) Lf (AGP),
ATI Radeon Mobility 9000 (M9) Lg (AGP),
ATI Radeon 9100 IGP (A5) 5834,
ATI Radeon Mobility 9100 IGP (U3) 5835,
ATI Radeon 9200PRO 5960 (AGP), ATI Radeon 9200 5961 (AGP),
ATI Radeon 9200 5962 (AGP), ATI Radeon 9200SE 5964 (AGP),
ATI Radeon Mobility 9200 (M9+) 5C61 (AGP),
ATI Radeon Mobility 9200 (M9+) 5C63 (AGP), ATI Radeon 9500
AD (AGP),
ATI Radeon 9500 AE (AGP), ATI Radeon 9600TX AF (AGP),
ATI FireGL Z1 AG (AGP), ATI Radeon 9700 Pro ND (AGP),
ATI Radeon 9700/9500Pro NE (AGP), ATI Radeon 9700 NF
(AGP),
ATI FireGL X1 NG (AGP), ATI Radeon 9600 AP (AGP),
ATI Radeon 9600SE AQ (AGP), ATI Radeon 9600XT AR (AGP),
ATI Radeon 9600 AS (AGP), ATI FireGL T2 AT (AGP),
ATI FireGL RV360 AV (AGP), ATI Radeon Mobility 9600 (M10)
NP (AGP),
ATI Radeon Mobility 9600 (M10) NQ (AGP),
ATI Radeon Mobility 9600 (M11) NR (AGP),
ATI Radeon Mobility 9600 (M10) NS (AGP),
ATI FireGL Mobility T2 (M10) NT (AGP),
ATI FireGL Mobility T2 (M11) NV (AGP), ATI Radeon 9800SE AH
(AGP),
ATI Radeon 9800 AI (AGP), ATI Radeon 9800 AJ (AGP),
ATI FireGL X2 AK (AGP), ATI Radeon 9800PRO NH (AGP),
ATI Radeon 9800 NI (AGP), ATI FireGL X2 NK (AGP),
ATI Radeon 9800XT NJ (AGP)
(II) VGA: Generic VGA driver (version 4.0) for chipsets:
generic
(++) Using config file:
"/home/perry/XF86Config.new".
(==) ServerLayout "XFree86 Configured"
(==) |-->Screen "Screen0" (0) (0, 0)
(**) | |-->Device "Card0"
(**) | |-->Monitor "Monitor0" (0)
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) FontPath set to
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/font
s/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11
/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X
11/fonts/100dpi/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(**) ModulePath set to "/usr/X11R6/lib/modules"
(II) Checking for unused ServerFlags options:
(II) ATI: Candidate "Device" section
"Card0".
(--) Chipset ATI Rage 128 Pro GL PF (AGP) found
(II) Loading sub module "r128"
(II) LoadModule: "r128"
(II) Reloading /usr/X11R6/lib/modules/drivers/r128_drv.o
(II) resource ranges after xf86ClaimFixedResources() call:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[1] -1 0 0x00000000 - 0x00000000 (0x1) MX[B]
[2] -1 0 0x90020000 - 0x9003ffff (0x20000) MX[B](B)
[3] -1 0 0x90000000 - 0x90003fff (0x4000) MX[B](B)
[4] -1 0 0x94000000 - 0x97ffffff (0x4000000) MX[B](B)
[5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[6] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
[7] -1 0 0x00000400 - 0x000004ff (0x100) IX[B](B)
(II) resource ranges after probing:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[1] -1 0 0x00000000 - 0x00000000 (0x1) MX[B]
[2] -1 0 0x90020000 - 0x9003ffff (0x20000) MX[B](B)
[3] -1 0 0x90000000 - 0x90003fff (0x4000) MX[B](B)
[4] -1 0 0x94000000 - 0x97ffffff (0x4000000) MX[B](B)
[5] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B]
[6] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B]
[7] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B]
[8] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[9] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
[10] -1 0 0x00000400 - 0x000004ff (0x100) IX[B](B)
[11] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B]
[12] 0 0 0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(II) Loading sub module "vbe"
(II) LoadModule: "vbe"
(II) Loading /usr/X11R6/lib/modules/libvbe.a
(II) Module vbe: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 1.1.0
ABI class: XFree86 Video Driver, version 0.8
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/libint10.a
(II) Module int10: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 1.0.0
ABI class: XFree86 Video Driver, version 0.8
(II) R128(0): initializing int10
Fatal server error:
xf86MapVidMem: could not mmap screen [s=20000,a=a0000]
(Invalid argument)
When reporting a problem related to a server crash, please
send
the full server output, not just the last messages.
This can be found in the log file
"/var/log/XFree86.8.log".
Please report problems to xfree86 xfree86.org.
---[end log]--
|
|
| Re: "xf86MapVidMem: could not mmap
to screen" problem |
  Canada |
2007-08-24 21:53:18 |
Perry Trolard wrote:
> My kernel is compiled with "options INSECURE"
(per the macppc X11 FAQ)
> and with what I think is Michael Lorenz's "options
OFB_FAKE_VGA_FB"
> solution, but the fatal server error persists. I've got
a dual 867MHz
> G4 MDD PowerMac with a Rage 128 card for video.
>
What console driver is your kernel using? Can you post a
dmesg? At least
in 4.0, only the ofb(4) console driver supports the
OFB_FAKE_VGA_FB option.
Cheers,
Jared
|
|
| Re: "xf86MapVidMem: could not mmap
to screen" problem |
  United States |
2007-08-25 00:28:37 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
On Aug 24, 2007, at 22:53, Jared D. McNeill wrote:
> Perry Trolard wrote:
>> My kernel is compiled with "options
INSECURE" (per the macppc X11 FAQ)
>> and with what I think is Michael Lorenz's
"options OFB_FAKE_VGA_FB"
>> solution, but the fatal server error persists. I've
got a dual 867MHz
>> G4 MDD PowerMac with a Rage 128 card for video.
>>
> What console driver is your kernel using? Can you post
a dmesg? At
> least in 4.0, only the ofb(4) console driver supports
the
> OFB_FAKE_VGA_FB option.
... and ofb is the only one in GENERIC that's supposed to
attach to a
Rage 128.
There's this in the X log though:
>> (II) VGA: Generic VGA driver (version 4.0) for
chipsets: generic
So, what does the XF86Config look like? Something seems to
load the vga
driver which won't work.
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iQEVAwUBRs++BcpnzkX8Yg2nAQIVKAf/bN5nRCFgLlKhkT+NtZcAacvuYVsE
N6lH
wA3ibWD/yngsHYBGP7gyreVRnGPw+3XxzLvA63+rKzHBxJmyFtMpeW8EVqq5
YEIb
hGSWywaPEf+4xoX9+SDyrd3ZVujBDqepIr34BSjQEXFD3A7s3VE5lmAOhBI/
NILl
f1BsYUu3qSIJodiQqiPX1cg1izjMfrGpbf+HB8f7jtkFA81AA/a4gASteqSs
8E/t
ElMAouNfTqCOFj0IcVBZMZOCDaovh/gYOiFrVz0TdYM91dXsHY/XZs4sQxOR
hAOp
HOVZhX5cwea9bV/Me2p4UBr/l0EXeicW7NtV4DPnYJLAHtzQwWnZvA==
=hxwE
-----END PGP SIGNATURE-----
|
|
| Fwd: "xf86MapVidMem: could not mmap
to screen" problem |

|
2007-08-25 01:13:14 |
Oops -- I only sent this to Jared... Here's my dmesg
output.
---------- Forwarded message ----------
From: Perry Trolard <perry.trolard gmail.com>
Date: Aug 25, 2007 12:05 AM
Subject: Re: "xf86MapVidMem: could not mmap to
screen" problem
To: "Jared D. McNeill" <jmcneill invisible.ca>
Hi,
On 8/24/07, Jared D. McNeill <jmcneill invisible.ca> wrote:
> What console driver is your kernel using? Can you post
a dmesg? At least
> in 4.0, only the ofb(4) console driver supports the
OFB_FAKE_VGA_FB option.
The dmesg output is below. I'm a little out of my depth
here, but it
looks like the kernel _is_ using ofb for the console driver.
The
relevant bit is probably:
---[dmesg excerpt]--
ofb0 at pci0 dev 16 function 0: ATI Technologies Rage Fury
MAXX AGP 4x (TMDS)
ofb0: 640 x 480, 8bpp
wsdisplay0 at ofb0 kbdmux 1: console (std, vt100 emulation)
---[end excerpt]--
I'm running 3.1; would the situation otherwise be better on
4?
Thanks for your help,
Perry
---[dmesg text]--
at pci1 dev 24 function 0: Apple Computer KeyLargo USB
Controller (rev. 0x00)
ohci0: interrupting at irq 27
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Apple Computer OHCI root hub, class 9/0, rev
1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci1 dev 25 function 0: Apple Computer KeyLargo
USB
Controller (rev. 0x00)
ohci1: interrupting at irq 28
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Apple Computer OHCI root hub, class 9/0, rev
1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uninorth2 at mainbus0
pci2 at uninorth2 bus 0
pci2: i/o space, memory space enabled
pchb2 at pci2 dev 11 function 0
pchb2: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
wdc2 at pci2 dev 13 function 0: interrupting at irq 39
atabus2 at wdc2 channel 0
fwohci0 at pci2 dev 14 function 0: Apple Computer UniNorth
Firewire (rev. 0x01)
fwohci0: interrupting at irq 40
fwohci0: OHCI 1.1, 00:03:93:ff:fe:a9:5a:7e, 400Mb/s, 2048
max_rec, 8
ir_ctx, 8 it_ctx
gem0 at pci2 dev 15 function 0: Apple Computer GMAC Ethernet
(rev. 0x00)
gem0: interrupting at irq 41
gem0: Ethernet address 00:03:93:a9:5a:7e, 10KB RX fifo, 4KB
TX fifo
brgphy0 at gem0 phy 0: BCM5421 1000BASE-T media interface,
rev. 1
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
1000baseT,
1000baseT-FDX, auto
Kernelized RAIDframe activated
fw at fwohci0 not configured
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <PHILIPS CDD5101,
H92290729LXVA, A3.5> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2
cd0(wdc1:0:0): using PIO mode 4, DMA mode 2 (using DMA)
uhub2 at uhub0 port 1
uhub2: Mitsumi Electric Hub in Apple Extended USB Keyboard,
class 9/0,
rev 1.10/4.20, addr 2
uhub2: 3 ports with 2 removable, bus powered
uhidev0 at uhub2 port 2 configuration 1 interface 0
uhidev0: Mitsumi Electric Apple Optical USB Mouse, rev
1.10/1.08, addr
3, iclass 3/1
ums0 at uhidev0: 4 buttons and Z dir.
wsmouse0 at ums0 mux 0
wd0 at atabus2 drive 0: <Maxtor 54098U8>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 39082 MB, 79406 cyl, 16 head, 63 sec, 512 bytes/sect x
80041248 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
(Ultra/66)
wd0(wdc2:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode
4
(Ultra/66) (using DMA)
uhidev1 at uhub2 port 3 configuration 1 interface 0
uhidev1: Mitsumi Electric Apple Extended USB Keyboard, rev
1.10/4.20,
addr 4, iclass 3/1
ukbd0 at uhidev1
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev2 at uhub2 port 3 configuration 1 interface 1
uhidev2: Mitsumi Electric Apple Extended USB Keyboard, rev
1.10/4.20,
addr 4, iclass 3/0
uhidev2: 3 report ids
uhid0 at uhidev2 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev2 reportid 3: input=3, output=0, feature=0
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
cpu1: started
syncing disks... done
unmounting file systems... done
halt
rebooting
NetBSD 3.1 (powerMac.at.home) #1: Fri Aug 24 18:44:16 UTC
2007
perry powerMac.at.home:/usr/src/sys/arch/macppc/compile/pow
erMac.at.home
total memory = 1280 MB
avail memory = 1224 MB
mainbus0 (root)
cpu0 at mainbus0: 7455 (Revision 2.1), ID 0 (primary)
cpu0: HID0
8450c0bc<EMCP,TBEN,NAP,DPM,ICE,DCE,SGE,BTIC,LRSTK,FOLD,BH
T>
cpu0: 866.67 MHz, 256KB L2 cache, 1MB no-parity L3 cache
(DDR SRAM) at 4:1 ratio
cpu1 at mainbus0cpu1: 866.66 MHz
: 7455 (Revision 2.1), ID 1
cpu1: HID0
8450c0bc<EMCP,TBEN,NAP,DPM,ICE,DCE,SGE,BTIC,LRSTK,FOLD,BH
T>
cpu1: 866.67 MHz, 256KB L2 cache, 1MB no-parity L3 cache
(DDR SRAM) at 4:1 ratio
uninorth0 at mainbus0
pci0 at uninorth0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: Apple Computer UniNorth AGP Bridge (rev. 0x00)
ofb0 at pci0 dev 16 function 0: ATI Technologies Rage Fury
MAXX AGP 4x (TMDS)
ofb0: 640 x 480, 8bpp
wsdisplay0 at ofb0 kbdmux 1: console (std, vt100 emulation)
wsmux1: connecting to wsdisplay0
uninorth1 at mainbus0
pci1 at uninorth1 bus 0
pci1: i/o space, memory space enabled
pchb1 at pci1 dev 11 function 0
pchb1: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
obio0 at pci1 dev 23 function 0: addr 0x80000000
enabling KeyLargo internal modem
zsc0 at obio0 offset 0x13000: irq 22,23
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
i2s at obio0 offset 0x10000 not configured
adb0 at obio0 offset 0x16000 irq 47: pm_adb_op: timeout.
command = 0x0
0 targets
aed0 at adb0 addr 0: ADB Event device
apm0 at adb0: battery flags 0x9, 0% charged
wdc0 at obio0 offset 0x1f000 irq 19: DMA transfer
atabus0 at wdc0 channel 0
wdc1 at obio0 offset 0x20000 irq 20: DMA transfer
atabus1 at wdc1 channel 0
ohci0 at pci1 dev 24 function 0: Apple Computer KeyLargo
USB
Controller (rev. 0x00)
ohci0: interrupting at irq 27
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Apple Computer OHCI root hub, class 9/0, rev
1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci1 dev 25 function 0: Apple Computer KeyLargo
USB
Controller (rev. 0x00)
ohci1: interrupting at irq 28
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Apple Computer OHCI root hub, class 9/0, rev
1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uninorth2 at mainbus0
pci2 at uninorth2 bus 0
pci2: i/o space, memory space enabled
pchb2 at pci2 dev 11 function 0
pchb2: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
wdc2 at pci2 dev 13 function 0: interrupting at irq 39
atabus2 at wdc2 channel 0
fwohci0 at pci2 dev 14 function 0: Apple Computer UniNorth
Firewire (rev. 0x01)
fwohci0: interrupting at irq 40
fwohci0: OHCI 1.1, 00:03:93:ff:fe:a9:5a:7e, 400Mb/s, 2048
max_rec, 8
ir_ctx, 8 it_ctx
gem0 at pci2 dev 15 function 0: Apple Computer GMAC Ethernet
(rev. 0x00)
gem0: interrupting at irq 41
gem0: Ethernet address 00:03:93:a9:5a:7e, 10KB RX fifo, 4KB
TX fifo
brgphy0 at gem0 phy 0: BCM5421 1000BASE-T media interface,
rev. 1
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
1000baseT,
1000baseT-FDX, auto
Kernelized RAIDframe activated
fw at fwohci0 not configured
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <PHILIPS CDD5101,
H92290729LXVA, A3.5> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2
cd0(wdc1:0:0): using PIO mode 4, DMA mode 2 (using DMA)
uhub2 at uhub0 port 1
uhub2: Mitsumi Electric Hub in Apple Extended USB Keyboard,
class 9/0,
rev 1.10/4.20, addr 2
uhub2: 3 ports with 2 removable, bus powered
uhidev0 at uhub2 port 2 configuration 1 interface 0
uhidev0: Mitsumi Electric Apple Optical USB Mouse, rev
1.10/1.08, addr
3, iclass 3/1
ums0 at uhidev0: 4 buttons and Z dir.
wsmouse0 at ums0 mux 0
wd0 at atabus2 drive 0: <Maxtor 54098U8>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 39082 MB, 79406 cyl, 16 head, 63 sec, 512 bytes/sect x
80041248 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
(Ultra/66)
wd0(wdc2:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode
4
(Ultra/66) (using DMA)
uhidev1 at uhub2 port 3 configuration 1 interface 0
uhidev1: Mitsumi Electric Apple Extended USB Keyboard, rev
1.10/4.20,
addr 4, iclass 3/1
ukbd0 at uhidev1
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev2 at uhub2 port 3 configuration 1 interface 1
uhidev2: Mitsumi Electric Apple Extended USB Keyboard, rev
1.10/4.20,
addr 4, iclass 3/0
uhidev2: 3 report ids
uhid0 at uhidev2 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev2 reportid 3: input=3, output=0, feature=0
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
cpu1: started
syncing disks... done
unmounting file systems... done
halt
rebooting
NetBSD 3.1 (powerMac.at.home) #1: Fri Aug 24 18:44:16 UTC
2007
perry powerMac.at.home:/usr/src/sys/arch/macppc/compile/pow
erMac.at.home
total memory = 1280 MB
avail memory = 1224 MB
mainbus0 (root)
cpu0 at mainbus0: 7455 (Revision 2.1), ID 0 (primary)
cpu0: HID0
8450c0bc<EMCP,TBEN,NAP,DPM,ICE,DCE,SGE,BTIC,LRSTK,FOLD,BH
T>
cpu0: 866.67 MHz, 256KB L2 cache, 1MB no-parity L3 cache
(DDR SRAM) at 4:1 ratio
cpu1 at mainbus0cpu1: 866.66 MHz
: 7455 (Revision 2.1), ID 1
cpu1: HID0
8450c0bc<EMCP,TBEN,NAP,DPM,ICE,DCE,SGE,BTIC,LRSTK,FOLD,BH
T>
cpu1: 866.67 MHz, 256KB L2 cache, 1MB no-parity L3 cache
(DDR SRAM) at 4:1 ratio
uninorth0 at mainbus0
pci0 at uninorth0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: Apple Computer UniNorth AGP Bridge (rev. 0x00)
ofb0 at pci0 dev 16 function 0: ATI Technologies Rage Fury
MAXX AGP 4x (TMDS)
ofb0: 640 x 480, 8bpp
wsdisplay0 at ofb0 kbdmux 1: console (std, vt100 emulation)
wsmux1: connecting to wsdisplay0
uninorth1 at mainbus0
pci1 at uninorth1 bus 0
pci1: i/o space, memory space enabled
pchb1 at pci1 dev 11 function 0
pchb1: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
obio0 at pci1 dev 23 function 0: addr 0x80000000
enabling KeyLargo internal modem
zsc0 at obio0 offset 0x13000: irq 22,23
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
i2s at obio0 offset 0x10000 not configured
adb0 at obio0 offset 0x16000 irq 47: pm_adb_op: timeout.
command = 0x0
0 targets
aed0 at adb0 addr 0: ADB Event device
apm0 at adb0: battery flags 0x9, 0% charged
wdc0 at obio0 offset 0x1f000 irq 19: DMA transfer
atabus0 at wdc0 channel 0
wdc1 at obio0 offset 0x20000 irq 20: DMA transfer
atabus1 at wdc1 channel 0
ohci0 at pci1 dev 24 function 0: Apple Computer KeyLargo
USB
Controller (rev. 0x00)
ohci0: interrupting at irq 27
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Apple Computer OHCI root hub, class 9/0, rev
1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci1 dev 25 function 0: Apple Computer KeyLargo
USB
Controller (rev. 0x00)
ohci1: interrupting at irq 28
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Apple Computer OHCI root hub, class 9/0, rev
1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uninorth2 at mainbus0
pci2 at uninorth2 bus 0
pci2: i/o space, memory space enabled
pchb2 at pci2 dev 11 function 0
pchb2: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
wdc2 at pci2 dev 13 function 0: interrupting at irq 39
atabus2 at wdc2 channel 0
fwohci0 at pci2 dev 14 function 0: Apple Computer UniNorth
Firewire (rev. 0x01)
fwohci0: interrupting at irq 40
fwohci0: OHCI 1.1, 00:03:93:ff:fe:a9:5a:7e, 400Mb/s, 2048
max_rec, 8
ir_ctx, 8 it_ctx
gem0 at pci2 dev 15 function 0: Apple Computer GMAC Ethernet
(rev. 0x00)
gem0: interrupting at irq 41
gem0: Ethernet address 00:03:93:a9:5a:7e, 10KB RX fifo, 4KB
TX fifo
brgphy0 at gem0 phy 0: BCM5421 1000BASE-T media interface,
rev. 1
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
1000baseT,
1000baseT-FDX, auto
Kernelized RAIDframe activated
fw at fwohci0 not configured
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <PHILIPS CDD5101,
H92290729LXVA, A3.5> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2
cd0(wdc1:0:0): using PIO mode 4, DMA mode 2 (using DMA)
uhub2 at uhub0 port 1
uhub2: Mitsumi Electric Hub in Apple Extended USB Keyboard,
class 9/0,
rev 1.10/4.20, addr 2
uhub2: 3 ports with 2 removable, bus powered
uhidev0 at uhub2 port 2 configuration 1 interface 0
uhidev0: Mitsumi Electric Apple Optical USB Mouse, rev
1.10/1.08, addr
3, iclass 3/1
ums0 at uhidev0: 4 buttons and Z dir.
wsmouse0 at ums0 mux 0
wd0 at atabus2 drive 0: <Maxtor 54098U8>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 39082 MB, 79406 cyl, 16 head, 63 sec, 512 bytes/sect x
80041248 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
(Ultra/66)
wd0(wdc2:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode
4
(Ultra/66) (using DMA)
uhidev1 at uhub2 port 3 configuration 1 interface 0
uhidev1: Mitsumi Electric Apple Extended USB Keyboard, rev
1.10/4.20,
addr 4, iclass 3/1
ukbd0 at uhidev1
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev2 at uhub2 port 3 configuration 1 interface 1
uhidev2: Mitsumi Electric Apple Extended USB Keyboard, rev
1.10/4.20,
addr 4, iclass 3/0
uhidev2: 3 report ids
uhid0 at uhidev2 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev2 reportid 3: input=3, output=0, feature=0
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
cpu1: started
---[end dmesg]--
|
|
| Re: "xf86MapVidMem: could not mmap
to screen" problem |

|
2007-08-25 01:16:22 |
Hi,
Michael wrote:
> There's this in the X log though:
> >> (II) VGA: Generic VGA driver (version 4.0) for
chipsets: generic
Okay, I've included the XF86Config that the xf86config
utility
generated, and the XFree86 log file that resulted from
running startx
against that config. (I generated a new XF86Config with the
utility
because I was using something cobbled together before, and I
thought
that the new config file might eliminate what was loading
the vga
driver; but, end result: same xf86MapVidMem error...)
Thanks,
Perry
---[XF86Config]--
# File generated by xf86config.
#
# Copyright (c) 1999 by The XFree86 Project, Inc.
#
# Permission is hereby granted, free of charge, to any
person obtaining a
# copy of this software and associated documentation files
(the "Software"),
# to deal in the Software without restriction, including
without limitation
# the rights to use, copy, modify, merge, publish,
distribute, sublicense,
# and/or sell copies of the Software, and to permit persons
to whom the
# Software is furnished to do so, subject to the following
conditions:
#
# The above copyright notice and this permission notice
shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT
WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
NO EVENT SHALL
# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE
# SOFTWARE.
#
# Except as contained in this notice, the name of the
XFree86 Project shall
# not be used in advertising or otherwise to promote the
sale, use or other
# dealings in this Software without prior written
authorization from the
# XFree86 Project.
#
#
************************************************************
**********
# Refer to the XF86Config(4/5) man page for details about
the format of
# this file.
#
************************************************************
**********
#
************************************************************
**********
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
#
************************************************************
**********
#
Section "Module"
# This loads the DBE extension module.
Load "dbe" # Double buffer extension
# This loads the miscellaneous extensions module, and
disables
# initialisation of the XFree86-DGA extension within that
module.
SubSection "extmod"
Option "omit xfree86-dga" # don't
initialise the DGA extension
EndSubSection
# This loads the Type1 and FreeType font modules
Load "type1"
Load "speedo"
Load "freetype"
# Load "xtt"
# This loads the GLX module
# Load "glx"
# This loads the DRI module
# Load "dri"
EndSection
#
************************************************************
**********
# Files section. This allows default font and rgb paths to
be set
#
************************************************************
**********
Section "Files"
# The location of the RGB database. Note, this is the name
of the
# file minus the extension (like ".txt" or
".db"). There is normally
# no need to change the default.
RgbPath "/usr/X11R6/lib/X11/rgb"
# Multiple FontPath entries are allowed (which are
concatenated together),
# as well as specifying multiple comma-separated entries in
one FontPath
# command (or a combination of both methods)
#
# If you don't have a floating point coprocessor and emacs,
Mosaic or other
# programs take long to start up, try moving the Type1 and
Speedo directory
# to the end of this list (or comment them out).
#
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath
"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath
"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
# FontPath
"/usr/X11R6/lib/X11/fonts/TrueType/"
# FontPath
"/usr/X11R6/lib/X11/fonts/freefont/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
# The module search path. The default path is shown here.
# ModulePath "/usr/X11R6/lib/modules"
EndSection
#
************************************************************
**********
# Server flags section.
#
************************************************************
**********
Section "ServerFlags"
# Uncomment this to cause a core dump at the spot where a
signal is
# received. This may leave the console in an unusable
state, but may
# provide a better stack trace in the core dump to aid in
debugging
# Option "NoTrapSignals"
# Uncomment this to disable the
<Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12). This allows clients to receive
these key
# events.
# Option "DontVTSwitch"
# Uncomment this to disable the
<Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.
# Option "DontZap"
# Uncomment this to disable the
<Crtl><Alt><KP_+>/<KP_-> mode
switching
# sequences. This allows clients to receive these key
events.
# Option "Dont Zoom"
# Uncomment this to disable tuning with the xvidtune client.
With
# it the client can still run and fetch card and monitor
attributes,
# but it will not be allowed to change them. If it tries it
will
# receive a protocol error.
# Option "DisableVidModeExtension"
# Uncomment this to enable the use of a non-local xvidtune
client.
# Option "AllowNonLocalXvidtune"
# Uncomment this to disable dynamically modifying the input
device
# (mouse and keyboard) settings.
# Option "DisableModInDev"
# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only
xset).
# Option "AllowNonLocalModInDev"
EndSection
#
************************************************************
**********
# Input devices
#
************************************************************
**********
#
************************************************************
**********
# Core keyboard's InputDevice section
#
************************************************************
**********
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
# For most OSs the protocol can be omitted (it defaults to
"Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not
Solaris),
# uncomment the following line.
# Option "Protocol"
"Xqueue"
Option "AutoRepeat" "500 30"
# Specify which keyboard LEDs can be user-controlled (eg,
with xset(1))
# Option "Xleds" "1 2 3"
# Option "LeftAlt" "Meta"
# Option "RightAlt" "ModeShift"
# To customise the XKB settings to suit your keyboard,
modify the
# lines below (which are the defaults). For example, for a
non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock
and
# control keys, use:
# Option "XkbOptions"
"ctrl:swapcaps"
# These are the default XKB settings for XFree86
# Option "XkbRules" "xfree86"
# Option "XkbModel" "pc101"
# Option "XkbLayout" "us"
# Option "XkbVariant" ""
# Option "XkbOptions" ""
# Option "XkbDisable"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
EndSection
#
************************************************************
**********
# Core Pointer's InputDevice section
#
************************************************************
**********
Section "InputDevice"
# Identifier and driver
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "wsmouse"
Option "Device" "/dev/wsmouse"
# Mouse-speed setting for PS/2 mouse.
# Option "Resolution" "256"
# When using XQUEUE, comment out the above two lines, and
uncomment
# the following line.
# Option "Protocol" "Xqueue"
# Baudrate and SampleRate are only for some Logitech mice.
In
# almost every case these lines should be omitted.
# Option "BaudRate" "9600"
# Option "SampleRate" "150"
# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is
50ms)
Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"
# ChordMiddle is an option for some 3-button Logitech mice
# Option "ChordMiddle"
EndSection
#
************************************************************
**********
# Other input device sections
# this is optional and is required only if you
# are using extended input devices. This is for example
only. Refer
# to the XF86Config man page for a description of the
options.
#
************************************************************
**********
#
# Section "InputDevice"
# Identifier "Mouse2"
# Driver "mouse"
# Option "Protocol"
"MouseMan"
# Option "Device"
"/dev/mouse2"
# EndSection
#
# Section "InputDevice"
# Identifier "spaceball"
# Driver "magellan"
# Option "Device"
"/dev/cua0"
# EndSection
#
# Section "InputDevice"
# Identifier "spaceball2"
# Driver "spaceorb"
# Option "Device"
"/dev/cua0"
# EndSection
#
# Section "InputDevice"
# Identifier "touchscreen0"
# Driver "microtouch"
# Option "Device"
"/dev/ttyS0"
# Option "MinX" "1412"
# Option "MaxX" "15184"
# Option "MinY" "15372"
# Option "MaxY" "1230"
# Option "ScreenNumber" "0"
# Option "ReportingMode"
"Scaled"
# Option "ButtonNumber" "1"
# Option "SendCoreEvents"
# EndSection
#
# Section "InputDevice"
# Identifier "touchscreen1"
# Driver "elo2300"
# Option "Device"
"/dev/ttyS0"
# Option "MinX" "231"
# Option "MaxX" "3868"
# Option "MinY" "3858"
# Option "MaxY" "272"
# Option "ScreenNumber" "0"
# Option "ReportingMode"
"Scaled"
# Option "ButtonThreshold"
"17"
# Option "ButtonNumber" "1"
# Option "SendCoreEvents"
# EndSection
#
************************************************************
**********
# Monitor section
#
************************************************************
**********
# Any number of monitor sections may be present
Section "Monitor"
Identifier "17in Studio Display"
# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete
values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR
MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
HorizSync 30.0 - 85.0
# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync
frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync
frequencies
# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete
values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR
MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
VertRefresh 48.0 - 160.0
EndSection
#
************************************************************
**********
# Graphics device section
#
************************************************************
**********
# Any number of graphics device sections may be present
# Standard VGA Device:
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
# The chipset line is optional in most cases. It can be
used to override
# the driver's chipset detection, and should not normally be
specified.
# Chipset "generic"
# The Driver line must be present. When using run-time
loadable driver
# modules, this line instructs the server to load the
specified driver
# module. Even when not using loadable driver modules, this
line
# indicates which driver should interpret the information in
this section.
Driver "vga"
# The BusID line is used to specify which of possibly
multiple devices
# this section is intended for. When this line isn't
present, a device
# section can only match up with the primary video device.
For PCI
# devices a line like the following could be used. This
line should not
# normally be included unless there is more than one video
device
# intalled.
# BusID "PCI:0:10:0"
# VideoRam 256
# Clocks 25.2 28.3
EndSection
# Device configured by xf86config:
Section "Device"
Identifier "ATI Rage 128 MAXX"
Driver "r128"
#VideoRam 16384
# Insert Clocks lines here if appropriate
EndSection
#
************************************************************
**********
# Screen sections
#
************************************************************
**********
# Any number of screen sections may be present. Each
describes
# the configuration of a single screen. A single specific
screen section
# may be specified from the X server command line with the
"-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "ATI Rage 128 MAXX"
Monitor "17in Studio Display"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1280x1024"
"1024x768" "800x600"
"640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024"
"1024x768" "800x600"
"640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024"
"1024x768" "800x600"
"640x480"
ViewPort 0 0
EndSubsection
EndSection
#
************************************************************
**********
# ServerLayout sections.
#
************************************************************
**********
# Any number of ServerLayout sections may be present. Each
describes
# the way multiple screens are organised. A specific
ServerLayout
# section may be specified from the X server command line
with the
# "-layout" option. In the absence of this, the
first section is used.
# When now ServerLayout section is present, the first Screen
section
# is used alone.
Section "ServerLayout"
# The Identifier line must be present
Identifier "Simple Layout"
# Each Screen line specifies a Screen section name, and
optionally
# the relative position of other screens. The four names
after
# primary screen name are the screens to the top, bottom,
left and right
# of the primary screen. In this example, screen 2 is
located to the
# right of screen 1.
Screen "Screen 1"
# Each InputDevice line specifies an InputDevice section
name and
# optionally some options to specify the way the device is
to be
# used. Those options include "CorePointer",
"CoreKeyboard" and
# "SendCoreEvents".
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1"
"CoreKeyboard"
EndSection
# Section "DRI"
# Mode 0666
# EndSection
---[end XF86Config]--
---[XFree86.0.log]--
XFree86 Version 4.5.0
Release Date: 16 March 2005
X Protocol Version 11, Revision 0
Build Operating System:NetBSD/macppc 3.1 - The NetBSD
Foundation, Inc.
Current Operating System: NetBSD powerMac.at.home 3.1 NetBSD
3.1
(powerMac.at.home) #1: Fri Aug 24 18:44:16 UTC 2007
perry powerMac.at.home:/usr/src/sys/arch/macppc/compile/pow
erMac.at.home
macppc
Build Date: 31 October 2006
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default
setting,
(++) from command line, (!!) notice, (EE) error, (WW)
warning,
(II) informational, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Sat
Aug 25 01:02:22 2007
(==) Using config file: "/etc/X11/XF86Config".
(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.3
XFree86 Video Driver: 0.8
XFree86 XInput driver : 0.5
XFree86 Server Extension : 0.3
XFree86 Font Renderer : 0.5
(II) Loader running on netbsd
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc101"
(**) XKB: model: "pc101"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(==) Keyboard: CustomKeycode disabled.
(==) ServerLayout "Simple Layout"
(==) |-->Screen "Screen 1" (0) (0, 0)
(**) | |-->Device "ATI Rage 128 MAXX"
(**) | |-->Monitor "17in Studio Display" (0)
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(**) FontPath set to
"/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fon
ts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6
/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Spe
edo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/font
s/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(II) Checking for unused ServerFlags options:
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 1.0.0
ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.5
(II) Loading font Bitmap
(--) Using wscons driver
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:0b:0: chip 106b,0034 card 0000,0000 rev 00
class 06,00,00 hdr 00
(II) PCI: 00:10:0: chip 1002,5046 card 0000,0000 rev 00
class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:11:0), (0,0,0), BCTRL: 0x0008
(VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(--) PCI (0:16:0) ATI
Technologies Inc Rage 128 PF/PRO AGP 4x TMDS
rev 0, Mem 0x94000000/26, 0x90000000/14, I/O
0x0400/8, BIOS
0x90020000/17
(II) Addressable bus resource ranges are
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
[1] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[1] -1 0 0x00000000 - 0x00000000 (0x1) MX[B]
[2] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[3] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
(II) Active PCI resource ranges:
[0] -1 0 0x90020000 - 0x9003ffff (0x20000) MX[B](B)
[1] -1 0 0x90000000 - 0x90003fff (0x4000) MX[B](B)
[2] -1 0 0x94000000 - 0x97ffffff (0x4000000) MX[B](B)
[3] -1 0 0x00000400 - 0x000004ff (0x100) IX[B](B)
(II) Active PCI resource ranges after removing overlaps:
[0] -1 0 0x90020000 - 0x9003ffff (0x20000) MX[B](B)
[1] -1 0 0x90000000 - 0x90003fff (0x4000) MX[B](B)
[2] -1 0 0x94000000 - 0x97ffffff (0x4000000) MX[B](B)
[3] -1 0 0x00000400 - 0x000004ff (0x100) IX[B](B)
(II) OS-reported resource ranges after removing overlaps
with PCI:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[1] -1 0 0x00000000 - 0x00000000 (0x1) MX[B]
[2] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[3] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
(II) All system resource ranges:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[1] -1 0 0x00000000 - 0x00000000 (0x1) MX[B]
[2] -1 0 0x90020000 - 0x9003ffff (0x20000) MX[B](B)
[3] -1 0 0x90000000 - 0x90003fff (0x4000) MX[B](B)
[4] -1 0 0x94000000 - 0x97ffffff (0x4000000) MX[B](B)
[5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[6] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
[7] -1 0 0x00000400 - 0x000004ff (0x100) IX[B](B)
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 1.0.0
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.3
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 1.0.0
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.3
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension DPMS
(II) Loading extension FontCache
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 1.0.2
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.5
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "speedo"
(II) Loading /usr/X11R6/lib/modules/fonts/libspeedo.a
(II) Module speedo: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 1.0.1
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.5
(II) Loading font Speedo
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor="The XFree86 Project &
the After X-TT Project"
compiled for 4.5.0, module version = 2.1.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.5
(II) Loading font FreeType
(II) LoadModule: "r128"
(II) Loading /usr/X11R6/lib/modules/drivers/r128_drv.o
(II) Module r128: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 4.0.1
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "ati"
(II) Loading /usr/X11R6/lib/modules/drivers/ati_drv.o
(II) Module ati: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 6.5.12
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 1.0.0
Module class: XFree86 XInput Driver
ABI class: XFree86 XInput driver, version 0.5
(II) ATI: ATI driver (version 6.5.12) for chipset: ati
(II) R128: Driver for ATI Rage 128 chipsets:
ATI Rage 128 Mobility M3 LE (PCI), ATI Rage 128 Mobility M3
LF (AGP),
ATI Rage 128 Mobility M4 MF (AGP), ATI Rage 128 Mobility M4
ML (AGP),
ATI Rage 128 Pro GL PA (PCI/AGP), ATI Rage 128 Pro GL PB
(PCI/AGP),
ATI Rage 128 Pro GL PC (PCI/AGP), ATI Rage 128 Pro GL PD
(PCI),
ATI Rage 128 Pro GL PE (PCI/AGP), ATI Rage 128 Pro GL PF
(AGP),
ATI Rage 128 Pro VR PG (PCI/AGP), ATI Rage 128 Pro VR PH
(PCI/AGP),
ATI Rage 128 Pro VR PI (PCI/AGP), ATI Rage 128 Pro VR PJ
(PCI/AGP),
ATI Rage 128 Pro VR PK (PCI/AGP), ATI Rage 128 Pro VR PL
(PCI/AGP),
ATI Rage 128 Pro VR PM (PCI/AGP), ATI Rage 128 Pro VR PN
(PCI/AGP),
ATI Rage 128 Pro VR PO (PCI/AGP), ATI Rage 128 Pro VR PP
(PCI),
ATI Rage 128 Pro VR PQ (PCI/AGP), ATI Rage 128 Pro VR PR
(PCI),
ATI Rage 128 Pro VR PS (PCI/AGP), ATI Rage 128 Pro VR PT
(PCI/AGP),
ATI Rage 128 Pro VR PU (PCI/AGP), ATI Rage 128 Pro VR PV
(PCI/AGP),
ATI Rage 128 Pro VR PW (PCI/AGP), ATI Rage 128 Pro VR PX
(PCI/AGP),
ATI Rage 128 GL RE (PCI), ATI Rage 128 GL RF (AGP),
ATI Rage 128 RG (AGP), ATI Rage 128 VR RK (PCI),
ATI Rage 128 VR RL (AGP), ATI Rage 128 4X SE (PCI/AGP),
ATI Rage 128 4X SF (PCI/AGP), ATI Rage 128 4X SG
(PCI/AGP),
ATI Rage 128 4X SH (PCI/AGP), ATI Rage 128 4X SK
(PCI/AGP),
ATI Rage 128 4X SL (PCI/AGP), ATI Rage 128 4X SM (AGP),
ATI Rage 128 4X SN (PCI/AGP), ATI Rage 128 Pro ULTRA TF
(AGP),
ATI Rage 128 Pro ULTRA TL (AGP), ATI Rage 128 Pro ULTRA TR
(AGP),
ATI Rage 128 Pro ULTRA TS (AGP?), ATI Rage 128 Pro ULTRA TT
(AGP?),
ATI Rage 128 Pro ULTRA TU (AGP?)
(II) RADEON: Driver for ATI Radeon chipsets: ATI Radeon QD
(AGP),
ATI Radeon QE (AGP), ATI Radeon QF (AGP), ATI Radeon QG
(AGP),
ATI Radeon VE/7000 QY (AGP/PCI), ATI Radeon VE/7000 QZ
(AGP/PCI),
ATI Radeon Mobility M7 LW (AGP),
ATI Mobility FireGL 7800 M7 LX (AGP),
ATI Radeon Mobility M6 LY (AGP), ATI Radeon Mobility M6 LZ
(AGP),
ATI Radeon IGP320 (A3) 4136, ATI Radeon IGP320M (U1) 4336,
ATI Radeon IGP330/340/350 (A4) 4137,
ATI Radeon IGP330M/340M/350M (U2) 4337,
ATI Radeon 7000 IGP (A4+) 4237, ATI Radeon Mobility 7000
IGP 4437,
ATI FireGL 8700/8800 QH (AGP), ATI Radeon 8500 QL (AGP),
ATI Radeon 9100 QM (AGP), ATI Radeon 8500 AIW BB (AGP),
ATI Radeon 8500 AIW BC (AGP), ATI Radeon 7500 QW
(AGP/PCI),
ATI Radeon 7500 QX (AGP/PCI), ATI Radeon 9000/PRO If
(AGP/PCI),
ATI Radeon 9000 Ig (AGP/PCI), ATI FireGL Mobility 9000 (M9)
Ld (AGP),
ATI Radeon Mobility 9000 (M9) Lf (AGP),
ATI Radeon Mobility 9000 (M9) Lg (AGP),
ATI Radeon 9100 IGP (A5) 5834,
ATI Radeon Mobility 9100 IGP (U3) 5835,
ATI Radeon 9200PRO 5960 (AGP), ATI Radeon 9200 5961 (AGP),
ATI Radeon 9200 5962 (AGP), ATI Radeon 9200SE 5964 (AGP),
ATI Radeon Mobility 9200 (M9+) 5C61 (AGP),
ATI Radeon Mobility 9200 (M9+) 5C63 (AGP), ATI Radeon 9500
AD (AGP),
ATI Radeon 9500 AE (AGP), ATI Radeon 9600TX AF (AGP),
ATI FireGL Z1 AG (AGP), ATI Radeon 9700 Pro ND (AGP),
ATI Radeon 9700/9500Pro NE (AGP), ATI Radeon 9700 NF
(AGP),
ATI FireGL X1 NG (AGP), ATI Radeon 9600 AP (AGP),
ATI Radeon 9600SE AQ (AGP), ATI Radeon 9600XT AR (AGP),
ATI Radeon 9600 AS (AGP), ATI FireGL T2 AT (AGP),
ATI FireGL RV360 AV (AGP), ATI Radeon Mobility 9600 (M10)
NP (AGP),
ATI Radeon Mobility 9600 (M10) NQ (AGP),
ATI Radeon Mobility 9600 (M11) NR (AGP),
ATI Radeon Mobility 9600 (M10) NS (AGP),
ATI FireGL Mobility T2 (M10) NT (AGP),
ATI FireGL Mobility T2 (M11) NV (AGP), ATI Radeon 9800SE AH
(AGP),
ATI Radeon 9800 AI (AGP), ATI Radeon 9800 AJ (AGP),
ATI FireGL X2 AK (AGP), ATI Radeon 9800PRO NH (AGP),
ATI Radeon 9800 NI (AGP), ATI FireGL X2 NK (AGP),
ATI Radeon 9800XT NJ (AGP)
(II) Primary Device is: PCI 00:10:0
(--) Assigning device section with no busID to primary
device
(--) Chipset ATI Rage 128 Pro GL PF (AGP) found
(II) Loading sub module "r128"
(II) LoadModule: "r128"
(II) Reloading /usr/X11R6/lib/modules/drivers/r128_drv.o
(II) resource ranges after xf86ClaimFixedResources() call:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[1] -1 0 0x00000000 - 0x00000000 (0x1) MX[B]
[2] -1 0 0x90020000 - 0x9003ffff (0x20000) MX[B](B)
[3] -1 0 0x90000000 - 0x90003fff (0x4000) MX[B](B)
[4] -1 0 0x94000000 - 0x97ffffff (0x4000000) MX[B](B)
[5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[6] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
[7] -1 0 0x00000400 - 0x000004ff (0x100) IX[B](B)
(II) resource ranges after probing:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[1] -1 0 0x00000000 - 0x00000000 (0x1) MX[B]
[2] -1 0 0x90020000 - 0x9003ffff (0x20000) MX[B](B)
[3] -1 0 0x90000000 - 0x90003fff (0x4000) MX[B](B)
[4] -1 0 0x94000000 - 0x97ffffff (0x4000000) MX[B](B)
[5] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B]
[6] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B]
[7] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B]
[8] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[9] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
[10] -1 0 0x00000400 - 0x000004ff (0x100) IX[B](B)
[11] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B]
[12] 0 0 0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.8
(II) R128(0): PCI bus 0 card 16 func 0
(**) R128(0): Depth 24, (--) framebuffer bpp 32
(II) R128(0): Pixel depth = 24 bits stored in 4 bytes (32
bpp pixmaps)
(==) R128(0): Default visual is TrueColor
(==) R128(0): RGB weight 888
(II) R128(0): Using 8 bits per RGB (8 bit DAC)
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/libint10.a
(II) Module int10: vendor="The XFree86 Project"
compiled for 4.5.0, module version = 1.0.0
ABI class: XFree86 Video Driver, version 0.8
(II) R128(0): initializing int10
Fatal server error:
xf86MapVidMem: could not mmap screen [s=20000,a=a0000]
(Invalid argument)
When reporting a problem related to a server crash, please
send
the full server output, not just the last messages.
This can be found in the log file
"/var/log/XFree86.0.log".
Please report problems to xfree86 xfree86.org.
---[end XFree86.0.log]--
|
|
| Re: "xf86MapVidMem: could not mmap
to screen" problem |
  United States |
2007-08-25 03:18:50 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
On Aug 25, 2007, at 02:16, Perry Trolard wrote:
>> There's this in the X log though:
>>>> (II) VGA: Generic VGA driver (version 4.0)
for chipsets: generic
>
> Okay, I've included the XF86Config that the xf86config
utility
> generated, and the XFree86 log file that resulted from
running startx
> against that config. (I generated a new XF86Config with
the utility
> because I was using something cobbled together before,
and I thought
> that the new config file might eliminate what was
loading the vga
> driver; but, end result: same xf86MapVidMem error...)
>
And you're absolutely sure that your kernel is built with
options
OFB_FAKE_VGA_FB ?
What happens is that XFree's r128 uses the vgahw module for
stuff like
saving the text mode status - patently useless on a mac, we
don't use
text mode - and for that puropse tries to mmap() the
standard VGA
framebuffer at 0xa0000 - also patently useless on a Mac,
this range
contains memory. What OFB_FAKE_VGA_FB does is to let
userland mmap()
what it thinks is the VGA framebuffer but hand them the
first 128kB of
actual video memory instead. Still useless but it shuts up
the error.
Besides that, I /think/ I conditionally removed all
references to vgahw
from the r128 driver on non-PC platforms but I don't think
that change
made it into 3.1. Unfortunately I don't have any R128
hardware to check
myself.
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iQEVAwUBRs/l6cpnzkX8Yg2nAQJtAgf/SlaI/pbB0zzV5B7+oXd4oxFTiIFG
ZjY7
65Ta6QrvSUoxkXCXwlq7O7isfo9ti0pvZqvGh4749Qm6SCcDslindn5e5ktm
5Rze
Kd0msvDIF/wUeYfAuEm9wyMnL6SqDqrSYscuf1ChrQxXpRwMeDWOqBXxFkMl
Y4wn
U8LeFox3IBAUPhF3isIQSsvjTrAcG9x0YqgL+8VT/mj1SZPOx9+K8LBasknL
5vd2
HlAvYDDzbjdoAmmxuEA2pI57cU4DoId4idgHXk/I4EtAEdE6n45dOkaOiwua
H1oz
kQy7+cWNKBmFbrLxj3etNn3rOzgmvlAs5RNUTLWOOL8RCCzeOSeVKw==
=KdxR
-----END PGP SIGNATURE-----
|
|
| Re: "xf86MapVidMem: could not mmap
to screen" problem |

|
2007-08-25 08:54:51 |
Hi,
On 8/25/07, Michael Lorenz <macallan netbsd.org> wrote:
> And you're absolutely sure that your kernel is built
with options
> OFB_FAKE_VGA_FB ?
Yes, but just to be sure there's nothing weird that I'm
missing I'm
including my kernel config files below.
Otherwise then, moving to, say, 4.0 would be a solution?
Thanks,
Perry
---[my small config]--
# $NetBSD: GENERIC.MP,v 1.1 2002/07/28 07:40:13 chs Exp $
#
# GENERIC kernel, plus multiprocessor support.
#
# MODIFIED VERSION
include "arch/macppc/conf/myGeneric"
## PJT additions ##
# MULTIPROCESSOR support
options MULTIPROCESSOR
# fast text console
options OFB_ENABLE_CACHE
# XFree86 option to get around "can't mmap screen
..." memory error
options OFB_FAKE_VGA_FB
# INSECURE (attempt to get XFree86 to work)
# options INSECURE
# already given in `myGeneric`...
---[end small config]--
---[myGeneric]--
# $NetBSD: GENERIC,v 1.194.4.7 2005/11/05 00:39:47 tron Exp
$
#
# GENERIC machine description file
#
# This machine description file is used to generate the
default NetBSD
# kernel. The generic kernel does not include all options,
subsystems
# and device drivers, but should be useful for most
applications.
#
# The machine description file can be customised for your
specific
# machine to reduce the kernel size and improve its
performance.
#
# For further information on compiling NetBSD kernels, see
the config(8)
# man page.
#
# For further information on hardware support for this
architecture, see
# the intro(4) man page. For further information about
kernel options
# for this architecture, see the options(4) man page. For
an explanation
# of each device driver in this file see the section 4 man
page for the
# device.
include "arch/macppc/conf/std.macppc"
options INCLUDE_CONFIG_FILE # embed config file in kernel
binary
#ident "GENERIC-$Revision: 1.194.4.7 $"
maxusers 32
options ALTIVEC # Include AltiVec support
# Standard system options
options INSECURE # disable kernel security levels
options RTC_OFFSET=0 # hardware clock is this many mins.
west of GMT
options NTP # NTP phase/frequency locked loop
options KTRACE # system call tracing via ktrace(1)
options SYSTRACE # system call vetting via systrace(1)
options SYSVMSG # System V message queues
options SYSVSEM # System V semaphores
#options SEMMNI=10 # number of semaphore identifiers
#options SEMMNS=60 # number of semaphores in system
#options SEMUME=10 # max number of undo entries per
process
#options SEMMNU=30 # number of undo structures in system
options SYSVSHM # System V shared memory
#options SHMMAXPGS=1024 # 1024 pages is the default
options P1003_1B_SEMAPHORE # p1003.1b semaphore support
options LKM # loadable kernel modules
options USERCONF # userconf(4) support
#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions
in kernel
# Enable experimental buffer queue strategy for better
responsiveness under
# high disk I/O load. Use it with caution - it's not proven
to be stable yet.
#options NEW_BUFQ_STRATEGY
# Diagnostic/debugging support options
#options DIAGNOSTIC # cheap kernel consistency checks
#options DEBUG # expensive debugging checks/support
options ZS_CONSOLE_ABORT# allow break to get into DDB on
serial
options DDB # in-kernel debugger
#options DDB_ONPANIC=0 # don't go into ddb on panic.
options DDB_HISTORY_SIZE=512 # enable history editing in
DDB
#options TRAP_PANICWAIT
#makeoptions DEBUG="-g" # compile full symbol
table
# Compatibility options
options COMPAT_09 # NetBSD 0.9,
options COMPAT_10 # NetBSD 1.0,
options COMPAT_11 # NetBSD 1.1,
options COMPAT_12 # NetBSD 1.2,
options COMPAT_13 # NetBSD 1.3,
options COMPAT_14 # NetBSD 1.4,
options COMPAT_16 # NetBSD 1.6,
options COMPAT_20 # NetBSD 2.0
options COMPAT_43 # and 4.3BSD
#options COMPAT_386BSD_MBRPART # recognize old partition
ID
options COMPAT_LINUX # Linux binary compatibility
#options COMPAT_DARWIN # Darwin binary compatibility
(experimental)
#options COMPAT_MACH # Mach compatibility, needed for
COMPAT_DARWIN
#options EXEC_MACHO # Mach-O binary support, needed for
COMPAT_MACH
#options DEBUG_DARWIN # COMPAT_DARWIN debugging
#options DEBUG_MACH # COMPAT_MACH debugging
#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not
recommended.
options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
# File systems
file-system FFS # UFS
file-system EXT2FS # second extended file system (linux)
#file-system LFS # log-structured file system
#file-system MFS # memory file system
file-system NFS # Network File System client
file-system CD9660 # ISO 9660 + Rock Ridge file system
#file-system MSDOSFS # MS-DOS file system
file-system FDESC # /dev/fd
file-system KERNFS # /kern
file-system NULLFS # loopback file system
file-system OVERLAY # overlay file system
#file-system PORTAL # portal filesystem (still
experimental)
file-system PROCFS # /proc
file-system UMAPFS # NULLFS + uid and gid remapping
#file-system UNION # union file system
file-system SMBFS # CIFS; also needs nsmb (below)
# File system options
options QUOTA # UFS quotas
#options FFS_EI # FFS Endian Independant support
options SOFTDEP # FFS soft updates support.
#options UFS_DIRHASH # UFS Large Directory Hashing -
Experimental
options NFSSERVER # Network File System server
#options FFS_NO_SNAPSHOT # ffs snapshots
#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags
(append and
# immutable) behave as system flags.
options APPLE_UFS # Apple UFS support in FFS
options NFS_BOOT_DHCP # Support DHCP NFS root
# Networking options
options GATEWAY # packet forwarding
options INET # IP + ICMP + TCP + UDP
options INET6 # IPV6
#options IPSEC # IP security
#options IPSEC_ESP # IP security (encryption part; define
w/IPSEC)
#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
#options NS # XNS
#options NSIP # XNS tunneling over IP
#options ISO,TPIP # OSI
#options EON # OSI tunneling over IP
#options CCITT,LLC,HDLC # X.25
options NETATALK # AppleTalk networking protocols
options PPP_BSDCOMP # BSD-Compress compression support for
PPP
options PPP_DEFLATE # Deflate compression support for PPP
options PPP_FILTER # Active filter support for PPP
(requires bpf)
options PFIL_HOOKS # pfil(9) packet filter hooks
options IPFILTER_LOG # ipmon(8) log support
#options IPFILTER_DEFAULT_BLOCK # block all packets by
default
#options TCP_DEBUG # Record last TCP_NDEBUG packets with
SO_DEBUG
#options ALTQ # Manipulate network interfaces' output
queues
#options ALTQ_BLUE # Stochastic Fair Blue
#options ALTQ_CBQ # Class-Based Queueing
#options ALTQ_CDNR # Diffserv Traffic Conditioner
#options ALTQ_FIFOQ # First-In First-Out Queue
#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
#options ALTQ_HFSC # Hierarchical Fair Service Curve
#options ALTQ_LOCALQ # Local queueing discipline
#options ALTQ_PRIQ # Priority Queueing
#options ALTQ_RED # Random Early Detection
#options ALTQ_RIO # RED with IN/OUT
#options ALTQ_WFQ # Weighted Fair Queueing
# These options enable verbose messages for several
subsystems.
# Warning, these may compile large string tables into the
kernel!
options PCIVERBOSE # verbose PCI device autoconfig
messages
options MIIVERBOSE # verbose PHY autoconfig messages
#options PCI_CONFIG_DUMP # verbosely dump PCI config space
options SCSIVERBOSE # human readable SCSI error messages
options USBVERBOSE # verbose USB device autoconfig
messages
# wscons options
#options WSEMUL_SUN # sun terminal emulation
options WSEMUL_VT100 # VT100 / VT220 emulation
options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
options FONT_GALLANT12x22
# Optional Mac keyboard tweaks
# Tweak the keyboard driver to treat the caps lock key on an
ADB
# keyboard as a control key; requires special remapping
because of
# ADB's strange emulation of a mechanically-locked key.
#options CAPS_IS_CONTROL
# On Mac laptops, several function keys double as "hot
keys"
# (brightness, volume, eject) when the Fn modifier is held
down. Mac
# OS X likes to reprogram the keyboard controller to send
hot key
# events when Fn is not held down and send function key
events when it
# is. This option transforms the non-keyboard
"button" events back
# into function key events.
#options FORCE_FUNCTION_KEYS
# Kernel root file system and dump configuration.
config netbsd root on ? type ?
#
# Device configuration
#
mainbus* at root
cpu* at mainbus?
bandit* at mainbus?
grackle* at mainbus?
uninorth* at mainbus?
pci* at bandit? bus ?
pci* at grackle? bus ?
pci* at uninorth? bus ?
pci* at ppb? bus ?
pchb* at pci? dev ? function ? # PCI-Host bridges
ppb* at pci? dev ? function ? # PCI-PCI bridges
# XXX 'puc's aren't really bridges, but there's no better
place for them here
puc* at pci? dev ? function ? # PCI "universal"
comm. cards
lpt* at puc? port ? # || ports on >
"universal" comm boards
# PCI Network devices
#an* at pci? dev ? function ? # Aironet PC4500/PC4800
(802.11)
#atw* at pci? dev ? function ? # ADMtek ADM8211 (802.11)
bge* at pci? dev ? function ? # Broadcom 570x Gigabit
Ethernet
#ep* at pci? dev ? function ? # 3Com 3c59x
epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
#ex* at pci? dev ? function ? # 3Com 90x[BC]
fpa* at pci? dev ? function ? # DEC PCI FDDI (DEFPA)
Controller
#fxp* at pci? dev ? function ? # Intel EtherExpress PRO
10+/100B
gem* at pci? dev ? function ? # gmac ethernet
#gm* at pci? dev ? function ? # gmac ethernet (old)
gsip* at pci? dev ? function ? # NS83820 Gigabit Ethernet
#le* at pci? dev ? function ? # PCnet-PCI Ethernet
#lmc* at pci? dev ? function ? # Lan Media Corp
SSI/HSSI/DS3
mtd* at pci? dev ? function ? # Myson MTD803 3-in-1
Ethernet
#ne* at pci? dev ? function ? # NE2000-compatible Ethernet
#pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet
#re* at pci? dev ? function ? # Realtek
8139C+/8169/8169S/8110S
#rtk* at pci? dev ? function ? # Realtek 8129/8139
#sf* at pci? dev ? function ? # Adaptec AIC-6915 Ethernet
#sip* at pci? dev ? function ? # SiS 900/7016 Ethernet
#ste* at pci? dev ? function ? # Sundance ST-201 Ethernet
#stge* at pci? dev ? function ? # Sundance/Tamarack TC9021
Gigabit
#ti* at pci? dev ? function ? # Alteon ACEnic gigabit
Ethernet
#tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
#tlp* at pci? dev ? function ? # DECchip 21x4x and clones
#vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
#wi* at pci? dev ? function ? # Intersil Prism Mini-PCI
(802.11b)
wm* at pci? dev ? function ? # Intel 82543/82544 gigabit
# PCI SCSI controllers
adv* at pci? dev ? function ? # AdvanSys 1200[A,B],
9xx[U,UA] SCSI
adw* at pci? dev ? function ? # AdvanSys 9x0UW[D],
3940U[2,3]W SCSI
ahc* at pci? dev ? function ? # Adaptec 294x, aic78x0 SCSI
bha* at pci? dev ? function ? # BusLogic 9xx SCSI
esiop* at pci? dev ? function ? # NCR 53c8xx SCSI
(enhanced)
iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
isp* at pci? dev ? function ? # Qlogic ISP 10x0/2xx0
SCSI/Fibre Chan
pcscp* at pci? dev ? function ? # AMD Am53c974 PCscsi-PCI
SCSI
siop* at pci? dev ? function ? # NCR 53c8xx SCSI
trm* at pci? dev ? function ? # Tekram DC-395U/UW/F,
DC-315/U SCSI
# Other PCI devices
ofb* at pci? dev ? function ? # Generic Open Firmware
Framebuffer
# OFB_ENABLE_CACHE speeds up the console on many machines,
but should
# not be enabled on some older machines, such as the rev.
A-D iMacs.
#options OFB_ENABLE_CACHE # Speed up console
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC
pciide driver
acardide* at pci? dev ? function ? # Acard IDE controllers
aceride* at pci? dev ? function ? # Acer Lab IDE
controllers
artsata* at pci? dev ? function ? # Intel i31244 SATA
controller
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
cypide* at pci? dev ? function ? # Cypress IDE controllers
hptide* at pci? dev ? function ? # Triones/HighPoint IDE
controllers
optiide* at pci? dev ? function ? # Opti IDE controllers
pdcide* at pci? dev ? function ? # Promise IDE controllers
pdcsata* at pci? dev ? function ? # Promise SATA150
controllers
satalink* at pci? dev ? function ? # SiI SATALink
controllers
siside* at pci? dev ? function ? # SiS IDE controllers
slide* at pci? dev ? function ? # Symphony Labs IDE
controllers
viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE
controllers
wdc* at pci? dev ? function ? # Kauai ATA
cbb* at pci? dev ? function ? # PCI-CardBus bridge
obio* at pci? dev ? function ?
#macofcons0 at pci? dev ? function ? # OpenFirmware console
(for debugging)
acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874
PHYs
amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs
bmtphy* at mii? phy ? # Broadcom BCM5201/BCM5202 PHYs
brgphy* at mii? phy ? # Broadcom BCM5400 PHYs
dmphy* at mii? phy ? # Davicom DM9101
PHYs
exphy* at mii? phy ? # 3Com internal PHYs
glxtphy* at mii? phy ? # Level One LXT-1000 PHYs
gphyter* at mii? phy ? # NS83861 Gig-E PHY
icsphy* at mii? phy ? # Integrated Circuit Systems
ICS189x
inphy* at mii? phy ? # Intel 82555 PHYs
iophy* at mii? phy ? # Intel 82553 PHYs
lxtphy* at mii? phy ? # Level One LXT-970 PHYs
makphy* at mii? phy ? # Marvell Semiconductor 88E1000
PHYs
nsphy* at mii? phy ? # NS83840 PHYs
nsphyter* at mii? phy ? # NS83843 PHYs
pnaphy* at mii? phy ? # generic HomePNA PHYs
qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
tlphy* at mii? phy ? # ThunderLAN PHYs
tqphy* at mii? phy ? # TDK Semiconductor PHYs
ukphy* at mii? phy ? # generic unknown PHYs
urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
# PCI serial interfaces
#com* at puc? port ? # 16x50s on "universal"
comm boards
#cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial
boards
#cz* at pci? dev ? function ? # Cyclades-Z multi-port serial
boards
bktr* at pci? dev ? function ? # Brooktree
video/audio capture/tuner
radio* at bktr?
bm* at obio? # bmac ethernet
mc* at obio? # MACE ethernet
esp* at obio? flags 0x00ff # 53c9x SCSI
mesh* at obio? flags 0xffff # MESH SCSI
nvram* at obio? # nvram
adb* at obio? # Apple Desktop Bus
apm0 at adb? # APM emulation
aed* at adb? # ADB Event Device
akbd* at adb? # ADB keyboard
ams* at adb? # ADB mouse
abtn* at adb?
zsc* at obio?
zstty* at zsc? channel ?
mediabay* at obio?
wdc* at mediabay? flags 0
# awacs is disabled because on most systems (7300 - 9600
PowerMacs,
# many kinds of G4s), very heavy load can cause the machine
to lock
# up. ONLY enable this if your machine is never under heavy
load, or
# you'd rather have audio than worry about occasional
lockups.
#awacs* at obio? # Apple audio device
#ki2c* at obio? # Keywest I2C
#wi* at obio? # AirMac
#snapper* at obio? # Snapper audio device
cardslot* at cbb?
cardbus* at cardslot?
pcmcia* at cardslot?
#com* at pcmcia? function ? # Modems and serial cards
wdc* at pcmcia? function ? # PCMCIA IDE controllers
ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
mbe* at pcmcia? function ? # MB8696x based Ethernet
ne* at pcmcia? function ? # NE2000-compatible Ethernet
awi* at pcmcia? function ? # BayStack 650/660
(802.11FH/DS)
wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11)
atw* at cardbus? dev ? function ? # ADMtek ADM8211 (802.11)
ex* at cardbus? dev ? function ? # 3Com 3C575TX
tlp* at cardbus? dev ? function ? # DECchip 21143
rtk* at cardbus? dev ? function ? # Realtek 8129/8139
wsdisplay0 at ofb? console ?
wskbd0 at akbd? console ?
wsmouse* at ams?
# Cryptographic Devices
# PCI cryptographic devices
# (disabled, requires opencrypto framework which requires
generic softints
#hifn* at pci? dev ? function ? # Hifn 7755/7811/795x
#ubsec* at pci? dev ? function ? # Broadcom
5501/5601/580x/582x
scsibus* at scsi?
#sd* at scsibus? target ? lun ? # SCSI disks
#st* at scsibus? target ? lun ? # SCSI tape drives
cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
#ch* at scsibus? target ? lun ? # SCSI autochangers
#ss* at scsibus? target ? lun ? # SCSI scanners
#uk* at scsibus? target ? lun ? # SCSI unknown
wdc* at obio? flags 0x1
atabus* at ata?
wd* at atabus? drive ? flags 0x0000
atapibus* at atapi?
cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
# PCI USB controllers
ohci* at pci? dev ? function ? # USB Open Host Controller
ehci* at pci? dev ? function ? # USB Enhanced Host
Controller
ohci* at cardbus? dev ? function ? # USB Open Host
Controller
ehci* at cardbus? dev ? function ? # USB Enhanced Host
Controller
usb* at ohci? # USB bus support
usb* at ehci? # USB bus support
uhub* at usb? # USB Hubs
uhub* at uhub? port ? configuration ? interface ?
uhidev* at uhub? port ? configuration ? interface ? # USB
HID device
ums* at uhidev? reportid ? # USB Mice
wsmouse* at ums?
ukbd* at uhidev? reportid ? # USB Keyboards
wskbd* at ukbd? console ?
uhid* at uhidev? reportid ? # USB Generic HID
ulpt* at uhub? port ? configuration ? interface ? # USB
Printer
umodem* at uhub? port ? configuration ? # USB Modem
ucom* at umodem?
umass* at uhub? port ? configuration ? interface ? # USB
Mass Storage
atapibus* at umass?
scsibus* at umass? channel ?
uaudio* at uhub? port ? configuration ? # USB audio
# D-Link DSB-R100 USB FM radio tuner
#udsbr* at uhub? port ?
#radio* at udsbr?
# USB Ethernet adapters
#aue* at uhub? port ? # ADMtek AN986 Pegasus based
adapters
#axe* at uhub? port ? # ASIX AX88172 based adapters
#cue* at uhub? port ? # CATC USB-EL1201A based adapters
#kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based
adapters
#url* at uhub? port ? # Realtek RTL8150L based adapters
#udav* at uhub? port ? # Davicom DM9601 based adapters
#ukyopon* at uhub? port ? # Kyocera AIR-EDGE PHONE
#ucom* at ukyopon? portno ?
uscanner* at uhub? port ? # USB scanners
uyap* at uhub? port ? # Y P firmware loader
ugen* at uhub? port ? configuration ? interface ? # USB
Generic driver
# PCI IEEE1394 controllers
fwohci* at pci? dev ? function ? # IEEE1394 Open Host
Controller
#fwlynx* at pci? dev ? function ? # IEEE1394 TI Lynx
Controller
#fw* at fwbus? # IP over 1394
# IEEE1394 nodes
fwnode* at fwbus? idhi ? idlo ?
sbpscsi* at fwnode?
scsibus* at sbpscsi?
# Audio Devices
# PCI audio devices
#clcs* at pci? dev ? function ? # Cirrus Logic CS4280
#cmpci* at pci? dev ? function ? # C-Media CMI8338/8738
eap* at pci? dev ? function ? # Ensoniq AudioPCI
#eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive
#fms* at pci? dev ? function ? # Forte Media FM801
#sv* at pci? dev ? function ? # S3 SonicVibes
# OPL[23] FM synthesizers
#opl* at cmpci? flags 1
#opl* at eso?
#opl* at fms?
# Audio support
#audio* at awacs?
#audio* at clcs?
#audio* at cmpci?
audio* at eap?
#audio* at eso?
#audio* at fms?
#audio* at snapper?
#audio* at sv?
audio* at uaudio?
# MPU 401 UARTs
#mpu* at cmpci?
#mpu* at eso?
#mpu* at fms?
# MIDI support
#midi* at eap? # 137[01] MIDI port
#midi* at mpu? # MPU 401
#pseudo-device crypto # opencrypto framework
# (disabled, requires generic softints)
pseudo-device vnd 4 # disk-like interface to files
#options VND_COMPRESSION # compressed vnd(4)
pseudo-device ccd 4 # concatenated/striped disk devices
#pseudo-device cgd 4 # cryptographic disk devices
pseudo-device raid 8 # RAIDframe disk driver
options RAID_AUTOCONFIG # auto-configuration of RAID
components
# Options to enable various other RAIDframe RAID types.
# options RF_INCLUDE_EVENODD=1
# options RF_INCLUDE_RAID5_RS=1
# options RF_INCLUDE_PARITYLOGGING=1
# options RF_INCLUDE_CHAINDECLUSTER=1
# options RF_INCLUDE_INTERDECLUSTER=1
# options RF_INCLUDE_PARITY_DECLUSTERING=1
# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
pseudo-device fss 4 # file system snapshot device
pseudo-device md 1 # memory disk device
pseudo-device loop # network loopback
pseudo-device bpfilter 8 # packet filter
pseudo-device ipfilter # IP filter (firewall) and NAT
pseudo-device ppp 2 # Point-to-Point Protocol
pseudo-device pppoe # PPP over Ethernet (RFC 2516)
pseudo-device sl 2 # Serial Line IP
pseudo-device tun 4 # network tunneling over tty
pseudo-device tap # virtual Ethernet
#pseudo-device gre 2 # generic L3 over IP tunnel
pseudo-device gif 4 # IPv[46] over IPv[46] tunnel
(RFC1933)
#pseudo-device faith 1 # IPv[46] tcp relay translation i/f
#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
pseudo-device vlan # IEEE 802.1q encapsulation
pseudo-device bridge # simple inter-network bridging
#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
pseudo-device pty # pseudo-terminals
pseudo-device rnd # /dev/random and in-kernel generator
pseudo-device openfirm # /dev/openfirm
pseudo-device wsmux # mouse and keyboard multiplexor
pseudo-device clockctl # user control of clock subsystem
pseudo-device ksyms # /dev/ksyms
pseudo-device nsmb # SMB requester
#pseudo-device pf # PF packet filter
#pseudo-device pflog # PF log if
---[end myGeneric]--
|
|
| Re: "xf86MapVidMem: could not mmap
to screen" problem |

|
2007-08-25 09:04:56 |
One more thing I forgot to mention -- though I think my
wscons.conf
and ttys.conf files are set up correctly, I'm unable to get
any
virtual terminals. Anyway, just in case this could be
related...
Best,
Perry
On 8/25/07, Perry Trolard <perry.trolard gmail.com> wrote:
> Hi,
>
> On 8/25/07, Michael Lorenz <macallan netbsd.org> wrote:
> > And you're absolutely sure that your kernel is
built with options
> > OFB_FAKE_VGA_FB ?
>
> Yes, but just to be sure there's nothing weird that I'm
missing I'm
> including my kernel config files below.
>
> Otherwise then, moving to, say, 4.0 would be a
solution?
>
> Thanks,
> Perry
>
>
|
|
| Re: "xf86MapVidMem: could not mmap
to screen" problem |
  United States |
2007-08-25 14:18:17 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
On Aug 25, 2007, at 09:54, Perry Trolard wrote:
> Hi,
>
> On 8/25/07, Michael Lorenz <macallan netbsd.org> wrote:
>> And you're absolutely sure that your kernel is
built with options
>> OFB_FAKE_VGA_FB ?
>
> Yes, but just to be sure there's nothing weird that I'm
missing I'm
> including my kernel config files below.
>
> Otherwise then, moving to, say, 4.0 would be a
solution?
Yes.
> options MULTIPROCESSOR
That will only slow your kernel down if you don't have more
than one
CPU.
> # fast text console
> options OFB_ENABLE_CACHE
>
> # XFree86 option to get around "can't mmap screen
..." memory error
> options OFB_FAKE_VGA_FB
Hmm, I had a look at the source - the hack is not in 3.1
Since 4.x is still beta, here's what you'd need to change:
First, find ofb_mmap()
In there, between this block:
pa = offset;
for (i = 0; i < 6; i++) {
switch (ap[0] & OFW_PCI_PHYS_HI_SPACEMASK) {
case OFW_PCI_PHYS_HI_SPACE_MEM32:
if (pa >= ap[2] && pa < ap[2] + ap[4])
return pa;
/* XXX I/O space? */
}
ap += 5;
}
and the return -1 statement insert this:
#ifdef OFB_FAKE_VGA_FB
if (offset >=0xa0000 && offset < 0xbffff)
return dc->dc_paddr + offset - 0xa0000;
#endif
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iQEVAwUBRtCAecpnzkX8Yg2nAQJ2vQgAummKxbk+hFzsuyGuGwqklE13VkrZ
HCEg
hqD5HX7Gki7U/eGHW10fChYMYJka1OYasICmeD5/In7dYp8E2lCMDdA6xlqd
pD21
EX2J6XgNr0pMy/RDHzhZvMavL4RIK+FJkXF5hMeWgIV8H3dHMer4Wpcc0aNH
wDlx
beZy3Yx14hfoj54z9OfpOUQjyTVOfgT07rtIGGjNiCSVQqHl8Fk3NXRTnh8S
8s6f
jIcy8AUb7xeZ9ujKhm1Qm5Skb0XQRcHFayZbc80fORBlQuY8Mux7Pdt14Wpy
Zh+g
u4P5czW513/jEmxc5QXdskRgNFDmPZMEPCKYu6VaL+Mooxx+dnz1Gw==
=kFow
-----END PGP SIGNATURE-----
|
|
| Re: "xf86MapVidMem: could not mmap
to screen" problem |

|
2007-08-25 15:36:23 |
Get out of town: X is running on my machine!
Thanks so much for all your help, Michael.
Perry
p.s. A note to future readers of the archive in HTML: for
Michael's
code in the previous message, make sure you're viewing the
source (the
browser will trip up on the raw less-thans...).
On 8/25/07, Michael Lorenz <macallan netbsd.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>
> On Aug 25, 2007, at 09:54, Perry Trolard wrote:
>
> > Hi,
> >
> > On 8/25/07, Michael Lorenz <macallan netbsd.org> wrote:
> >> And you're absolutely sure that your kernel is
built with options
> >> OFB_FAKE_VGA_FB ?
> >
> > Yes, but just to be sure there's nothing weird
that I'm missing I'm
> > including my kernel config files below.
> >
> > Otherwise then, moving to, say, 4.0 would be a
solution?
>
> Yes.
>
> > options MULTIPROCESSOR
>
> That will only slow your kernel down if you don't have
more than one
> CPU.
>
> > # fast text console
> > options OFB_ENABLE_CACHE
> >
> > # XFree86 option to get around "can't mmap
screen ..." memory error
> > options OFB_FAKE_VGA_FB
>
> Hmm, I had a look at the source - the hack is not in
3.1
> Since 4.x is still beta, here's what you'd need to
change:
>
> First, find ofb_mmap()
> In there, between this block:
> pa = offset;
> for (i = 0; i < 6; i++) {
> switch (ap[0] &
OFW_PCI_PHYS_HI_SPACEMASK) {
> case OFW_PCI_PHYS_HI_SPACE_MEM32:
> if (pa >= ap[2] &&
pa < ap[2] + ap[4])
> return pa;
> /* XXX I/O space? */
> }
> ap += 5;
> }
>
> and the return -1 statement insert this:
>
> #ifdef OFB_FAKE_VGA_FB
> if (offset >=0xa0000 && offset <
0xbffff)
> return dc->dc_paddr + offset -
0xa0000;
> #endif
>
> have fun
> Michael
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (Darwin)
>
>
iQEVAwUBRtCAecpnzkX8Yg2nAQJ2vQgAummKxbk+hFzsuyGuGwqklE13VkrZ
HCEg
>
hqD5HX7Gki7U/eGHW10fChYMYJka1OYasICmeD5/In7dYp8E2lCMDdA6xlqd
pD21
>
EX2J6XgNr0pMy/RDHzhZvMavL4RIK+FJkXF5hMeWgIV8H3dHMer4Wpcc0aNH
wDlx
>
beZy3Yx14hfoj54z9OfpOUQjyTVOfgT07rtIGGjNiCSVQqHl8Fk3NXRTnh8S
8s6f
>
jIcy8AUb7xeZ9ujKhm1Qm5Skb0XQRcHFayZbc80fORBlQuY8Mux7Pdt14Wpy
Zh+g
>
u4P5czW513/jEmxc5QXdskRgNFDmPZMEPCKYu6VaL+Mooxx+dnz1Gw==
> =kFow
> -----END PGP SIGNATURE-----
>
>
|
|
[1-10]
|
|