It's a kernel panic rendering the system unusable, so I can't run any diagnostic commands.
** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1745608 Title: [x86_64] Kernel panic when building on NFS in VM Status in linux package in Ubuntu: Confirmed Bug description: Since around begin of December (definitely before any KPTI was merged), I'm having problems building AOSP on an NFS share that is mounted in a VM with Ubuntu 16.04.3. After some minutes the system freezes completely, the SSH session becomes unresponsive and I can't open a new one. Logging in via virt-manager's UI isn't possible either. When connecting to serial port, I got the following kernel panic stack trace: [ 2531.058622] PANIC: double fault, error_code: 0x0 [ 2531.073231] Kernel panic - not syncing: Machine halted. [ 2531.074309] CPU: 2 PID: 16421 Comm: kworker/2:0H Not tainted 4.4.0-112-generic #135-Ubuntu [ 2531.076122] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.11.0-20171110_100015-anatol 04/01/2014 [ 2531.080374] Workqueue: rpciod rpc_async_schedule [sunrpc] [ 2531.081818] 0000000000000086 3c797ca978191564 ffff88013fd07e80 ffffffff813fc233 [ 2531.083022] ffffffff81cba603 ffff88013fd07f18 ffff88013fd07f08 ffffffff8118f1c7 [ 2531.084382] 0000000000000008 ffff88013fd07f18 ffff88013fd07eb0 3c797ca978191564 [ 2531.086127] Call Trace: [ 2531.086928] <#DF> [<ffffffff813fc233>] dump_stack+0x63/0x90 [ 2531.088606] [<ffffffff8118f1c7>] panic+0xd3/0x215 [ 2531.091309] [<ffffffff81060d5d>] df_debug+0x2d/0x30 [ 2531.092424] [<ffffffff8102fb8c>] do_double_fault+0x7c/0xf0 [ 2531.093294] [<ffffffff81849288>] double_fault+0x28/0x30 [ 2531.094170] [<ffffffff8172a93d>] ? __build_skb+0x9d/0xe0 [ 2531.095017] <<EOE>> <IRQ> [<ffffffff8172aad0>] __netdev_alloc_skb+0xc0/0x100 [ 2531.096281] [<ffffffff8160a225>] page_to_skb+0x65/0x340 [ 2531.097120] [<ffffffff8160c6c5>] virtnet_receive+0x2a5/0x8f0 [ 2531.098055] [<ffffffff8160c9f3>] ? virtnet_receive+0x5d3/0x8f0 [ 2531.099023] [<ffffffff8160cd2d>] virtnet_poll+0x1d/0x80 [ 2531.100100] [<ffffffff8173a14e>] net_rx_action+0x21e/0x360 [ 2531.100894] [<ffffffff8160a103>] ? skb_recv_done+0x43/0x50 [ 2531.101765] [<ffffffff81086a61>] __do_softirq+0x101/0x290 [ 2531.102619] [<ffffffff81086d63>] irq_exit+0xa3/0xb0 [ 2531.103511] [<ffffffff8184aae4>] do_IRQ+0x54/0xd0 [ 2531.104453] [<ffffffff81846426>] common_interrupt+0x1a6/0x1a6 [ 2531.105459] <EOI> [<ffffffff811ee43f>] ? new_slab+0x29f/0x490 [ 2531.106516] [<ffffffff811ee525>] ? new_slab+0x385/0x490 [ 2531.107428] [<ffffffff811ef47b>] ___slab_alloc+0x22b/0x470 [ 2531.108372] [<ffffffffc0327a74>] ? rpc_malloc+0x34/0xa0 [sunrpc] [ 2531.109389] [<ffffffffc0323721>] ? xs_sendpages+0x61/0x1d0 [sunrpc] [ 2531.110693] [<ffffffffc032c34e>] ? rpcauth_lookup_credcache+0xbe/0x2a0 [sunrpc] [ 2531.112050] [<ffffffffc0327a74>] ? rpc_malloc+0x34/0xa0 [sunrpc] [ 2531.113174] [<ffffffff811ef6e0>] __slab_alloc+0x20/0x40 [ 2531.113906] [<ffffffff811f1075>] __kmalloc+0x1d5/0x250 [ 2531.114649] [<ffffffffc0327a74>] rpc_malloc+0x34/0xa0 [sunrpc] [ 2531.115483] [<ffffffffc031cf92>] call_allocate+0xc2/0x1b0 [sunrpc] [ 2531.116353] [<ffffffffc031ced0>] ? call_reserveresult+0x120/0x120 [sunrpc] [ 2531.117298] [<ffffffffc031ced0>] ? call_reserveresult+0x120/0x120 [sunrpc] [ 2531.118236] [<ffffffffc0328551>] __rpc_execute+0x91/0x470 [sunrpc] [ 2531.119085] [<ffffffffc0328945>] rpc_async_schedule+0x15/0x20 [sunrpc] [ 2531.120327] [<ffffffff8109b815>] process_one_work+0x165/0x480 [ 2531.121364] [<ffffffff8109bb7b>] worker_thread+0x4b/0x4d0 [ 2531.122340] [<ffffffff8109bb30>] ? process_one_work+0x480/0x480 [ 2531.123696] [<ffffffff810a1eb5>] kthread+0xe5/0x100 [ 2531.124717] [<ffffffff810a1dd0>] ? kthread_create_on_node+0x1e0/0x1e0 [ 2531.126057] [<ffffffff81845b9f>] ret_from_fork+0x3f/0x70 [ 2531.127192] [<ffffffff810a1dd0>] ? kthread_create_on_node+0x1e0/0x1e0 [ 2531.129000] Kernel Offset: disabled [ 2531.160053] ---[ end Kernel panic - not syncing: Machine halted. I decided to try the HWE kernel - with the same result, but a different stack trace: [ 3643.637138] PANIC: double fault, error_code: 0x0 [ 3643.650655] Kernel panic - not syncing: Machine halted. [ 3643.651474] CPU: 0 PID: 47 Comm: kswapd0 Not tainted 4.13.0-32-generic #35~16.04.1-Ubuntu [ 3643.653108] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.11.0-20171110_100015-anatol 04/01/2014 [ 3643.654974] Call Trace: [ 3643.655384] <#DF> [ 3643.655740] dump_stack+0x63/0x8b [ 3643.656337] panic+0xe4/0x23d [ 3643.656870] df_debug+0x2d/0x30 [ 3643.657421] do_double_fault+0x9a/0x130 [ 3643.658119] double_fault+0x22/0x30 [ 3643.658722] RIP: 0010:_raw_spin_trylock+0x9/0x30 [ 3643.659518] RSP: 0000:ffffa3ec408a3bf8 EFLAGS: 00010292 [ 3643.660404] RAX: 000000000040008c RBX: ffff8c31683d1f00 RCX: ffffa3ec408a3c50 [ 3643.661664] RDX: 0000000000000001 RSI: ffff8c31683d19b0 RDI: ffff8c3166d1e720 [ 3643.662927] RBP: ffffa3ec408a3bf8 R08: ffffa3ec408a3c50 R09: ffffa3ec408a3d50 [ 3643.664166] R10: 000000000004dde0 R11: 0000000000000040 R12: ffff8c3166cb7f58 [ 3643.665359] R13: ffffa3ec408a3c50 R14: ffff8c3166cb7f00 R15: ffff8c3166cb7f80 [ 3643.666573] </#DF> [ 3643.666948] shrink_dentry_list+0x101/0x2e0 [ 3643.667679] prune_dcache_sb+0x5a/0x80 [ 3643.668330] super_cache_scan+0x119/0x1a0 [ 3643.669025] shrink_slab.part.48+0x1fa/0x420 [ 3643.669760] shrink_slab+0x29/0x30 [ 3643.670357] shrink_node+0x108/0x310 [ 3643.670995] kswapd+0x32a/0x770 [ 3643.671547] kthread+0x109/0x140 [ 3643.672115] ? mem_cgroup_shrink_node+0x180/0x180 [ 3643.672924] ? kthread_create_on_node+0x70/0x70 [ 3643.673707] ret_from_fork+0x1f/0x30 [ 3643.674451] Kernel Offset: 0x9c00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 3643.676229] ---[ end Kernel panic - not syncing: Machine halted. Please let me know if you need further information, I can reproduce this pretty reliably... To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1745608/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp