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

set supported_coalesce_params on kernel >= 5.7.0 #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

msajak
Copy link

@msajak msajak commented Nov 4, 2020

without supported_coalesce_params set, exanic module fails to load with:

[ 1778.168117] ------------[ cut here ]------------
[ 1778.168120] WARNING: CPU: 0 PID: 6327 at net/ethtool/common.c:348 ethtool_check_ops+0x14/0x20
[ 1778.168121] Modules linked in: exanic(OE+) fuse squashfs loop snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel iTCO_wdt kvm nls_iso8859_1 intel_pmc_bxt ee1004 iTCO_vendor_support mei_hdcp i915 nls_cp437 hp_wmi sparse_keymap vfat rfkill wmi_bmof fat irqbypass crct10dif_pclmul snd_hda_intel crc32_pclmul ghash_clmulni_intel snd_intel_dspcfg aesni_intel snd_hda_codec crypto_simd cryptd glue_helper snd_hda_core rapl i2c_algo_bit snd_hwdep intel_cstate r8169 drm_kms_helper i2c_i801 psmouse intel_uncore snd_pcm realtek pcspkr i2c_smbus snd_timer libphy cec snd rc_core intel_gtt soundcore syscopyarea sysfillrect sysimgblt fb_sys_fops mei_me mei intel_pch_thermal wmi tpm_infineon tpm_tis tpm_tis_core evdev mac_hid tpm rng_core drm uinput crypto_user agpgart ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 serio_raw atkbd libps2 crc32c_intel sr_mod xhci_pci cdrom xhci_hcd
[ 1778.168140]  i8042 serio [last unloaded: exanic]
[ 1778.168143] CPU: 0 PID: 6327 Comm: modprobe Tainted: G        W  OE     5.8.16-2-MANJARO #1
[ 1778.168143] Hardware name: HP HP ProDesk 400 G3 SFF/8062, BIOS N03 Ver. 02.44 11/04/2019
[ 1778.168145] RIP: 0010:ethtool_check_ops+0x14/0x20
[ 1778.168147] Code: bc f4 ff ff ff eb e6 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 0f 1f 44 00 00 31 c0 48 83 7f 70 00 74 0d 8b 17 85 d2 75 07 <0f> 0b b8 ea ff ff ff c3 0f 1f 40 00 0f 1f 44 00 00 4c 8b 8f f8 01
[ 1778.168147] RSP: 0018:ffffa8a7c3d339a8 EFLAGS: 00010246
[ 1778.168148] RAX: 0000000000000000 RBX: ffffffffb7321500 RCX: 000000000000020c
[ 1778.168149] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffc0b7a3c0
[ 1778.168149] RBP: ffff90b637984000 R08: ffff90b637984000 R09: ffff90b64a822500
[ 1778.168150] R10: ffff90b64abb2400 R11: 000000000000000e R12: 0000000000000000
[ 1778.168150] R13: ffff90b628030d98 R14: ffff90b628030da8 R15: ffff90b628000018
[ 1778.168152] FS:  00007fd743244740(0000) GS:ffff90b650200000(0000) knlGS:0000000000000000
[ 1778.168152] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1778.168153] CR2: 00007fd7426ed000 CR3: 00000007f4310004 CR4: 00000000003606f0
[ 1778.168154] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1778.168154] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1778.168155] Call Trace:
[ 1778.168157]  register_netdevice+0x87/0x650
[ 1778.168161]  register_netdev+0x1c/0x40
[ 1778.168167]  exanic_netdev_alloc+0x144/0x1b0 [exanic]
[ 1778.168173]  exanic_probe.cold+0x1526/0x165d [exanic]
[ 1778.168176]  local_pci_probe+0x42/0x80
[ 1778.168178]  ? pci_match_device+0xd7/0x100
[ 1778.168179]  pci_device_probe+0xfa/0x1b0
[ 1778.168182]  really_probe+0x160/0x400
[ 1778.168184]  driver_probe_device+0xe1/0x150
[ 1778.168185]  device_driver_attach+0xa1/0xb0
[ 1778.168186]  __driver_attach+0x8a/0x150
[ 1778.168187]  ? device_driver_attach+0xb0/0xb0
[ 1778.168188]  ? device_driver_attach+0xb0/0xb0
[ 1778.168190]  bus_for_each_dev+0x89/0xd0
[ 1778.168191]  bus_add_driver+0x12b/0x1e0
[ 1778.168193]  driver_register+0x8b/0xe0
[ 1778.168194]  ? 0xffffffffc0550000
[ 1778.168198]  exanic_init+0xc1/0x1000 [exanic]
[ 1778.168201]  do_one_initcall+0x59/0x240
[ 1778.168204]  do_init_module+0x5c/0x260
[ 1778.168205]  load_module+0x23c9/0x25a0
[ 1778.168209]  __do_sys_init_module+0x12d/0x180
[ 1778.168211]  do_syscall_64+0x44/0x70
[ 1778.168213]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 1778.168214] RIP: 0033:0x7fd743371e4e
[ 1778.168216] Code: 48 8b 0d 25 10 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d f2 0f 0c 00 f7 d8 64 89 01 48
[ 1778.168216] RSP: 002b:00007ffdac9303f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000af
[ 1778.168217] RAX: ffffffffffffffda RBX: 000055700bb23b50 RCX: 00007fd743371e4e
[ 1778.168218] RDX: 0000557009e6e288 RSI: 0000000000039f68 RDI: 00007fd7426b4010
[ 1778.168218] RBP: 00007fd7426b4010 R08: 00007fd742720000 R09: 0000000000039f70
[ 1778.168219] R10: 000055700bb23010 R11: 0000000000000246 R12: 0000557009e6e288
[ 1778.168219] R13: 0000000000000000 R14: 000055700bb23c20 R15: 000055700bb23b50
[ 1778.168221] ---[ end trace 10a1e02e2161b9fd ]---
[ 1778.179773] exanic 0000:01:00.0: Failed to register ethernet interface for port 0.

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

Successfully merging this pull request may close these issues.

1 participant