From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754664AbcLaNsB (ORCPT ); Sat, 31 Dec 2016 08:48:01 -0500 Received: from libra.uberspace.de ([95.143.172.171]:37604 "EHLO libra.uberspace.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751974AbcLaNr7 (ORCPT ); Sat, 31 Dec 2016 08:47:59 -0500 Date: Sat, 31 Dec 2016 14:47:53 +0100 From: Matthias Beyer To: linux-kernel@vger.kernel.org Subject: Re: [BUG?] Freeze after trying to switch TTY? Message-ID: <20161231134753.GC3998@yuu> Reply-To: Matthias Beyer References: <20161229165829.GA3998@yuu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="imjhCm/Pyz7Rq5F2" Content-Disposition: inline In-Reply-To: <20161229165829.GA3998@yuu> User-Agent: Mutt/1.7.2 (2016-11-26) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --imjhCm/Pyz7Rq5F2 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, sorry, just want to bump this a bit - I really do have no idea whom to=20 ping with this, so please forward me! Best regards and a nice start into 2017 - the year of linux on the=20 Desktop! Matthias On 29-12-2016 17:58:29, Matthias Beyer wrote: > Hi, >=20 > I experience a weird behaviour after upgrading to Kernel 4.9 and > trying to switch TTYs. My machine instantly freezes, after some > seconds (about 5 to 10) everything works again, then it freezes > again... and so on. >=20 > I'm not sure whether this is a kernel issue or X-Server, but as no TTY=20 > login prompt pops up I guess it must be a kernel issue. >=20 > Here is what I have found out via `journalctl`: >=20 >=20 > Dez 29 14:33:14 yuu kernel: ------------[ cut here ]------------ > Dez 29 14:33:14 yuu kernel: WARNING: CPU: 0 PID: 917 at /tmp/nix-buil= d-linux-4.9.drv-0/linux-4.9/drivers/gpu/drm/i915/intel_display.c:14189 inte= l_atomic_commit_tail+0xff4/0x1000 [i915] > Dez 29 14:33:14 yuu kernel: pipe A vblank wait timed out > Dez 29 14:33:14 yuu kernel: Modules linked in: ctr ccm af_packet msr = mousedev snd_hda_codec_hdmi snd_hda_codec_conexant snd_hda_codec_generic nf= _conntrack_ipv6 nf_defrag_ipv6 mei_wdt nf_conntrack_ipv4 i915 nf_defrag_ipv= 4 x86_p > Dez 29 14:33:14 yuu kernel: intel_gtt agpgart snd_hda_codec i2c_algo= _bit fb_sys_fops thinkpad_acpi syscopyarea sysfillrect sysimgblt e1000e mei= _me i2c_core fjes snd_hda_core nvram battery ip6table_filter rfkill snd_hwd= ep led_ > Dez 29 14:33:14 yuu kernel: CPU: 0 PID: 917 Comm: X Not tainted 4.9.0= #1-NixOS > Dez 29 14:33:14 yuu kernel: Hardware name: LENOVO 4290A11/4290A11, BI= OS 8DET66WW (1.36 ) 10/22/2012 > Dez 29 14:33:14 yuu kernel: ffffa1cf02027850 ffffffffab2f3ae3 ffffa1= cf020278a0 0000000000000000 > Dez 29 14:33:14 yuu kernel: ffffa1cf02027890 ffffffffab06f30b 000037= 6dde20fdc0 0000000000000000 > Dez 29 14:33:14 yuu kernel: 0000000000000000 0000000000000000 000000= 0000000001 ffff939ec4be7000 > Dez 29 14:33:14 yuu kernel: Call Trace: > Dez 29 14:33:14 yuu kernel: [] dump_stack+0x63/0x90 > Dez 29 14:33:14 yuu kernel: [] __warn+0xcb/0xf0 > Dez 29 14:33:14 yuu kernel: [] warn_slowpath_fmt+0= x4f/0x60 > Dez 29 14:33:14 yuu kernel: [] ? finish_wait+0x56/= 0x70 > Dez 29 14:33:14 yuu kernel: [] intel_atomic_commit= _tail+0xff4/0x1000 [i915] > Dez 29 14:33:14 yuu kernel: [] ? wake_atomic_t_fun= ction+0x60/0x60 > Dez 29 14:33:14 yuu kernel: [] intel_atomic_commit= +0x35b/0x4c0 [i915] > Dez 29 14:33:14 yuu kernel: [] ? drm_atomic_add_af= fected_connectors+0x57/0xf0 [drm] > Dez 29 14:33:14 yuu kernel: [] drm_atomic_commit+0= x49/0x50 [drm] > Dez 29 14:33:14 yuu kernel: [] restore_fbdev_mode+= 0x14c/0x260 [drm_kms_helper] > Dez 29 14:33:14 yuu kernel: [] drm_fb_helper_resto= re_fbdev_mode_unlocked+0x33/0x80 [drm_kms_helper] > Dez 29 14:33:14 yuu kernel: [] drm_fb_helper_set_p= ar+0x2d/0x60 [drm_kms_helper] > Dez 29 14:33:14 yuu kernel: [] intel_fbdev_set_par= +0x18/0x70 [i915] > Dez 29 14:33:14 yuu kernel: [] fb_set_var+0x238/0x= 460 > Dez 29 14:33:14 yuu kernel: [] ? check_preempt_cur= r+0x7b/0x90 > Dez 29 14:33:14 yuu kernel: [] fbcon_blank+0x2e9/0= x330 > Dez 29 14:33:14 yuu kernel: [] do_unblank_screen+0= xd3/0x1a0 > Dez 29 14:33:14 yuu kernel: [] complete_change_con= sole+0x59/0xe0 > Dez 29 14:33:14 yuu kernel: [] vt_ioctl+0x6ee/0x12= a0 > Dez 29 14:33:14 yuu kernel: [] ? unlock_page+0x33/= 0x40 > Dez 29 14:33:14 yuu kernel: [] tty_ioctl+0x35a/0xc= 70 > Dez 29 14:33:14 yuu kernel: [] ? handle_mm_fault+0= x820/0x10d0 > Dez 29 14:33:14 yuu kernel: [] ? __vfs_write+0x28/= 0x120 > Dez 29 14:33:14 yuu kernel: [] do_vfs_ioctl+0x92/0= x5a0 > Dez 29 14:33:14 yuu kernel: [] ? __do_page_fault+0= x287/0x4b0 > Dez 29 14:33:14 yuu kernel: [] SyS_ioctl+0x79/0x90 > Dez 29 14:33:14 yuu kernel: [] entry_SYSCALL_64_fa= stpath+0x1a/0xa9 > Dez 29 14:33:14 yuu kernel: ---[ end trace e27a86fb3dfb03e6 ]--- > Dez 29 14:33:14 yuu kernel: [drm:drm_atomic_helper_commit_cleanup_don= e [drm_kms_helper]] *ERROR* [CRTC:26:pipe A] flip_done timed out > Dez 29 14:33:14 yuu kernel: [drm:drm_atomic_helper_commit_cleanup_don= e [drm_kms_helper]] *ERROR* [CRTC:26:pipe A] flip_done timed out > Dez 29 14:33:14 yuu kernel: [drm:drm_atomic_helper_commit_cleanup_don= e [drm_kms_helper]] *ERROR* [CRTC:26:pipe A] flip_done timed out >=20 > And some more here: >=20 > Dez 29 14:36:39 yuu xsession[937]: [4739:4739:1229/143639:ERROR:zygot= e_communication_linux.cc(292)] Failed to send GetTerminationStatus message = to zygote > Dez 29 14:36:39 yuu xsession[937]: [4739:4739:1229/143639:ERROR:zygot= e_communication_linux.cc(292)] Failed to send GetTerminationStatus message = to zygote > Dez 29 14:36:39 yuu kernel: ------------[ cut here ]------------ > Dez 29 14:36:39 yuu kernel: WARNING: CPU: 0 PID: 917 at /tmp/nix-buil= d-linux-4.9.drv-0/linux-4.9/drivers/gpu/drm/i915/intel_display.c:14189 inte= l_atomic_commit_tail+0xff4/0x1000 [i915] > Dez 29 14:36:39 yuu kernel: pipe A vblank wait timed out > Dez 29 14:36:39 yuu kernel: Modules linked in: ctr ccm af_packet msr = mousedev snd_hda_codec_hdmi snd_hda_codec_conexant snd_hda_codec_generic nf= _conntrack_ipv6 nf_defrag_ipv6 mei_wdt nf_conntrack_ipv4 i915 nf_defrag_ipv= 4 x86_p > Dez 29 14:36:39 yuu kernel: intel_gtt agpgart snd_hda_codec i2c_algo= _bit fb_sys_fops thinkpad_acpi syscopyarea sysfillrect sysimgblt e1000e mei= _me i2c_core fjes snd_hda_core nvram battery ip6table_filter rfkill snd_hwd= ep led_ > Dez 29 14:36:39 yuu kernel: CPU: 0 PID: 917 Comm: X Tainted: G = W 4.9.0 #1-NixOS > Dez 29 14:36:39 yuu kernel: Hardware name: LENOVO 4290A11/4290A11, BI= OS 8DET66WW (1.36 ) 10/22/2012 > Dez 29 14:36:39 yuu kernel: ffffa1cf02027a70 ffffffffab2f3ae3 ffffa1= cf02027ac0 0000000000000000 > Dez 29 14:36:39 yuu kernel: ffffa1cf02027ab0 ffffffffab06f30b 000037= 6dde20fdc0 0000000000000000 > Dez 29 14:36:39 yuu kernel: 0000000000000000 0000000000000000 000000= 0000000001 ffff939ec4be7000 > Dez 29 14:36:39 yuu kernel: Call Trace: > Dez 29 14:36:39 yuu kernel: [] dump_stack+0x63/0x90 > Dez 29 14:36:39 yuu kernel: [] __warn+0xcb/0xf0 > Dez 29 14:36:39 yuu kernel: [] warn_slowpath_fmt+0= x4f/0x60 > Dez 29 14:36:39 yuu kernel: [] ? finish_wait+0x56/= 0x70 > Dez 29 14:36:39 yuu kernel: [] intel_atomic_commit= _tail+0xff4/0x1000 [i915] > Dez 29 14:36:39 yuu kernel: [] ? mutex_lock+0x12/0= x30 > Dez 29 14:36:39 yuu kernel: [] ? kmem_cache_alloc_= trace+0x1a1/0x1c0 > Dez 29 14:36:39 yuu kernel: [] ? wake_atomic_t_fun= ction+0x60/0x60 > Dez 29 14:36:39 yuu kernel: [] intel_atomic_commit= +0x35b/0x4c0 [i915] > Dez 29 14:36:39 yuu kernel: [] drm_atomic_commit+0= x49/0x50 [drm] > Dez 29 14:36:39 yuu kernel: [] drm_atomic_helper_d= isable_plane+0xac/0xf0 [drm_kms_helper] > Dez 29 14:36:39 yuu kernel: [] __setplane_internal= +0x215/0x260 [drm] > Dez 29 14:36:39 yuu kernel: [] ? drm_modeset_lock_= all_ctx+0x9a/0xb0 [drm] > Dez 29 14:36:39 yuu kernel: [] drm_mode_setplane+0= x134/0x1a0 [drm] > Dez 29 14:36:39 yuu kernel: [] drm_ioctl+0x1f6/0x4= a0 [drm] > Dez 29 14:36:39 yuu kernel: [] ? drm_plane_check_p= ixel_format+0x50/0x50 [drm] > Dez 29 14:36:39 yuu kernel: [] ? __dentry_kill+0x1= 10/0x160 > Dez 29 14:36:39 yuu kernel: [] ? dput+0x214/0x250 > Dez 29 14:36:39 yuu kernel: [] do_vfs_ioctl+0x92/0= x5a0 > Dez 29 14:36:39 yuu kernel: [] ? recalc_sigpending= +0x1b/0x50 > Dez 29 14:36:39 yuu kernel: [] ? __set_task_blocke= d+0x2d/0x70 > Dez 29 14:36:39 yuu kernel: [] ? task_work_run+0x8= 3/0xa0 > Dez 29 14:36:39 yuu kernel: [] SyS_ioctl+0x79/0x90 > Dez 29 14:36:39 yuu kernel: [] entry_SYSCALL_64_fa= stpath+0x1a/0xa9 > Dez 29 14:36:39 yuu kernel: ---[ end trace e27a86fb3dfb03e8 ]--- > Dez 29 14:36:39 yuu xsession[937]: [4739:4739:1229/143639:ERROR:zygot= e_communication_linux.cc(292)] Failed to send GetTerminationStatus message = to zygote > Dez 29 14:36:39 yuu xsession[937]: [4739:4752:1229/143639:FATAL:bus.c= c(1197)] D-Bus connection was disconnected. Aborting. > Dez 29 14:36:39 yuu xsession[937]: #0 0x561ddf40657e base::debug::Sta= ckTrace::StackTrace() > Dez 29 14:36:39 yuu xsession[937]: #1 0x561ddf41ef1e logging::LogMess= age::~LogMessage() > Dez 29 14:36:39 yuu xsession[937]: #2 0x561de007e430 dbus::Bus::OnCon= nectionDisconnectedFilter() > Dez 29 14:36:39 yuu xsession[937]: #3 0x561de007e483 dbus::Bus::OnCon= nectionDisconnectedFilter() > Dez 29 14:36:39 yuu xsession[937]: #4 0x7f43f1fa7dc5 dbus_connection_= dispatch > Dez 29 14:36:39 yuu xsession[937]: #5 0x561de007e6f9 dbus::Bus::Proce= ssAllIncomingDataIfAny() > Dez 29 14:36:39 yuu xsession[937]: #6 0x561ddf48f7fb base::debug::Tas= kAnnotator::RunTask() > Dez 29 14:36:39 yuu xsession[937]: #7 0x561ddf427468 base::MessageLoo= p::RunTask() > Dez 29 14:36:39 yuu xsession[937]: #8 0x561ddf428d8d base::MessageLoo= p::DeferOrRunPendingTask() > Dez 29 14:36:39 yuu xsession[937]: #9 0x561ddf42927d base::MessageLoo= p::DoWork() > Dez 29 14:36:39 yuu xsession[937]: #10 0x561ddf42a650 base::MessagePu= mpLibevent::Run() > Dez 29 14:36:39 yuu xsession[937]: #11 0x561ddf448454 base::RunLoop::= Run() > Dez 29 14:36:39 yuu xsession[937]: #12 0x561ddf465e36 base::Thread::T= hreadMain() > Dez 29 14:36:39 yuu xsession[937]: #13 0x561ddf461bad base::(anonymou= s namespace)::ThreadFunc() > Dez 29 14:36:39 yuu xsession[937]: #14 0x7f43f5ea91f4 start_thread > Dez 29 14:36:39 yuu xsession[937]: #15 0x7f43eec4812f __GI___clone >=20 > Information about my system: >=20 > * Thinkpad X220 > * Linux yuu 4.9.0 #1-NixOS SMP Sun Dec 11 19:17:54 UTC 2016 x86_64 GN= U/Linux >=20 > NixOS version information (if you need this at all): >=20 > * System: 17.03pre97792.c311871 (Gorilla) > * Nix version: nix-env (Nix) 1.11.4 > * Nixpkgs version: "17.03pre97792.c311871" >=20 > Feel free to ask for more information if you need it - but please tell > me how to get it, too! >=20 > The issue was also reported here: >=20 > https://github.com/NixOS/nixpkgs/issues/21497 >=20 > I'm not sure which "intel related mailinglist" I should post this to, > so if someone could tell me that'd be great. >=20 > I did _not_ verify that this issue is new for me because of the > upgrade to Linux kernel 4.9 or whether it is also present in 4.8 > kernels! >=20 > --=20 > Mit freundlichen Gr=FC=DFen, > Kind regards, > Matthias Beyer >=20 > Proudly sent with mutt. > Happily signed with gnupg. --=20 Mit freundlichen Gr=FC=DFen, Kind regards, Matthias Beyer Proudly sent with mutt. Happily signed with gnupg. --imjhCm/Pyz7Rq5F2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEGg7ZGbdq/6NrnwfOzq8bZH7VayUFAlhntwcACgkQzq8bZH7V ayVttw/8Dn8alHAJ2CRUmBiKgjwMveZDLqRSApt/qJxvOnUEfzHAq/OYDw4FivDM bVmiChhV59wZJN1kSMXJ4Dakv4akOtW02i8NVwx7Zpx98Sz0BOGBfjYex0/GAmZm o2z5e37OIjtw0Ism6ipwmLdyNhI1L+bBSAQlGbiKd+oReY7D9fwjd9SxbJeNZXlJ AGoOXMU/0/nZ8/QtnTiLq2ihZXAsn3CzbuFdvnMXxn5s8WgfP8hPSboobiSN5BV0 jzqOwX8WDWCPaPoXewrx4bSdLCJB6jTbgNaXnw+20sH8sQq98Io2JEt7i/tI1cex 3F0FnlGIjll1ALit5dJTONKIEGnrwIbaeLq4cGjPb8lwZgpMFdRqB0CnwasUL2jS dfUSdDOUH3KtEIZQrfIfpnL5vA53dfA8+01MdtkXbk/SgVM9a0P6jC9p/C0bju43 +R9VdjmZY38DQQ7/OqIXYXESjzTulJTAOSob1JqBMEJhbzEgxUolIN/VRnMM1qy2 5SVV8Jf5/4Nw7R4yvQykjirRa6bnVUBdqSepci83wS7IbPy29FiyAwjv00nUWs+w GgG1wbezz4nKa8H91VHjY3/U0KaP02Wh6qh6/8qSHbame3kFNpqNSlp+Y/Kq5N0Y Vg+8mRlerr+8RhEe2OWOzGuhhG/DfzM1sN6GSfod9c37dD35Ds4= =xG4x -----END PGP SIGNATURE----- --imjhCm/Pyz7Rq5F2--