Subject: Re: -current panics
To: Krister Walfridsson <cato@df.lth.se>
From: MLH <mlh@goathill.org>
List: port-macppc
Date: 04/20/2004 17:46:13
> 
> On Thu, 15 Apr 2004, MLH wrote:
> 
> > It also has the mmap screen problem with X that others have mentioned :
> >
> > (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.4.0, module version = 1.1.0
> >         ABI class: XFree86 Video Driver, version 0.7
> > (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.4.0, module version = 1.0.0
> >         ABI class: XFree86 Video Driver, version 0.7
> > (II) R128(0): initializing int10
> >
> > Fatal server error:
> > xf86MapVidMem: could not mmap screen [s=20000,a=a0000] (Invalid argument)
> 
> The patch in PR 25036 should fix this.

Apparently not, if I'm building it correctly. The patch you mentioned
was committed to cvs a couple of days or so ago, but it doesn't
appear to fix this problem. I'm cross-building from an i386 host
(building all of the macppc sets) and MACHINE_ARCH should be set
to "macppc".  Everything else appears to be working (except for
the regular panics).

XFree86 Version 4.4.0
Release Date: 29 February 2004
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System:NetBSD/macppc 2.0C - The NetBSD Foundation, Inc.
Current Operating System: NetBSD flavor.sfbr.org 2.0C NetBSD 2.0C (GENERIC.MP)
#0: Mon Apr 19 19:55:11 CDT 2004
build@enki.goathill.org:/opt/obj/macppc/opt/src/sys/arch/macppc/compile/GENERIC.MP
macppc
Build Date: 20 April 2004
...
(--) 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.4.0, module version = 1.1.0
        ABI class: XFree86 Video Driver, version 0.7
(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.4.0, module version = 1.0.0
        ABI class: XFree86 Video Driver, version 0.7
(II) R128(0): initializing int10

Fatal server error:
xf86MapVidMem: could not mmap screen [s=20000,a=a0000] (Invalid argument)