[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1082669: reportbug: sfc + bonding: Call Trace when setting the RX flow hash indir table to its default value



Package: reportbug
Version: 12.0.0
Severity: normal

When I try to set the RX flow hash indir table to its default state on the interface
with the sfc driver being bonding, I get a call trace.

Here is the sequence of commands that lead to the Call Trace:
```
ip link add bond0 type bond
ip link set bond0 type bond mode 802.3ad
ip link set dev enp2s0f0np0 down
ip link set dev enp2s0f0np0 master bond0
ip link set dev bond0 up
ethtool -X enp2s0f0np0 default

...

[  138.151549] sfc 0000:02:00.0 enp2s0f0np0: MC command 0x9f inlen 4 failed rc=-16 (raw=0) arg=0
[  138.161107] ------------[ cut here ]------------
[  138.166269] WARNING: CPU: 1 PID: 1357 at drivers/net/ethernet/sfc/mcdi_filters.c:2082 efx_mcdi_pf_rx_p]
[  138.179795] Modules linked in: bonding tls cts rpcsec_gss_krb5 nfsv4 dns_resolver nfs lockd grace fscal
[  138.179854]  crct10dif_common libahci crc32_pclmul usbcore crc32c_intel sfc mlx5_core usb_common libati
[  138.296950] CPU: 1 PID: 1357 Comm: ethtool Not tainted 6.1.0-25-amd64 #1  Debian 6.1.106-3
[  138.306189] Hardware name: Dell Inc. PowerEdge R230/0FRVY0, BIOS 2.4.3 01/31/2018
[  138.314552] RIP: 0010:efx_mcdi_pf_rx_push_rss_config+0x25a/0x300 [sfc]
[  138.321859] Code: 24 0c b9 04 00 00 00 45 31 c9 45 31 c0 6a 00 be 9f 00 00 00 48 89 df 48 8d 54 24 14 0
[  138.342841] RSP: 0018:ffffc084413e38c0 EFLAGS: 00010286
[  138.348681] RAX: 00000000fffffff0 RBX: ffffa09cc0d00040 RCX: 0000000000000000
[  138.356657] RDX: 0000000000000000 RSI: ffffa09e27ca03a0 RDI: ffffa09e27ca03a0
[  138.364632] RBP: ffffa09cd81f3e00 R08: 0000000000000000 R09: ffffc084413e3558
[  138.372599] R10: 0000000000000003 R11: ffffffffa98d4488 R12: 0000000000000000
[  138.380572] R13: ffffa09cc0d007d1 R14: 00000000d10bc008 R15: ffffa09d1fcd9000
[  138.388547] FS:  00007f635db26740(0000) GS:ffffa09e27c80000(0000) knlGS:0000000000000000
[  138.397582] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  138.404006] CR2: 0000557602c59008 CR3: 000000015feee005 CR4: 00000000003706e0
[  138.411975] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  138.419950] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  138.427925] Call Trace:
[  138.430652]  <TASK>
[  138.432997]  ? __warn+0x7d/0xc0
[  138.436510]  ? efx_mcdi_pf_rx_push_rss_config+0x25a/0x300 [sfc]
[  138.443141]  ? report_bug+0xe2/0x150
[  138.447140]  ? handle_bug+0x41/0x70
[  138.451411]  ? exc_invalid_op+0x13/0x60
[  138.456049]  ? asm_exc_invalid_op+0x16/0x20
[  138.461065]  ? efx_mcdi_pf_rx_push_rss_config+0x25a/0x300 [sfc]
[  138.468041]  ethtool_set_rxfh+0x21c/0x420
[  138.472872]  ? netdev_run_todo+0x60/0x4f0
[  138.477698]  dev_ethtool+0x1542/0x2f70
[  138.482234]  ? mas_alloc_nodes+0x6f/0x210
[  138.487061]  ? mas_update_gap+0x1a1/0x1c0
[  138.491884]  ? mas_wr_node_store+0x363/0x5c0
[  138.496995]  ? inet_ioctl+0xd8/0x1e0
[  138.501324]  dev_ioctl+0x156/0x530
[  138.505455]  sock_do_ioctl+0xda/0x120
[  138.509874]  sock_ioctl+0xed/0x330
[  138.513995]  ? get_page_from_freelist+0xead/0x1080
[  138.519667]  __x64_sys_ioctl+0x8d/0xd0
[  138.524165]  do_syscall_64+0x55/0xb0
[  138.528459]  ? mod_objcg_state+0x199/0x2c0
[  138.533330]  ? __alloc_pages+0x1c0/0x330
[  138.537999]  ? __mod_memcg_lruvec_state+0x41/0x90
[  138.543535]  ? __mod_lruvec_page_state+0x93/0x140
[  138.549064]  ? page_add_new_anon_rmap+0x6c/0x120
[  138.554489]  ? set_pte+0x5/0x10
[  138.558256]  ? __handle_mm_fault+0xd90/0xfa0
[  138.563283]  ? handle_mm_fault+0xdb/0x2d0
[  138.568005]  ? do_user_addr_fault+0x1b0/0x550
[  138.573111]  ? exit_to_user_mode_prepare+0x40/0x1e0
[  138.578786]  entry_SYSCALL_64_after_hwframe+0x6e/0xd8
[  138.584660] RIP: 0033:0x7f635dc26c5b
[  138.588874] Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 0
[  138.610302] RSP: 002b:00007fffebad22f0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[  138.618986] RAX: ffffffffffffffda RBX: 0000557602c592a0 RCX: 00007f635dc26c5b
[  138.627189] RDX: 00007fffebad2510 RSI: 0000000000008946 RDI: 0000000000000003
[  138.635390] RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
[  138.643580] R10: 00007f635db3fb20 R11: 0000000000000246 R12: 0000000000000000
[  138.651773] R13: 0000000000000000 R14: 00007fffebad2500 R15: 00007fffebad2510
[  138.659967]  </TASK>
[  138.662625] ---[ end trace 0000000000000000 ]---
```

NIC & driver:
```
$ ethtool -i enp2s0f0np0
driver: sfc
version: 6.1.0-25-amd64
firmware-version: 8.5.0.1002 rx0 tx0
expansion-rom-version:
bus-info: 0000:02:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: yes

$ lspci -nn|grep 02:00.0
02:00.0 Ethernet controller [0200]: Solarflare Communications SFC9220 10/40G Ethernet Controller [1924:0a03] (rev 02)
```

-- System Information:
Debian Release: 12.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'stable'), (200, 'proposed-updates')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-25-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages reportbug depends on:
ii  apt                2.6.1
ii  python3            3.11.2-1+b1
ii  python3-reportbug  12.0.0
ii  sensible-utils     0.0.17+nmu1

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail                         <none>
ii  debconf                            1.5.82
pn  debsums                            <none>
pn  dlocate                            <none>
pn  emacs-bin-common                   <none>
ii  file                               1:5.44-3
ii  gnupg                              2.2.40-1.1
ii  nullmailer [mail-transport-agent]  1:2.2-4
pn  python3-urwid                      <none>
pn  reportbug-gtk                      <none>
pn  xdg-utils                          <none>

Versions of packages python3-reportbug depends on:
ii  apt                2.6.1
ii  file               1:5.44-3
ii  python3            3.11.2-1+b1
ii  python3-apt        2.6.0
ii  python3-debian     0.1.49
ii  python3-debianbts  4.0.1
ii  python3-requests   2.28.1+dfsg-1
ii  sensible-utils     0.0.17+nmu1

python3-reportbug suggests no packages.

-- no debconf information


--
Damir Mansurov
OKTET Labs (http://www.oktetlabs.ru/)


Reply to: