Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 May 2015 19:00:19 +0200
From:      Oliver Pinter <oliver.pinter@hardenedbsd.org>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        Wolfgang Zenker <wolfgang@lyxys.ka.sub.org>, freebsd-current@freebsd.org
Subject:   Re: Race VT+X11 on -current
Message-ID:  <CAPQ4ffuBNahdwrj6kGustSBk9V3qr1CP%2B-5__Cp-F2wqbB6=Rg@mail.gmail.com>
In-Reply-To: <554F8BA6.9000702@selasky.org>
References:  <CAN6yY1vno%2B-nV9zBYp11A=F-vAURbhraEFyQR_ue4W7h8pQUMw@mail.gmail.com> <AA8B24D1-DF5A-42CD-8755-15EF3C46E760@gmail.com> <554BC475.50203@selasky.org> <554BD2A8.70702@selasky.org> <554C3CCB.3030809@selasky.org> <4937E44E-C0EF-4052-961C-F46D5EC5BE00@gmail.com> <554C8AEB.2080502@selasky.org> <554CC841.60908@freebsd.org> <20150509210525.GA80848@lyxys.ka.sub.org> <554F5379.2070100@selasky.org> <20150510165330.GA86856@lyxys.ka.sub.org> <554F8BA6.9000702@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Hans!

On 5/10/15, Hans Petter Selasky <hps@selasky.org> wrote:
> On 05/10/15 18:53, Wolfgang Zenker wrote:
>> Hi,
>>
>> * Hans Petter Selasky <hps@selasky.org> [150510 14:47]:
>>> On 05/09/15 23:05, Wolfgang Zenker wrote:
>>>> * Allan Jude <allanjude@freebsd.org> [150508 16:29]:
>>>>> [..]
>>>>> My experience is a little different.
>>
>>>>> When suspend/resuming my laptop (Lenovo T530 with nVidia gpu)
>>
>>>>> Sometimes when I resume, it seems like the keyboard is frozen. If I
>>>>> alt+f1, then alt+f9, it seems to work fine after that. I'd never
>>>>> though
>>>>> of trying just alt+f9 right away, as I could already see my X session.
>>
>>>>> Not sure if this is related, but it sounds very similar.
>>
>>>> Similar problem on 10-STABLE: I usually start X by running startx
>>>> on ttyv0. After exiting X screen shows ttyv0 again but keyboard
>>>> appears frozen. Using ctrl-alt-f2 and ctrl-alt-f1 to switch to
>>>> ttyv1 and back "unfreezes" keyboard.
>>
>>> Can you try applying to 10-stable:
>>
>>> https://svnweb.freebsd.org/changeset/base/282645
>>
>> Patch needs a little tweaking to apply in vt_resume() on 10-stable
>> (vd is main_vd here), but appears to fix the problem.
>>
>
> Hi,
>
> Sounds good. I'll MFC the patch sometime next week. Seems like more
> people need it for daily FreeBSD use :-)

I have this fix or enhancements in our HardenedBSD codebase:
https://github.com/HardenedBSD/hardenedBSD/commit/18058137da01598403b6ffa40c37b0a907441530
Please review them, and if you feel this required in FreeBSD too, and
cherry-pick them.

>
> --HPS
>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPQ4ffuBNahdwrj6kGustSBk9V3qr1CP%2B-5__Cp-F2wqbB6=Rg>