Race VT+X11 on -current

Oliver Pinter oliver.pinter at hardenedbsd.org
Sun May 10 17:00:27 UTC 2015


Hi Hans!

On 5/10/15, Hans Petter Selasky <hps at selasky.org> wrote:
> On 05/10/15 18:53, Wolfgang Zenker wrote:
>> Hi,
>>
>> * Hans Petter Selasky <hps at selasky.org> [150510 14:47]:
>>> On 05/09/15 23:05, Wolfgang Zenker wrote:
>>>> * Allan Jude <allanjude at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
>


More information about the freebsd-current mailing list