From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752933AbcL2RFP (ORCPT ); Thu, 29 Dec 2016 12:05:15 -0500 Received: from libra.uberspace.de ([95.143.172.171]:32958 "EHLO libra.uberspace.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752623AbcL2RFO (ORCPT ); Thu, 29 Dec 2016 12:05:14 -0500 X-Greylist: delayed 401 seconds by postgrey-1.27 at vger.kernel.org; Thu, 29 Dec 2016 12:05:13 EST Date: Thu, 29 Dec 2016 17:58:29 +0100 From: Matthias Beyer To: linux-kernel@vger.kernel.org Subject: [BUG?] Freeze after trying to switch TTY? Message-ID: <20161229165829.GA3998@yuu> Reply-To: Matthias Beyer MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline 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 --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, 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. 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. Here is what I have found out via `journalctl`: Dez 29 14:33:14 yuu kernel: ------------[ cut here ]------------ Dez 29 14:33:14 yuu kernel: WARNING: CPU: 0 PID: 917 at /tmp/nix-build-= linux-4.9.drv-0/linux-4.9/drivers/gpu/drm/i915/intel_display.c:14189 intel_= 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 mo= usedev snd_hda_codec_hdmi snd_hda_codec_conexant snd_hda_codec_generic nf_c= onntrack_ipv6 nf_defrag_ipv6 mei_wdt nf_conntrack_ipv4 i915 nf_defrag_ipv4 = x86_p Dez 29 14:33:14 yuu kernel: intel_gtt agpgart snd_hda_codec i2c_algo_b= it fb_sys_fops thinkpad_acpi syscopyarea sysfillrect sysimgblt e1000e mei_m= e i2c_core fjes snd_hda_core nvram battery ip6table_filter rfkill snd_hwdep= 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, BIOS= 8DET66WW (1.36 ) 10/22/2012 Dez 29 14:33:14 yuu kernel: ffffa1cf02027850 ffffffffab2f3ae3 ffffa1cf= 020278a0 0000000000000000 Dez 29 14:33:14 yuu kernel: ffffa1cf02027890 ffffffffab06f30b 0000376d= de20fdc0 0000000000000000 Dez 29 14:33:14 yuu kernel: 0000000000000000 0000000000000000 00000000= 00000001 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+0x4= f/0x60 Dez 29 14:33:14 yuu kernel: [] ? finish_wait+0x56/0x= 70 Dez 29 14:33:14 yuu kernel: [] intel_atomic_commit_t= ail+0xff4/0x1000 [i915] Dez 29 14:33:14 yuu kernel: [] ? wake_atomic_t_funct= ion+0x60/0x60 Dez 29 14:33:14 yuu kernel: [] intel_atomic_commit+0= x35b/0x4c0 [i915] Dez 29 14:33:14 yuu kernel: [] ? drm_atomic_add_affe= cted_connectors+0x57/0xf0 [drm] Dez 29 14:33:14 yuu kernel: [] drm_atomic_commit+0x4= 9/0x50 [drm] Dez 29 14:33:14 yuu kernel: [] restore_fbdev_mode+0x= 14c/0x260 [drm_kms_helper] Dez 29 14:33:14 yuu kernel: [] drm_fb_helper_restore= _fbdev_mode_unlocked+0x33/0x80 [drm_kms_helper] Dez 29 14:33:14 yuu kernel: [] drm_fb_helper_set_par= +0x2d/0x60 [drm_kms_helper] Dez 29 14:33:14 yuu kernel: [] intel_fbdev_set_par+0= x18/0x70 [i915] Dez 29 14:33:14 yuu kernel: [] fb_set_var+0x238/0x460 Dez 29 14:33:14 yuu kernel: [] ? check_preempt_curr+= 0x7b/0x90 Dez 29 14:33:14 yuu kernel: [] fbcon_blank+0x2e9/0x3= 30 Dez 29 14:33:14 yuu kernel: [] do_unblank_screen+0xd= 3/0x1a0 Dez 29 14:33:14 yuu kernel: [] complete_change_conso= le+0x59/0xe0 Dez 29 14:33:14 yuu kernel: [] vt_ioctl+0x6ee/0x12a0 Dez 29 14:33:14 yuu kernel: [] ? unlock_page+0x33/0x= 40 Dez 29 14:33:14 yuu kernel: [] tty_ioctl+0x35a/0xc70 Dez 29 14:33:14 yuu kernel: [] ? handle_mm_fault+0x8= 20/0x10d0 Dez 29 14:33:14 yuu kernel: [] ? __vfs_write+0x28/0x= 120 Dez 29 14:33:14 yuu kernel: [] do_vfs_ioctl+0x92/0x5= a0 Dez 29 14:33:14 yuu kernel: [] ? __do_page_fault+0x2= 87/0x4b0 Dez 29 14:33:14 yuu kernel: [] SyS_ioctl+0x79/0x90 Dez 29 14:33:14 yuu kernel: [] entry_SYSCALL_64_fast= path+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_done = [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_done = [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_done = [drm_kms_helper]] *ERROR* [CRTC:26:pipe A] flip_done timed out And some more here: Dez 29 14:36:39 yuu xsession[937]: [4739:4739:1229/143639:ERROR:zygote_= communication_linux.cc(292)] Failed to send GetTerminationStatus message to= zygote Dez 29 14:36:39 yuu xsession[937]: [4739:4739:1229/143639:ERROR:zygote_= 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-build-= linux-4.9.drv-0/linux-4.9/drivers/gpu/drm/i915/intel_display.c:14189 intel_= 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 mo= usedev snd_hda_codec_hdmi snd_hda_codec_conexant snd_hda_codec_generic nf_c= onntrack_ipv6 nf_defrag_ipv6 mei_wdt nf_conntrack_ipv4 i915 nf_defrag_ipv4 = x86_p Dez 29 14:36:39 yuu kernel: intel_gtt agpgart snd_hda_codec i2c_algo_b= it fb_sys_fops thinkpad_acpi syscopyarea sysfillrect sysimgblt e1000e mei_m= e i2c_core fjes snd_hda_core nvram battery ip6table_filter rfkill snd_hwdep= 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, BIOS= 8DET66WW (1.36 ) 10/22/2012 Dez 29 14:36:39 yuu kernel: ffffa1cf02027a70 ffffffffab2f3ae3 ffffa1cf= 02027ac0 0000000000000000 Dez 29 14:36:39 yuu kernel: ffffa1cf02027ab0 ffffffffab06f30b 0000376d= de20fdc0 0000000000000000 Dez 29 14:36:39 yuu kernel: 0000000000000000 0000000000000000 00000000= 00000001 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+0x4= f/0x60 Dez 29 14:36:39 yuu kernel: [] ? finish_wait+0x56/0x= 70 Dez 29 14:36:39 yuu kernel: [] intel_atomic_commit_t= ail+0xff4/0x1000 [i915] Dez 29 14:36:39 yuu kernel: [] ? mutex_lock+0x12/0x30 Dez 29 14:36:39 yuu kernel: [] ? kmem_cache_alloc_tr= ace+0x1a1/0x1c0 Dez 29 14:36:39 yuu kernel: [] ? wake_atomic_t_funct= ion+0x60/0x60 Dez 29 14:36:39 yuu kernel: [] intel_atomic_commit+0= x35b/0x4c0 [i915] Dez 29 14:36:39 yuu kernel: [] drm_atomic_commit+0x4= 9/0x50 [drm] Dez 29 14:36:39 yuu kernel: [] drm_atomic_helper_dis= able_plane+0xac/0xf0 [drm_kms_helper] Dez 29 14:36:39 yuu kernel: [] __setplane_internal+0= x215/0x260 [drm] Dez 29 14:36:39 yuu kernel: [] ? drm_modeset_lock_al= l_ctx+0x9a/0xb0 [drm] Dez 29 14:36:39 yuu kernel: [] drm_mode_setplane+0x1= 34/0x1a0 [drm] Dez 29 14:36:39 yuu kernel: [] drm_ioctl+0x1f6/0x4a0= [drm] Dez 29 14:36:39 yuu kernel: [] ? drm_plane_check_pix= el_format+0x50/0x50 [drm] Dez 29 14:36:39 yuu kernel: [] ? __dentry_kill+0x110= /0x160 Dez 29 14:36:39 yuu kernel: [] ? dput+0x214/0x250 Dez 29 14:36:39 yuu kernel: [] do_vfs_ioctl+0x92/0x5= a0 Dez 29 14:36:39 yuu kernel: [] ? recalc_sigpending+0= x1b/0x50 Dez 29 14:36:39 yuu kernel: [] ? __set_task_blocked+= 0x2d/0x70 Dez 29 14:36:39 yuu kernel: [] ? task_work_run+0x83/= 0xa0 Dez 29 14:36:39 yuu kernel: [] SyS_ioctl+0x79/0x90 Dez 29 14:36:39 yuu kernel: [] entry_SYSCALL_64_fast= path+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:zygote_= 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.cc(= 1197)] D-Bus connection was disconnected. Aborting. Dez 29 14:36:39 yuu xsession[937]: #0 0x561ddf40657e base::debug::Stack= Trace::StackTrace() Dez 29 14:36:39 yuu xsession[937]: #1 0x561ddf41ef1e logging::LogMessag= e::~LogMessage() Dez 29 14:36:39 yuu xsession[937]: #2 0x561de007e430 dbus::Bus::OnConne= ctionDisconnectedFilter() Dez 29 14:36:39 yuu xsession[937]: #3 0x561de007e483 dbus::Bus::OnConne= ctionDisconnectedFilter() Dez 29 14:36:39 yuu xsession[937]: #4 0x7f43f1fa7dc5 dbus_connection_di= spatch Dez 29 14:36:39 yuu xsession[937]: #5 0x561de007e6f9 dbus::Bus::Process= AllIncomingDataIfAny() Dez 29 14:36:39 yuu xsession[937]: #6 0x561ddf48f7fb base::debug::TaskA= nnotator::RunTask() Dez 29 14:36:39 yuu xsession[937]: #7 0x561ddf427468 base::MessageLoop:= :RunTask() Dez 29 14:36:39 yuu xsession[937]: #8 0x561ddf428d8d base::MessageLoop:= :DeferOrRunPendingTask() Dez 29 14:36:39 yuu xsession[937]: #9 0x561ddf42927d base::MessageLoop:= :DoWork() Dez 29 14:36:39 yuu xsession[937]: #10 0x561ddf42a650 base::MessagePump= Libevent::Run() Dez 29 14:36:39 yuu xsession[937]: #11 0x561ddf448454 base::RunLoop::Ru= n() Dez 29 14:36:39 yuu xsession[937]: #12 0x561ddf465e36 base::Thread::Thr= eadMain() Dez 29 14:36:39 yuu xsession[937]: #13 0x561ddf461bad base::(anonymous = 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 Information about my system: * Thinkpad X220 * Linux yuu 4.9.0 #1-NixOS SMP Sun Dec 11 19:17:54 UTC 2016 x86_64 GNU/= Linux NixOS version information (if you need this at all): * System: 17.03pre97792.c311871 (Gorilla) * Nix version: nix-env (Nix) 1.11.4 * Nixpkgs version: "17.03pre97792.c311871" Feel free to ask for more information if you need it - but please tell me how to get it, too! The issue was also reported here: https://github.com/NixOS/nixpkgs/issues/21497 I'm not sure which "intel related mailinglist" I should post this to, so if someone could tell me that'd be great. 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 Mit freundlichen Gr=FC=DFen, Kind regards, Matthias Beyer Proudly sent with mutt. Happily signed with gnupg. --G4iJoqBmSsgzjUCe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEGg7ZGbdq/6NrnwfOzq8bZH7VayUFAlhlQLMACgkQzq8bZH7V ayVvOA//f1b4g4peKmkCf6nPK/OFxnuzvXgGYawtM/hPXTl/TxGusCeT60Svgeuw M71I14ghNP29CVp9lFLTovV+U+a3Ts62qCd7ohWRgt/97S/uQM0RQexNhSAdKz8c qr7Z/YPydAuzJW5KkwO7sXkgFSZ0M5UIDV+H/pwlgpu0BYgQfQeN8HCNJv4n//nq Y/uA5iDpD9eKbb83Xise2IjZt6rXXylY6guKPpm72qhyPmw5Zb4uWjISh7lgmHQ0 /XET5oD6A2TnOPOhpITpX1DshZfjbM/HvoO3nyb+gMDog4D2wcXxffyBonB2de+7 vCEL1/2I3mBUA/qmsTjF0cj08RiE32a9iWJ8KkPJMynqXmvDlcwjqYwOfTeKhthy wRhW+0Bc4EPbf4ZmCP63fzZqu7oMnd9Sif+Yc5a+VbVUDKsDT9QJzldWSPVjUsPM ves6MPpo0PUw4t4jYWjSeVLgKKobPXlfSs2fB4LjMO8G56Lkmm1E0QmGu08efgi7 PaCdIYVP9OW7U2i46CtbLjrAb9K8ufMaCOx01p+SSyzYL8+Y3qHUQIJDX1hIm1Kz DNFroTQ66H4Y2JOQfIsD7MmaNkeKMM4TIGjfuK1c4t3Os4NlmpnQkCrHl69uYTpi 6cBJ7HBwgwakes//JoDR9Ea1ae6EjlJ1jngdC36dZkPjIelU96A= =zcmR -----END PGP SIGNATURE----- --G4iJoqBmSsgzjUCe--