Re: Linux 3.19-rc5
From: Zdenek Kabelac
Date: Mon Feb 02 2015 - 04:49:16 EST
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 <rjw@xxxxxxxxxxxxx> 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
[<ffffffff81518e18>] 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] [<ffffffff8163926d>] dump_stack+0x4f/0x7b
[ 2.297732] [<ffffffff810a9e1e>] ? down_trylock+0x2e/0x40
[ 2.297736] [<ffffffff810587ba>] warn_slowpath_common+0x8a/0xc0
[ 2.297738] [<ffffffff81058836>] warn_slowpath_fmt+0x46/0x50
[ 2.297741] [<ffffffff81518e18>] ? pccardd+0xe8/0x490
[ 2.297742] [<ffffffff81518e18>] ? pccardd+0xe8/0x490
[ 2.297744] [<ffffffff8108412e>] __might_sleep+0xae/0xc0
[ 2.297747] [<ffffffff8163cd7e>] mutex_lock_nested+0x2e/0x440
[ 2.297749] [<ffffffff8164189d>] ? _raw_spin_unlock_irqrestore+0x5d/0x80
[ 2.297753] [<ffffffff8108b42b>] ? preempt_count_sub+0xab/0x100
[ 2.297755] [<ffffffff81518e80>] pccardd+0x150/0x490
[ 2.297757] [<ffffffff81518d30>] ? pcmcia_socket_dev_complete+0x40/0x40
[ 2.297760] [<ffffffff8107db1f>] kthread+0x11f/0x140
[ 2.297763] [<ffffffff8107da00>] ? kthread_create_on_node+0x260/0x260
[ 2.297766] [<ffffffff8164242c>] ret_from_fork+0x7c/0xb0
[ 2.297768] [<ffffffff8107da00>] ? 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] [<ffffffff8163926d>] dump_stack+0x4f/0x7b
[ 30.471066] [<ffffffff810587ba>] warn_slowpath_common+0x8a/0xc0
[ 30.477095] [<ffffffff81058836>] warn_slowpath_fmt+0x46/0x50
[ 30.482919] [<ffffffffa0de5a10>] drm_wait_one_vblank+0x180/0x190 [drm]
[ 30.489683] [<ffffffffa0f11a70>] intel_enable_sdvo+0x70/0x120 [i915]
[ 30.496206] [<ffffffffa0ed6241>] ? intel_enable_pipe+0xf1/0x220 [i915]
[ 30.502914] [<ffffffffa0ede11b>] i9xx_crtc_enable+0x3fb/0x4b0 [i915]
[ 30.509478] [<ffffffffa0edc692>] __intel_set_mode+0x8a2/0xcb0 [i915]
[ 30.515995] [<ffffffffa0ee351b>] intel_crtc_set_config+0xc0b/0xf90 [i915]
[ 30.522922] [<ffffffffa0def259>] drm_mode_set_config_internal+0x69/0x120 [drm]
[ 30.530310] [<ffffffffa0e4e5d8>] restore_fbdev_mode+0xc8/0xf0 [drm_kms_helper]
[ 30.537682] [<ffffffff811d1607>] ? kfree+0xe7/0x3b0
[ 30.542771] [<ffffffffa0e50649>]
drm_fb_helper_restore_fbdev_mode_unlocked+0x29/0x80 [drm_kms_helper]
[ 30.552175] [<ffffffffa0ef212e>] intel_fbdev_restore_mode+0x1e/0x50 [i915]
[ 30.559259] [<ffffffffa0f16fee>] i915_driver_lastclose+0xe/0x10 [i915]
[ 30.565916] [<ffffffffa0de1e1e>] drm_lastclose+0x2e/0x150 [drm]
[ 30.571991] [<ffffffffa0de2280>] drm_release+0x340/0x550 [drm]
[ 30.577986] [<ffffffff811ef5b3>] __fput+0xf3/0x210
[ 30.582926] [<ffffffff811ef71e>] ____fput+0xe/0x10
[ 30.587931] [<ffffffff8107bfdc>] task_work_run+0xcc/0x100
[ 30.593479] [<ffffffff81004181>] do_notify_resume+0x61/0x90
[ 30.599241] [<ffffffff816427c7>] 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/