Subject: tibook gigabit and XFree86?
To: None <port-macppc@netbsd.org>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: port-macppc
Date: 07/11/2002 23:52:55
Hi,

has anyone been successful with running X11 on a tibook 550 (gigabit)?

I've been toying around for a while with an /etc/XFree86 configuration
modified from an example I found in the list archive, and finally
tried 'X -configure' - both with the same result.

----------------------------------------------------------------------

[hauke@blech] /<1%X11R6/bin # ./XFree86 -configure

XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 January 2002
        If the server is older than 6-12 months, or if your card is
        newer than the above date, look for a newer version before
        reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: NetBSD/macppc 1.5ZA [ELF] The NetBSD Foundation, Inc.
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Thu Jul 11 21:36:51 2002
xf86OpenConsole
List of video drivers:
        ati
        mga
        glint
        s3
        s3virge
        sis
        savage
        trident
        chips
        tdfx
        fbdev
        vga
        ati
(++) Using config file: "/root/XF86Config.new"
mapVidMem a0000, 20000, fd = 4
(EE) RADEON(0): Cannot read V_BIOS (5)


XFree86 detected your mouse at device /dev/wsmouse0.
Please check your config if the mouse is still not
operational, as by default XFree86 tries to autodetect
the protocol.

Your XF86Config file is /root/XF86Config.new

To test the server, run 'XFree86 -xf86config /root/XF86Config.new'

[hauke@blech] /<1%X11R6/bin # XFree86 -xf86config /root/XF86Config.new

XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 January 2002
        If the server is older than 6-12 months, or if your card is
        newer than the above date, look for a newer version before
        reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: NetBSD/macppc 1.5ZA [ELF] The NetBSD Foundation, Inc.
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Thu Jul 11 21:37:49 2002
(++) Using config file: "/root/XF86Config.new"
xf86OpenConsole
mapVidMem b0000000, 80000, fd = 4

Fatal server error:
xf86MapVidMem: could not mmap screen [s=80000,a=b0000000] (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.

[hauke@blech] /<1%X11R6/bin # 

----------------------------------------------------------------------

The 'Device' section of '/root/XF86Config.new' is...

----------------------------------------------------------------------

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "Dac6Bit"                   # [<bool>]
        #Option     "Dac8Bit"                   # [<bool>]
        #Option     "CrtScreen"                 # [<bool>]
        #Option     "PanelSize"                 # [<str>]
        #Option     "UseFBDev"                  # [<bool>]
        Identifier  "Card0"
        Driver      "ati"
        VendorName  "ATI"
        BoardName   "Radeon Mobility M6 LY"
        BusID       "PCI:0:16:0"
EndSection

----------------------------------------------------------------------

...and the relevant part of '/var/log/XFree86.0.log' (long) is:

----------------------------------------------------------------------

(--) Using wscons driver
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:0b:0: chip 106b,002d card 0000,0000 rev 00 class 06,00,00 hdr 00
(II) PCI: 00:10:0: chip 1002,4c59 card 1002,4c59 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), (-1,0,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus 0 I/O range:
        [0] -1  0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
        [0] -1  0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
        [0] -1  0x00000000 - 0xffffffff (0x0) MX[B]
(--) PCI:*(0:16:0) ATI Radeon Mobility M6 LY rev 0, Mem @ 0xb8000000/27, 0xb0000
000/16, I/O @ 0x0400/8, BIOS @ 0xb0020000/17
(II) Addressable bus resource ranges are
        [0] -1  0x00000000 - 0xffffffff (0x0) MX[B]
        [1] -1  0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
        [0] -1  0xffffffff - 0xffffffff (0x1) MX[B]
        [1] -1  0x00000000 - 0x00000000 (0x1) MX[B]
        [2] -1  0x0000ffff - 0x0000ffff (0x1) IX[B]
        [3] -1  0x00000000 - 0x00000000 (0x1) IX[B]
(II) Active PCI resource ranges:
        [0] -1  0xb0020000 - 0xb003ffff (0x20000) MX[B](B)
        [1] -1  0xb0000000 - 0xb000ffff (0x10000) MX[B](B)
        [2] -1  0xb8000000 - 0xbfffffff (0x8000000) MX[B](B)
        [3] -1  0x00000400 - 0x000004ff (0x100) IX[B](B)
(II) Active PCI resource ranges after removing overlaps:
        [0] -1  0xb0020000 - 0xb003ffff (0x20000) MX[B](B)
        [1] -1  0xb0000000 - 0xb000ffff (0x10000) MX[B](B)
        [2] -1  0xb8000000 - 0xbfffffff (0x8000000) MX[B](B)
        [3] -1  0x00000400 - 0x000004ff (0x100) IX[B](B)
(II) OS-reported resource ranges after removing overlaps with PCI:
        [0] -1  0xffffffff - 0xffffffff (0x1) MX[B]
        [1] -1  0x00000000 - 0x00000000 (0x1) MX[B]
        [2] -1  0x0000ffff - 0x0000ffff (0x1) IX[B]
        [3] -1  0x00000000 - 0x00000000 (0x1) IX[B]
(II) All system resource ranges:
        [0] -1  0xffffffff - 0xffffffff (0x1) MX[B]
        [1] -1  0x00000000 - 0x00000000 (0x1) MX[B]
        [2] -1  0xb0020000 - 0xb003ffff (0x20000) MX[B](B)
        [3] -1  0xb0000000 - 0xb000ffff (0x10000) MX[B](B)
        [4] -1  0xb8000000 - 0xbfffffff (0x8000000) MX[B](B)
        [5] -1  0x0000ffff - 0x0000ffff (0x1) IX[B]
        [6] -1  0x00000000 - 0x00000000 (0x1) IX[B]
        [7] -1  0x00000400 - 0x000004ff (0x100) IX[B](B)
(II) ATI: ATI driver (version 6.4.8) for chipsets: ati
(II) R128: Driver for ATI Rage 128 chipsets: ATI Rage 128 RE (PCI),
        ATI Rage 128 RF (AGP), ATI Rage 128 RG (AGP), ATI Rage 128 RK (PCI),
        ATI Rage 128 RL (AGP), ATI Rage 128 SM (AGP),
        ATI Rage 128 Pro PD (PCI), ATI Rage 128 Pro PF (AGP),
        ATI Rage 128 Pro PP (PCI), ATI Rage 128 Pro PR (PCI),
        ATI Rage 128 Pro ULTRA TF (AGP), ATI Rage 128 Pro ULTRA TL (AGP),
        ATI Rage 128 Pro ULTRA TR (AGP), ATI Rage 128 Mobility LE (PCI),
        ATI Rage 128 Mobility LF (AGP), ATI Rage 128 Mobility MF (AGP),
        ATI Rage 128 Mobility ML (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 QY (AGP), ATI Radeon VE QZ (AGP),
        ATI Radeon Mobility LW (AGP), ATI Radeon Mobility LY (AGP),
        ATI Radeon Mobility LZ (AGP), ATI Radeon 8500 QL (AGP),
        ATI Radeon 8500 QN (AGP), ATI Radeon 8500 QO (AGP),
        ATI Radeon 8500 Ql (AGP), ATI Radeon 8500 BB (AGP),
        ATI Radeon 7500 QW (AGP)
(II) MGA: driver for Matrox chipsets: mga2064w, mga1064sg, mga2164w,
        mga2164w AGP, mgag100, mgag100 PCI, mgag200, mgag200 PCI, mgag400,
        mgag550
(II) GLINT: driver for 3Dlabs chipsets: gamma, gamma2, ti_pm2, ti_pm, r4,
        pm4, pm3, pm2v, pm2, pm, 300sx, 500tx, mx, delta
(II) S3: driver (version 0.3.5 for S3 chipset: 964-0, 964-1, 968,
        Trio32/64, Aurora64V+
(II) S3VIRGE: driver (version 1.8.3) for S3 ViRGE chipsets: virge, 86C325,
        virge vx, 86C988, virge dx, virge gx, 86C375, 86C385, virge gx2,
        86C357, virge mx, 86C260, virge mx+, 86C280, trio 3d, 86C365,
        trio 3d/2x, 86C362, 86C368
(II) SIS: driver for SiS chipsets: SIS5597, SIS530, SIS6326, SIS300,
        SIS630, SIS540
(II) SAVAGE: driver (version 1.1.20) for S3 Savage chipsets: Savage4,
        Savage3D, Savage3D-MV, Savage2000, Savage/MX-MV, Savage/MX,
        Savage/IX-MV, Savage/IX, ProSavage PM133, ProSavage KM133,
        ProSavage PN133, ProSavage KN133, SuperSavage/MX 128,
        SuperSavage/MX 64, SuperSavage/MX 64C, SuperSavage/IX 128,
        SuperSavage/IX 128, SuperSavage/IX 64, SuperSavage/IX 64,
        SuperSavage/IXC 64, SuperSavage/IXC 64
(II) TRIDENT: driver for Trident chipsets: tvga9000, tvga9000i, tvga8900c,
        tvga8900d, tvga9200cxr, tgui9400cxi, cyber9320, cyber9388, cyber9397,
        cyber9397dvd, cyber9520, cyber9525dvd, cyberblade/e4, tgui9420dgi,
        tgui9440agi, tgui9660, tgui9680, providia9682, providia9685,
        cyber9382, cyber9385, 3dimage975, 3dimage985, blade3d, cyberbladei7,
        cyberbladei7d, cyberbladei1, cyberbladei1d, cyberbladeAi1,
        cyberbladeAi1d, cyberbladeXPm/8, cyberbladeXPm/16, cyberbladeXPAi1
(II) CHIPS: Driver for Chips and Technologies chipsets: ct65520, ct65525,
        ct65530, ct65535, ct65540, ct65545, ct65546, ct65548, ct65550,
        ct65554, ct65555, ct68554, ct69000, ct69030, ct64200, ct64300
(II) TDFX: Driver for 3dfx Banshee/Voodoo3 chipsets: 3dfx Banshee,
        3dfx Voodoo3, 3dfx Voodoo5
(II) FBDEV: driver for framebuffer: fbdev, afb
(II) VGA: Generic VGA driver (version 4.0) for chipsets: generic
(II) ATI: ATI driver (version 6.4.8) for chipsets: ati
(II) R128: Driver for ATI Rage 128 chipsets: ATI Rage 128 RE (PCI),
        ATI Rage 128 RF (AGP), ATI Rage 128 RG (AGP), ATI Rage 128 RK (PCI),
        ATI Rage 128 RL (AGP), ATI Rage 128 SM (AGP),
        ATI Rage 128 Pro PD (PCI), ATI Rage 128 Pro PF (AGP),
        ATI Rage 128 Pro PP (PCI), ATI Rage 128 Pro PR (PCI),
        ATI Rage 128 Pro ULTRA TF (AGP), ATI Rage 128 Pro ULTRA TL (AGP),
        ATI Rage 128 Pro ULTRA TR (AGP), ATI Rage 128 Mobility LE (PCI),
        ATI Rage 128 Mobility LF (AGP), ATI Rage 128 Mobility MF (AGP),
        ATI Rage 128 Mobility ML (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 QY (AGP), ATI Radeon VE QZ (AGP),
        ATI Radeon Mobility LW (AGP), ATI Radeon Mobility LY (AGP),
        ATI Radeon Mobility LZ (AGP), ATI Radeon 8500 QL (AGP),
        ATI Radeon 8500 QN (AGP), ATI Radeon 8500 QO (AGP),
        ATI Radeon 8500 Ql (AGP), ATI Radeon 8500 BB (AGP),
        ATI Radeon 7500 QW (AGP)
(II) Primary Device is: PCI 00:10:0
(II) ATI:  Candidate "Device" section "Card0".
(--) Chipset ATI Radeon Mobility LY (AGP) found
(II) resource ranges after xf86ClaimFixedResources() call:
        [0] -1  0xffffffff - 0xffffffff (0x1) MX[B]
        [1] -1  0x00000000 - 0x00000000 (0x1) MX[B]
        [2] -1  0xb0020000 - 0xb003ffff (0x20000) MX[B](B)
        [3] -1  0xb0000000 - 0xb000ffff (0x10000) MX[B](B)
        [4] -1  0xb8000000 - 0xbfffffff (0x8000000) MX[B](B)
        [5] -1  0x0000ffff - 0x0000ffff (0x1) IX[B]
        [6] -1  0x00000000 - 0x00000000 (0x1) IX[B]
        [7] -1  0x00000400 - 0x000004ff (0x100) IX[B](B)
(II) resource ranges after probing:
        [0] -1  0xffffffff - 0xffffffff (0x1) MX[B]
        [1] -1  0x00000000 - 0x00000000 (0x1) MX[B]
        [2] -1  0xb0020000 - 0xb003ffff (0x20000) MX[B](B)
        [3] -1  0xb0000000 - 0xb000ffff (0x10000) MX[B](B)
        [4] -1  0xb8000000 - 0xbfffffff (0x8000000) MX[B](B)
        [5] 0   0x000a0000 - 0x000affff (0x10000) MS[B]
        [6] 0   0x000b0000 - 0x000b7fff (0x8000) MS[B]
        [7] 0   0x000b8000 - 0x000bffff (0x8000) MS[B]
        [8] -1  0x0000ffff - 0x0000ffff (0x1) IX[B]
        [9] -1  0x00000000 - 0x00000000 (0x1) IX[B]
        [10] -1 0x00000400 - 0x000004ff (0x100) IX[B](B)
        [11] 0  0x000003b0 - 0x000003bb (0xc) IS[B]
        [12] 0  0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(II) RADEON(0): vgaHWGetIOBase: hwp->IOBase is 0x03b0, hwp->PIOOffset is 0x0000
(II) RADEON(0): PCI bus 0 card 16 func 0
(==) RADEON(0): Depth 8, (==) framebuffer bpp 8
(II) RADEON(0): Pixel depth = 8 bits stored in 1 byte (8 bpp pixmaps)
(==) RADEON(0): Default visual is PseudoColor
(II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
(--) RADEON(0): Chipset: "ATI Radeon Mobility LY (AGP)" (ChipID = 0x4c59)
(--) RADEON(0): Linear framebuffer at 0xb8000000
(--) RADEON(0): MMIO registers at 0xb0000000
(--) RADEON(0): BIOS at 0xb0020000

Fatal server error:
xf86MapVidMem: could not mmap screen [s=80000,a=b0000000] (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.

----------------------------------------------------------------------

-- any ideas?

        hauke