kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #167657
[Bug 1557950] [NEW] mlx5_core kernel trace after "ethtool -C eth1 adaptive-rx on" flow
Public bug reported:
reproduce steps:
# ethtool -c eth1
Coalesce parameters for eth1:
Adaptive RX: off TX: off
# ethtool -C eth1 adaptive-rx on
# cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04 (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
UBUNTU_CODENAME=xenial
# uname -a
Linux dev-h-vrt-006 4.4.0-11-generic #26-Ubuntu SMP Sat Mar 5 14:25:21 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
#dmesg
[174430.803529] mst_pci: module verification failed: signature and/or required key missing - tainting kernel
[174453.001485] BUG: unable to handle kernel NULL pointer dereference at (null)
[174453.001509] IP: [<ffffffffc0152c7e>] mlx5e_set_coalesce+0x6e/0x100 [mlx5_core]
[174453.001535] PGD 81a5c7067 PUD 81aa93067 PMD 0
[174453.001556] Oops: 0000 [#1] SMP
[174453.001571] Modules linked in: mst_pciconf(OE) mst_pci(OE) nfsv3 nfs_acl rpcsec_gss_krb5 auth_rpcgss nfsv4 nfs lockd grace fscache mlx5_ib ib_core ib_addr vfio_pci vfio_virqfd vfio_iommu_type1 vfio xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter ip_tables x_tables bridge stp llc x86_pkg_temp_thermal intel_powerclamp coretemp crct10dif_pclmul crc32_pclmul aesni_intel kvm_intel aes_x86_64 ipmi_ssif lrw gf128mul glue_helper ablk_helper cryptd serio_raw kvm sb_edac edac_core irqbypass hpilo ipmi_si 8250_fintek ioatdma ipmi_msghandler acpi_power_meter mac_hid lpc_ich shpchp sunrpc autofs4 mlx4_en
[174453.001928] psmouse ixgbe dca vxlan pata_acpi ip6_udp_tunnel udp_tunnel mdio hpsa mlx5_core tg3 scsi_transport_sas mlx4_core ptp pps_core wmi fjes
[174453.002011] CPU: 2 PID: 40824 Comm: ethtool Tainted: G OE 4.4.0-11-generic #26-Ubuntu
[174453.002026] Hardware name: HP ProLiant DL380p Gen8, BIOS P70 12/20/2013
[174453.002037] task: ffff8800bd919b80 ti: ffff880814d74000 task.ti: ffff880814d74000
[174453.002072] RIP: 0010:[<ffffffffc0152c7e>] [<ffffffffc0152c7e>] mlx5e_set_coalesce+0x6e/0x100 [mlx5_core]
[174453.002119] RSP: 0018:ffff880814d77c30 EFLAGS: 00010246
[174453.002141] RAX: 0000000000000000 RBX: ffff880816e00000 RCX: 0000000000000000
[174453.002176] RDX: 0000000000000000 RSI: ffff880814d77c74 RDI: ffff880814e60000
[174453.002210] RBP: ffff880814d77c60 R08: ffffffff81e42520 R09: ffffffffff000000
[174453.002245] R10: 0000000000000533 R11: 0000000000000246 R12: ffff880814d77c74
[174453.002280] R13: ffff880814e60000 R14: 0000000000000000 R15: ffff880814e60000
[174453.002316] FS: 00007f7e927f7700(0000) GS:ffff88081f680000(0000) knlGS:0000000000000000
[174453.002352] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[174453.002374] CR2: 0000000000000000 CR3: 0000000818365000 CR4: 00000000001406e0
[174453.002409] Stack:
[174453.002427] 0000000017a4b290 ffff880814e60000 0000000600114bb3 000000000000000f
[174453.002476] 0000000000008946 ffff880814e60000 ffff880814d77ce0 ffffffff8171784a
[174453.002525] 0000000f00000010 0000002000000010 0000000000000000 0000002000000010
[174453.002574] Call Trace:
[174453.002597] [<ffffffff8171784a>] ethtool_set_coalesce+0x5a/0x80
[174453.002621] [<ffffffff81719928>] dev_ethtool+0xe78/0x1d70
[174453.002645] [<ffffffff8119a76b>] ? page_cache_async_readahead+0x6b/0x70
[174453.002670] [<ffffffff811c9505>] ? page_add_file_rmap+0x25/0x60
[174453.002694] [<ffffffff81727c95>] ? __rtnl_unlock+0x15/0x20
[174453.002717] [<ffffffff81717141>] ? netdev_run_todo+0x61/0x320
[174453.002741] [<ffffffff8172bf02>] dev_ioctl+0x182/0x580
[174453.002765] [<ffffffff816f3e12>] sock_do_ioctl+0x42/0x50
[174453.002788] [<ffffffff816f4312>] sock_ioctl+0x1d2/0x290
[174453.002811] [<ffffffff8121e3ef>] do_vfs_ioctl+0x29f/0x490
[174453.003136] [<ffffffff8106a554>] ? __do_page_fault+0x1b4/0x400
[174453.003161] [<ffffffff81228c35>] ? fd_install+0x25/0x30
[174453.003183] [<ffffffff8121e659>] SyS_ioctl+0x79/0x90
[174453.003208] [<ffffffff8181c832>] entry_SYSCALL_64_fastpath+0x16/0x71
[174453.003231] Code: 66 89 87 36 66 00 00 8b 46 08 66 89 87 38 66 00 00 0f 84 91 00 00 00 49 89 fd 49 89 f4 48 63 45 d4 49 8b 95 00 13 00 00 45 31 f6 <4c> 8b 3c c2 41 80 bf dc 18 00 00 00 74 3d 49 63 c6 41 0f b7 4c
[174453.003564] RIP [<ffffffffc0152c7e>] mlx5e_set_coalesce+0x6e/0x100 [mlx5_core]
[174453.003607] RSP <ffff880814d77c30>
[174453.003626] CR2: 0000000000000000
[174453.004055] ---[ end trace 8466dfbb422a27d8 ]---
Fix upstream commits
7524a5d88b94afef8397a79f1e664af5b7052c22 net/mlx5e: Don't modify CQ before it was created
2fcb92fbd04eef26dfe7e67839da6262d83d6b65 net/mlx5e: Don't try to modify CQ moderation if it is not supported
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1557950
Title:
mlx5_core kernel trace after "ethtool -C eth1 adaptive-rx on" flow
Status in linux package in Ubuntu:
New
Bug description:
reproduce steps:
# ethtool -c eth1
Coalesce parameters for eth1:
Adaptive RX: off TX: off
# ethtool -C eth1 adaptive-rx on
# cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04 (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
UBUNTU_CODENAME=xenial
# uname -a
Linux dev-h-vrt-006 4.4.0-11-generic #26-Ubuntu SMP Sat Mar 5 14:25:21 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
#dmesg
[174430.803529] mst_pci: module verification failed: signature and/or required key missing - tainting kernel
[174453.001485] BUG: unable to handle kernel NULL pointer dereference at (null)
[174453.001509] IP: [<ffffffffc0152c7e>] mlx5e_set_coalesce+0x6e/0x100 [mlx5_core]
[174453.001535] PGD 81a5c7067 PUD 81aa93067 PMD 0
[174453.001556] Oops: 0000 [#1] SMP
[174453.001571] Modules linked in: mst_pciconf(OE) mst_pci(OE) nfsv3 nfs_acl rpcsec_gss_krb5 auth_rpcgss nfsv4 nfs lockd grace fscache mlx5_ib ib_core ib_addr vfio_pci vfio_virqfd vfio_iommu_type1 vfio xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter ip_tables x_tables bridge stp llc x86_pkg_temp_thermal intel_powerclamp coretemp crct10dif_pclmul crc32_pclmul aesni_intel kvm_intel aes_x86_64 ipmi_ssif lrw gf128mul glue_helper ablk_helper cryptd serio_raw kvm sb_edac edac_core irqbypass hpilo ipmi_si 8250_fintek ioatdma ipmi_msghandler acpi_power_meter mac_hid lpc_ich shpchp sunrpc autofs4 mlx4_en
[174453.001928] psmouse ixgbe dca vxlan pata_acpi ip6_udp_tunnel udp_tunnel mdio hpsa mlx5_core tg3 scsi_transport_sas mlx4_core ptp pps_core wmi fjes
[174453.002011] CPU: 2 PID: 40824 Comm: ethtool Tainted: G OE 4.4.0-11-generic #26-Ubuntu
[174453.002026] Hardware name: HP ProLiant DL380p Gen8, BIOS P70 12/20/2013
[174453.002037] task: ffff8800bd919b80 ti: ffff880814d74000 task.ti: ffff880814d74000
[174453.002072] RIP: 0010:[<ffffffffc0152c7e>] [<ffffffffc0152c7e>] mlx5e_set_coalesce+0x6e/0x100 [mlx5_core]
[174453.002119] RSP: 0018:ffff880814d77c30 EFLAGS: 00010246
[174453.002141] RAX: 0000000000000000 RBX: ffff880816e00000 RCX: 0000000000000000
[174453.002176] RDX: 0000000000000000 RSI: ffff880814d77c74 RDI: ffff880814e60000
[174453.002210] RBP: ffff880814d77c60 R08: ffffffff81e42520 R09: ffffffffff000000
[174453.002245] R10: 0000000000000533 R11: 0000000000000246 R12: ffff880814d77c74
[174453.002280] R13: ffff880814e60000 R14: 0000000000000000 R15: ffff880814e60000
[174453.002316] FS: 00007f7e927f7700(0000) GS:ffff88081f680000(0000) knlGS:0000000000000000
[174453.002352] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[174453.002374] CR2: 0000000000000000 CR3: 0000000818365000 CR4: 00000000001406e0
[174453.002409] Stack:
[174453.002427] 0000000017a4b290 ffff880814e60000 0000000600114bb3 000000000000000f
[174453.002476] 0000000000008946 ffff880814e60000 ffff880814d77ce0 ffffffff8171784a
[174453.002525] 0000000f00000010 0000002000000010 0000000000000000 0000002000000010
[174453.002574] Call Trace:
[174453.002597] [<ffffffff8171784a>] ethtool_set_coalesce+0x5a/0x80
[174453.002621] [<ffffffff81719928>] dev_ethtool+0xe78/0x1d70
[174453.002645] [<ffffffff8119a76b>] ? page_cache_async_readahead+0x6b/0x70
[174453.002670] [<ffffffff811c9505>] ? page_add_file_rmap+0x25/0x60
[174453.002694] [<ffffffff81727c95>] ? __rtnl_unlock+0x15/0x20
[174453.002717] [<ffffffff81717141>] ? netdev_run_todo+0x61/0x320
[174453.002741] [<ffffffff8172bf02>] dev_ioctl+0x182/0x580
[174453.002765] [<ffffffff816f3e12>] sock_do_ioctl+0x42/0x50
[174453.002788] [<ffffffff816f4312>] sock_ioctl+0x1d2/0x290
[174453.002811] [<ffffffff8121e3ef>] do_vfs_ioctl+0x29f/0x490
[174453.003136] [<ffffffff8106a554>] ? __do_page_fault+0x1b4/0x400
[174453.003161] [<ffffffff81228c35>] ? fd_install+0x25/0x30
[174453.003183] [<ffffffff8121e659>] SyS_ioctl+0x79/0x90
[174453.003208] [<ffffffff8181c832>] entry_SYSCALL_64_fastpath+0x16/0x71
[174453.003231] Code: 66 89 87 36 66 00 00 8b 46 08 66 89 87 38 66 00 00 0f 84 91 00 00 00 49 89 fd 49 89 f4 48 63 45 d4 49 8b 95 00 13 00 00 45 31 f6 <4c> 8b 3c c2 41 80 bf dc 18 00 00 00 74 3d 49 63 c6 41 0f b7 4c
[174453.003564] RIP [<ffffffffc0152c7e>] mlx5e_set_coalesce+0x6e/0x100 [mlx5_core]
[174453.003607] RSP <ffff880814d77c30>
[174453.003626] CR2: 0000000000000000
[174453.004055] ---[ end trace 8466dfbb422a27d8 ]---
Fix upstream commits
7524a5d88b94afef8397a79f1e664af5b7052c22 net/mlx5e: Don't modify CQ before it was created
2fcb92fbd04eef26dfe7e67839da6262d83d6b65 net/mlx5e: Don't try to modify CQ moderation if it is not supported
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1557950/+subscriptions
Follow ups