Re: WARNING: CPU: 0 PID: 2623 at drivers/pnp/pnpacpi/core.c:96 pnpacpi_set_resource

From: Vinson Lee
Date: Fri Jul 25 2014 - 19:16:02 EST


On Thu, May 29, 2014 at 4:14 AM, Rafael J. Wysocki <rjw@xxxxxxxxxxxxx> 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] [<ffffffff815db694>] dump_stack+0x4e/0x7a
>> [ 2174.076643] [<ffffffff8104e78d>] warn_slowpath_common+0x7d/0xa0
>> [ 2174.076646] [<ffffffff8104e86a>] warn_slowpath_null+0x1a/0x20
>> [ 2174.076648] [<ffffffff814046cf>] pnpacpi_set_resources+0x14f/0x160
>> [ 2174.076651] [<ffffffff81401db2>] pnp_start_dev+0x42/0x80
>> [ 2174.076655] [<ffffffff81400858>] pnp_bus_resume+0x88/0xa0
>> [ 2174.076658] [<ffffffff814007d0>] ? pnp_bus_suspend+0x20/0x20
>> [ 2174.076662] [<ffffffff8145e919>] dpm_run_callback+0x49/0xa0
>> [ 2174.076664] [<ffffffff8145ec18>] device_resume+0xc8/0x1f0
>> [ 2174.076667] [<ffffffff81460639>] dpm_resume+0x119/0x250
>> [ 2174.076670] [<ffffffff814609b1>] dpm_resume_end+0x11/0x20
>> [ 2174.076673] [<ffffffff810b4b0f>] suspend_devices_and_enter+0xff/0x680
>> [ 2174.076676] [<ffffffff810b5277>] pm_suspend+0x1e7/0x2a0
>> [ 2174.076678] [<ffffffff810b3c2c>] state_store+0x7c/0xf0
>> [ 2174.076683] [<ffffffff81359f2f>] kobj_attr_store+0xf/0x20
>> [ 2174.076686] [<ffffffff8124b1b5>] sysfs_kf_write+0x45/0x60
>> [ 2174.076690] [<ffffffff8124a4d9>] kernfs_fop_write+0xf9/0x180
>> [ 2174.076694] [<ffffffff811c66bd>] vfs_write+0xbd/0x1e0
>> [ 2174.076696] [<ffffffff811c7249>] SyS_write+0x49/0xb0
>> [ 2174.076700] [<ffffffff815ecbd6>] 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@xxxxxxxxxxxxxxx
>> 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@xxxxxxxxxxxxxxx
> 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:
[<ffffffff814e27e5>] dump_stack+0x45/0x56
[<ffffffff8105c4b1>] warn_slowpath_common+0x7f/0x98
[<ffffffff812f32f3>] ? pnpacpi_set_resources+0x9a/0x134
[<ffffffff8105c578>] warn_slowpath_null+0x1a/0x1c
[<ffffffff812f32f3>] pnpacpi_set_resources+0x9a/0x134
[<ffffffff812f1264>] pnp_start_dev+0x3d/0x76
[<ffffffff812f189d>] pnp_activate_dev+0x29/0x44
[<ffffffff812f0406>] pnp_device_probe+0x47/0xa6
[<ffffffff81333e20>] driver_probe_device+0x120/0x2f2
[<ffffffff8133408c>] __driver_attach+0x5d/0x7f
[<ffffffff8133402f>] ? __device_attach+0x3d/0x3d
[<ffffffff81332248>] bus_for_each_dev+0x7b/0x85
[<ffffffff81333852>] driver_attach+0x1e/0x20
[<ffffffff813334a6>] bus_add_driver+0x12f/0x1f9
[<ffffffff81334614>] driver_register+0x8e/0xca
[<ffffffff812f0299>] pnp_register_driver+0x21/0x23
[<ffffffff813169b6>] serial8250_pnp_init+0x15/0x17
[<ffffffff81b39d3c>] serial8250_init+0x60/0x143
[<ffffffff81b39cdc>] ? serial8250_console_init+0x19/0x19
[<ffffffff810002d2>] do_one_initcall+0xa4/0x12a
[<ffffffff810758b1>] ? parse_args+0x258/0x331
[<ffffffff81afcea2>] kernel_init_freeable+0x16f/0x1f4
[<ffffffff81afc719>] ? do_early_param+0x88/0x88
[<ffffffff814d47b5>] ? rest_init+0x79/0x79
[<ffffffff814d47c3>] kernel_init+0xe/0xdf
[<ffffffff814ee0ec>] ret_from_fork+0x7c/0xb0
[<ffffffff814d47b5>] ? rest_init+0x79/0x79
---[ end trace 9cf08771a70bd5a1 ]â


Cheers,
Vinson
--
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/