svn commit: r263321 - head/sys/dev/vt

Aleksandr Rybalko ray at freebsd.org
Thu Mar 27 09:40:06 UTC 2014


On Wed, 19 Mar 2014 14:53:47 -0400
John Baldwin <jhb at freebsd.org> wrote:

> On Tuesday, March 18, 2014 6:22:48 pm Aleksandr Rybalko wrote:
> > Author: ray
> > Date: Tue Mar 18 22:22:47 2014
> > New Revision: 263321
> > URL: http://svnweb.freebsd.org/changeset/base/263321
> > 
> > Log:
> >   Switch kern.vt.suspendswitch to 0 by default (disabled).
> >   kern.vt.suspendswitch - sysctl/tunable which enable switch to VT0 before going
> >   to suspend and switch back after resume.
> >   
> >   MFC after:	7 days
> 
> I think it is fine to change the default, but I'm not certain that this fixes
> the panics on resume.  So far no one has reported back that this did fix them
> after I suggested it.  It would be good to fix the panics as well if possible.
> The last time I looked at it in detail, it seemed like the callout for only
> ttyv0 had been zero'd.  Other ttyv timers used in switching still had the correct
> contents.
> 
> -- 
> John Baldwin

Yeah, thanks for pointing on it. Your hint about ttyv0 point to the
difference between ttyv0 and others. Window structure for VT1 defined
statically for early stage drivers (like vt_vga), so I forget to
initialize callout for that window :)

Now it was fixed by r263809.

And since we still have problem with puzzling Xorg screen after
suspend/resume - I will revert this commit.

My research on that problem (puzzling Xorg screen) point on two
possible problems:
1. maybe Xorg lack of APM module, or it is broken somehow.
2. maybe problem in drm2, so Xorg's framebuffer rearranged by drm2, but
Xorg don't know about that.

Many thanks!

WBW
-- 
Aleksandr Rybalko <ray at freebsd.org>


More information about the svn-src-all mailing list