Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751231AbaG1TLx (ORCPT ); Mon, 28 Jul 2014 15:11:53 -0400 Received: from mail-qg0-f41.google.com ([209.85.192.41]:65526 "EHLO mail-qg0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750995AbaG1TLv convert rfc822-to-8bit (ORCPT ); Mon, 28 Jul 2014 15:11:51 -0400 MIME-Version: 1.0 In-Reply-To: References: <5386F2C7.8080400@redhat.com> <1524296.Cxrf5UDWlv@vostro.rjw.lan> Date: Mon, 28 Jul 2014 12:11:50 -0700 Message-ID: Subject: Re: WARNING: CPU: 0 PID: 2623 at drivers/pnp/pnpacpi/core.c:96 pnpacpi_set_resource From: Vinson Lee To: "Rafael J. Wysocki" Cc: Zdenek Kabelac , "Rafael J. Wysocki" , LKML , ACPI Devel Maling List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 27, 2014 at 2:01 AM, Vinson Lee wrote: > On Fri, Jul 25, 2014 at 4:15 PM, Vinson Lee wrote: >> On Thu, May 29, 2014 at 4:14 AM, Rafael J. Wysocki wrote: >>> On Thursday, May 29, 2014 10:41:43 AM Zdenek Kabelac wrote: >>>> Hi >>>> >>>> >>>> I've noticed this message in my dmesg: >>>> (Possibly related to this commit?: >>>> a8d22396302b7e4e5f0a594c1c1594388c29edaf) >>> >>> Well, does reverting that commit make the warning go away? >>> >>> Rafael >>> >>> >>>> (My vanilla git commit number for my kernel: >>>> cd79bde29f00a346eec3fe17c1c5073c37ed95e7) >>>> >>>> Zdenek >>>> >>>> >>>> [ 2174.058615] ata5: port disabled--ignoring >>>> [ 2174.059460] sd 0:0:0:0: [sda] Starting disk >>>> [ 2174.076342] ------------[ cut here ]------------ >>>> [ 2174.076350] WARNING: CPU: 0 PID: 2623 at drivers/pnp/pnpacpi/core.c:96 >>>> pnpacpi_set_resources+0x14f/0x160() >>>> [ 2174.076412] Modules linked in: dm_raid raid456 async_raid6_recov >>>> async_memcpy async_pq async_xor async_tx raid1 raid10 dm_mod md_mod xor >>>> raid6_pq i915 i2c_algo_bit drm_kms_helper drm xt_CHECKSUM iptable_mangle >>>> ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 >>>> xt_conntrack nf_conntrack ipt_REJECT xt_tcpudp iptable_filter ip_tables >>>> x_tables tun bridge stp llc ipv6 hid_generic usbhid hid snd_hda_codec_analog >>>> snd_hda_codec_generic iTCO_wdt iTCO_vendor_support coretemp kvm_intel kvm >>>> microcode psmouse serio_raw i2c_i801 i2c_core arc4 lpc_ich mfd_core r852 >>>> iwl3945 sm_common nand r592 nand_ecc nand_ids iwlegacy mtd memstick mac80211 >>>> sdhci_pci pcmcia sdhci snd_hda_intel mmc_core snd_hda_controller snd_hda_codec >>>> snd_hwdep snd_seq snd_seq_device snd_pcm cfg80211 e1000e ptp snd_timer >>>> [ 2174.076433] pps_core wmi thinkpad_acpi nvram snd soundcore evdev nfsd >>>> auth_rpcgss oid_registry nfs_acl lockd binfmt_misc loop sunrpc uhci_hcd sr_mod >>>> cdrom yenta_socket ehci_pci ehci_hcd usbcore usb_common video backlight autofs4 >>>> [ 2174.076436] CPU: 0 PID: 2623 Comm: systemd-sleep Not tainted >>>> 3.15.0-rc7-00044-g887210a #209 >>>> [ 2174.076437] Hardware name: LENOVO 6464CTO/6464CTO, BIOS 7LETC9WW (2.29 ) >>>> 03/18/2011 >>>> [ 2174.076440] 0000000000000009 ffff880095d55c40 ffffffff815db694 >>>> 0000000000000000 >>>> [ 2174.076444] ffff880095d55c78 ffffffff8104e78d 0000000000000000 >>>> ffff880136c3cd98 >>>> [ 2174.076447] ffff8800bac2b000 ffffffff8180cb5a 0000000000000000 >>>> ffff880095d55c88 >>>> [ 2174.076448] Call Trace: >>>> [ 2174.076453] [] dump_stack+0x4e/0x7a >>>> [ 2174.076643] [] warn_slowpath_common+0x7d/0xa0 >>>> [ 2174.076646] [] warn_slowpath_null+0x1a/0x20 >>>> [ 2174.076648] [] pnpacpi_set_resources+0x14f/0x160 >>>> [ 2174.076651] [] pnp_start_dev+0x42/0x80 >>>> [ 2174.076655] [] pnp_bus_resume+0x88/0xa0 >>>> [ 2174.076658] [] ? pnp_bus_suspend+0x20/0x20 >>>> [ 2174.076662] [] dpm_run_callback+0x49/0xa0 >>>> [ 2174.076664] [] device_resume+0xc8/0x1f0 >>>> [ 2174.076667] [] dpm_resume+0x119/0x250 >>>> [ 2174.076670] [] dpm_resume_end+0x11/0x20 >>>> [ 2174.076673] [] suspend_devices_and_enter+0xff/0x680 >>>> [ 2174.076676] [] pm_suspend+0x1e7/0x2a0 >>>> [ 2174.076678] [] state_store+0x7c/0xf0 >>>> [ 2174.076683] [] kobj_attr_store+0xf/0x20 >>>> [ 2174.076686] [] sysfs_kf_write+0x45/0x60 >>>> [ 2174.076690] [] kernfs_fop_write+0xf9/0x180 >>>> [ 2174.076694] [] vfs_write+0xbd/0x1e0 >>>> [ 2174.076696] [] SyS_write+0x49/0xb0 >>>> [ 2174.076700] [] system_call_fastpath+0x1a/0x1f >>>> [ 2174.081587] ---[ end trace 32ffe1e61f685f01 ]--- >>>> [ 2174.082221] serial 00:09: activated >>>> [ 2174.233290] thinkpad_acpi: ACPI backlight control delay disabled >>>> [ 2174.323685] ata4.00: ACPI cmd ef/03:42:00:00:00:a0 (SET FEATURES) filtered out >>>> [ 2174.323688] ata4.00: ACPI cmd ef/03:0c:00:00:00:a0 (SET FEATURES) filtered out >>>> [ 2174.324671] ata4.00: ACPI cmd e3/00:79:00:00:00:a0 (IDLE) succeeded >>>> [ 2174.325651] ata4.00: ACPI cmd e3/00:01:00:00:00:a0 (IDLE) succeeded >>>> [ 2174.345266] ata4.00: configured for UDMA/33 >>>> -- >>>> 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/ >>> >>> -- >>> I speak only for myself. >>> Rafael J. Wysocki, Intel Open Source Technology Center. >>> -- >>> 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/ >> >> >> Hi. >> >> I hit a similar stack trace with 3.14.8. >> >> ------------[ cut here ]------------ >> WARNING: CPU: 23 PID: 1 at drivers/pnp/pnpacpi/core.c:96 >> pnpacpi_set_resources+0x9a/0x134() >> Modules linked in: >> CPU: 23 PID: 1 Comm: swapper/0 Not tainted 3.14.8 #1 >> 0000000000000000 ffff881fd29f5c78 ffffffff814e27e5 0000000000000000 >> ffff881fd29f5cb0 ffffffff8105c4b1 ffffffff812f32f3 0000000000000000 >> ffff883fd1f0a800 ffff881fff047348 0000000000000000 ffff881fd29f5cc0 >> Call Trace: >> [] dump_stack+0x45/0x56 >> [] warn_slowpath_common+0x7f/0x98 >> [] ? pnpacpi_set_resources+0x9a/0x134 >> [] warn_slowpath_null+0x1a/0x1c >> [] pnpacpi_set_resources+0x9a/0x134 >> [] pnp_start_dev+0x3d/0x76 >> [] pnp_activate_dev+0x29/0x44 >> [] pnp_device_probe+0x47/0xa6 >> [] driver_probe_device+0x120/0x2f2 >> [] __driver_attach+0x5d/0x7f >> [] ? __device_attach+0x3d/0x3d >> [] bus_for_each_dev+0x7b/0x85 >> [] driver_attach+0x1e/0x20 >> [] bus_add_driver+0x12f/0x1f9 >> [] driver_register+0x8e/0xca >> [] pnp_register_driver+0x21/0x23 >> [] serial8250_pnp_init+0x15/0x17 >> [] serial8250_init+0x60/0x143 >> [] ? serial8250_console_init+0x19/0x19 >> [] do_one_initcall+0xa4/0x12a >> [] ? parse_args+0x258/0x331 >> [] kernel_init_freeable+0x16f/0x1f4 >> [] ? do_early_param+0x88/0x88 >> [] ? rest_init+0x79/0x79 >> [] kernel_init+0xe/0xdf >> [] ret_from_fork+0x7c/0xb0 >> [] ? rest_init+0x79/0x79 >> ---[ end trace 9cf08771a70bd5a1 ]— >> >> >> Cheers, >> Vinson > > Hi. > > Reverting "PNP / ACPI: Do not return errors if _DIS or _SRS are not > present" does not make the warning go away. > > The warning also occurs with kernel 3.16-rc6. > > ------------[ cut here ]------------ > WARNING: CPU: 23 PID: 1 at drivers/pnp/pnpacpi/core.c:76 > pnpacpi_set_resources+0x9a/0x134() > Modules linked in: > CPU: 23 PID: 1 Comm: swapper/0 Not tainted 3.16.0-rc6 #1 > 0000000000000000 ffff8808541efc78 ffffffff814facfd 0000000000000000 > ffff8808541efcb0 ffffffff8105f229 ffffffff81302487 0000000000000000 > ffff8810530e8000 ffff88085f450e60 0000000000000000 ffff8808541efcc0 > Call Trace: > [] dump_stack+0x45/0x56 > [] warn_slowpath_common+0x7f/0x98 > [] ? pnpacpi_set_resources+0x9a/0x134 > [] warn_slowpath_null+0x1a/0x1c > [] pnpacpi_set_resources+0x9a/0x134 > [] pnp_start_dev+0x3d/0x76 > [] pnp_activate_dev+0x29/0x44 > [] pnp_device_probe+0x47/0xa6 > [] driver_probe_device+0x120/0x2f3 > [] __driver_attach+0x5d/0x7f > [] ? __device_attach+0x3d/0x3d > [] bus_for_each_dev+0x7b/0x85 > [] driver_attach+0x1e/0x20 > [] bus_add_driver+0x12f/0x1f9 > [] driver_register+0x8e/0xca > [] pnp_register_driver+0x21/0x23 > [] serial8250_pnp_init+0x15/0x17 > [] serial8250_init+0x60/0x143 > [] ? serial8250_console_init+0x19/0x19 > [] do_one_initcall+0xff/0x186 > [] ? parse_args+0x280/0x373 > [] kernel_init_freeable+0x16f/0x1f4 > [] ? do_early_param+0x88/0x88 > [] ? rest_init+0x79/0x79 > [] kernel_init+0xe/0xdf > [] ret_from_fork+0x7c/0xb0 > [] ? rest_init+0x79/0x79 > ---[ end trace 68542c0606786a42 ]--- > > Vinson The warning first happens with 3.14-rc1. The warning does not occur with 3.13.0. -- 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/