PROBLEM: with resume (?) and networking

From: Sasha Sirotkin
Date: Sat May 15 2010 - 13:34:51 EST


I'm having some problem which seems to be related to suspend/resume.

>From time to time, usually after resume, I start getting some weird
networking problems. I'm sorry, there is no better way to explain
this. Problem disappears after reboot. Here is what I have in dmesg


May 15 11:39:34 borjch kernel: [26150.566227] ------------[ cut here
]------------
May 15 11:39:34 borjch kernel: [26150.566234] WARNING: at
/build/buildd/linux-2.6.31/kernel/power/suspend_test.c:53
suspend_test_finish+0x84/0x90()
May 15 11:39:34 borjch kernel: [26150.566236] Hardware name: System Product Name
May 15 11:39:34 borjch kernel: [26150.566238] Component: resume
devices, time: 10500
May 15 11:39:34 borjch kernel: [26150.566239] Modules linked in:
nls_iso8859_1 nls_cp437 vfat fat binfmt_misc ppdev lp parport
vboxnetadp vboxnetflt vboxdrv nfsd exportfs nfs lockd nfs_acl
auth_rpcgss sunrpc dm_crypt xt_tcpudp xt_mac snd_hda_codec_realtek
nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack snd_hda_intel
snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss iptable_filter
snd_pcm ip_tables x_tables snd_seq_dummy snd_seq_oss snd_seq_midi
snd_rawmidi joydev ftdi_sio usbserial snd_seq_midi_event snd_seq
psmouse serio_raw sc92031 snd_timer snd_seq_device k8temp i2c_piix4
snd soundcore snd_page_alloc shpchp asus_atk0110 dm_raid45 xor
usb_storage usbhid r8169 mii ati_agp radeon ttm drm agpgart
i2c_algo_bit ramzswap xvmalloc lzo_decompress lzo_compress
May 15 11:39:34 borjch kernel: [26150.566278] Pid: 16727, comm:
pm-suspend Not tainted 2.6.31-16-generic #53-Ubuntu
May 15 11:39:34 borjch kernel: [26150.566280] Call Trace:
May 15 11:39:34 borjch kernel: [26150.566286] [<c014518d>]
warn_slowpath_common+0x6d/0xa0
May 15 11:39:34 borjch kernel: [26150.566289] [<c0174e74>] ?
suspend_test_finish+0x84/0x90
May 15 11:39:34 borjch kernel: [26150.566292] [<c0174e74>] ?
suspend_test_finish+0x84/0x90
May 15 11:39:34 borjch kernel: [26150.566295] [<c0145206>]
warn_slowpath_fmt+0x26/0x30
May 15 11:39:34 borjch kernel: [26150.566298] [<c0174e74>]
suspend_test_finish+0x84/0x90
May 15 11:39:34 borjch kernel: [26150.566301] [<c0174c5f>]
suspend_devices_and_enter+0x9f/0xd0
May 15 11:39:34 borjch kernel: [26150.566305] [<c056ea7c>] ? printk+0x18/0x1c
May 15 11:39:34 borjch kernel: [26150.566307] [<c0174d49>]
enter_state+0xb9/0xf0
May 15 11:39:34 borjch kernel: [26150.566310] [<c017443d>]
state_store+0x6d/0xb0
May 15 11:39:34 borjch kernel: [26150.566313] [<c01743d0>] ?
state_store+0x0/0xb0
May 15 11:39:34 borjch kernel: [26150.566317] [<c0311f80>]
kobj_attr_store+0x20/0x30
May 15 11:39:34 borjch kernel: [26150.566321] [<c0239780>]
sysfs_write_file+0x90/0x100
May 15 11:39:34 borjch kernel: [26150.566325] [<c01e791a>] vfs_write+0x9a/0x190
May 15 11:39:34 borjch kernel: [26150.566328] [<c02396f0>] ?
sysfs_write_file+0x0/0x100
May 15 11:39:34 borjch kernel: [26150.566331] [<c05733ab>] ?
do_page_fault+0x19b/0x380
May 15 11:39:34 borjch kernel: [26150.566334] [<c01e83dd>] sys_write+0x3d/0x70
May 15 11:39:34 borjch kernel: [26150.566337] [<c010336c>] syscall_call+0x7/0xb
May 15 11:39:34 borjch kernel: [26150.566339] ---[ end trace
abb3daa247765c8c ]---
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.

Linux borjch.rnk 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:01:29 UTC 2009 i686 GNU/Linux

Gnu C 4.4.1
Gnu make 3.81
binutils 2.20
util-linux 2.16
mount support
module-init-tools 3.10
e2fsprogs 1.41.9
reiserfsprogs 3.6.21
xfsprogs 3.0.2
pcmciautils 014
Linux C Library 2.10.1
Dynamic linker (ldd) 2.10.1
Procps 3.2.8
Net-tools 1.60
Kbd 1.15
Sh-utils 7.4
wireless-tools 29
Modules Loaded nls_iso8859_1 nls_cp437 vfat fat binfmt_misc ppdev lp parport vboxnetadp vboxnetflt vboxdrv nfsd exportfs nfs lockd nfs_acl auth_rpcgss sunrpc dm_crypt snd_hda_codec_realtek xt_tcpudp xt_mac nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm iptable_filter ip_tables x_tables snd_seq_dummy joydev snd_seq_oss snd_seq_midi snd_rawmidi ftdi_sio usbserial snd_seq_midi_event snd_seq snd_timer snd_seq_device psmouse serio_raw k8temp sc92031 asus_atk0110 shpchp snd i2c_piix4 soundcore snd_page_alloc dm_raid45 xor usb_storage usbhid radeon ttm drm i2c_algo_bit r8169 mii ati_agp agpgart ramzswap xvmalloc lzo_decompress lzo_compress
nls_iso8859_1 3740 1 - Live 0xf86a8000
nls_cp437 5372 1 - Live 0xf86a0000
vfat 10716 1 - Live 0xf8578000
fat 51452 1 vfat, Live 0xf8686000
binfmt_misc 8356 1 - Live 0xf855c000
ppdev 6688 0 - Live 0xf8552000
lp 8964 0 - Live 0xf8505000
parport 35340 2 ppdev,lp, Live 0xf8542000
vboxnetadp 7296 0 - Live 0xf8333000
vboxnetflt 14344 0 - Live 0xf8381000
vboxdrv 177320 2 vboxnetadp,vboxnetflt, Live 0xf86ef000
nfsd 241104 9 - Live 0xf8732000
exportfs 4412 1 nfsd, Live 0xf835e000
nfs 271912 1 - Live 0xf86aa000
lockd 67724 2 nfsd,nfs, Live 0xf863e000
nfs_acl 2844 2 nfsd,nfs, Live 0xf8298000
auth_rpcgss 36576 2 nfsd,nfs, Live 0xf857d000
sunrpc 191712 14 nfsd,nfs,lockd,nfs_acl,auth_rpcgss, Live 0xf85f5000
dm_crypt 12928 0 - Live 0xf827c000
snd_hda_codec_realtek 202336 1 - Live 0xf85af000
xt_tcpudp 2780 7 - Live 0xf826a000
xt_mac 1372 3 - Live 0xf853f000
nf_conntrack_ipv4 13352 8 - Live 0xf838f000
nf_defrag_ipv4 1756 1 nf_conntrack_ipv4, Live 0xf8376000
xt_state 1820 8 - Live 0xf8336000
nf_conntrack 67608 2 nf_conntrack_ipv4,xt_state, Live 0xf850b000
snd_hda_intel 26560 0 - Live 0xf8386000
snd_hda_codec 78300 2 snd_hda_codec_realtek,snd_hda_intel, Live 0xf84dd000
snd_hwdep 7392 1 snd_hda_codec, Live 0xf801f000
snd_pcm_oss 37312 0 - Live 0xf8327000
snd_mixer_oss 16188 1 snd_pcm_oss, Live 0xf8276000
snd_pcm 74976 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss, Live 0xf8349000
iptable_filter 3100 1 - Live 0xf824a000
ip_tables 11692 1 iptable_filter, Live 0xf825d000
x_tables 16544 4 xt_tcpudp,xt_mac,xt_state,ip_tables, Live 0xf826f000
snd_seq_dummy 2752 0 - Live 0xf8257000
joydev 10272 0 - Live 0xf802b000
snd_seq_oss 29280 0 - Live 0xf8033000
snd_seq_midi 6624 0 - Live 0xf84d9000
snd_rawmidi 22208 1 snd_seq_midi, Live 0xf84cb000
ftdi_sio 52580 1 - Live 0xf84af000
usbserial 36232 3 ftdi_sio, Live 0xf8361000
snd_seq_midi_event 6940 2 snd_seq_oss,snd_seq_midi, Live 0xf82f3000
snd_seq 51088 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event, Live 0xf833a000
snd_timer 21540 2 snd_pcm,snd_seq, Live 0xf831f000
snd_seq_device 7208 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq, Live 0xf82c3000
psmouse 56500 0 - Live 0xf82e0000
serio_raw 5280 0 - Live 0xf8242000
k8temp 4188 0 - Live 0xf809e000
sc92031 14144 0 - Live 0xf8234000
asus_atk0110 8252 0 - Live 0xf82d1000
shpchp 32272 0 - Live 0xf8315000
snd 60900 14 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq,snd_timer,snd_seq_device, Live 0xf82f6000
i2c_piix4 9932 0 - Live 0xf82c9000
soundcore 7264 1 snd, Live 0xf822d000
snd_page_alloc 9060 2 snd_hda_intel,snd_pcm, Live 0xf8245000
dm_raid45 84228 0 - Live 0xf8281000
xor 15620 1 dm_raid45, Live 0xf8227000
usb_storage 52576 1 - Live 0xf820e000
usbhid 38208 0 - Live 0xf84bf000
radeon 636000 2 - Live 0xf8397000
ttm 36212 1 radeon, Live 0xf82d5000
drm 159584 4 radeon,ttm, Live 0xf829a000
i2c_algo_bit 5760 1 radeon, Live 0xf8262000
r8169 32064 0 - Live 0xf824d000
mii 5212 1 r8169, Live 0xf823b000
ati_agp 6760 0 - Live 0xf8230000
agpgart 34988 3 ttm,drm,ati_agp, Live 0xf821c000
ramzswap 8880 1 - Live 0xf8099000
xvmalloc 5180 1 ramzswap, Live 0xf802f000
lzo_decompress 2620 1 ramzswap, Live 0xf8028000
lzo_compress 2300 1 ramzswap, Live 0xf8022000