Skip to content

Instantly share code, notes, and snippets.

@twouters
Created August 22, 2017 12:14
Show Gist options
  • Save twouters/8bd0fce635d515f5f1dc4a5748269b93 to your computer and use it in GitHub Desktop.
Save twouters/8bd0fce635d515f5f1dc4a5748269b93 to your computer and use it in GitHub Desktop.
NFS4 kernel panic linux 4.8
Aug 22 13:15:17 com-ospcmp002 kernel: [986654.327250] BUG: unable to handle kernel NULL pointer dereference at 0000000000000108
Aug 22 13:15:17 com-ospcmp002 kernel: [986654.329665] IP: [<ffffffffc077b0b1>] nfs4_find_or_create_ds_client+0x21/0x180 [nfsv4]
Aug 22 13:15:17 com-ospcmp002 kernel: [986654.332159] PGD 0
Aug 22 13:15:17 com-ospcmp002 kernel: [986654.332807] Oops: 0000 [#1] SMP
Aug 22 13:15:17 com-ospcmp002 kernel: [986654.333834] Modules linked in: nfs_layout_nfsv41_files nf_conntrack_netlink vhost_net vhost macvtap macvlan act_police cls_u32 sch_ingress cls_fw sch_sfq sch_htb nf_log_ipv4 nf_log_common xt_LOG
xt_multiport xt_nat xt_limit ip6table_raw ip6table_mangle xt_CT xt_connmark xt_mac xt_comment xt_physdev xt_set ip_set_hash_net ip_set nfnetlink veth iptable_raw xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_
nat xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter ip_tables x_tables cfg80211 binfmt_misc rpcsec_gss_krb5 auth_rpcgss nfsv4 nfs lockd grace fscache vport_vxlan vxlan i
p6_udp_tunnel udp_tunnel openvswitch nf_conntrack_ipv6 nf_nat_ipv6 nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_defrag_ipv6 nf_nat nf_conntrack ipmi_ssif ipmi_devintf intel_rapl sb_edac edac_core x86_pkg_temp_thermal intel_powerclamp
dcdbas coretemp intel_cstate intel_rapl_perf joydev input_leds mei_me ipmi_si mei ipmi_msghandler lpc_ich shpchp mac_hid acpi_power_meter acpi_pad kvm_intel kvm irqbypass ib_iser rdma_cm iw_cm ib_cm ib_core configfs iscsi_tcp libiscsi_
tcp libiscsi scsi_transport_iscsi br_netfilter bridge 8021q sunrpc garp mrp stp llc bonding autofs4 btrfs raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear crct
10dif_pclmul crc32_pclmul ghash_clmulni_intel ixgbe igb dca ahci aesni_intel hid_generic aes_x86_64 ptp lrw usbhid glue_helper ablk_helper pps_core libahci i2c_algo_bit hid cryptd megaraid_sas mdio wmi fjes
Aug 22 13:15:17 com-ospcmp002 kernel: [986654.381285] CPU: 13 PID: 12003 Comm: qemu-img Not tainted 4.8.0-54-generic #57~16.04.1-Ubuntu
Aug 22 13:15:17 com-ospcmp002 kernel: [986654.495418] Hardware name: Dell Inc. PowerEdge R620/01W23F, BIOS 2.4.3 07/09/2014
Aug 22 13:15:17 com-ospcmp002 kernel: [986654.613062] task: ffff8dbe3fc75880 task.stack: ffff8dc5063c0000
Aug 22 13:15:17 com-ospcmp002 kernel: [986654.671931] RIP: 0010:[<ffffffffc077b0b1>] [<ffffffffc077b0b1>] nfs4_find_or_create_ds_client+0x21/0x180 [nfsv4]
Aug 22 13:15:17 com-ospcmp002 kernel: [986654.789657] RSP: 0018:ffff8dc5063c3968 EFLAGS: 00010292
Aug 22 13:15:17 com-ospcmp002 kernel: [986654.849538] RAX: ffff8dbdc582d800 RBX: ffff8dc51d691ec0 RCX: 000000010eb29c8c
Aug 22 13:15:17 com-ospcmp002 kernel: [986654.970412] RDX: 000000010eb1e400 RSI: ffff8dc5147eeb60 RDI: 0000000000000000
Aug 22 13:15:17 com-ospcmp002 kernel: [986655.090979] RBP: ffff8dc5063c3998 R08: ffff8dc5063c0000 R09: 0000000000000000
Aug 22 13:15:17 com-ospcmp002 kernel: [986655.211126] R10: 00000000ffffffff R11: 0000000000000f12 R12: 0000000000000108
Aug 22 13:15:17 com-ospcmp002 kernel: [986655.330736] R13: 0000000000000000 R14: 0000000000000000 R15: ffff8db168015b00
Aug 22 13:15:17 com-ospcmp002 kernel: [986655.449976] FS: 00007f9098de7700(0000) GS:ffff8ddd5f180000(0000) knlGS:0000000000000000
Aug 22 13:15:17 com-ospcmp002 kernel: [986655.569463] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 22 13:15:17 com-ospcmp002 kernel: [986655.629298] CR2: 0000000000000108 CR3: 0000002cbdf0c000 CR4: 00000000001426e0
Aug 22 13:15:17 com-ospcmp002 kernel: [986655.746279] Stack:
Aug 22 13:15:17 com-ospcmp002 kernel: [986655.802884] ffff8dc5063c3998 ffff8dc51d691ec0 0000000000030000 0000000000000000
Aug 22 13:15:17 com-ospcmp002 kernel: [986655.916660] 0000000000000000 ffff8db168015b00 ffff8dc5063c39e8 ffffffffc099fe4f
Aug 22 13:15:17 com-ospcmp002 kernel: [986656.030474] 0000000000000000 ffff8db4a62286c0 0000000082b65688 ffff8db168015b00
Aug 22 13:15:17 com-ospcmp002 kernel: [986656.144441] Call Trace:
Aug 22 13:15:17 com-ospcmp002 kernel: [986656.199984] [<ffffffffc099fe4f>] filelayout_read_pagelist+0x6f/0x190 [nfs_layout_nfsv41_files]
Aug 22 13:15:17 com-ospcmp002 kernel: [986656.311806] [<ffffffffc0785228>] pnfs_generic_pg_readpages+0x98/0x1d0 [nfsv4]
Aug 22 13:15:17 com-ospcmp002 kernel: [986656.424756] [<ffffffffc071f15a>] nfs_pageio_doio+0x2a/0x60 [nfs]
Aug 22 13:15:17 com-ospcmp002 kernel: [986656.481924] [<ffffffffc0720204>] nfs_pageio_complete_mirror+0x54/0xa0 [nfs]
Aug 22 13:15:17 com-ospcmp002 kernel: [986656.538809] [<ffffffffc0720955>] nfs_pageio_complete+0x25/0x80 [nfs]
Aug 22 13:15:17 com-ospcmp002 kernel: [986656.594625] [<ffffffffc07219e4>] nfs_readpages+0x134/0x200 [nfs]
Aug 22 13:15:17 com-ospcmp002 kernel: [986656.649630] [<ffffffff9ddb1177>] __do_page_cache_readahead+0x1a7/0x280
Aug 22 13:15:17 com-ospcmp002 kernel: [986656.703164] [<ffffffff9ddb1498>] ondemand_readahead+0x248/0x250
Aug 22 13:15:17 com-ospcmp002 kernel: [986656.755797] [<ffffffff9ddb163e>] page_cache_sync_readahead+0x2e/0x50
Aug 22 13:15:17 com-ospcmp002 kernel: [986656.808045] [<ffffffff9dda3434>] generic_file_read_iter+0x5e4/0x880
Aug 22 13:15:17 com-ospcmp002 kernel: [986656.859676] [<ffffffffc0775179>] ? nfs4_have_delegation+0x19/0x30 [nfsv4]
Aug 22 13:15:17 com-ospcmp002 kernel: [986656.910735] [<ffffffffc071412e>] nfs_file_read+0x6e/0xc0 [nfs]
Aug 22 13:15:17 com-ospcmp002 kernel: [986656.960855] [<ffffffff9de31b6e>] do_iter_readv_writev+0xae/0x130
Aug 22 13:15:17 com-ospcmp002 kernel: [986657.009920] [<ffffffff9de33125>] do_readv_writev+0x195/0x240
Aug 22 13:15:17 com-ospcmp002 kernel: [986657.058070] [<ffffffff9de820f3>] ? eventfd_write+0x113/0x260
Aug 22 13:15:17 com-ospcmp002 kernel: [986657.104958] [<ffffffff9de33209>] vfs_readv+0x39/0x50
Aug 22 13:15:17 com-ospcmp002 kernel: [986657.150309] [<ffffffff9de333c1>] do_preadv+0xb1/0xd0
Aug 22 13:15:17 com-ospcmp002 kernel: [986657.194039] [<ffffffff9de34641>] SyS_preadv+0x11/0x20
Aug 22 13:15:17 com-ospcmp002 kernel: [986657.237198] [<ffffffff9e49a876>] entry_SYSCALL_64_fastpath+0x1e/0xa8
Aug 22 13:15:17 com-ospcmp002 kernel: [986657.280169] Code: 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 4c 8d a7 08 01 00 00 53 48 83 ec 08 48 8b 46 28 <48> 8b 9f 08 01 00 00 48 8b 80 60 04 00 00 49 39 dc 48 8b 40 28
Aug 22 13:15:17 com-ospcmp002 kernel: [986657.415262] RIP [<ffffffffc077b0b1>] nfs4_find_or_create_ds_client+0x21/0x180 [nfsv4]
Aug 22 13:15:17 com-ospcmp002 kernel: [986657.502118] RSP <ffff8dc5063c3968>
Aug 22 13:15:17 com-ospcmp002 kernel: [986657.544129] CR2: 0000000000000108
Aug 22 13:15:17 com-ospcmp002 kernel: [986657.650717] ---[ end trace d221eaeb6ba50d47 ]---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment