Subject: Re: Anyone compiling X on NetBSD-current ?
To: None <current-users@netbsd.org>
From: Wolfgang Rupprecht <wolfgang+gnus20020417T110116@wsrcc.com>
List: current-users
Date: 04/17/2002 11:08:43
jmmv@hispabsd.org (Julio Merino) writes:
> Though I rebuilt from a fresh xsrc (some weeks ago) and it works
> perfectly now :) So I would recommend that you try it... (take a backup
> of your current /usr/X11R6...)

I just built it and can report that it doesn't work for me.  The X
server loops wildly in it's configuration routines, chewing
up 100% of the CPU.

The same hang after I run "X -configure" to make a new X config file.
The new config file causes X to loop also.

Sigh.

    ================
    XFree86 loops using 100% of the CPU during initialization.

    (same symptoms both with and without agp compiled into a -current
     kernel.  System Asus A7V w. Matrox Millenium II AGP card.)

    ================

    XFree86 Version 4.2.0 / X Window System
    (protocol Version 11, revision 0, vendor release 6600)
    Release Date: 23 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/i386 1.5ZC [ELF] The NetBSD Foundation, Inc.
    Module Loader present
    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: Wed Apr 17 10:12:34 2002
    (==) Using config file: "/etc/X11/XF86Config"
    (EE) MGA: Failed to load module "mga_hal" (module does not exist, 0)
    Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!

    <hangs here>

    ================

      PID USERNAME PRI NICE   SIZE   RES STATE      TIME   WCPU    CPU COMMAND
      281 root      94   20  9908K   11M STOP       4:49  0.00%  0.00% XFree86

    ================

    gdb-ing by attaching to the running process:

    (gdb) bt
    #0  0x4822f093 in gettimeofday () from /usr/lib/libc.so.12
    #1  0x80d4136 in GetTimeInMillis ()
    #2  0x80cf008 in WaitForSomething ()
    #3  0x80afdf7 in Dispatch ()
    #4  0x80bfe05 in main ()
    #5  0x806bbb0 in ___start ()
    (gdb) 

    ================

    (gdb) trace
    trace command requires an argument
    (gdb) trace .
    TRACE .

    Debugger segmentation fault

    (hmm.  Some days are like that...)

    ================





-- 
       Wolfgang Rupprecht <wolfgang+gnus@dailyplanet.wsrcc.com>
		    http://www.wsrcc.com/wolfgang/
Coming soon: GPS mapping tools for Open Systems. http://www.gnomad-mapping.com/