Subject: Re: Cross compiling src/x11 i386 -> macppc: XFree86 fails!
To: None <kilbi@rad.rwth-aachen.de>
From: Niels S.Eliasen <nse@ruc.dk>
List: tech-x11
Date: 01/22/2004 09:58:43
Interesting!!!!! very!
I get exactly the same errormessage on my Powerbook 3500 ...when using=20=

the precompiled versions of X11...
Is there an issue here wtih differences from "powerpc" to "macppc" ???

Den 21/1-2004, kl. 20.58, skrev Markus W Kilbinger:

> Hi!
>
> I successfully cross compiled a complete distrib (incl. x11 stuff,
> MKX11=3Dyes) on i386 for macppc. But: The XFree86 fails on my =
powerbook
> g4 (500 mhz, titanium)!
>
> Compiling xsrc direct/natively on macppc (make build) yields a working
> XFree86.
>
> Major diffs between generated XFree86.log's are:
>
>   --- XFree86-i386-macppc.0.log   2004-01-11 14:01:38.000000000 +0100
>   +++ XFree86-macppc-macppc.0.log 2004-01-21 20:07:57.000000000 +0100
>   @@ -8,15 +8,15 @@
>    XFree86 Version 4.3.0.1
>    Release Date: 15 August 2003
>    X Protocol Version 11, Revision 0, Release 6.6
>   -Build Operating System:NetBSD/powerpc The NetBSD Foundation, Inc.
>   -Build Date: 11 January 2004
>   +Build Operating System: NetBSD/macppc 1.6ZH [ELF] The NetBSD=20
> Foundation, Inc.
>   +Build Date: 21 January 2004
>   	  Before reporting problems, check http://www.XFree86.Org/
>   [...]
>    (II) LoadModule: "vgahw"
>    (II) Loading /usr/X11R6/lib/modules/libvgahw.a
>    (II) Module vgahw: vendor=3D"The XFree86 Project"
>   -       compiled for 4.3.0.1, module version =3D 0.1.0
>   +       compiled for 4.3.0, module version =3D 0.1.0
>   	  ABI class: XFree86 Video Driver, version 0.6
>    (II) R128(0): PCI bus 0 card 16 func 0
>    (**) R128(0): Depth 24, (--) framebuffer bpp 32
>   @@ -294,16 +295,225 @@
>    (II) LoadModule: "int10"
>    (II) Loading /usr/X11R6/lib/modules/libint10.a
>    (II) Module int10: vendor=3D"The XFree86 Project"
>   -       compiled for 4.3.0.1, module version =3D 1.0.0
>   +       compiled for 4.3.0, module version =3D 1.0.0
>   	  ABI class: XFree86 Video Driver, version 0.6
>    (II) R128(0): initializing int10
>   -
>   -Fatal server error:
>   -xf86MapVidMem: could not mmap screen [s=3D40000,a=3Dc0000] (Invalid=20=

> 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.
>   -
>   +(II) R128(0): No legacy BIOS found -- trying PCI
>   +(EE) R128(0): Cannot read V_BIOS (5)
>   +(--) R128(0): Chipset: "ATI Rage 128 Mobility M3 LF (AGP)" (ChipID=20=

> =3D 0x4c46)
>   +(--) R128(0): Linear framebuffer at 0xb4000000
>   +(--) R128(0): MMIO registers at 0xb0000000
>   +(--) R128(0): BIOS at 0xb0020000
>   +(--) R128(0): VideoRAM: 8192 kByte (128-bit SDR SGRAM 1:1)
>   +(**) R128(0): Using flat panel for display
>   +(**) R128(0): Flat panel width: 1152
>   +(**) R128(0): Flat panel height: 768
>   +(WW) R128(0): Video BIOS not detected in PCI space!
>   +(WW) R128(0): Attempting to read Video BIOS from legacy ISA space!
>   +(WW) R128(0): Video BIOS not found!
>   +(II) R128(0): PLL parameters: rf=3D2950 rd=3D59 min=3D12500 =
max=3D25000;=20
> xclk=3D10500
>
> Is this due to 'powerpc' instead of 'macppc' interpretation during
> cross compilation!?
>
> Markus.
>
>
mvh/kind regards
Niels S. Eliasen
H=F8rhavevej 1
DK-4250, Fuglebjerg
Tel/Cell: +45 46 32 85 27 +45 21 77 95 90
mailto:Niels.Eliasen@delfi-konsult.com