[XFree86] Xserver crash part #2: glx module

2006-10-25 Thread jayjwa
(If you missed it, I posted a few issues back about a strange crash, now I 
have more info as to the cause and how to get out of it again.)



Yup, it is definately the glx module. Remove it and everything is OK. It won't 
crash right away. I have to have X up for about 20 minutes and then close it 
down before it gets stuck in graphic mode. This only happens on the S3 VirgeDx 
machine, not my other i810.





   *** If unresolved symbols were reported above, they might not
   *** be the reason for the server aborting.

Caught signal 11.
Stack trace:
 0: 0x808db0d: 0x808daf0 xf86ShowStackTrace + 0x1d
Module /usr/X11R6/bin/XFree86
 1: 0x808dbd3: 0x808db70 xf86SigHandler + 0x63
Module /usr/X11R6/bin/XFree86
 2: 0xb7fd2420: 0xb7fd2420 __kernel_sigreturn + 0x0
Module 
 3: 0xb7a6041c: 0xb7a603f0 __MESA_destroyBuffer + 0x2c
Module /usr/X11R6/lib/modules/extensions/libGLcore.a:xf86glx.o
Section .text
 4: 0xb7c49229: 0xb7c491f0 __glXDestroyDrawablePrivate + 0x39
Module /usr/X11R6/lib/modules/extensions/libglx.a:glxutil.o
Section .text
 5: 0xb7c4a341: 0xb7c4a2e0 DrawableGone + 0x61
Module /usr/X11R6/lib/modules/extensions/libglx.a:glxscreens.o
Section .text
 6: 0x80d406b: 0x80d4000 FreeClientResources + 0x6b
Module /usr/X11R6/bin/XFree86
 7: 0x80d413a: 0x80d40f0 FreeAllResources + 0x4a
Module /usr/X11R6/bin/XFree86
 8: 0x80d2899: 0x80d2460 main + 0x439
Module /usr/X11R6/bin/XFree86

Fatal server error:
Server aborting




I figured out you can use restoretextmode from svgalib. Just save a 
known-good textmode: restoretextmode -w /etc/vga/textmode.save. Then put this 
in a small script you can blind-type (because the screen will be useless after 
the crash), such as /bin/tt:


#!/bin/sh
##
## Reset textmode after an Xserver crash.
##

restoretextmode -r /etc/vga/textmode.save




When if/when the crash happens, (under root) just hit tt and you're out.


___
XFree86 mailing list
XFree86@XFree86.Org
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] Building XFree86 3.3.6 using gcc3.3.5

2006-10-25 Thread Tinow ME

Hello, everybody.I have an old laptop so I decided to compile
install xfree86 3.3.6 CVS on Debian 3.1 with kernel 2.6.17.13.
After make World  world.log I find there is a error message
in world.log, it appears:

==
In file included from fbdev.c:54:
/usr/include/stdlib.h:748: error: syntax error before int
make[6]: *** [ fbdev.o ] Error 1

and I find in stdlib.h:

...
line747:  /* Return the absolute value of X.  */
line748:  extern int abs (int __x) __THROW __attribute__ ((__const__));
line749:  extern long int labs (long int __x)  __THROW __attribute__
((__const__));
line750:  __END_NAMESPACE_STD
...


Anyone help?
Best Regards,
Tinow ME
___
XFree86 mailing list
XFree86@XFree86.Org
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Building XFree86 3.3.6 using gcc3.3.5

2006-10-25 Thread Mark Vojkovich
   It may be that XFree86 3.3.6 isn't expected to compile
with 2.6 kernels.  We officially dropped support for XFree86
3.x versions some number of years ago and I know we did have
to add some 2.6 kernel specific stuff to the XFree86 4.x
servers.  XFree86 3.x isn't necessarily any lighter than
XFree86 4.x servers.  The only reason for considering a
3.x server would be for old graphics adaptors which aren't
well-supported in 4.x.  Which graphics adaptor do you have?
If it's well-supported in 4.x you're better off with 4.x.

Mark.

On Wed, 25 Oct 2006, Tinow ME wrote:

 Hello, everybody.I have an old laptop so I decided to compile
  install xfree86 3.3.6 CVS on Debian 3.1 with kernel 2.6.17.13.
 After make World  world.log I find there is a error message
 in world.log, it appears:

 ==
 In file included from fbdev.c:54:
 /usr/include/stdlib.h:748: error: syntax error before int
 make[6]: *** [ fbdev.o ] Error 1
 
 and I find in stdlib.h:
 
 ...
 line747:  /* Return the absolute value of X.  */
 line748:  extern int abs (int __x) __THROW __attribute__ ((__const__));
 line749:  extern long int labs (long int __x)  __THROW __attribute__
 ((__const__));
 line750:  __END_NAMESPACE_STD
 ...
 

 Anyone help?
 Best Regards,
 Tinow ME
 ___
 XFree86 mailing list
 XFree86@XFree86.Org
 http://XFree86.Org/mailman/listinfo/xfree86

___
XFree86 mailing list
XFree86@XFree86.Org
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Building XFree86 3.3.6 using gcc3.3.5

2006-10-25 Thread Tinow ME

Thanks for your reply.
My old laptop has a Neogeo 128XD chip which I find it's supported
by xfree86 4.x, and it has a CPU of pity pentium mmx 300, ram of
160M, I am afraid it has not the capacity to run the lastest version
of xfree86 acceptably, because my graphic card does not support
AGP. Could you give me an advice that which version of xfree86
should I install?

Tinow ME

On 10/26/06, Mark Vojkovich [EMAIL PROTECTED] wrote:

   It may be that XFree86 3.3.6 isn't expected to compile
with 2.6 kernels.  We officially dropped support for XFree86
3.x versions some number of years ago and I know we did have
to add some 2.6 kernel specific stuff to the XFree86 4.x
servers.  XFree86 3.x isn't necessarily any lighter than
XFree86 4.x servers.  The only reason for considering a
3.x server would be for old graphics adaptors which aren't
well-supported in 4.x.  Which graphics adaptor do you have?
If it's well-supported in 4.x you're better off with 4.x.

Mark.

On Wed, 25 Oct 2006, Tinow ME wrote:

 Hello, everybody.I have an old laptop so I decided to compile
  install xfree86 3.3.6 CVS on Debian 3.1 with kernel 2.6.17.13.
 After make World  world.log I find there is a error message
 in world.log, it appears:

 ==
 In file included from fbdev.c:54:
 /usr/include/stdlib.h:748: error: syntax error before int
 make[6]: *** [ fbdev.o ] Error 1
 
 and I find in stdlib.h:
 
 ...
 line747:  /* Return the absolute value of X.  */
 line748:  extern int abs (int __x) __THROW __attribute__ ((__const__));
 line749:  extern long int labs (long int __x)  __THROW __attribute__
 ((__const__));
 line750:  __END_NAMESPACE_STD
 ...
 

 Anyone help?
 Best Regards,
 Tinow ME
 ___
 XFree86 mailing list
 XFree86@XFree86.Org
 http://XFree86.Org/mailman/listinfo/xfree86

___
XFree86 mailing list
XFree86@XFree86.Org
http://XFree86.Org/mailman/listinfo/xfree86


___
XFree86 mailing list
XFree86@XFree86.Org
http://XFree86.Org/mailman/listinfo/xfree86