On Mon, 2012-07-30 at 13:47 +0200, William Dauchy wrote: > Hi Trond, > > I encountered an oops regarding wait_for_key_construction on a 3.4.4 > amd64 kernel. The patch b102743 was applied; before digging a bit > more, I was wondering if there might be another known issue with the > legacy idmapper I'm using. > > Regards, I've been on vacation for the past 2 weeks, so I'm a bit out of the loop on what has happened in that time period. I'm therefore Ccing Bryan in case he knows of anything. Also Ccing the mailing list... Cheers Trond > Jul 29 22:40:23 10.0.45.252 kernel: BUG: unable to handle kernel NULL > pointer dereference at 0000000000000070 > Jul 29 22:40:23 10.0.45.252 kernel: IP: [<ffffffff811a4a18>] > wait_for_key_construction+0x28/0x70 > Jul 29 22:40:23 10.0.45.252 kernel: PGD 2bf8de000 > Jul 29 22:40:23 10.0.45.252 kernel: Oops: 0000 [#1] PREEMPT SMP > Jul 29 22:40:23 10.0.45.252 kernel: CPU 23 > Jul 29 22:40:23 10.0.45.252 kernel: Pid: 25735, comm: kworker/23:2 > Tainted: G W 3.4.4-grsec-simplehosting-ed05924 #1 Dell Inc. > C6100 /0D61XP > Jul 29 22:40:23 10.0.45.252 kernel: RIP: 0010:[<ffffffff811a4a18>] > [<ffffffff811a4a18>] wait_for_key_construction+0x28/0x70 > Jul 29 22:40:23 10.0.45.252 kernel: RSP: 0018:ffff880b99a15a80 EFLAGS: 00010246 > Jul 29 22:40:23 10.0.45.252 kernel: RAX: ffffffff811a4a70 RBX: > 0000000000000000 RCX: 0000000000000002 > Jul 29 22:40:23 10.0.45.252 kernel: RDX: ffffffff811a4a60 RSI: > 0000000000000000 RDI: 0000000000000070 > Jul 29 22:40:23 10.0.45.252 kernel: RBP: ffff8803c915e420 R08: > ffff88061c877bc1 R09: 0000000000000000 > Jul 29 22:40:23 10.0.45.252 kernel: R10: 0000000050159fb7 R11: > 0000000000000000 R12: ffffffff816b5e49 > Jul 29 22:40:23 10.0.45.252 kernel: R13: ffff880ba944ca48 R14: > 0000000000000013 R15: ffff8803c915e423 > Jul 29 22:40:23 10.0.45.252 kernel: FS: 0000000000000000(0000) > GS:ffff880c3fd60000(0000) knlGS:0000000000000000 > Jul 29 22:40:23 10.0.45.252 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: > 000000008005003b > Jul 29 22:40:23 10.0.45.252 kernel: CR2: 0000000000000070 CR3: > 00000000014aa000 CR4: 00000000000007f0 > Jul 29 22:40:23 10.0.45.252 kernel: DR0: 0000000000000000 DR1: > 0000000000000000 DR2: 0000000000000000 > Jul 29 22:40:23 10.0.45.252 kernel: DR3: 0000000000000000 DR6: > 00000000ffff0ff0 DR7: 0000000000000400 > Jul 29 22:40:23 10.0.45.252 kernel: Process kworker/23:2 (pid: 25735, > threadinfo ffff880b154a0ba0, task ffff880b154a0750) > Jul 29 22:40:23 10.0.45.252 kernel: Stack: > Jul 29 22:40:23 10.0.45.252 kernel: 0000000000000000 ffffffff811a512f > 0000000000000000 ffffffff810df09d > Jul 29 22:40:23 10.0.45.252 kernel: 0000000000000000 000000000000000e > ffff880841b54cc0 ffffffff816c88f8 > Jul 29 22:40:23 10.0.45.252 kernel: ffff8803c915e420 ffffffff81184fbb > 0000000000000013 ffffffff81935c40 > Jul 29 22:40:23 10.0.45.252 kernel: Call Trace: > Jul 29 22:40:23 10.0.45.252 kernel: [<ffffffff811a512f>] ? request_key+0x5f/0xa0 > Jul 29 22:40:23 10.0.45.252 kernel: [<ffffffff810df09d>] ? __kmalloc+0x2d/0x120 > Jul 29 22:40:23 10.0.45.252 kernel: [<ffffffff81184fbb>] ? > nfs_idmap_request_key+0x1ab/0x1c0 > Jul 29 22:40:23 10.0.45.252 kernel: [<ffffffff81185027>] ? > nfs_idmap_get_key+0x57/0xd0 > Jul 29 22:40:23 10.0.45.252 kernel: [<ffffffff811852ae>] ? > nfs_map_string_to_numeric+0x3e/0xc0 > Jul 29 22:40:23 10.0.45.252 kernel: [<ffffffff8118535f>] ? > nfs_idmap_lookup_id+0x2f/0x80 > Jul 29 22:40:23 10.0.45.252 kernel: [<ffffffff81185479>] ? > nfs_map_name_to_uid+0x39/0x90 > Jul 29 22:40:23 10.0.45.252 kernel: [<ffffffff8117dedb>] ? > decode_getfattr_attrs+0x94b/0xa10 > Jul 29 22:40:23 10.0.45.252 kernel: [<ffffffff8117f776>] ? T.1607+0x96/0xe0 > Jul 29 22:40:23 10.0.45.252 kernel: [<ffffffff8117f852>] ? > nfs4_xdr_dec_delegreturn+0x72/0x80 > Jul 29 22:40:23 10.0.45.252 kernel: [<ffffffff8117f7e0>] ? > decode_getfattr+0x20/0x20 > Jul 29 22:40:23 10.0.45.252 kernel: [<ffffffff8144db39>] ? > rpcauth_unwrap_resp+0x79/0x80 > Jul 29 22:40:23 10.0.45.252 kernel: [<ffffffff8117f7e0>] ? > decode_getfattr+0x20/0x20 > Jul 29 22:40:23 10.0.45.252 kernel: [<ffffffff81445a33>] ? > call_decode+0x2a3/0x400 > Jul 29 22:40:23 10.0.45.252 kernel: [<ffffffff8144cf26>] ? > __rpc_execute+0x46/0x1b0 > Jul 29 22:40:23 10.0.45.252 kernel: [<ffffffff81050338>] ? > process_one_work+0x108/0x3a0 > Jul 29 22:40:23 10.0.45.252 kernel: [<ffffffff8144d0c0>] ? rpc_execute+0x30/0x30 > Jul 29 22:40:23 10.0.45.252 kernel: [<ffffffff81050a21>] ? > worker_thread+0x151/0x420 > Jul 29 22:40:23 10.0.45.252 kernel: [<ffffffff810508d0>] ? > rescuer_thread+0x300/0x300 > Jul 29 22:40:23 10.0.45.252 kernel: [<ffffffff810508d0>] ? > rescuer_thread+0x300/0x300 > Jul 29 22:40:23 10.0.45.252 kernel: [<ffffffff81054e3e>] ? kthread+0x9e/0xb0 > Jul 29 22:40:23 10.0.45.252 kernel: [<ffffffff81484774>] ? > kernel_thread_helper+0x4/0x10 > Jul 29 22:40:23 10.0.45.252 kernel: [<ffffffff81482a38>] ? > retint_restore_args+0x6/0x6 > Jul 29 22:40:23 10.0.45.252 kernel: [<ffffffff81054da0>] ? > kthread_freezable_should_stop+0x60/0x60 > Jul 29 22:40:23 10.0.45.252 kernel: [<ffffffff81484770>] ? gs_change+0xb/0xb > Jul 29 22:40:23 10.0.45.252 kernel: Code: 00 00 00 40 80 fe 01 53 19 > c9 48 89 fb 48 c7 c0 70 4a 1a 81 f7 d1 48 c7 c2 60 4a 1a 81 83 c1 02 > 48 8d 7f 70 40 84 f6 48 0f 45 d0 <48> 8b 43 70 a8 10 75 20 48 8b 43 70 > a8 20 74 08 8b 83 80 00 00 > Jul 29 22:40:23 10.0.45.252 kernel: RIP [<ffffffff811a4a18>] > wait_for_key_construction+0x28/0x70 > Jul 29 22:40:23 10.0.45.252 kernel: RSP <ffff880b99a15a80> > Jul 29 22:40:23 10.0.45.252 kernel: CR2: 0000000000000070 > Jul 29 22:40:23 10.0.45.252 kernel: ---[ end trace 59a8d5be7e929e25 ]--- > Jul 29 22:40:23 10.0.45.252 kernel: BUG: unable to handle kernel > paging request at fffffffffffffff8 > Jul 29 22:41:23 10.0.45.252 kernel: IP: [<ffffffff81054947>] > kthread_data+0x7/0x10 > Jul 29 22:41:23 10.0.45.252 kernel: PGD 1517067 PUD 1519067 PMD 0 > Jul 29 22:41:23 10.0.45.252 kernel: Oops: 0000 [#2] PREEMPT SMP > Jul 29 22:41:23 10.0.45.252 kernel: CPU 23 > Jul 29 22:41:23 10.0.45.252 kernel: Pid: 25735, comm: kworker/23:2 > Tainted: G D W 3.4.4-grsec-simplehosting-ed05924 #1 Dell Inc. > C6100 /0D61XP > Jul 29 22:41:23 10.0.45.252 kernel: RIP: 0010:[<ffffffff81054947>] > [<ffffffff81054947>] kthread_data+0x7/0x10 > Jul 29 22:41:23 10.0.45.252 kernel: RSP: 0018:ffff880b99a15640 EFLAGS: 00010002 > Jul 29 22:41:23 10.0.45.252 kernel: RAX: 0000000000000000 RBX: > 0000000000000017 RCX: 0000000000000017 > Jul 29 22:41:23 10.0.45.252 kernel: RDX: ffffffff81ac9240 RSI: > 0000000000000017 RDI: ffff880b154a0750 > Jul 29 22:41:23 10.0.45.252 kernel: RBP: ffff880b154a0750 R08: > 0000000000989680 R09: 0000000000000400 > Jul 29 22:41:23 10.0.45.252 kernel: R10: 0000000000000001 R11: > 0000000000000000 R12: 0000000000000017 > Jul 29 22:41:23 10.0.45.252 kernel: R13: ffff880b154a0a48 R14: > ffff880b99a157f0 R15: ffff880b154a0950 > Jul 29 22:41:23 10.0.45.252 kernel: FS: 0000000000000000(0000) > GS:ffff880c3fd60000(0000) knlGS:0000000000000000 > Jul 29 22:41:23 10.0.45.252 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: > 000000008005003b > Jul 29 22:41:23 10.0.45.252 kernel: CR2: fffffffffffffff8 CR3: > 00000000014aa000 CR4: 00000000000007f0 > Jul 29 22:41:23 10.0.45.252 kernel: DR0: 0000000000000000 DR1: > 0000000000000000 DR2: 0000000000000000 > Jul 29 22:41:23 10.0.45.252 kernel: DR3: 0000000000000000 DR6: > 00000000ffff0ff0 DR7: 0000000000000400 > Jul 29 22:41:23 10.0.45.252 kernel: Process kworker/23:2 (pid: 25735, > threadinfo ffff880b154a0ba0, task ffff880b154a0750) > Jul 29 22:41:23 10.0.45.252 kernel: Stack: > Jul 29 22:41:23 10.0.45.252 kernel: ffffffff8104f9b8 ffff880c3fd6df00 > ffffffff814811eb 0000000000000020 > Jul 29 22:41:23 10.0.45.252 kernel: ffff880b154a0ba0 ffff880b99a156d8 > ffff880b154a0ba0 000000000000df00 > Jul 29 22:41:23 10.0.45.252 kernel: ffff880b154a0ba0 ffff880b154a0ba8 > ffff880b154a0ba0 ffff880b154a0ba0 > Jul 29 22:41:23 10.0.45.252 kernel: Call Trace: > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff8104f9b8>] ? > wq_worker_sleeping+0x8/0xa0 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff814811eb>] ? > __schedule+0x4ab/0x990 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff810ddf18>] ? > kmem_cache_free+0x98/0xa0 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff81037df6>] ? > release_task+0x2b6/0x430 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff81039535>] ? do_exit+0x5c5/0x930 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff810398f0>] ? > do_group_exit+0x50/0xc0 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff810064ad>] ? oops_end+0x9d/0xe0 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff81023f63>] ? > no_context+0x113/0x2f0 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff81024f1b>] ? > do_page_fault+0x49b/0x500 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff81043524>] ? mod_timer+0x134/0x200 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff811a5e00>] ? user_revoke+0x60/0x60 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff811a3c9d>] ? > search_my_process_keyrings+0x5d/0x1f0 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff811a5e00>] ? user_revoke+0x60/0x60 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff81482ca5>] ? page_fault+0x35/0x40 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff811a4a70>] ? > key_wait_bit+0x10/0x10 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff811a4a60>] ? > wait_for_key_construction+0x70/0x70 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff811a4a18>] ? > wait_for_key_construction+0x28/0x70 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff811a512f>] ? request_key+0x5f/0xa0 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff810df09d>] ? __kmalloc+0x2d/0x120 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff81184fbb>] ? > nfs_idmap_request_key+0x1ab/0x1c0 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff81185027>] ? > nfs_idmap_get_key+0x57/0xd0 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff811852ae>] ? > nfs_map_string_to_numeric+0x3e/0xc0 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff8118535f>] ? > nfs_idmap_lookup_id+0x2f/0x80 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff81185479>] ? > nfs_map_name_to_uid+0x39/0x90 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff8117dedb>] ? > decode_getfattr_attrs+0x94b/0xa10 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff8117f776>] ? T.1607+0x96/0xe0 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff8117f852>] ? > nfs4_xdr_dec_delegreturn+0x72/0x80 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff8117f7e0>] ? > decode_getfattr+0x20/0x20 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff8144db39>] ? > rpcauth_unwrap_resp+0x79/0x80 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff8117f7e0>] ? > decode_getfattr+0x20/0x20 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff81445a33>] ? > call_decode+0x2a3/0x400 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff8144cf26>] ? > __rpc_execute+0x46/0x1b0 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff81050338>] ? > process_one_work+0x108/0x3a0 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff8144d0c0>] ? rpc_execute+0x30/0x30 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff81050a21>] ? > worker_thread+0x151/0x420 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff810508d0>] ? > rescuer_thread+0x300/0x300 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff810508d0>] ? > rescuer_thread+0x300/0x300 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff81054e3e>] ? kthread+0x9e/0xb0 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff81484774>] ? > kernel_thread_helper+0x4/0x10 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff81482a38>] ? > retint_restore_args+0x6/0x6 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff81054da0>] ? > kthread_freezable_should_stop+0x60/0x60 > Jul 29 22:41:23 10.0.45.252 kernel: [<ffffffff81484770>] ? gs_change+0xb/0xb > Jul 29 22:41:23 10.0.45.252 kernel: Code: 90 90 90 90 65 48 8b 04 25 > 00 a8 00 00 48 8b 80 a0 02 00 00 8b 40 f0 c3 66 66 66 2e 0f 1f 84 00 > 00 00 00 00 48 8b 87 a0 02 00 00 <48> 8b 40 f8 c3 0f 1f 40 00 48 3b 3d > 09 48 a7 00 74 0f 65 8b 04 > Jul 29 22:41:23 10.0.45.252 kernel: RIP [<ffffffff81054947>] > kthread_data+0x7/0x10 > Jul 29 22:41:23 10.0.45.252 kernel: RSP <ffff880b99a15640> > Jul 29 22:41:23 10.0.45.252 kernel: CR2: fffffffffffffff8 > Jul 29 22:41:23 10.0.45.252 kernel: ---[ end trace 59a8d5be7e929e26 ]--- -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@xxxxxxxxxx www.netapp.com ��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥