Re: [XFree86] Overwriting Mandrake 9.1's XFree software

2003-07-16 Thread Andy Goth
On Wednesday, July 16, 2003 5:51 am, Christian Convey wrote:
 Mark Vojkovich is working with me (on a thread in this list) to get
 through the issues, and he asked me to grab the newest code from CVS to
 see if that helps.

Guess I haven't been paying attention.

 No, I mean stack trace.  As in, I build XFree86 in debug mode, and when
 it crashes (actually producing a core dump), I use gdb to get a symbolic
 stack dump.

That's not good...  Now that you're on the latest CVS, it would probably be 
helpful if you shared the stack trace.  Include line numbers if you can, and 
be sure to give the date on which you downloaded the latest and/or greatest.

-- 
Andy Goth  |  [EMAIL PROTECTED]  |  http://ioioio.net/
Engineers love to change things.

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Overwriting Mandrake 9.1's XFree software

2003-07-16 Thread Christian Convey
Andy Goth wrote:
On Wednesday, July 16, 2003 5:51 am, Christian Convey wrote:

Mark Vojkovich is working with me (on a thread in this list) to get
through the issues, and he asked me to grab the newest code from CVS to
see if that helps.


Guess I haven't been paying attention.

OK, I'm cuting your pay for this help in half ;)


No, I mean stack trace.  As in, I build XFree86 in debug mode, and when
it crashes (actually producing a core dump), I use gdb to get a symbolic
stack dump.


That's not good...  Now that you're on the latest CVS, it would probably be 
helpful if you shared the stack trace.  Include line numbers if you can, and 
be sure to give the date on which you downloaded the latest and/or greatest.

Now that I downloaded it again this morning and am not using xfs, I 
don't crash (I followed your advice for going from xfs to simple 
directory lists.)

I guess the morals of the story are...

1. I'll try to give stack traces when this happens, and

2. Maybe what's in CVS right now can't handle unfound font servers?  (I 
also noticed that it was saying the socket # to look for the font server 
on is -1.  Could that be the cause of the problem?)

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Overwriting Mandrake 9.1's XFree software

2003-07-16 Thread Andy Goth
On Wednesday, July 16, 2003 10:42 am, Christian Convey wrote:
 Andy Goth wrote:
  Guess I haven't been paying attention.

 OK, I'm cuting your pay for this help in half ;)

Crap!  I needed that extra $0!

  That's not good...  Now that you're on the latest CVS, it would probably
  be helpful if you shared the stack trace.  Include line numbers if you
  can, and be sure to give the date on which you downloaded the latest
  and/or greatest.

 Now that I downloaded it again this morning and am not using xfs, I
 don't crash (I followed your advice for going from xfs to simple
 directory lists.)

What happens if you re-add unix/:7100 to your font path list?  Put it at the 
bottom, then the top, and then comment out all other entries, until you see a 
crash.  Do this with and without xfs actually running.

That is, if you really want to pursue this.

 I guess the morals of the story are...

 1. I'll try to give stack traces when this happens, and

Cool.

 2. Maybe what's in CVS right now can't handle unfound font servers?  (I
 also noticed that it was saying the socket # to look for the font server
 on is -1.  Could that be the cause of the problem?)

xfs is supposed to listen on port 7100.

-- 
Andy Goth  |  [EMAIL PROTECTED]  |  http://ioioio.net/
Engineers love to change things.

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Overwriting Mandrake 9.1's XFree software

2003-07-15 Thread Andy Goth
On Tuesday, July 15, 2003 7:13 pm, Christian Convey wrote:
 I've got Mandrake 9.1 installed, and it's time for me to replace the
 installed version of xf86 4.3, with a newer build from xf86's CVS tree.

Cool.  Is there a specific reason why you're upgrading, or do you just want to 
see what has changed since 27 February 2003?

 I had some trouble with the process, so could someone familiar with
 Mandrake 9.1 verify that I'm doing it right?

 step 1. build xf86's 'xc' package (make World)
 step 2. put its code into /usr/X11R6 (make install)
 step 3. reboot (the only way this newbie knows how to restart x)

 Problem is, when I do this I get crashes in the x server.  (Stack trace
 suggests its related to not finding the font server.)

Stack trace?  You mean log file, right?

font server?  Be sure xfs is running.  (xfs = X Font Server)

Personally, I don't use xfs since I don't see a reason to serve fonts to 
myself when I can just as easily configure XFree86 to internally grab them 
from disk.  To do this, adjust your /etc/X11/XF86Config file to contain 
FontPath entries for all the font directories you have:

Section Files
[...]
FontPath /usr/X11R6/lib/X11/fonts/Type1/
FontPath /usr/X11R6/lib/X11/fonts/Speedo/
FontPath /usr/X11R6/lib/X11/fonts/CID/
FontPath /usr/X11R6/lib/X11/fonts/75dpi/
FontPath /usr/X11R6/lib/X11/fonts/100dpi/
FontPath /usr/X11R6/lib/X11/fonts/misc/
FontPath /usr/X11R6/lib/X11/fonts/local/
EndSection

Something like this... but be sure to only list directories you really have, 
or else you'll get warnings every time you start X.  Do ls 
/usr/X11R6/lib/X11/fonts/ to get a list.  List 100dpi before 75dpi 
if you like bigger fonts.

You can keep the unix/:7100 line if you want.  Put it near the top of the list 
if you want the other directories to be used as fallbacks in case xfs dies or 
doesn't start correctly (something we see very often with Red Hat and 
friends).

Your system might use /etc/X11/XF86Config-4 instead.  The -4 version takes 
precedence, if it exists.

-- 
Andy Goth  |  [EMAIL PROTECTED]  |  http://ioioio.net/
Engineers love to change things.

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86