NetworkManager says "page allocation failure. order:3, mode:0x4020" after resume from suspend

Bug #605045 reported by Nuno Sucena Almeida
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: network-manager

After suspend/resume, NetworkManager gets page allocation failure. Right afterwards ifconfig also fails with the same error, rendering both wired and wireless connections unusable. See attachment for relevant kern.log output. Similar to
https://bugzilla.redhat.com/show_bug.cgi?id=567256 and https://bugzilla.redhat.com/show_bug.cgi?id=566389

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: network-manager 0.8-0ubuntu3
ProcVersionSignature: Ubuntu 2.6.32-23.37-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-23-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
CRDA: Error: [Errno 2] No such file or directory
Date: Tue Jul 13 10:47:38 2010
Gconf:

IfupdownConfig:
 auto lo
 iface lo inet loopback

 #auto wlan0
 #iface wlan0 inet dhcp
InstallationMedia: Kubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427)
Keyfiles: Error: [Errno 2] No such file or directory
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: network-manager

Revision history for this message
Nuno Sucena Almeida (slug-debian) wrote :
Revision history for this message
joshas (joshas) wrote :

Same issue here, on 32-bit Ubuntu 10.04. First noticed it after recent system update.

Revision history for this message
Paddy Landau (paddy-landau) wrote :

I have this on two different computers with Lucid 10.04, one 32-bit and one 64-bit.

It used to be intermittent but now happens every time.

Revision history for this message
Paddy Landau (paddy-landau) wrote :
Revision history for this message
Paddy Landau (paddy-landau) wrote :

Workaround: Install WICD and uninstall Network Manager.
http://ubuntuforums.org/showthread.php?p=9684842#post9684842

Revision history for this message
Hélio Nunes (dedalu-dedalu) wrote :

Same here, 64bits.

This does not look like a real workaround. As you can read in redhat's bug report (https://bugzilla.redhat.com/show_bug.cgi?id=566389), it is related to r8169 module trying to allocate four pages of physically contiguous
memory. And from my logs, it makes sense:

Nov 22 08:08:47 dedalu-desktop kernel: [15322.709908] NetworkManager: page allocation failure. order:3, mode:0x4020
Nov 22 08:08:47 dedalu-desktop kernel: [15322.709910] Pid: 1062, comm: NetworkManager Tainted: P 2.6.35-22-generic #35-Ubuntu
Nov 22 08:08:47 dedalu-desktop kernel: [15322.709912] Call Trace:
Nov 22 08:08:47 dedalu-desktop kernel: [15322.709917] [<ffffffff81108253>] __alloc_pages_slowpath+0x583/0x590
Nov 22 08:08:47 dedalu-desktop kernel: [15322.709919] [<ffffffff811083fa>] __alloc_pages_nodemask+0x19a/0x1f0
Nov 22 08:08:47 dedalu-desktop kernel: [15322.709921] [<ffffffff815891be>] ? _raw_spin_lock+0xe/0x20
Nov 22 08:08:47 dedalu-desktop kernel: [15322.709924] [<ffffffff8113fb02>] kmalloc_large_node+0x62/0xb0
Nov 22 08:08:47 dedalu-desktop kernel: [15322.709925] [<ffffffff8114367c>] __kmalloc_node_track_caller+0x13c/0x1f0
Nov 22 08:08:47 dedalu-desktop kernel: [15322.709928] [<ffffffff8148fcc6>] ? __netdev_alloc_skb+0x36/0x60
Nov 22 08:08:47 dedalu-desktop kernel: [15322.709929] [<ffffffff8148f9b3>] __alloc_skb+0x83/0x170
Nov 22 08:08:47 dedalu-desktop kernel: [15322.709931] [<ffffffff8148fcc6>] __netdev_alloc_skb+0x36/0x60
Nov 22 08:08:47 dedalu-desktop kernel: [15322.709939] [<ffffffffa000b1fc>] rtl8169_rx_fill+0xbc/0x260 [r8169]
[...]

I think we should assign this to kernel team.

Revision history for this message
Hélio Nunes (dedalu-dedalu) wrote :
Revision history for this message
jan (jan-ubuntu-h-i-s) wrote :
Revision history for this message
Thomas Hood (jdthood) wrote :

@Nuna: What are the Wi-Fi hardware and driver involved here?

Can you reproduce the problem in Ubuntu 12.04?

summary: - NetworkManager: page allocation failure. order:3, mode:0x4020
+ NetworkManager says "page allocation failure. order:3, mode:0x4020"
+ after resume from suspend
Changed in network-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Nuno Sucena Almeida (slug-debian) wrote :

I'm runing 12.04 now, the current driver name is iwlwifi and the hardware is an Intel WiFi Link 5100. It's been two years now and I don't remember the last time this issue happened to me, so I believe you can close the bug, at least from my part.

Revision history for this message
Thomas Hood (jdthood) wrote :

Thanks for the update!

Changed in network-manager (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
Paddy Landau (paddy-landau) wrote :

My problem has also been resolved for some time. I'm sure this can be closed.

Revision history for this message
Thomas Hood (jdthood) wrote :

Nice to hear

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.