Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kernel crash is seen upon configuring eth0 ip in mgmt vrf #3831

Closed
ArunSaravananBalachandran opened this issue Nov 29, 2019 · 1 comment
Closed

Comments

@ArunSaravananBalachandran
Copy link
Contributor

Description

Kernel crash is seen upon configuring eth0 ip in mgmt vrf

Steps to reproduce the issue:

Kernel Crash occurred once with mgmt vrf , on configuring ip on eth0 , after restarting bgp docker

Describe the results you received:

Crash Logs:

root@sonic-z9264f-03:#
root@sonic-z9264f-03:
# config interface ip add eth0 10.11.46.85/16 10.11.46.254
root@sonic-z9264f-03:~#

root@sonic-z9264f-03:#
root@sonic-z9264f-03:
# ping -I mgmt 10.11.46.85
ping: Warning: source address might be selected on device other than mgmt.
PING 10.11.46.85 (10.11.46.85) from 10.11.46.85 mgmt: 56(84) bytes of data.
64 bytes from 10.11.46.85: icmp_seq=1 ttl=64 time=0.048 ms
64 bytes from 10.11.46.85: icmp_^C
--- 10.11.46.85 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1015ms
rtt min/avg/max/mdev = 0.048/0.051/0.054/0.003 ms

root@sonic-z9264f-03:~# show mgmtManagementVRF : EnabledManagement VRF interfaces in Linux:
151: mgmt: <NOARP,MASTER,UP,LOWER_UP> mtu 65536 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 9e:ff:2d:2d:24:b5 brd ff:ff:ff:ff:ff:ff promiscuity 0
vrf table 5000 addrgenmode eui64 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master mgmt state UP mode DEFAULT group default qlen 1000
link/ether 20:04:0f:3e:ff:49 brd ff:ff:ff:ff:ff:ff
152: lo-m: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue master mgmt state UNKNOWN mode DEFAULT group default qlen 1000
link/ether ae:76:24:06:71:94 brd ff:ff:ff:ff:ff:ff
root@sonic-z9264f-03:/var/core#
root@sonic-z9264f-03:/var/core# docker restart bgp
bgp
root@sonic-z9264f-03:/var/core#
root@sonic-z9264f-03:/var/core#
root@sonic-z9264f-03:/var/core#
root@sonic-z9264f-03:/var/core#
root@sonic-z9264f-03:/var/core#
root@sonic-z9264f-03:/var/core# config interface ip add eth0 10.11.46.85/16 10.11.46.254
^[[A[ 2140.570894] BUG: unable to handle kernel NULL pointer dereference at 00000000000000a8
[ 2140.664721] IP: [] __ipv6_ifa_notify+0x154/0x290
[ 2140.738767] PGD 0 [ 2140.760708]
[ 2140.778497] Oops: 0000 [#1] SMP
[ 2140.816039] Modules linked in: 8021q garp mrp team_mode_loadbalance team iptable_mangle xt_TCPMSS xt_tcpudp ip6table_mangle ip6table_filter ip6_tables xt_conntrack nf_nat nf_conntrack_netlink nfnetlink nf_conntrack xfrm_user xfrm_algo optoe sff_8436_eeprom dummy vrf qat_c3xxx intel_qat at24 nvmem_core evdev dh_generic linux_knet_cb(O) linux_bcm_knet(O) linux_user_bde(O) linux_kernel_bde(O) dcdbas bonding intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel iptable_filter kvm efi_pstore irqbypass crct10dif_pclmul crc32_pclmul sg ghash_clmulni_intel dell_z9264f_fpga_ocores(O) pcspkr iTCO_wdt iTCO_vendor_support efivars rsa_generic asn1_decoder mpi authenc i2c_ocores button shpchp ebtable_broute bridge stp llc ebtable_nat ebtable_filter ebtables ipmi_si ipmi_devintf ipmi_msghandler i2c_mux_pca954x i2c_mux_gpio i2c_mux i2c_dev i2c_isch efivarfs ip_tables x_tables autofs4 loop ext4 crc16 jbd2 crc32c_generic fscrypto ecb mbcache nls_utf8 nls_cp437 nls_ascii vfat fat overlay squashfs sd_mod mmc_block crc32c_intel i2c_i801 i2c_smbus sdhci_pci sdhci xhci_pci aesni_intel xhci_hcd aes_x86_64 ahci glue_helper lrw gf128mul libahci ablk_helper cryptd usbcore mmc_core usb_common libata igb scsi_mod i2c_ismt i2c_algo_bit dca ptp pps_core thermal
[ 2142.148792] CPU: 2 PID: 10132 Comm: kworker/2:3 Tainted: G O 4.9.0-9-2-amd64 #1 Debian 4.9.168-1+deb9u5
[ 2142.274738] Hardware name: Dell EMC Z9264F-ON/Z9264F-ON-CPU, BIOS 3.42.0.B-1 10/04/2019
[ 2142.370522] Workqueue: ipv6_addrconf addrconf_dad_work
[ 2142.432084] task: ffff9b8486ea9040 task.stack: ffffa8c2827a0000
[ 2142.502908] RIP: 0010:[] [] __ipv6_ifa_notify+0x154/0x290
[ 2142.606077] RSP: 0000:ffffa8c2827a3d10 EFLAGS: 00010246
[ 2142.669618] RAX: 0000000000000000 RBX: ffff9b846aedea00 RCX: 0000000000000000
[ 2142.755002] RDX: 0000000000000001 RSI: 0000000000000246 RDI: 0000000000000000
[ 2142.840387] RBP: ffffffff988dc040 R08: 0000000000000000 R09: 0000000000000016
[ 2142.925769] R10: 0000000100024586 R11: ffff9b8486cea100 R12: 0000000000000014
[ 2143.011153] R13: ffff9b84718b1a00 R14: 0000000000000000 R15: ffffffff988dc040
[ 2143.096538] FS: 0000000000000000(0000) GS:ffff9b84ffd00000(0000) knlGS:0000000000000000
[ 2143.193363] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2143.262102] CR2: 00000000000000a8 CR3: 000000040acf2000 CR4: 0000000000340670
[ 2143.347488] Stack:
[ 2143.371509] ffff9b846aedea00 ffffa8c2827a3db0 0000000000000001 ffff9b84e756c000
[ 2143.460429] ffff9b846aedea00 00000000000000c0 ffffffff981c55f6 ffffffff981c962c
[ 2143.549348] ffffffff981e6be6 ffff9b846aedea40 ffff9b846aedea20 ffff9b84e7c52c00
[ 2143.638266] Call Trace:
[ 2143.667494] [] ? ipv6_ifa_notify+0x26/0x40
[ 2143.736236] [] ? addrconf_dad_completed+0x4c/0x2c0
[ 2143.813300] [] ? ipv6_dev_mc_inc+0x196/0x260
[ 2143.884124] [] ? addrconf_dad_work+0x10a/0x430
[ 2143.957027] [] ? __switch_to_asm+0x34/0x70
[ 2144.025772] [] ? process_one_work+0x18a/0x430
[ 2144.097634] [] ? worker_thread+0x4d/0x490
[ 2144.165338] [] ? process_one_work+0x430/0x430
[ 2144.237202] [] ? kthread+0xd9/0xf0
[ 2144.297626] [] ? __switch_to_asm+0x34/0x70
[ 2144.366368] [] ? kthread_park+0x60/0x60
[ 2144.431991] [] ? ret_from_fork+0x57/0x70
[ 2144.498654] Code: 31 c0 31 d2 41 b9 20 00 08 02 b9 09 00 00 00 4c 89 fe 4c 89 ef e8 cd c6 f5 ff 41 83 fc 14 0f 85 57 ff ff ff 48 8b bb a8 00 00 00 <48> 8b 87 a8 00 00 00 48 85 c0 0f 84 13 01 00 00 48 8b 83 a0 00
[ 2144.731196] RIP [] __ipv6_ifa_notify+0x154/0x290
[ 2144.806284] RSP
[ 2144.847987] CR2: 00000000000000a8
[ 2144.887617] ---[ end trace 2b992bd969a1d32a ]---
[ 2144.948847] Kernel panic - not syncing: Fatal exception in interrupt
[ 2145.024829] Kernel Offset: 0x16c00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[ 2145.159742] Rebooting in 10 seconds..
[ 2155.124350] ACPI MEMORY or I/O RESET_REG

.

Describe the results you expected:

Additional information you deem important (e.g. issue happens only occasionally):

@ArunSaravananBalachandran
Copy link
Contributor Author

PR114 merged in sonic-linux-kernel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant