I'm not sure what is the "correct" way to enable debug.
I usually copy xc/config/xf86site.def over to xc/config/host.def
and uncomment the DefaultGcc2i386Opt line and add -g to it:

#define DefaultGcc2i386Opt      -O2 -g -fno-strength-reduce


                        Mark.


On Mon, 14 Jul 2003, Christian Convey wrote:

> Hi Mark,
> 
> Yeah, I'm guessing the segfault had something to do with my general 
> cluelessness about installing new builds of XFree86.
> 
> I did throw the coredump into gdb, but since the thing wasn't built in 
> debug mode, there were no symbols for the backtrace.  I didn't think 
> you'd have any use for it in that case.
> 
> If you'd like to tell me how to build it with debug symbols, I'm happy 
> to repeat the experiment.
> 
> - Christian
> 
> Mark Vojkovich wrote:
> >    I'm not sure what's up with that.  I don't know any reason
> > why it would segfault.   I'm thinking that segfault probably
> > doesn't have anything to do with the driver.  Do you have a
> > core dump?  Do you know how to use gdb to get a backtrace
> > out of it?
> > 
> >    I'll see if I can get access to one of these.
> > 
> > 
> >                     Mark.
> > 
> > On Mon, 14 Jul 2003, Christian Convey wrote:
> > 
> > 
> >>Hi Mark.
> >>
> >>I build from thee head of the CVS tree, and installed it over my 
> >>Mandrake 9.1 stuff using "make install" after blowing away /usr/X11R6/*
> >>
> >>The building and installation went OK, but when I rebooted (the only way 
> >>I know of to restart X, cuz I'm a newbie), the server crashed.  (See 
> >>attached log file.)
> >>
> >>That makes me think I didn't really test your hypothesis, because I 
> >>didn't actually get X to run.
> >>
> >>
> >>Any suggestions?
> >>
> >>
> >>I'm happy to continue working on this, but perhaps I should just suck up 
> >>the problem until people have more experience with P25's?
> >>
> >>
> >>Also, I'm willing to undergo some measure of pain with my laptop if you 
> >>want, since you've been so helpful.  If you want, I can be your (or your 
> >>delegate's) guinea pig for hammering out Toshiba P25 issues for a few weeks.
> >>
> >>
> >>Thanks,
> >>Christian
> >>
> >>
> >>Mark Vojkovich wrote:
> >>
> >>>   I think the vesa driver is limited to the modes that are
> >>>in the bios.  Sounds like that mode is not in there, but I don't  
> >>>know much about the vesa driver.
> >>>
> >>>   As for the "nv" driver not restoring the console correctly,
> >>>perhaps CVS works better.  I don't have access to one of those
> >>>laptops at the moment so I can't check it out.
> >>>
> >>>
> >>>                   Mark.
> >>>
> >>>On Sun, 13 Jul 2003, Christian Convey wrote:
> >>>
> >>>
> >>>
> >>>>Hey Mark,
> >>>>
> >>>>As you suggested, I switched to using the "vesa" driver rather than the "nv" 
> >>>>driver (simply by changing the Device-->Driver entry).
> >>>>
> >>>>The results: I no longer have that problem where the last line of my terminals 
> >>>>runs off the end of the screen. The terminals look great.
> >>>>
> >>>>However, X won't start.
> >>>>
> >>>>I've attached the config and log files, in case you're willing to take a look.
> >>>>
> >>>>I didn't quite understand why I got the error I got:
> >>>>
> >>>>(II) VESA(0): Not using mode "1440x900" (no mode of this name)
> >>>>
> >>>>because in my config file I do seem to have a Monitor-->ModeLine defined with 
> >>>>that name.
> >>>>
> >>>>Thanks for any ideas you have.  I really appreciate it.
> >>>>
> >>>>- Christian
> >>>>
> >>>>
> >>>>
> >>>>>>Subject: Re: [XFree86] Odd problem with terminals
> >>>>>>Date: Sun, 13 Jul 2003 11:55:15 -0700 (PDT)
> >>>>>>From: Mark Vojkovich <[EMAIL PROTECTED]>
> >>>>>>Reply-To: [EMAIL PROTECTED]
> >>>>>>To: [EMAIL PROTECTED]
> >>>>>>
> >>>>>>On Sun, 13 Jul 2003, Christian Convey wrote:
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>Hi guys,
> >>>>>>>
> >>>>>>>I just installed Mandrake 9.1 on a new Toshiba P25 laptop (1440x900 
> >>>>>>>screen resolution).
> >>>>>>>
> >>>>>>>With some generous help, I got the regular X server behaving perfectly: 
> >>>>>>> My real and virtual desktops are both 1440x900, and it looks great.
> >>>>>>>
> >>>>>>>However, when I hit ctrl+alt+F1, to go to the console (is that the right 
> >>>>>>>word for it?), I have a little problem...
> >>>>>>>
> >>>>>>>The last half of the last line of text on the console runs off the 
> >>>>>>>bottom of the display.
> >>>>>>>
> >>>>>>>Can anyone point me in the right direction regarding how to fix this? 
> >>>>>>>Is this even an X-related issue?
> >>>>>>>
> >>>>>>
> >>>>>>   It could be the "nv" driver not restoring the console correctly.
> >>>>>>I'm not aware of any such cases, but I haven't seen one of the
> >>>>>>GeForceFX laptops yet.  Does the "vesa" driver work now that you've
> >>>>>>got the mode correct?  Does it have that problem?
> >>>>
> >>>>
> >>>_______________________________________________
> >>>XFree86 mailing list
> >>>[EMAIL PROTECTED]
> >>>http://XFree86.Org/mailman/listinfo/xfree86
> >>>
> >>
> >>
> >>_______________________________________________
> >>XFree86 mailing list
> >>[EMAIL PROTECTED]
> >>http://XFree86.Org/mailman/listinfo/xfree86
> >>
> > 
> > 
> > _______________________________________________
> > XFree86 mailing list
> > [EMAIL PROTECTED]
> > http://XFree86.Org/mailman/listinfo/xfree86
> > 
> 
> 
> _______________________________________________
> XFree86 mailing list
> [EMAIL PROTECTED]
> http://XFree86.Org/mailman/listinfo/xfree86
> 

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

Reply via email to