Subject: Re: ultra5 & Xwindows
To: Michael <macallan18@earthlink.net>
From: Davide Zanon <d.zanon@ininito.it>
List: port-sparc64
Date: 05/06/2005 18:17:18
On Friday 06 May 2005 13:21, Michael wrote:
> Hello,
>
> > Now I've used X for a while and I think there's something wrong with
> > something else (very clever)...
> > - X gives lots of "Bad relocation xxxx" errors during startup (but up
> > to now I cannot tell if it has caused any problems)
>
> Hmm, I don't see these errors here, they /did/ happen with older builds
> using NetBSD's src/x11 (instead of using XFree's make World ) but should
> be gone by now. Did you use the XFree86 stuff from my site or did you
> build your own? If you built your own try rebuilding the traditional way
> ( make World in xsrc/xfree/xc ) to see if the errors go away.

The errors are "Unsupported relocation type xxxx", I didn't remember... BTW, 
this isn't important, as 
I built my own XFree86 using
./build.sh -T /usr/cross -O /usr/obj -m sparc64 -x distribution
and
./build.sh -T /usr/cross -O /usr/obj -m sparc64 -x sets
on a macppc system and then installed the sets... maybe the problems have 
something to do with cross-compilation?
BTW, can I cross-compile XFree86 from xsrcdir? And how can I install sets 
then, if I NFS mount the Ultra5 on the host system? 

> That's odd - you're the 2nd one telling me about this - on my U10 the
> Xserver starts up in a couple of seconds, XFCE4 takes a little longer (
> especially when I just updated X11 libraries... ) but all in all way
> less than a minute from startx to usable desktop.
> Do you have your hostname and all that in /etc/hosts? The only time I've
> seen something like that was on an AIX box where lots of X11 clients
> tried to resolve the machine's hostname via DNS which took bloody ages
> to time out when there was no internet connection and for some reason
> the machine defaulted to try DNS before /etc/hosts. Maybe you should
> check your /etc/hosts and /etc/nsswitch.conf.

Oh, yes, I'll try, I'm pretty sure you're right and the problem is 
network-related.

> Is /usr/X11R6/bin in your $PATH ?
> I have no idea where twm keeps its menu, I don't use it.

Neither do I, but this is the only wm I have on that machine for now... :)

> I don't think /you/ did anything wrong. xclock works just fine here, no
> trace of any problem. But your Xserver seems to be more than a little
> hosed, the module loader errors you mentioned earlier should NOT happen.
> Maybe you mixed up different variants of the X11 software?

I don't think so, as I wrote above :)

> have fun
> Michael

Thank you very much!
david