*** This bug is a duplicate of bug 573259 *** https://bugs.launchpad.net/bugs/573259
Note that this text: "SIOCSIFFLAGS: Cannot allocate memory" means that the _kernel_ could not allocate memory. Check your dmesg output. Mine looks something like this: Note the 'page allocation failure. order:3' -- that means my kernel couldn't allocate 2^3 == 8 pages (32 KB) of contiguous memory suitable for use. (Perhaps it required DMA-32 memory? More details would have been nice from the driver..) In any event, the kernel cannot pick from the entirety of memory, only what is available for the kernel, and that is significantly restricted compared to userspace memory. I'm not sure this bug is a duplicate, because none of the reports in #573259 mention page allocation failures. [71958.795088] NetworkManager: page allocation failure. order:3, mode:0x4020 [71958.795091] Pid: 16534, comm: NetworkManager Not tainted 2.6.32-26-generic #48-Ubuntu [71958.795092] Call Trace: [71958.795098] [<ffffffff810f9ff9>] __alloc_pages_slowpath+0x4a9/0x590 [71958.795101] [<ffffffff810fa23e>] __alloc_pages_nodemask+0x15e/0x1a0 [71958.795104] [<ffffffff811323d2>] kmalloc_large_node+0x62/0xb0 [71958.795107] [<ffffffff81136a65>] __kmalloc_node_track_caller+0x125/0x180 [71958.795109] [<ffffffff81455c96>] ? __netdev_alloc_skb+0x36/0x60 [71958.795112] [<ffffffff814554b0>] __alloc_skb+0x80/0x190 [71958.795114] [<ffffffff81455c96>] __netdev_alloc_skb+0x36/0x60 [71958.795125] [<ffffffffa00111fa>] rtl8169_rx_fill+0xba/0x250 [r8169] [71958.795128] [<ffffffff812c5850>] ? swiotlb_map_page+0x0/0xf0 [71958.795132] [<ffffffffa0011d63>] rtl8169_init_ring+0x73/0xb0 [r8169] [71958.795136] [<ffffffffa0011fda>] rtl8169_open+0x14a/0x3d0 [r8169] [71958.795139] [<ffffffff814611e2>] dev_open+0xa2/0x100 [71958.795142] [<ffffffff81460911>] dev_change_flags+0xa1/0x1e0 [71958.795144] [<ffffffff8146cbff>] do_setlink+0x1af/0x430 [71958.795147] [<ffffffff812c67c4>] ? nla_parse+0x34/0x110 [71958.795149] [<ffffffff8146d6b2>] rtnl_setlink+0x132/0x180 [71958.795152] [<ffffffff8146c780>] rtnetlink_rcv_msg+0x1e0/0x220 [71958.795154] [<ffffffff8146c5a0>] ? rtnetlink_rcv_msg+0x0/0x220 [71958.795157] [<ffffffff81483a49>] netlink_rcv_skb+0xa9/0xd0 [71958.795159] [<ffffffff8146c585>] rtnetlink_rcv+0x25/0x40 [71958.795161] [<ffffffff814836ae>] netlink_unicast+0x2de/0x2f0 [71958.795163] [<ffffffff8148449e>] netlink_sendmsg+0x1fe/0x2e0 [71958.795166] [<ffffffff8144e48b>] sock_sendmsg+0x10b/0x140 [71958.795168] [<ffffffff8144eb7e>] ? sock_recvmsg+0x11e/0x150 [71958.795171] [<ffffffff81084570>] ? autoremove_wake_function+0x0/0x40 [71958.795174] [<ffffffff8144d9e4>] ? move_addr_to_kernel+0x64/0x70 [71958.795176] [<ffffffff81458c39>] ? verify_iovec+0x69/0xc0 [71958.795178] [<ffffffff8144e8f3>] sys_sendmsg+0x233/0x3a0 [71958.795181] [<ffffffff812b8906>] ? rb_erase+0xd6/0x160 [71958.795184] [<ffffffff815417a8>] ? thread_return+0x48/0x420 [71958.795187] [<ffffffff810121b2>] system_call_fastpath+0x16/0x1b [71958.795188] Mem-Info: [71958.795189] Node 0 DMA per-cpu: [71958.795191] CPU 0: hi: 0, btch: 1 usd: 0 [71958.795192] CPU 1: hi: 0, btch: 1 usd: 0 [71958.795194] CPU 2: hi: 0, btch: 1 usd: 0 [71958.795195] CPU 3: hi: 0, btch: 1 usd: 0 [71958.795196] CPU 4: hi: 0, btch: 1 usd: 0 [71958.795197] CPU 5: hi: 0, btch: 1 usd: 0 [71958.795199] CPU 6: hi: 0, btch: 1 usd: 0 [71958.795200] CPU 7: hi: 0, btch: 1 usd: 0 [71958.795201] Node 0 DMA32 per-cpu: [71958.795203] CPU 0: hi: 186, btch: 31 usd: 67 [71958.795204] CPU 1: hi: 186, btch: 31 usd: 57 [71958.795205] CPU 2: hi: 186, btch: 31 usd: 179 [71958.795206] CPU 3: hi: 186, btch: 31 usd: 0 [71958.795208] CPU 4: hi: 186, btch: 31 usd: 1 [71958.795209] CPU 5: hi: 186, btch: 31 usd: 85 [71958.795210] CPU 6: hi: 186, btch: 31 usd: 29 [71958.795212] CPU 7: hi: 186, btch: 31 usd: 30 [71958.795213] Node 0 Normal per-cpu: [71958.795214] CPU 0: hi: 186, btch: 31 usd: 177 [71958.795215] CPU 1: hi: 186, btch: 31 usd: 122 [71958.795217] CPU 2: hi: 186, btch: 31 usd: 162 [71958.795218] CPU 3: hi: 186, btch: 31 usd: 13 [71958.795219] CPU 4: hi: 186, btch: 31 usd: 46 [71958.795220] CPU 5: hi: 186, btch: 31 usd: 93 [71958.795222] CPU 6: hi: 186, btch: 31 usd: 79 [71958.795223] CPU 7: hi: 186, btch: 31 usd: 180 [71958.795226] active_anon:58095 inactive_anon:50396 isolated_anon:0 [71958.795227] active_file:647161 inactive_file:642975 isolated_file:33 [71958.795227] unevictable:0 dirty:124 writeback:1 unstable:0 [71958.795228] free:14287 slab_reclaimable:37562 slab_unreclaimable:5513 [71958.795229] mapped:13579 shmem:335 pagetables:2731 bounce:0 [71958.795230] Node 0 DMA free:15884kB min:24kB low:28kB high:36kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15328kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:16kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes [71958.795237] lowmem_reserve[]: 0 3254 6031 6031 [71958.795239] Node 0 DMA32 free:36904kB min:5352kB low:6688kB high:8028kB active_anon:10948kB inactive_anon:58300kB active_file:1489880kB inactive_file:1488776kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:3332192kB mlocked:0kB dirty:144kB writeback:4kB mapped:18684kB shmem:196kB slab_reclaimable:94776kB slab_unreclaimable:2492kB kernel_stack:152kB pagetables:896kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:35 all_unreclaimable? no [71958.795246] lowmem_reserve[]: 0 0 2777 2777 [71958.795248] Node 0 Normal free:4484kB min:4568kB low:5708kB high:6852kB active_anon:221432kB inactive_anon:143284kB active_file:1098648kB inactive_file:1083264kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:2844160kB mlocked:0kB dirty:352kB writeback:0kB mapped:35632kB shmem:1144kB slab_reclaimable:55472kB slab_unreclaimable:19544kB kernel_stack:3424kB pagetables:10028kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:28 all_unreclaimable? no [71958.795255] lowmem_reserve[]: 0 0 0 0 [71958.795258] Node 0 DMA: 1*4kB 3*8kB 3*16kB 4*32kB 3*64kB 3*128kB 1*256kB 1*512kB 2*1024kB 2*2048kB 2*4096kB = 15884kB [71958.795264] Node 0 DMA32: 5649*4kB 1094*8kB 339*16kB 0*32kB 0*64kB 0*128kB 1*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 37028kB [71958.795270] Node 0 Normal: 847*4kB 33*8kB 10*16kB 1*32kB 0*64kB 1*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 4484kB [71958.795276] 1290590 total pagecache pages [71958.795277] 150 pages in swap cache [71958.795278] Swap cache stats: add 1197, delete 1047, find 572/644 [71958.795279] Free swap = 6499328kB [71958.795280] Total swap = 6499992kB [71958.807503] 1572864 pages RAM [71958.807504] 41865 pages reserved [71958.807505] 144231 pages shared [71958.807506] 1391378 pages non-shared -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/664011 Title: Ethernet doesn't work after disconnecting and then reconnecting after being connected to wifi -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs