Re: Regression with suspend resume5a87182aa21d6d5d306840feab9321818dd3e2a3

From: Paul Bolle
Date: Sun Dec 08 2013 - 14:33:23 EST


On Sun, 2013-12-08 at 20:21 +0100, Zdenek Kabelac wrote:
> Dne 8.12.2013 12:13, Paul Bolle napsal(a):
> > Rafael just asked Linus to pull a revert of that commit (see
> > https://lkml.org/lkml/2013/12/7/126 ).
> >
> I'm not sure - but it also could be related with another warning I'm getting
> during resume:
>
> But possibly this is result in i915 update ?

I don't think that's likely. See a recent LKML thread
( https://lkml.org/lkml/2013/11/30/148 ). There are two patches
mentioned in that thread. I had to apply both patches to make that
WARNING go away (on a 32 bit ThinkPad).

(These two patches are now in my local stash, on top of v3.13-rc3. I'm
not sure what their status is and whether these will end up in
mainline.)

> PM: Syncing filesystems ... done.
> Freezing user space processes ... (elapsed 0.005 seconds) done.
> Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
> Suspending console(s) (use no_console_suspend to debug)
> sd 0:0:0:0: [sda] Synchronizing SCSI cache
> sd 0:0:0:0: [sda] Stopping disk
> ------------[ cut here ]------------
> WARNING: CPU: 0 PID: 2042 at drivers/gpu/drm/i915/intel_display.c:9948
> intel_get_pipe_from_connector+0x49/0x50 [i915]()
> Modules linked in: i915 i2c_algo_bit drm_kms_helper drm ctr ccm ipt_MASQUERADE
> iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack
> nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp tun bridge stp
> llc ipv6 ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables
> bnep btusb bluetooth snd_hda_codec_analog iTCO_wdt iTCO_vendor_support arc4
> coretemp kvm_intel kvm microcode iwl3945 iwlegacy psmouse serio_raw mac80211
> i2c_i801 i2c_core sdhci_pci r852 sm_common sdhci nand cfg80211 nand_ecc
> snd_hda_intel nand_ids mmc_core mtd snd_hda_codec r592 snd_hwdep snd_seq
> memstick snd_seq_device snd_pcm lpc_ich mfd_core e1000e snd_page_alloc
> snd_timer ptp pps_core thinkpad_acpi wmi nvram snd soundcore evdev binfmt_misc
> nfsd auth_rpcgss oid_registry exportfs loop nfs_acl lockd sunrpc pcmcia sr_mod
> yenta_socket cdrom ehci_pci ehci_hcd uhci_hcd usbcore usb_common video
> backlight autofs4
> CPU: 0 PID: 2042 Comm: kworker/u4:3 Tainted: G W
> 3.13.0-rc3-00006-gee4645c #186
> Hardware name: LENOVO 6464CTO/6464CTO, BIOS 7LETC9WW (2.29 ) 03/18/2011
> Workqueue: events_unbound async_run_entry_fn
> 0000000000000009 ffff88009ad21af8 ffffffff815a3bfe 0000000000000000
> ffff88009ad21b30 ffffffff8104924d ffff8800b5f4fe00 ffff8800aa408000
> ffffffffffffffff ffff8800b5f4fe00 ffff8800b5f4fe00 ffff88009ad21b40
> Call Trace:
> [<ffffffff815a3bfe>] dump_stack+0x4e/0x7a
> [<ffffffff8104924d>] warn_slowpath_common+0x7d/0xa0
> [<ffffffff8104932a>] warn_slowpath_null+0x1a/0x20
> [<ffffffffa0c27f59>] intel_get_pipe_from_connector+0x49/0x50 [i915]
> [<ffffffffa0c41e05>] intel_panel_disable_backlight+0x25/0x180 [i915]
> [<ffffffffa0c2cfad>] intel_disable_lvds+0x4d/0x180 [i915]
> [<ffffffffa0c1ceda>] i9xx_crtc_disable+0x28a/0x380 [i915]
> [<ffffffffa0be50ca>] i915_drm_freeze+0xca/0x150 [i915]
> [<ffffffffa0be54cd>] i915_pm_suspend+0x3d/0x90 [i915]
> [<ffffffff813668bc>] pci_pm_suspend+0x6c/0x150
> [<ffffffff81366850>] ? pci_pm_freeze+0xe0/0xe0
> [<ffffffff81433e89>] dpm_run_callback+0x49/0xa0
> [<ffffffff8143428d>] __device_suspend+0xdd/0x280
> [<ffffffff8143444f>] async_suspend+0x1f/0xa0
> [<ffffffff81079e87>] async_run_entry_fn+0x37/0x130
> [<ffffffff8106a8ed>] process_one_work+0x1fd/0x6d0
> [<ffffffff8106a88b>] ? process_one_work+0x19b/0x6d0
> [<ffffffff8106aee1>] worker_thread+0x121/0x3a0
> [<ffffffff8106adc0>] ? process_one_work+0x6d0/0x6d0
> [<ffffffff81072fc0>] kthread+0xf0/0x110
> [<ffffffff81072ed0>] ? insert_kthread_work+0x70/0x70
> [<ffffffff815b402c>] ret_from_fork+0x7c/0xb0
> [<ffffffff81072ed0>] ? insert_kthread_work+0x70/0x70
> ---[ end trace 7517bdfd550790cc ]---
> PM: suspend of devices complete after 797.599 msecs
> PM: late suspend of devices complete after 3.960 msecs


Paul Bolle

--
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/