Ethernet Products
Determine ramifications of Intel® Ethernet products and technologies
4862 Discussions

Soft lockup and rebooted in igb

SSumi
Beginner
2,692 Views

I have one issue, at customer machine the user space process is hogging up the processor (soft lockup)along with 2 kernel process and dump stack trace showing RIP at _ticket_spin_lock in all 3 process.

As i know "If an user-space process had caused the soft-lockup, a line identifying the process by its pid would logged, followed by the contents of various CPU-registers without a call-trace of any sorts" but in my case i am getting dump stack trace for user process too.

is it coming from a misbehaving user space app? is it normal functionality of soft lockup? if is it functionality of soft lockup then how to resolve the issue?

Any help will be highly appreciated.

it is x86_64 machine and kernel is 3.1.10. I know all 3 process are waiting for _ticket_spin_lock. see :-

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492033] BUG: soft lockup - CPU# 3 stuck for 22s! [virtio_shm/5/3:7874]

 

Aug 26 09:32:00 at-vie01a-cq21b kernel: [115455.404215] BUG: soft lockup - CPU# 31 stuck for 23s! [kni_thread:6605]

 

Aug 26 09:32:01 at-vie01a-cq21b kernel: [115456.172014] BUG: soft lockup - CPU# 0 stuck for 22s! [gis:14145]

 

 

i thing problem in igb driver!! Because gis anf kni_thread both had igb driver logs

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492033] BUG: soft lockup - CPU# 3 stuck for 22s! [virtio_shm/5/3:7874]

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492036] Modules linked in: xt_sharedlimit xt_hashlimit ip_set_hash_ipport ip_set_hash_ipportip xt_NOTRACK ip_set_bitmap_port xt_sctp nf_conntrack_ipv6 nf_defrag_ipv6 xt_CT arpt_mangle ip_set_hash_ipnet xt_NFLOG xt_limit xt_hashcounter ip_set_hash_ipip xt_set ip_set_hash_ip deflate ctr twofish_x86_64 twofish_common camellia serpent blowfish cast5 des_generic cbc xcbc rmd160 crypto_null af_key iptable_mangle ip_set arptable_filter arp_tables iptable_raw iptable_nat nfnetlink_log nfnetlink ipt_ULOG ipt_PORTMAP af_packet zlib zlib_deflate sha512_generic sha256_generic sha1_generic md5 icp_qa_al pcie8120 rte_kni pfe_pep virtio_rte virtio_shm virtio_vtnet virtio_uio igb_uio virtio_ring virtio uio xt_tcpudp xt_state xt_pkttype nf_conntrack_control bonding binfmt_misc iptable_filter ip6table_filter ip6_tables nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack_ipv4 nf_defrag_ipv4 ip_tables x_tables mperf ipmi_devintf ipmi_si ipmi_msghandler edd nf_conntrack_proto_sctp nf_conntrack sctp 8021q garp stp llc gb_sys usb_storage uas iTCO_wdt ioatdma pcspkr iTCO_vendor_support ixgbe igb wmi i2c_i801 mdio dca sg button container ipv6 autofs4 usbhid ehci_hcd megasr(P) usbcore processor thermal_sys

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492126] CPU 3

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492127] Modules linked in: xt_sharedlimit xt_hashlimit ip_set_hash_ipport ip_set_hash_ipportip xt_NOTRACK ip_set_bitmap_port xt_sctp nf_conntrack_ipv6 nf_defrag_ipv6 xt_CT arpt_mangle ip_set_hash_ipnet xt_NFLOG xt_limit xt_hashcounter ip_set_hash_ipip xt_set ip_set_hash_ip deflate ctr twofish_x86_64 twofish_common camellia serpent blowfish cast5 des_generic cbc xcbc rmd160 crypto_null af_key iptable_mangle ip_set arptable_filter arp_tables iptable_raw iptable_nat nfnetlink_log nfnetlink ipt_ULOG ipt_PORTMAP af_packet zlib zlib_deflate sha512_generic sha256_generic sha1_generic md5 icp_qa_al pcie8120 rte_kni pfe_pep virtio_rte virtio_shm virtio_vtnet virtio_uio igb_uio virtio_ring virtio uio xt_tcpudp xt_state xt_pkttype nf_conntrack_control bonding binfmt_misc iptable_filter ip6table_filter ip6_tables nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack_ipv4 nf_defrag_ipv4 ip_tables x_tables mperf ipmi_devintf ipmi_si ipmi_msghandler edd nf_conntrack_proto_sctp nf_conntrack sctp 8021q garp stp llc gb_sys usb_storage uas iTCO_wdt ioatdma pcspkr iTCO_vendor_support ixgbe igb wmi i2c_i801 mdio dca sg button container ipv6 autofs4 usbhid ehci_hcd megasr(P) usbcore processor thermal_sys

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492193]

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492196] Pid: 7874, comm: virtio_shm/5/3 Tainted: P 3.1.10-gb20-default # 1 Intel Corporation S2600CO/S2600CO

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492201] RIP: 0010:[] [] __ticket_spin_lock+0x18/0x1b

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492208] RSP: 0018:ffff88043ee63de8 EFLAGS: 00000293

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492210] RAX: 00000000000069be RBX: ffff880423772740 RCX: 000000000000000e

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492213] RDX: 00000000000069bc RSI: 000000000000000e RDI: ffff88041e56a484

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492215] RBP: ffff88041e56a484 R08: ffff88041e56a740 R09: ffff88041554f04c

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492217] R10: 0000000000000048 R11: ffff88041ee7fbc0 R12: ffff88043ee63d58

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492219] R13: ffffffff813f831e R14: ffff88041e56a484 R15: ffff88041ee7fbc0

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492222] FS: 0000000000000000(0000) GS:ffff88043ee60000(0000) knlGS:0000000000000000

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492225] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492227] CR2: 000000000078a410 CR3: 000000080b8df000 CR4: 00000000000406e0

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492229] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492232] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492234] Process virtio_shm/5/3 (pid: 7874, threadinfo ffff880811e52000, task ffff880821e320c0)

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492236] Stack:

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492238] ffffffff8106b766 ffffffffa05e3a1e 000000001201fea9 ffffffffa03ef8b8

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492244] 0000002e1201fea9 ffff880423772000 ffff88043ee63e48 ffff880423772000

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492249] ffffffff8192a870 0000000000000608 0000000000000000 ffffffff81928b00

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492255] Call Trace:

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492266] [] do_raw_spin_lock+0x5/0x8

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492275] [] packet_rcv+0x254/0x2ab [af_packet]

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492299] [] __netif_receive_skb+0x2e1/0x36b

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492304] [] netif_receive_skb+0x7e/0x84

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492311] [] virtio_rte_recv_packets+0x2c/0x49 [virtio_rte]

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492318] [] virtio_rte_poll+0x12/0x8c [virtio_rte]

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492325] [] net_rx_action+0x65/0x178

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492331] [] __do_softirq+0xb2/0x19d

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492337] [] call_softirq+0x1c/0x30

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492343] [] do_softirq+0x3c/0x7b

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452.492348] [] _local_bh_enable_ip.isra.12+0x75/0x9b

 

Aug 26 09:31:58 at-vie01a-cq21b kernel: [115452...
0 Kudos
7 Replies
idata
Employee
720 Views

Hi SumitGemini,

 

 

Thank you for the post. What is the exact network adapter model you used? Is it onboard NIC or standalone network adapter? What is the exact board or system used here?

 

 

Please share the link where you downloaded the igb driver.

 

 

Thanks,

 

wb

 

0 Kudos
SSumi
Beginner
720 Views

Thanks for help.

All Details :-

Q21-119-QEC:~ # ethtool -i eth0

 

driver: igb

 

version: 3.2.10-k

 

firmware-version: 1.4-8

 

bus-info: 0000:04:00.0

 

supports-statistics: yes

 

supports-test: yes

 

supports-eeprom-access: yes

 

supports-register-dump: yes

 

Q21-119-QEC:~ # ethtool -i eth1

 

driver: igb

 

version: 3.2.10-k

 

firmware-version: 1.4-8

 

bus-info: 0000:04:00.1

 

supports-statistics: yes

 

supports-test: yes

 

supports-eeprom-access: yes

 

supports-register-dump: yes

 

Q21-119-QEC:~ # ethtool -i eth2

 

driver: igb

 

version: 3.2.10-k

 

firmware-version: 1.4-8

 

bus-info: 0000:04:00.2

 

supports-statistics: yes

 

supports-test: yes

 

supports-eeprom-access: yes

 

supports-register-dump: yes

 

Q21-119-QEC:~ # ethtool -i eth3

 

driver: igb

 

version: 3.2.10-k

 

firmware-version: 1.4-8

 

bus-info: 0000:04:00.3

 

supports-statistics: yes

 

supports-test: yes

 

supports-eeprom-access: yes

 

supports-register-dump: yes

 

Q21-119-QEC:~ # ethtool -i eth14

 

driver: ixgbe

 

version: 3.4.8-k

 

firmware-version: 4.0-9

 

bus-info: 0000:0f:00.1

 

supports-statistics: yes

 

supports-test: yes

 

supports-eeprom-access: yes

 

supports-register-dump: yes

 

 

 

Q21-119-QEC:~ # ifconfig | cut -c1-8 | sort -u

 

 

eth0

 

eth1

 

eth14

 

eth2

 

eth3

 

lo

Q21-119-QEC:~ # lspci -v | grep -iE 'Wire|Ether'

 

04:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)

 

04:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)

 

04:00.2 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)

 

04:00.3 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)

 

0c:00.0 Ethernet controller: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection (rev 01)

 

Subsystem: Intel Corporation Ethernet Server Adapter X520-2

 

0c:00.1 Ethernet controller: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection (rev 01)

 

Subsystem: Intel Corporation Ethernet Server Adapter X520-2

 

0f:00.0 Ethernet controller: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection (rev 01)

 

Subsystem: Intel Corporation Ethernet Server Adapter X520-2

 

0f:00.1 Ethernet controller: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection (rev 01)

 

Subsystem: Intel Corporation Ethernet Server Adapter X520-2

 

11:00.0 Ethernet controller: Intel Corporation 82580 Gigabit Backplane Connection (rev 01)

 

11:00.1 Ethernet controller: Intel Corporation 82580 Gigabit Backplane Connection (rev 01)

 

11:00.2 Ethernet controller: I...
0 Kudos
SSumi
Beginner
720 Views

All Details :-

Q21-119-QEC:~ # ethtool -i eth0

 

driver: igb

 

version: 3.2.10-k

 

firmware-version: 1.4-8

 

bus-info: 0000:04:00.0

 

supports-statistics: yes

 

supports-test: yes

 

supports-eeprom-access: yes

 

supports-register-dump: yes

 

Q21-119-QEC:~ # ethtool -i eth1

 

driver: igb

 

version: 3.2.10-k

 

firmware-version: 1.4-8

 

bus-info: 0000:04:00.1

 

supports-statistics: yes

 

supports-test: yes

 

supports-eeprom-access: yes

 

supports-register-dump: yes

 

Q21-119-QEC:~ # ethtool -i eth2

 

driver: igb

 

version: 3.2.10-k

 

firmware-version: 1.4-8

 

bus-info: 0000:04:00.2

 

supports-statistics: yes

 

supports-test: yes

 

supports-eeprom-access: yes

 

supports-register-dump: yes

 

Q21-119-QEC:~ # ethtool -i eth3

 

driver: igb

 

version: 3.2.10-k

 

firmware-version: 1.4-8

 

bus-info: 0000:04:00.3

 

supports-statistics: yes

 

supports-test: yes

 

supports-eeprom-access: yes

 

supports-register-dump: yes

 

Q21-119-QEC:~ # ethtool -i eth14

 

driver: ixgbe

 

version: 3.4.8-k

 

firmware-version: 4.0-9

 

bus-info: 0000:0f:00.1

 

supports-statistics: yes

 

supports-test: yes

 

supports-eeprom-access: yes

 

supports-register-dump: yes

 

 

 

Q21-119-QEC:~ # ifconfig | cut -c1-8 | sort -u

 

 

eth0

 

eth1

 

eth14

 

eth2

 

eth3

 

lo

Q21-119-QEC:~ # lspci -v | grep -iE 'Wire|Ether'

 

04:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)

 

04:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)

 

04:00.2 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)

 

04:00.3 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)

 

0c:00.0 Ethernet controller: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection (rev 01)

 

Subsystem: Intel Corporation Ethernet Server Adapter X520-2

 

0c:00.1 Ethernet controller: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection (rev 01)

 

Subsystem: Intel Corporation Ethernet Server Adapter X520-2

 

0f:00.0 Ethernet controller: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection (rev 01)

 

Subsystem: Intel Corporation Ethernet Server Adapter X520-2

 

0f:00.1 Ethernet controller: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection (rev 01)

 

Subsystem: Intel Corporation Ethernet Server Adapter X520-2

 

11:00.0 Ethernet controller: Intel Corporation 82580 Gigabit Backplane Connection (rev 01)

 

11:00.1 Ethernet controller: Intel Corporation 82580 Gigabit Backplane Connection (rev 01) ...
0 Kudos
idata
Employee
720 Views

Hi SumitGemini,

 

 

Thank you for providing the information. I will check on the information.

 

 

rgds,

 

wb

 

0 Kudos
idata
Employee
720 Views

Hi SumitGemin,

 

 

Can you confirm if you have installed the driver from this link?

 

https://sourceforge.net/projects/e1000/files/igb%20stable/

 

 

Your ethtool output driver version is 3.2.10-k,there is higher versions in the link above.

 

 

rgds,

 

wb

 

 

0 Kudos
idata
Employee
720 Views

Hi SumitGemini,

 

 

Please help confirm the above information on my previous post. Thanks.

 

 

rgds,

 

wb
0 Kudos
Reply