This bug is missing log files that will aid in diagnosing the problem.
>From a terminal window please run:
apport-collect 1649207
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable
to run this command, please add a comment stating that fact and change
the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the
Ubuntu Kernel Team.
** Changed in: linux (Ubuntu)
Status: New => Incomplete
--
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/1649207
Title:
mlx5_core failed to increase rx ring to 4096 - SIOCSIFFLAGS: Cannot
allocate memory
Status in linux package in Ubuntu:
Incomplete
Bug description:
Failed to increase rx ring to 4096 - SIOCSIFFLAGS: Cannot allocate
memory
Scenario
ubuntu@cto-netsim3:~$ sudo ethtool -g ens6f0
[sudo] password for ubuntu:
Ring parameters for ens6f0:
Pre-set maximums:
RX: 4096
RX Mini: 0
RX Jumbo: 0
TX: 8192
Current hardware settings:
RX: 1024
RX Mini: 0
RX Jumbo: 0
TX: 1024
ubuntu@cto-netsim3:~$ sudo ethtool -G ens6f0 rx 4096
Cannot set device ring parameters: Cannot allocate memory
After brinding the interface down with:
ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 down
I can not bring it back up !!!
ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
SIOCSIFFLAGS: Cannot allocate memory
ubuntu@cto-netsim3:~$
ubuntu@cto-netsim3:~$
ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
SIOCSIFFLAGS: Cannot allocate memory
ubuntu@cto-netsim3:~$
ubuntu@cto-netsim3:~$
ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
SIOCSIFFLAGS: Cannot allocate memory
ubuntu@cto-netsim3:~$
ubuntu@cto-netsim3:~$
ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
SIOCSIFFLAGS: Cannot allocate memory
ubuntu@cto-netsim3:~$
ubuntu@cto-netsim3:~$
ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
SIOCSIFFLAGS: Cannot allocate memory
ubuntu@cto-netsim3:~$
ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
SIOCSIFFLAGS: Cannot allocate memory
ubuntu@cto-netsim3:~$
ubuntu@cto-netsim3:~$
ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
SIOCSIFFLAGS: Cannot allocate memory
ubuntu@cto-netsim3:~$
ubuntu@cto-netsim3:~$
ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
SIOCSIFFLAGS: Cannot allocate memory
ubuntu@cto-netsim3:~$
ubuntu@cto-netsim3:~$
ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
SIOCSIFFLAGS: Cannot allocate memory
ubuntu@cto-netsim3:~$
ubuntu@cto-netsim3:~$
ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
SIOCSIFFLAGS: Cannot allocate memory
ubuntu@cto-netsim3:~$
dmsg:
[ 774.935067] mlx5_core 0000:81:00.0: swiotlb buffer is full (sz: 8388608
bytes)
[ 774.935070] swiotlb: coherent allocation failed for device 0000:81:00.0
size=8388608
[ 774.935074] CPU: 38 PID: 6042 Comm: ethtool Not tainted 4.8.0-22-generic #24
[ 774.935075] Hardware name: Quanta Computer Inc D51B-1U (dual 1G LoM)/S2B-MB
(dual 1G LoM), BIOS S2B_3A19 05/15/2015
[ 774.935078] 0000000000000286 0000000065a68699 ffff8d946b1db9a0
ffffffff8502f5d2
[ 774.935083] 0000000000000000 00000000007fffff ffff8d946b1db9e8
ffffffff8505a280
[ 774.935087] ffff8d946b1dba80 ffff8d940000000b 00000000024082c0
ffff8db471b0e0a0
[ 774.935091] Call Trace:
[ 774.935104] [<ffffffff8502f5d2>] dump_stack+0x63/0x81
[ 774.935108] [<ffffffff8505a280>] swiotlb_alloc_coherent+0x140/0x160
[ 774.935115] [<ffffffff84c65253>] x86_swiotlb_alloc_coherent+0x43/0x50
[ 774.935150] [<ffffffffc062dc14>] mlx5_dma_zalloc_coherent_node+0xa4/0x100
[mlx5_core]
[ 774.935164] [<ffffffffc062de9d>] mlx5_buf_alloc_node+0x4d/0xc0 [mlx5_core]
[ 774.935181] [<ffffffffc0638c4e>] mlx5_cqwq_create+0x7e/0x160 [mlx5_core]
[ 774.935199] [<ffffffffc0640abe>] mlx5e_open_cq+0x9e/0x1f0 [mlx5_core]
[ 774.935214] [<ffffffffc0641ab5>] mlx5e_open_channels+0x715/0xf30 [mlx5_core]
[ 774.935229] [<ffffffffc064268a>] mlx5e_open_locked+0xda/0x1e0 [mlx5_core]
[ 774.935245] [<ffffffffc0647c7e>] mlx5e_set_ringparam+0x21e/0x350 [mlx5_core]
[ 774.935252] [<ffffffff8538a64f>] dev_ethtool+0x59f/0x1fc0
[ 774.935255] [<ffffffff84e08470>] ? new_slab+0x300/0x6e0
[ 774.935259] [<ffffffff8539963a>] ? __rtnl_unlock+0x2a/0x50
[ 774.935262] [<ffffffff85387740>] ? netdev_run_todo+0x60/0x330
[ 774.935266] [<ffffffff84dda6bc>] ? alloc_set_pte+0x4ec/0x610
[ 774.935268] [<ffffffff85380b51>] ? dev_get_by_name_rcu+0x61/0x80
[ 774.935272] [<ffffffff8539f7b0>] dev_ioctl+0x180/0x5a0
[ 774.935277] [<ffffffff853624b2>] sock_do_ioctl+0x42/0x50
[ 774.935280] [<ffffffff853629b2>] sock_ioctl+0x1d2/0x290
[ 774.935283] [<ffffffff84e47843>] do_vfs_ioctl+0xa3/0x610
[ 774.935287] [<ffffffff84c6b3b3>] ? __do_page_fault+0x203/0x4d0
[ 774.935289] [<ffffffff84e47e29>] SyS_ioctl+0x79/0x90
[ 774.935307] [<ffffffff8549f0f6>] entry_SYSCALL_64_fastpath+0x1e/0xa8
[ 774.935312] mlx5_core 0000:81:00.0: 0000:81:00.0:mlx5_cqwq_create:121:(pid
6042): mlx5_buf_alloc_node() failed, -12
[ 774.935537] mlx5_core 0000:81:00.0 ens6f0: mlx5e_open_locked:
mlx5e_open_channels failed, -12
This is the upstream patches that fix this issue
ec8b9981ad3f net/mlx5e: Create UMR MKey per RQ
3608ae77c098 net/mlx5e: Move function mlx5e_create_umr_mkey
1c1b522808a1 net/mlx5e: Implement Fragmented Work Queue (WQ)
Thanks,
Talat
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1649207/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp