Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932904AbbBBJtM (ORCPT ); Mon, 2 Feb 2015 04:49:12 -0500 Received: from mx1.redhat.com ([209.132.183.28]:45576 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753180AbbBBJtI (ORCPT ); Mon, 2 Feb 2015 04:49:08 -0500 Message-ID: <54CF47E1.9090209@redhat.com> Date: Mon, 02 Feb 2015 10:48:17 +0100 From: Zdenek Kabelac Organization: Red Hat User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: "Rafael J. Wysocki" , Linus Torvalds CC: Peter Hurley , Davidlohr Bueso , Peter Zijlstra , =?UTF-8?B?QnJ1bm8gUHLDqW1vbnQ=?= , Linux Kernel Mailing List , Thomas Gleixner , Ilya Dryomov , Mike Galbraith , Oleg Nesterov Subject: Re: Linux 3.19-rc5 References: <1861286.x5DC37NGWz@vostro.rjw.lan> <1603459.Pd8b1fB0HR@vostro.rjw.lan> In-Reply-To: <1603459.Pd8b1fB0HR@vostro.rjw.lan> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 7520 Lines: 157 Dne 30.1.2015 v 02:49 Rafael J. Wysocki napsal(a): > On Thursday, January 29, 2015 05:12:11 PM Linus Torvalds wrote: >> On Thu, Jan 29, 2015 at 5:22 PM, Rafael J. Wysocki wrote: >>> On Wednesday, January 21, 2015 05:54:00 PM Peter Hurley wrote: >>>> >>>> Yeah, but the debug check is triggering worse behavior, requiring >>>> bisecting back to the debug commit. >>> >>> Yes, it is. >>> >>> So I'm wondering is anyone is working on fixing this in any way? >>> >>> It kind of sucks when this is happening on an otherwise perfectly usable >>> old(ish) machine ... >> >> The WARN() was already changed to a WARN_ONCE(). >> >> So that debug check doesn't cause problems any more. If somebody is >> bisecting something else, and the WARN() is a problem for those >> intermediate kernels, then just disabling CONFIG_DEBUG_ATOMIC_SLEEP >> should get you past that point. >> >> IOW, this really shouldn't be an issue. >> >> Does the pccard thing still not work? > > Interestingly enough, if the kernel is built with CONFIG_DEBUG_ATOMIC_SLEEP > unset, the problem with 99+% CPU load from pccardd goes away, so thanks for > the hint. Ok - I can now 'use' 3.19-rc7 on T61 (C2D) without having a single core occupied on 100% with pccardd, but I still get this one logged: [ 2.185320] pcmcia_socket pcmcia_socket0: cs: memory probe 0x0c0000-0x0fffff: [ 2.185363] excluding 0xc0000-0xcffff 0xe0000-0xfffff [ 2.185526] pcmcia_socket pcmcia_socket0: cs: memory probe 0xa0000000-0xa0ffffff: [ 2.185559] excluding 0xa0000000-0xa0ffffff [ 2.185720] pcmcia_socket pcmcia_socket0: cs: memory probe 0x60000000-0x60ffffff: [ 2.185754] excluding 0x60000000-0x60ffffff [ 2.297692] ------------[ cut here ]------------ [ 2.297698] WARNING: CPU: 1 PID: 185 at kernel/sched/core.c:7300 __might_sleep+0xae/0xc0() [ 2.297702] do not call blocking ops when !TASK_RUNNING; state=1 set at [] pccardd+0xe8/0x490 [ 2.297712] Modules linked in: uhci_hcd sr_mod cdrom ehci_pci ehci_hcd yenta_socket usbcore usb_common video backlight autofs4 [ 2.297715] CPU: 1 PID: 185 Comm: pccardd Not tainted 3.19.0-rc7-00002-g9afdf96 #5 [ 2.297716] Hardware name: LENOVO 6464CTO/6464CTO, BIOS 7LETC9WW (2.29 ) 03/18/2011 [ 2.297719] ffffffff819e4d8a ffff8800b8bdbc58 ffffffff8163926d ffffffff810a9e1e [ 2.297721] ffff8800b8bdbca8 ffff8800b8bdbc98 ffffffff810587ba ffff880000000000 [ 2.297724] ffffffff819e6073 000000000000026d 0000000000000000 0000000000000080 [ 2.297725] Call Trace: [ 2.297729] [] dump_stack+0x4f/0x7b [ 2.297732] [] ? down_trylock+0x2e/0x40 [ 2.297736] [] warn_slowpath_common+0x8a/0xc0 [ 2.297738] [] warn_slowpath_fmt+0x46/0x50 [ 2.297741] [] ? pccardd+0xe8/0x490 [ 2.297742] [] ? pccardd+0xe8/0x490 [ 2.297744] [] __might_sleep+0xae/0xc0 [ 2.297747] [] mutex_lock_nested+0x2e/0x440 [ 2.297749] [] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 2.297753] [] ? preempt_count_sub+0xab/0x100 [ 2.297755] [] pccardd+0x150/0x490 [ 2.297757] [] ? pcmcia_socket_dev_complete+0x40/0x40 [ 2.297760] [] kthread+0x11f/0x140 [ 2.297763] [] ? kthread_create_on_node+0x260/0x260 [ 2.297766] [] ret_from_fork+0x7c/0xb0 [ 2.297768] [] ? kthread_create_on_node+0x260/0x260 [ 2.297770] ---[ end trace ed9e591061d223e6 ]--- [ 2.464635] usb 3-1: new full-speed USB device number 2 using uhci_hcd and of course number of these: [ 29.660708] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device [ 29.667061] i915 0000:00:02.0: registered panic notifier [ 30.314206] ------------[ cut here ]------------ [ 30.318866] WARNING: CPU: 0 PID: 1010 at drivers/gpu/drm/drm_irq.c:1121 drm_wait_one_vblank+0x180/0x190 [drm]() [ 30.329085] vblank not available on crtc 1, ret=-22 [ 30.334003] Modules linked in: i915 i2c_algo_bit drm_kms_helper drm xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp tun brid ge stp llc ipv6 ebtables ip6_tables iptable_filter ip_tables x_tables bnep iTCO_wdt hid_generic iTCO_vendor_support snd_hda_codec_analo g snd_hda_codec_generic coretemp kvm_intel kvm microcode usbhid psmouse serio_raw hid arc4 r852 sm_common nand i2c_i801 nand_ecc i2c_co re nand_ids mtd btusb bluetooth iwl3945 sdhci_pci r592 iwlegacy memstick pcmcia snd_hda_intel sdhci mac80211 snd_hda_controller mmc_cor e snd_hda_codec snd_hwdep lpc_ich snd_seq mfd_core snd_seq_device snd_pcm e1000e cfg80211 ptp thinkpad_acpi snd_timer pps_core wmi nvra m [ 30.406592] snd soundcore evdev nfsd auth_rpcgss oid_registry nfs_acl lockd grace binfmt_misc loop sunrpc uhci_hcd sr_mod cdrom ehc i_pci ehci_hcd yenta_socket usbcore usb_common video backlight autofs4 [ 30.424031] CPU: 1 PID: 1010 Comm: Xorg.bin Tainted: G W 3.19.0-rc7-00002-g9afdf96 #5 [ 30.432930] Hardware name: LENOVO 6464CTO/6464CTO, BIOS 7LETC9WW (2.29 ) 03/18/2011 [ 30.440627] ffffffffa0e1017f ffff880135a37a28 ffffffff8163926d ffff88013abcf238 [ 30.448250] ffff880135a37a78 ffff880135a37a68 ffffffff810587ba 0000000000000001 [ 30.455780] ffff8800af5b4000 ffff880135974000 0000000000000001 ffff8800acca0000 [ 30.463328] Call Trace: [ 30.465850] [] dump_stack+0x4f/0x7b [ 30.471066] [] warn_slowpath_common+0x8a/0xc0 [ 30.477095] [] warn_slowpath_fmt+0x46/0x50 [ 30.482919] [] drm_wait_one_vblank+0x180/0x190 [drm] [ 30.489683] [] intel_enable_sdvo+0x70/0x120 [i915] [ 30.496206] [] ? intel_enable_pipe+0xf1/0x220 [i915] [ 30.502914] [] i9xx_crtc_enable+0x3fb/0x4b0 [i915] [ 30.509478] [] __intel_set_mode+0x8a2/0xcb0 [i915] [ 30.515995] [] intel_crtc_set_config+0xc0b/0xf90 [i915] [ 30.522922] [] drm_mode_set_config_internal+0x69/0x120 [drm] [ 30.530310] [] restore_fbdev_mode+0xc8/0xf0 [drm_kms_helper] [ 30.537682] [] ? kfree+0xe7/0x3b0 [ 30.542771] [] drm_fb_helper_restore_fbdev_mode_unlocked+0x29/0x80 [drm_kms_helper] [ 30.552175] [] intel_fbdev_restore_mode+0x1e/0x50 [i915] [ 30.559259] [] i915_driver_lastclose+0xe/0x10 [i915] [ 30.565916] [] drm_lastclose+0x2e/0x150 [drm] [ 30.571991] [] drm_release+0x340/0x550 [drm] [ 30.577986] [] __fput+0xf3/0x210 [ 30.582926] [] ____fput+0xe/0x10 [ 30.587931] [] task_work_run+0xcc/0x100 [ 30.593479] [] do_notify_resume+0x61/0x90 [ 30.599241] [] int_signal+0x12/0x17 [ 30.604456] ---[ end trace ed9e591061d223e7 ]--- [ 30.609191] ------------[ cut here ]------------ Regards Zdenek -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/