Skip to contentSkip to conversation

kernel BUG at include/net/netns/generic.h:41

DISCUSSION Dave Jones 3 participants 11 messages Mar 28, 2012 – Apr 26, 2012

Subsystems (2)
lore
Share & tools
lore

Dave Jones

author
#0 lore raw

I started seeing this every boot.. (v3.3-6972-ge22057c)

Dave

[   17.103931] ------------[ cut here ]------------
[   17.105987] RPC: Registered named UNIX socket transport module.
[   17.105989] RPC: Registered udp transport module.
[   17.105990] RPC: Registered tcp transport module.
[   17.105992] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   17.104856] kernel BUG at include/net/netns/generic.h:41!
[   17.104856] invalid opcode: 0000 [#1] PREEMPT SMP 
[   17.104856] CPU 0 
[   17.104856] Modules linked in: sunrpc btrfs zlib_deflate libcrc32c firewire_ohci firewire_core sata_sil crc_itu_t floppy radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core
[   17.104856] 
[   17.104856] Pid: 416, comm: mount Not tainted 3.3.0+ #19                  /D975XBX
[   17.104856] RIP: 0010:[<ffffffffa029068b>]  [<ffffffffa029068b>] rpc_fill_super+0x29b/0x2a0 [sunrpc]
[   17.104856] RSP: 0018:ffff8800b52c5cf8  EFLAGS: 00010246
[   17.104856] RAX: 0000000000000001 RBX: ffff8800a394dcd0 RCX: 0000000000000000
[   17.104856] RDX: ffff8800a4c10000 RSI: ffffffff81c2cd00 RDI: ffff8800a4c10918
[   17.104856] RBP: ffff8800b52c5d38 R08: 0000000000000001 R09: 0000000000000000
[   17.104856] R10: 0000000000000001 R11: 0000000000000002 R12: 0000000000000000
[   17.104856] R13: ffffffff82d0f140 R14: ffff8800ba54c000 R15: 0000000000000000
[   17.104856] FS:  00007f1a97593800(0000) GS:ffff8800bf600000(0000) knlGS:0000000000000000
[   17.104856] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[   17.104856] CR2: 0000003e92478a90 CR3: 00000000a4d22000 CR4: 00000000000007f0
[   17.104856] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   17.104856] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[   17.104856] Process mount (pid: 416, threadinfo ffff8800b52c4000, task ffff8800a4c10000)
[   17.104856] Stack:
[   17.104856]  ffffffffa02903f0 00000000000000d0 000060ff40002438 ffffffff82d0f140
[   17.104856]  0000000000000000 ffffffffa02903f0 ffff8800a394dcd0 0000000000000000
[   17.104856]  ffff8800b52c5d88 ffffffff811a9d8c 0000000000000003 ffffffff00000001
[   17.104856] Call Trace:
[   17.104856]  [<ffffffffa02903f0>] ? rpc_mkpipe_dentry+0x180/0x180 [sunrpc]
[   17.104856]  [<ffffffffa02903f0>] ? rpc_mkpipe_dentry+0x180/0x180 [sunrpc]
[   17.104856]  [<ffffffff811a9d8c>] mount_ns+0xac/0xe0
[   17.104856]  [<ffffffffa028ea39>] rpc_mount+0x29/0x30 [sunrpc]
[   17.104856]  [<ffffffff811aaab3>] mount_fs+0x43/0x1b0
[   17.104856]  [<ffffffff8115dd80>] ? __alloc_percpu+0x10/0x20
[   17.104856]  [<ffffffff811c8af2>] vfs_kern_mount+0x72/0x100
[   17.104856]  [<ffffffff811c92d4>] do_kern_mount+0x54/0x110
[   17.104856]  [<ffffffff811caa44>] do_mount+0x1a4/0x830
[   17.104856]  [<ffffffff8115765b>] ? memdup_user+0x4b/0x90
[   17.104856]  [<ffffffff811576fb>] ? strndup_user+0x5b/0x80
[   17.104856]  [<ffffffff811cb210>] sys_mount+0x90/0xe0
[   17.104856]  [<ffffffff816624d2>] system_call_fastpath+0x16/0x1b
[   17.104856] Code: e8 db 7a e6 e0 84 c0 74 c9 48 c7 c7 00 cd c2 81 e8 bb e5 e1 e0 85 c0 0f 85 f4 fd ff ff eb b3 90 41 bf f4 ff ff ff e9 ce fe ff ff <0f> 0b 0f 0b 90 55 48 89 e5 41 54 53 48 83 ec 10 66 66 66 66 90 
[   17.104856] RIP  [<ffffffffa029068b>] rpc_fill_super+0x29b/0x2a0 [sunrpc]
[   17.104856]  RSP <ffff8800b52c5cf8>
[   17.469688] ---[ end trace 74871f164631364c ]---
[   17.488286] BUG: sleeping function called from invalid context at kernel/rwsem.c:21
[   17.498626] in_atomic(): 0, irqs_disabled(): 0, pid: 416, name: mount
[   17.498629] INFO: lockdep is turned off.
[   17.498631] Pid: 416, comm: mount Tainted: G      D      3.3.0+ #19
[   17.498632] Call Trace:
[   17.498639]  [<ffffffff8107d96c>] __might_sleep+0x13c/0x1f0
[   17.498644]  [<ffffffff81657c06>] down_read+0x26/0x93
[   17.498646]  [<ffffffff81061164>] exit_signals+0x24/0x130
[   17.498650]  [<ffffffff8104d3cf>] do_exit+0xbf/0xb60
[   17.498652]  [<ffffffff8104a443>] ? kmsg_dump+0x1c3/0x2c0
[   17.498654]  [<ffffffff8104a2ff>] ? kmsg_dump+0x7f/0x2c0
[   17.498657]  [<ffffffff8165b9d4>] oops_end+0xa4/0xf0
[   17.498660]  [<ffffffff81005be8>] die+0x58/0x90
[   17.498662]  [<ffffffff8165b2f4>] do_trap+0xc4/0x170
[   17.498665]  [<ffffffff81002f35>] ? do_invalid_op+0xa5/0xb0
[   17.498667]  [<ffffffff81002f25>] do_invalid_op+0x95/0xb0
[   17.498684]  [<ffffffffa029068b>] ? rpc_fill_super+0x29b/0x2a0 [sunrpc]
[   17.498686]  [<ffffffff8165e3cd>] ? sub_preempt_count+0x9d/0xd0
[   17.498689]  [<ffffffff8131baad>] ? trace_hardirqs_off_thunk+0x3a/0x3c
[   17.498692]  [<ffffffff8165ac4d>] ? restore_args+0x30/0x30
[   17.498696]  [<ffffffff81663755>] invalid_op+0x15/0x20
[   17.498704]  [<ffffffffa029068b>] ? rpc_fill_super+0x29b/0x2a0 [sunrpc]
[   17.498713]  [<ffffffffa0290675>] ? rpc_fill_super+0x285/0x2a0 [sunrpc]
[   17.498721]  [<ffffffffa02903f0>] ? rpc_mkpipe_dentry+0x180/0x180 [sunrpc]
[   17.498731]  [<ffffffffa02903f0>] ? rpc_mkpipe_dentry+0x180/0x180 [sunrpc]
[   17.498734]  [<ffffffff811a9d8c>] mount_ns+0xac/0xe0
[   17.498743]  [<ffffffffa028ea39>] rpc_mount+0x29/0x30 [sunrpc]
[   17.498746]  [<ffffffff811aaab3>] mount_fs+0x43/0x1b0
[   17.498750]  [<ffffffff8115dd80>] ? __alloc_percpu+0x10/0x20
[   17.498754]  [<ffffffff811c8af2>] vfs_kern_mount+0x72/0x100
[   17.498756]  [<ffffffff811c92d4>] do_kern_mount+0x54/0x110
[   17.498760]  [<ffffffff811caa44>] do_mount+0x1a4/0x830
[   17.498763]  [<ffffffff8115765b>] ? memdup_user+0x4b/0x90
[   17.498765]  [<ffffffff811576fb>] ? strndup_user+0x5b/0x80
[   17.498769]  [<ffffffff811cb210>] sys_mount+0x90/0xe0
[   17.498773]  [<ffffffff816624d2>] system_call_fastpath+0x16/0x1b
[   17.775067] systemd[1]: var-lib-nfs-rpc_pipefs.mount mount process exited, code=killed status=11
[   17.829617] systemd[1]: Job nfs-idmap.service/start failed with result 'dependency'.
[   17.856061] systemd[1]: Unit var-lib-nfs-rpc_pipefs.mount entered failed state.
author
#1 lore raw

[added Trond to cc:]

still seeing this in 3.4rc1

Dave

Quoted 79 lines · Dave Jones

I started seeing this every boot.. (v3.3-6972-ge22057c)

[   17.103931] ------------[ cut here ]------------
[   17.105987] RPC: Registered named UNIX socket transport module.
[   17.105989] RPC: Registered udp transport module.
[   17.105990] RPC: Registered tcp transport module.
[   17.105992] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   17.104856] kernel BUG at include/net/netns/generic.h:41!
[   17.104856] invalid opcode: 0000 [#1] PREEMPT SMP 
[   17.104856] CPU 0 
[   17.104856] Modules linked in: sunrpc btrfs zlib_deflate libcrc32c firewire_ohci firewire_core sata_sil crc_itu_t floppy radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core
[   17.104856] 
[   17.104856] Pid: 416, comm: mount Not tainted 3.3.0+ #19                  /D975XBX
[   17.104856] RIP: 0010:[<ffffffffa029068b>]  [<ffffffffa029068b>] rpc_fill_super+0x29b/0x2a0 [sunrpc]
[   17.104856] RSP: 0018:ffff8800b52c5cf8  EFLAGS: 00010246
[   17.104856] RAX: 0000000000000001 RBX: ffff8800a394dcd0 RCX: 0000000000000000
[   17.104856] RDX: ffff8800a4c10000 RSI: ffffffff81c2cd00 RDI: ffff8800a4c10918
[   17.104856] RBP: ffff8800b52c5d38 R08: 0000000000000001 R09: 0000000000000000
[   17.104856] R10: 0000000000000001 R11: 0000000000000002 R12: 0000000000000000
[   17.104856] R13: ffffffff82d0f140 R14: ffff8800ba54c000 R15: 0000000000000000
[   17.104856] FS:  00007f1a97593800(0000) GS:ffff8800bf600000(0000) knlGS:0000000000000000
[   17.104856] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[   17.104856] CR2: 0000003e92478a90 CR3: 00000000a4d22000 CR4: 00000000000007f0
[   17.104856] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   17.104856] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[   17.104856] Process mount (pid: 416, threadinfo ffff8800b52c4000, task ffff8800a4c10000)
[   17.104856] Stack:
[   17.104856]  ffffffffa02903f0 00000000000000d0 000060ff40002438 ffffffff82d0f140
[   17.104856]  0000000000000000 ffffffffa02903f0 ffff8800a394dcd0 0000000000000000
[   17.104856]  ffff8800b52c5d88 ffffffff811a9d8c 0000000000000003 ffffffff00000001
[   17.104856] Call Trace:
[   17.104856]  [<ffffffffa02903f0>] ? rpc_mkpipe_dentry+0x180/0x180 [sunrpc]
[   17.104856]  [<ffffffffa02903f0>] ? rpc_mkpipe_dentry+0x180/0x180 [sunrpc]
[   17.104856]  [<ffffffff811a9d8c>] mount_ns+0xac/0xe0
[   17.104856]  [<ffffffffa028ea39>] rpc_mount+0x29/0x30 [sunrpc]
[   17.104856]  [<ffffffff811aaab3>] mount_fs+0x43/0x1b0
[   17.104856]  [<ffffffff8115dd80>] ? __alloc_percpu+0x10/0x20
[   17.104856]  [<ffffffff811c8af2>] vfs_kern_mount+0x72/0x100
[   17.104856]  [<ffffffff811c92d4>] do_kern_mount+0x54/0x110
[   17.104856]  [<ffffffff811caa44>] do_mount+0x1a4/0x830
[   17.104856]  [<ffffffff8115765b>] ? memdup_user+0x4b/0x90
[   17.104856]  [<ffffffff811576fb>] ? strndup_user+0x5b/0x80
[   17.104856]  [<ffffffff811cb210>] sys_mount+0x90/0xe0
[   17.104856]  [<ffffffff816624d2>] system_call_fastpath+0x16/0x1b
[   17.104856] Code: e8 db 7a e6 e0 84 c0 74 c9 48 c7 c7 00 cd c2 81 e8 bb e5 e1 e0 85 c0 0f 85 f4 fd ff ff eb b3 90 41 bf f4 ff ff ff e9 ce fe ff ff <0f> 0b 0f 0b 90 55 48 89 e5 41 54 53 48 83 ec 10 66 66 66 66 90 
[   17.104856] RIP  [<ffffffffa029068b>] rpc_fill_super+0x29b/0x2a0 [sunrpc]
[   17.104856]  RSP <ffff8800b52c5cf8>
[   17.469688] ---[ end trace 74871f164631364c ]---
[   17.488286] BUG: sleeping function called from invalid context at kernel/rwsem.c:21
[   17.498626] in_atomic(): 0, irqs_disabled(): 0, pid: 416, name: mount
[   17.498629] INFO: lockdep is turned off.
[   17.498631] Pid: 416, comm: mount Tainted: G      D      3.3.0+ #19
[   17.498632] Call Trace:
[   17.498639]  [<ffffffff8107d96c>] __might_sleep+0x13c/0x1f0
[   17.498644]  [<ffffffff81657c06>] down_read+0x26/0x93
[   17.498646]  [<ffffffff81061164>] exit_signals+0x24/0x130
[   17.498650]  [<ffffffff8104d3cf>] do_exit+0xbf/0xb60
[   17.498652]  [<ffffffff8104a443>] ? kmsg_dump+0x1c3/0x2c0
[   17.498654]  [<ffffffff8104a2ff>] ? kmsg_dump+0x7f/0x2c0
[   17.498657]  [<ffffffff8165b9d4>] oops_end+0xa4/0xf0
[   17.498660]  [<ffffffff81005be8>] die+0x58/0x90
[   17.498662]  [<ffffffff8165b2f4>] do_trap+0xc4/0x170
[   17.498665]  [<ffffffff81002f35>] ? do_invalid_op+0xa5/0xb0
[   17.498667]  [<ffffffff81002f25>] do_invalid_op+0x95/0xb0
[   17.498684]  [<ffffffffa029068b>] ? rpc_fill_super+0x29b/0x2a0 [sunrpc]
[   17.498686]  [<ffffffff8165e3cd>] ? sub_preempt_count+0x9d/0xd0
[   17.498689]  [<ffffffff8131baad>] ? trace_hardirqs_off_thunk+0x3a/0x3c
[   17.498692]  [<ffffffff8165ac4d>] ? restore_args+0x30/0x30
[   17.498696]  [<ffffffff81663755>] invalid_op+0x15/0x20
[   17.498704]  [<ffffffffa029068b>] ? rpc_fill_super+0x29b/0x2a0 [sunrpc]
[   17.498713]  [<ffffffffa0290675>] ? rpc_fill_super+0x285/0x2a0 [sunrpc]
[   17.498721]  [<ffffffffa02903f0>] ? rpc_mkpipe_dentry+0x180/0x180 [sunrpc]
[   17.498731]  [<ffffffffa02903f0>] ? rpc_mkpipe_dentry+0x180/0x180 [sunrpc]
[   17.498734]  [<ffffffff811a9d8c>] mount_ns+0xac/0xe0
[   17.498743]  [<ffffffffa028ea39>] rpc_mount+0x29/0x30 [sunrpc]
[   17.498746]  [<ffffffff811aaab3>] mount_fs+0x43/0x1b0
[   17.498750]  [<ffffffff8115dd80>] ? __alloc_percpu+0x10/0x20
[   17.498754]  [<ffffffff811c8af2>] vfs_kern_mount+0x72/0x100
[   17.498756]  [<ffffffff811c92d4>] do_kern_mount+0x54/0x110
Quoted 9 lines
[   17.498760]  [<ffffffff811caa44>] do_mount+0x1a4/0x830
[   17.498763]  [<ffffffff8115765b>] ? memdup_user+0x4b/0x90
[   17.498765]  [<ffffffff811576fb>] ? strndup_user+0x5b/0x80
[   17.498769]  [<ffffffff811cb210>] sys_mount+0x90/0xe0
[   17.498773]  [<ffffffff816624d2>] system_call_fastpath+0x16/0x1b
[   17.775067] systemd[1]: var-lib-nfs-rpc_pipefs.mount mount process exited, code=killed status=11
[   17.829617] systemd[1]: Job nfs-idmap.service/start failed with result 'dependency'.
[   17.856061] systemd[1]: Unit var-lib-nfs-rpc_pipefs.mount entered failed state.

---end quoted text---

#2 lore raw

This looks related to the recent net namespace changes, so I'm adding Stanislav.

Cheers
Trond

Quoted 97 lines · Dave Jones

[added Trond to cc:]

still seeing this in 3.4rc1

Dave

Quoted 79 lines · Dave Jones

I started seeing this every boot.. (v3.3-6972-ge22057c)

[   17.103931] ------------[ cut here ]------------
[   17.105987] RPC: Registered named UNIX socket transport module.
[   17.105989] RPC: Registered udp transport module.
[   17.105990] RPC: Registered tcp transport module.
[   17.105992] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   17.104856] kernel BUG at include/net/netns/generic.h:41!
[   17.104856] invalid opcode: 0000 [#1] PREEMPT SMP 
[   17.104856] CPU 0 
[   17.104856] Modules linked in: sunrpc btrfs zlib_deflate libcrc32c firewire_ohci firewire_core sata_sil crc_itu_t floppy radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core
[   17.104856] 
[   17.104856] Pid: 416, comm: mount Not tainted 3.3.0+ #19                  /D975XBX
[   17.104856] RIP: 0010:[<ffffffffa029068b>]  [<ffffffffa029068b>] rpc_fill_super+0x29b/0x2a0 [sunrpc]
[   17.104856] RSP: 0018:ffff8800b52c5cf8  EFLAGS: 00010246
[   17.104856] RAX: 0000000000000001 RBX: ffff8800a394dcd0 RCX: 0000000000000000
[   17.104856] RDX: ffff8800a4c10000 RSI: ffffffff81c2cd00 RDI: ffff8800a4c10918
[   17.104856] RBP: ffff8800b52c5d38 R08: 0000000000000001 R09: 0000000000000000
[   17.104856] R10: 0000000000000001 R11: 0000000000000002 R12: 0000000000000000
[   17.104856] R13: ffffffff82d0f140 R14: ffff8800ba54c000 R15: 0000000000000000
[   17.104856] FS:  00007f1a97593800(0000) GS:ffff8800bf600000(0000) knlGS:0000000000000000
[   17.104856] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[   17.104856] CR2: 0000003e92478a90 CR3: 00000000a4d22000 CR4: 00000000000007f0
[   17.104856] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   17.104856] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[   17.104856] Process mount (pid: 416, threadinfo ffff8800b52c4000, task ffff8800a4c10000)
[   17.104856] Stack:
[   17.104856]  ffffffffa02903f0 00000000000000d0 000060ff40002438 ffffffff82d0f140
[   17.104856]  0000000000000000 ffffffffa02903f0 ffff8800a394dcd0 0000000000000000
[   17.104856]  ffff8800b52c5d88 ffffffff811a9d8c 0000000000000003 ffffffff00000001
[   17.104856] Call Trace:
[   17.104856]  [<ffffffffa02903f0>] ? rpc_mkpipe_dentry+0x180/0x180 [sunrpc]
[   17.104856]  [<ffffffffa02903f0>] ? rpc_mkpipe_dentry+0x180/0x180 [sunrpc]
[   17.104856]  [<ffffffff811a9d8c>] mount_ns+0xac/0xe0
[   17.104856]  [<ffffffffa028ea39>] rpc_mount+0x29/0x30 [sunrpc]
[   17.104856]  [<ffffffff811aaab3>] mount_fs+0x43/0x1b0
[   17.104856]  [<ffffffff8115dd80>] ? __alloc_percpu+0x10/0x20
[   17.104856]  [<ffffffff811c8af2>] vfs_kern_mount+0x72/0x100
[   17.104856]  [<ffffffff811c92d4>] do_kern_mount+0x54/0x110
[   17.104856]  [<ffffffff811caa44>] do_mount+0x1a4/0x830
[   17.104856]  [<ffffffff8115765b>] ? memdup_user+0x4b/0x90
[   17.104856]  [<ffffffff811576fb>] ? strndup_user+0x5b/0x80
[   17.104856]  [<ffffffff811cb210>] sys_mount+0x90/0xe0
[   17.104856]  [<ffffffff816624d2>] system_call_fastpath+0x16/0x1b
[   17.104856] Code: e8 db 7a e6 e0 84 c0 74 c9 48 c7 c7 00 cd c2 81 e8 bb e5 e1 e0 85 c0 0f 85 f4 fd ff ff eb b3 90 41 bf f4 ff ff ff e9 ce fe ff ff <0f> 0b 0f 0b 90 55 48 89 e5 41 54 53 48 83 ec 10 66 66 66 66 90 
[   17.104856] RIP  [<ffffffffa029068b>] rpc_fill_super+0x29b/0x2a0 [sunrpc]
[   17.104856]  RSP <ffff8800b52c5cf8>
[   17.469688] ---[ end trace 74871f164631364c ]---
[   17.488286] BUG: sleeping function called from invalid context at kernel/rwsem.c:21
[   17.498626] in_atomic(): 0, irqs_disabled(): 0, pid: 416, name: mount
[   17.498629] INFO: lockdep is turned off.
[   17.498631] Pid: 416, comm: mount Tainted: G      D      3.3.0+ #19
[   17.498632] Call Trace:
[   17.498639]  [<ffffffff8107d96c>] __might_sleep+0x13c/0x1f0
[   17.498644]  [<ffffffff81657c06>] down_read+0x26/0x93
[   17.498646]  [<ffffffff81061164>] exit_signals+0x24/0x130
[   17.498650]  [<ffffffff8104d3cf>] do_exit+0xbf/0xb60
[   17.498652]  [<ffffffff8104a443>] ? kmsg_dump+0x1c3/0x2c0
[   17.498654]  [<ffffffff8104a2ff>] ? kmsg_dump+0x7f/0x2c0
[   17.498657]  [<ffffffff8165b9d4>] oops_end+0xa4/0xf0
[   17.498660]  [<ffffffff81005be8>] die+0x58/0x90
[   17.498662]  [<ffffffff8165b2f4>] do_trap+0xc4/0x170
[   17.498665]  [<ffffffff81002f35>] ? do_invalid_op+0xa5/0xb0
[   17.498667]  [<ffffffff81002f25>] do_invalid_op+0x95/0xb0
[   17.498684]  [<ffffffffa029068b>] ? rpc_fill_super+0x29b/0x2a0 [sunrpc]
[   17.498686]  [<ffffffff8165e3cd>] ? sub_preempt_count+0x9d/0xd0
[   17.498689]  [<ffffffff8131baad>] ? trace_hardirqs_off_thunk+0x3a/0x3c
[   17.498692]  [<ffffffff8165ac4d>] ? restore_args+0x30/0x30
[   17.498696]  [<ffffffff81663755>] invalid_op+0x15/0x20
[   17.498704]  [<ffffffffa029068b>] ? rpc_fill_super+0x29b/0x2a0 [sunrpc]
[   17.498713]  [<ffffffffa0290675>] ? rpc_fill_super+0x285/0x2a0 [sunrpc]
[   17.498721]  [<ffffffffa02903f0>] ? rpc_mkpipe_dentry+0x180/0x180 [sunrpc]
[   17.498731]  [<ffffffffa02903f0>] ? rpc_mkpipe_dentry+0x180/0x180 [sunrpc]
[   17.498734]  [<ffffffff811a9d8c>] mount_ns+0xac/0xe0
[   17.498743]  [<ffffffffa028ea39>] rpc_mount+0x29/0x30 [sunrpc]
[   17.498746]  [<ffffffff811aaab3>] mount_fs+0x43/0x1b0
[   17.498750]  [<ffffffff8115dd80>] ? __alloc_percpu+0x10/0x20
[   17.498754]  [<ffffffff811c8af2>] vfs_kern_mount+0x72/0x100
[   17.498756]  [<ffffffff811c92d4>] do_kern_mount+0x54/0x110
Quoted 9 lines
[   17.498760]  [<ffffffff811caa44>] do_mount+0x1a4/0x830
[   17.498763]  [<ffffffff8115765b>] ? memdup_user+0x4b/0x90
[   17.498765]  [<ffffffff811576fb>] ? strndup_user+0x5b/0x80
[   17.498769]  [<ffffffff811cb210>] sys_mount+0x90/0xe0
[   17.498773]  [<ffffffff816624d2>] system_call_fastpath+0x16/0x1b
[   17.775067] systemd[1]: var-lib-nfs-rpc_pipefs.mount mount process exited, code=killed status=11
[   17.829617] systemd[1]: Job nfs-idmap.service/start failed with result 'dependency'.
[   17.856061] systemd[1]: Unit var-lib-nfs-rpc_pipefs.mount entered failed state.

---end quoted text---

Signature · 6 lines
Trond Myklebust
Linux NFS client maintainer

NetApp
[email protected]
www.netapp.com
#3 lore raw

02.04.2012 22:10, Myklebust, Trond пишет:

Quoted 11 lines

This looks related to the recent net namespace changes, so I'm adding Stanislav.

Cheers
Trond

Quoted 4 lines · Dave Jones

[added Trond to cc:]

still seeing this in 3.4rc1

Hello, Dave.
Could you reply with your kernel config to this letter?

Signature · 2 lines
Best regards,
Stanislav Kinsbursky
#4 lore raw
In reply to Myklebust, Trond

02.04.2012 22:10, Myklebust, Trond пишет:

Quoted 3 lines

This looks related to the recent net namespace changes, so I'm adding Stanislav.

Hi, Trond.
Looks like we stepped into exactly that situation, what Al Viro was talking on LFS about early registering of file system before other module "init" operations completed. I.e. SUNRPC registers it's file system, and then we have races between register_pernet_subsys() call and mount of SUNRPC PipeFS.
BTW, these races can be triggered only if mount of SUNRPC PipeFS is called prior to SUNRPC module insertion is completed. In spite of it, I'll send the patch soon. But I'm not 100% sure, that this patch will solve Dave's problem.
So, there are few questions to you, Dave:
1) can this happen (PipeFS mount attempt before SUNPRC module insertion has returned any value) in your case?
2) how often do you experience this problem? Not every boot, I suppose?
3) And is it easy for you to reproduce?

Signature · 2 lines
Best regards,
Stanislav Kinsbursky
author
#5 lore raw
Quoted 3 lines · Stanislav Kinsbursky

So, there are few questions to you, Dave:
1) can this happen (PipeFS mount attempt before SUNPRC module insertion has returned any value) in your case?

I don't know enough of what systemd is doing to answer this.

Quoted 2 lines

2) how often do you experience this problem? Not every boot, I suppose?
3) And is it easy for you to reproduce?

It happens most the time, but not every time.

Dave

#6 lore raw

05.04.2012 20:12, Dave Jones пишет:

Quoted 6 lines · Stanislav Kinsbursky
Quoted 4 lines

So, there are few questions to you, Dave:
1) can this happen (PipeFS mount attempt before SUNPRC module insertion has returned any value) in your case?

Quoted 7 lines

I don't know enough of what systemd is doing to answer this.

Quoted 2 lines

2) how often do you experience this problem? Not every boot, I suppose?
3) And is it easy for you to reproduce?

It happens most the time, but not every time.

Ok, I'll send the patch soon.
Hope, it will help.

Signature · 2 lines
Best regards,
Stanislav Kinsbursky
author
#7 lore raw
Quoted 9 lines · Stanislav Kinsbursky

05.04.2012 20:12, Dave Jones пишет:

Quoted 8 lines · Stanislav Kinsbursky
Quoted 4 lines

So, there are few questions to you, Dave:
1) can this happen (PipeFS mount attempt before SUNPRC module insertion has returned any value) in your case?

I don't know enough of what systemd is doing to answer this.

Quoted 12 lines
Quoted 5 lines
Quoted 2 lines

2) how often do you experience this problem? Not every boot, I suppose?
3) And is it easy for you to reproduce?

It happens most the time, but not every time.

Ok, I'll send the patch soon.
Hope, it will help.

Signature · 2 lines
Best regards,
Stanislav Kinsbursky

I didn't see a follow-up patch on this, and I'm still seeing the BUG in rc4.

Dave

#8 lore raw

26.04.2012 02:58, Dave Jones написал:

Quoted 19 lines · Stanislav Kinsbursky
Quoted 18 lines

05.04.2012 20:12, Dave Jones пишет:

Quoted 6 lines · Stanislav Kinsbursky
Quoted 4 lines

So, there are few questions to you, Dave:
1) can this happen (PipeFS mount attempt before SUNPRC module insertion has returned any value) in your case?

Quoted 7 lines

I don't know enough of what systemd is doing to answer this.

Quoted 2 lines

2) how often do you experience this problem? Not every boot, I suppose?
3) And is it easy for you to reproduce?

It happens most the time, but not every time.

Ok, I'll send the patch soon.
Hope, it will help.

Quoted 7 lines
Quoted 3 lines

--
Best regards,
Stanislav Kinsbursky

I didn't see a follow-up patch on this, and I'm still seeing the BUG in rc4.

Dave

Dave, search for "SUNRPC: register PipeFS file system after pernet sybsystem" in your mail. You are in CC list.

#9 lore raw
Quoted 33 lines

-----Original Message-----
From: Stanislav Kinsbursky [mailto:[email protected]]
Sent: Thursday, April 26, 2012 2:26 AM
To: Dave Jones; Myklebust, Trond; Linux Kernel; [email protected]
Subject: Re: kernel BUG at include/net/netns/generic.h:41

26.04.2012 02:58, Dave Jones написал:

Quoted 3 lines · Stanislav Kinsbursky
Quoted 2 lines

05.04.2012 20:12, Dave Jones пишет:

Quoted 1 line

On Thu, Apr 05, 2012 at 08:08:31PM +0400, Stanislav Kinsbursky

Quoted 3 lines · wrote:
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

So, there are few questions to you, Dave:
1) can this happen (PipeFS mount attempt before SUNPRC

module insertion has

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 1 line

returned any value) in your case?

I don't know enough of what systemd is doing to answer this.

Quoted 1 line

2) how often do you experience this problem? Not every boot, I

suppose?

Quoted 12 lines
Quoted 11 lines
Quoted 4 lines
Quoted 1 line

3) And is it easy for you to reproduce?

It happens most the time, but not every time.

Ok, I'll send the patch soon.
Hope, it will help.

--
Best regards,
Stanislav Kinsbursky

Quoted 7 lines
Quoted 3 lines

I didn't see a follow-up patch on this, and I'm still seeing the BUG in rc4.

Dave

Dave, search for "SUNRPC: register PipeFS file system after pernet sybsystem" in your mail.
You are in CC list.

Linus merged it last night together with the other NFS-related bugfixes...

Cheers
Trond

author
#10 lore raw
In reply to Stanislav Kinsbursky
Quoted 6 lines · Stanislav Kinsbursky
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
Quoted 3 lines

2) how often do you experience this problem? Not every boot, I suppose?
3) And is it easy for you to reproduce?

It happens most the time, but not every time.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Ok, I'll send the patch soon.
Hope, it will help.

I didn't see a follow-up patch on this, and I'm still seeing the BUG in rc4.

Dave, search for "SUNRPC: register PipeFS file system after pernet sybsystem" in your mail.
You are in CC list.

ah, missed that somehow.
I see it's now in Linus' tree too,

Thanks,

Dave