Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: X server support?



Hi! Michael,


From: Michael Lorenz <macallan%netbsd.org@localhost>
Date: Thu, 11 Sep 2008 00:42:11 -0400

> Then X tries to mmap the card's framebuffer aperture, apparently  
> believing it's at 0xfc000000 but I see no such range reported in the  
> PCI scan. Could you please post the card's pcictl dump output?
> I suspect that the card either doesn't have a BAR for its aperture or  
> the driver doesn't look at it and tries to get the aperture address  
> from the graphics chip's IO registers which returns bogus since we  
> failed to map IO space.
> If the card doesn't use a BAR for its aperture we have a problem  
> since drivers like genfb will only let you mmap ranges that are  
> either known to belong to the graphics chip or PCI IO.

I builded xserver for bebox on last weekend.  It was not able to load
pcidata correctly though it made *_ drv.o for X.


Can this problem be solved?  Should I overwrite the module of ofppc or
macppc again?

And, I appended the log of pcictl dump.

Thanks,
--
kiyohara

XFree86 Version 4.5.0
Release Date: 16 March 2005
X Protocol Version 11, Revision 0
Build Operating System:NetBSD/bebox 4.99.72 - The NetBSD Foundation, Inc.
Current Operating System: NetBSD tower.fool 4.99.72 NetBSD 4.99.72 (TOWER) #0: 
Wed Sep 17 02:21:09 JST 2008  
lance%highpriestess.fool@localhost:/usr/src/sys/arch/bebox/compile/TOWER bebox
Build Date: 14 September 2008
        Before reporting problems, check http://www.XFree86.Org/
        to make sure that you have the latest version.
Module Loader present
Command line: X :0
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: Tue Sep 16 17:53:43 2008
(==) Using config file: "/usr/X11R6/lib/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 "Card0"
(**) |  |-->Monitor "Monitor0" (0)
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(**) FontPath set to 
"/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/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 I am at 0x186fad8
(EE) LoadModule: Module pcidata does not have a pcidataModuleData data object.
(II) UnloadModule: "pcidata"
(II) Unloading /usr/X11R6/lib/modules/libpcidata.a
(EE) Failed to load module "pcidata" (invalid module, 0)

Fatal server error:
Unable to load required probe modules, Exiting...


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.@localhost

PCI configuration registers:
  Common header:
    0x00: 0x88115333 0x02000003 0x03000044 0x00000000

    Vendor Name: S3 (0x5333)
    Device Name: Trio32/64 (0x8811)
    Command register: 0x0003
      I/O space accesses: on
      Memory space accesses: on
      Bus mastering: off
      Special cycles: off
      MWI transactions: off
      Palette snooping: off
      Parity error checking: off
      Address/data stepping: off
      System error (SERR): off
      Fast back-to-back transactions: off
      Interrupt disable: off
    Status register: 0x0200
      Capability List support: off
      66 MHz capable: off
      User Definable Features (UDF) support: off
      Fast back-to-back capable: off
      Data parity error detected: off
      DEVSEL timing: medium (0x1)
      Slave signaled Target Abort: off
      Master received Target Abort: off
      Master received Master Abort: off
      Asserted System Error (SERR): off
      Parity error detected: off
    Class Name: display (0x03)
    Subclass Name: VGA (0x00)
    Interface: 0x00
    Revision ID: 0x44
    BIST: 0x00
    Header Type: 0x00 (0x00)
    Latency Timer: 0x00
    Cache Line Size: 0x00

  Type 0 ("normal" device) header:
    0x10: 0x00000000 0x00000000 0x00000000 0x00000000
    0x20: 0x00000000 0x00000000 0x00000000 0x00000000
    0x30: 0x04100000 0x00000000 0x00000000 0x0000011c

    Base address register at 0x10
      not implemented(?)
    Base address register at 0x14
      not implemented(?)
    Base address register at 0x18
      not implemented(?)
    Base address register at 0x1c
      not implemented(?)
    Base address register at 0x20
      not implemented(?)
    Base address register at 0x24
      not implemented(?)
    Cardbus CIS Pointer: 0x00000000
    Subsystem vendor ID: 0x0000
    Subsystem ID: 0x0000
    Expansion ROM Base Address: 0x04100000
    Reserved @ 0x34: 0x00000000
    Reserved @ 0x38: 0x00000000
    Maximum Latency: 0x00
    Minimum Grant: 0x00
    Interrupt pin: 0x01 (pin A)
    Interrupt line: 0x1c

  Device-dependent header:
    0x40: 0x00000000 0x00000000 0x00000000 0x00000000
    0x50: 0x00000000 0x00000000 0x00000000 0x00000000
    0x60: 0x00000000 0x00000000 0x00000000 0x00000000
    0x70: 0x00000000 0x00000000 0x00000000 0x00000000
    0x80: 0x00000000 0x00000000 0x00000000 0x00000000
    0x90: 0x00000000 0x00000000 0x00000000 0x00000000
    0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xf0: 0x00000000 0x00000000 0x00000000 0x00000000



Home | Main Index | Thread Index | Old Index