Re: [PATCH] Power Manager suspend-hybrid warn on systemlog

From: Alexandre Felipe Muller de Souza
Date: Tue Apr 26 2011 - 15:09:29 EST


Rafael, thank you a lot for your reply.

Unfortunately something strange occurred when I applied any one of this
2 patches you sent.

The network interface flooded the demsg with many times of that:
WARNING: at net/mac80211/iface.c:718 ieee80211_iface_work+0x305/0x310
[mac80211]()
Hardware name: P MOBILE
interface work scheduled while going to suspend
Modules linked in: option usb_wwan usbserial sit tunnel4 fuse ipt_IFWLOG
ipt_psd cls_flow cls_fw cls_u32 sch_htb sch_hfsc sch_ingress sch_sfq
xt_time xt_connlimit xt_realm iptable_raw xt_comment xt_recent xt_policy
ipt_ULOG ipt_REJECT ipt_REDIRECT ipt_NETMAP ipt_MASQUERADE ipt_ECN
ipt_ecn ipt_CLUSTERIP ipt_ah ipt_addrtype nf_nat_tftp nf_nat_snmp_basic
nf_nat_sip nf_nat_pptp nf_nat_proto_gre nf_nat_irc nf_nat_h323
nf_nat_ftp nf_nat_amanda ts_kmp nf_conntrack_amanda nf_conntrack_sane
nf_conntrack_tftp nf_conntrack_sip nf_conntrack_proto_sctp
nf_conntrack_pptp nf_conntrack_proto_gre nf_conntrack_netlink
nf_conntrack_netbios_ns nf_conntrack_irc nf_conntrack_h323
nf_conntrack_ftp ipt_set ipt_SET ip_set_nethash ip_set_iptreemap
ip_set_iptree ip_set_ipporthash ip_set_portmap ip_set_macipmap
ip_set_ipmap ip_set_iphash ip_set xt_TPROXY nf_tproxy_core ip6_tables
nf_defrag_ipv6 xt_tcpmss xt_pkttype xt_physdev xt_owner xt_NFQUEUE
xt_NFLOG nfnetlink_log xt_multiport xt_mark af_packet xt_mac xt_limit
xt_length xt_iprange xt_helper xt_hashlimit xt_DSCP xt_dscp xt_dccp
xt_conntrack xt_connmark xt_CLASSIFY ipt_LOG xt_tcpudp xt_state
iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack
iptable_mangle nfnetlink iptable_filter ip_tables x_tables ipv6 i915
drm_kms_helper drm i2c_algo_bit binfmt_misc loop dm_mirror
dm_region_hash dm_log dm_mod uvcvideo videodev i2c_core cpufreq_ondemand
cpufreq_conservative cpufreq_powersave acpi_cpufreq freq_table mperf
nvram snd_hda_codec_hdmi usbhid hid uas usb_storage
snd_hda_codec_realtek snd_hda_intel arc4 snd_hda_codec snd_hwdep ecb
snd_seq_dummy rtl8192ce snd_seq_oss snd_seq_midi_event snd_seq
snd_seq_device pciehp pci_hotplug snd_pcm_oss snd_pcm rtlwifi snd_timer
snd_mixer_oss snd iTCO_wdt soundcore ehci_hcd iTCO_vendor_support
mac80211 sparse_keymap sg sr_mod r8169 battery mii cfg80211 rfkill
serio_raw wmi snd_page_alloc evdev ac processor thermal button video
usbcore ata_piix ahci libahci libata sd_mod scsi_mod crc_t10dif ext4
jbd2 crc16 [last unloaded: scsi_wait_scan]
Pid: 6209, comm: kworker/u:11 Tainted: G W
2.6.38.3-server-1mnb2 #1
Call Trace:
[<c0151a72>] ? warn_slowpath_common+0x72/0xa0
[<f847f735>] ? ieee80211_iface_work+0x305/0x310 [mac80211]
[<f847f735>] ? ieee80211_iface_work+0x305/0x310 [mac80211]
[<c0151b43>] ? warn_slowpath_fmt+0x33/0x40
[<f847f735>] ? ieee80211_iface_work+0x305/0x310 [mac80211]
[<c0168cf2>] ? cwq_dec_nr_in_flight+0x52/0x90
[<c016a300>] ? process_one_work+0x100/0x3a0
[<c014bd94>] ? wake_up_process+0x14/0x20
[<c01681f5>] ? start_worker+0x25/0x30
[<f847f430>] ? ieee80211_iface_work+0x0/0x310 [mac80211]
[<c016b0ba>] ? worker_thread+0x12a/0x2e0
[<c016af90>] ? worker_thread+0x0/0x2e0
[<c016e9ed>] ? kthread+0x6d/0x80
[<c016e980>] ? kthread+0x0/0x80
[<c010b43e>] ? kernel_thread_helper+0x6/0x10
---[ end trace bbe4a610450faaf0 ]---
WARNING: at net/mac80211/work.c:904 ieee80211_work_work+0x2bf/0x10e0
[mac80211]()
Hardware name: P MOBILE
work scheduled while going to suspend
Modules linked in: option usb_wwan usbserial sit tunnel4 fuse ipt_IFWLOG
ipt_psd cls_flow cls_fw cls_u32 sch_htb sch_hfsc sch_ingress sch_sfq
xt_time xt_connlimit xt_realm iptable_raw xt_comment xt_recent xt_policy
ipt_ULOG ipt_REJECT ipt_REDIRECT ipt_NETMAP ipt_MASQUERADE ipt_ECN
ipt_ecn ipt_CLUSTERIP ipt_ah ipt_addrtype nf_nat_tftp nf_nat_snmp_basic
nf_nat_sip nf_nat_pptp nf_nat_proto_gre nf_nat_irc nf_nat_h323
nf_nat_ftp nf_nat_amanda ts_kmp nf_conntrack_amanda nf_conntrack_sane
nf_conntrack_tftp nf_conntrack_sip nf_conntrack_proto_sctp
nf_conntrack_pptp nf_conntrack_proto_gre nf_conntrack_netlink
nf_conntrack_netbios_ns nf_conntrack_irc nf_conntrack_h323
nf_conntrack_ftp ipt_set ipt_SET ip_set_nethash ip_set_iptreemap
ip_set_iptree ip_set_ipporthash ip_set_portmap ip_set_macipmap
ip_set_ipmap ip_set_iphash ip_set xt_TPROXY nf_tproxy_core ip6_tables
nf_defrag_ipv6 xt_tcpmss xt_pkttype xt_physdev xt_owner xt_NFQUEUE
xt_NFLOG nfnetlink_log xt_multiport xt_mark af_packet xt_mac xt_limit
xt_length xt_iprange xt_helper xt_hashlimit xt_DSCP xt_dscp xt_dccp
xt_conntrack xt_connmark xt_CLASSIFY ipt_LOG xt_tcpudp xt_state
iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack
iptable_mangle nfnetlink iptable_filter ip_tables x_tables ipv6 i915
drm_kms_helper drm i2c_algo_bit binfmt_misc loop dm_mirror
dm_region_hash dm_log dm_mod uvcvideo videodev i2c_core cpufreq_ondemand
cpufreq_conservative cpufreq_powersave acpi_cpufreq freq_table mperf
nvram snd_hda_codec_hdmi usbhid hid uas usb_storage
snd_hda_codec_realtek snd_hda_intel arc4 snd_hda_codec snd_hwdep ecb
snd_seq_dummy rtl8192ce snd_seq_oss snd_seq_midi_event snd_seq
snd_seq_device pciehp pci_hotplug snd_pcm_oss snd_pcm rtlwifi snd_timer
snd_mixer_oss snd iTCO_wdt soundcore ehci_hcd iTCO_vendor_support
mac80211 sparse_keymap sg sr_mod r8169 battery mii cfg80211 rfkill
serio_raw wmi snd_page_alloc evdev ac processor thermal button video
usbcore ata_piix ahci libahci libata sd_mod scsi_mod crc_t10dif ext4
jbd2 crc16 [last unloaded: scsi_wait_scan]
Pid: 6209, comm: kworker/u:11 Tainted: G W
2.6.38.3-server-1mnb2 #1
Call Trace:
[<c0151a72>] ? warn_slowpath_common+0x72/0xa0
[<f847dc1f>] ? ieee80211_work_work+0x2bf/0x10e0 [mac80211]
[<f847dc1f>] ? ieee80211_work_work+0x2bf/0x10e0 [mac80211]
[<c0151b43>] ? warn_slowpath_fmt+0x33/0x40
[<f847dc1f>] ? ieee80211_work_work+0x2bf/0x10e0 [mac80211]
[<f847f735>] ? ieee80211_iface_work+0x305/0x310 [mac80211]
[<f847f735>] ? ieee80211_iface_work+0x305/0x310 [mac80211]
[<c016a300>] ? process_one_work+0x100/0x3a0
[<c014bd94>] ? wake_up_process+0x14/0x20
[<c01681f5>] ? start_worker+0x25/0x30
[<f847d960>] ? ieee80211_work_work+0x0/0x10e0 [mac80211]
[<c016b0ba>] ? worker_thread+0x12a/0x2e0
[<c016af90>] ? worker_thread+0x0/0x2e0
[<c016e9ed>] ? kthread+0x6d/0x80
[<c016e980>] ? kthread+0x0/0x80
[<c010b43e>] ? kernel_thread_helper+0x6/0x10
---[ end trace bbe4a610450faaf1 ]---

With the stupid hack I posted first It does not occurs.

Thanks
Alexandre

Em Seg, 2011-04-25 Ãs 23:47 +0200, Rafael J. Wysocki escreveu:
> into the right direction, but the
> pm_restrict_gfp_mask() is needed for the "pure" suspend-to-RAM case.
>
> Please check if the appended patch works for you.


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