From owner-freebsd-current@FreeBSD.ORG Sun May 10 17:00:27 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 14279B90 for ; Sun, 10 May 2015 17:00:27 +0000 (UTC) Received: from mail-ig0-f172.google.com (mail-ig0-f172.google.com [209.85.213.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D823D122E for ; Sun, 10 May 2015 17:00:26 +0000 (UTC) Received: by igbpi8 with SMTP id pi8so53544910igb.1 for ; Sun, 10 May 2015 10:00:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=L0k/ErITUT4AVbv3zdtuhWvyRygDe+xkvXxjWihqqtA=; b=Wx9uMB6fYVJYM2AKsNlErUH07ofBIeU+lo7p9OWrN2V6PGHroAaZd3oILEYsVZd7HZ WvYqOgDvlpp3H+yP6x6rglBJZY9JFxO9JsbcuKjqOhUyG0U4mIDwA5Ckf4l5AqeeU13s 0PDw/lmqguVFqRtFZvFKddeNKup0G3+3eq2a6lM1BAwQrE6gPDVkeFt/t7XdwrrWYitu Fnjadyti1tZeEj/f8wrZtEMcwQ4algVfTt02L8TXaaZMbDIuaJcG13/op3SZrLzO1746 SfIuvMvnbz8kiLmOMucJiKMfTLjCR4qEAuGGydoLz0QMzPtX/yuLTPCHkWFOwHJTcIjM wZYQ== X-Gm-Message-State: ALoCoQkAFEzshwHHEd3J7RUiEnQjoWFKAx/4PH+CPapjzhtqXfU23UDdR2vMzO8zWZafbOFl7Tqk MIME-Version: 1.0 X-Received: by 10.43.173.70 with SMTP id ob6mr7363709icc.45.1431277219863; Sun, 10 May 2015 10:00:19 -0700 (PDT) Received: by 10.79.11.6 with HTTP; Sun, 10 May 2015 10:00:19 -0700 (PDT) In-Reply-To: <554F8BA6.9000702@selasky.org> References: <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> Date: Sun, 10 May 2015 19:00:19 +0200 Message-ID: Subject: Re: Race VT+X11 on -current From: Oliver Pinter To: Hans Petter Selasky Cc: Wolfgang Zenker , freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 May 2015 17:00:27 -0000 Hi Hans! On 5/10/15, Hans Petter Selasky wrote: > On 05/10/15 18:53, Wolfgang Zenker wrote: >> Hi, >> >> * Hans Petter Selasky [150510 14:47]: >>> On 05/09/15 23:05, Wolfgang Zenker wrote: >>>> * Allan Jude [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" >