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

ivpn-service causes frequent iwlwifi crashes and instability #365

Open
0-ft opened this issue Apr 8, 2024 · 0 comments
Open

ivpn-service causes frequent iwlwifi crashes and instability #365

0-ft opened this issue Apr 8, 2024 · 0 comments

Comments

@0-ft
Copy link

0-ft commented Apr 8, 2024

Bug report

Describe your environment

  • Device: XPS 13 9310, Framework 13 13th gen
  • OS name and version: Ubuntu 22.04 LTS
  • IVPN app version: 3.14.2

Describe the problem

Steps to reproduce:

  1. Install ivpn through apt and log in

Observed Results:

Installing the IVPN package on Ubuntu 22.04 LTS on devices using iwlwifi causes frequent crashes, seen in dmesg output. These occur whether or not the firewall is enabled. I have observed this on an XPS13 9310 and also on Framework Laptop 13 13th gen.

These crashes cause WiFi connectivity to fail entirely for a few seconds at random times around every 2-3 minutes.

This archlinux thread shows someone else also identifying IVPN as the source of the same problem, on quite a different setup.

Expected Results:

That iwlwifi would not crash. If I uninstall ivpn these crashes do not occur.

Relevant Code:

[45050.333376] iwlwifi 0000:aa:00.0: Microcode SW error detected. Restarting 0x0.
[45050.333771] iwlwifi 0000:aa:00.0: Start IWL Error Log Dump:
[45050.333776] iwlwifi 0000:aa:00.0: Transport status: 0x0000004B, valid: 6
[45050.333781] iwlwifi 0000:aa:00.0: Loaded firmware version: 72.a764baac.0 ty-a0-gf-a0-72.ucode
[45050.333785] iwlwifi 0000:aa:00.0: 0x00000071 | NMI_INTERRUPT_UMAC_FATAL    
[45050.333790] iwlwifi 0000:aa:00.0: 0x000000E3 | trm_hw_status0
[45050.333793] iwlwifi 0000:aa:00.0: 0x00000000 | trm_hw_status1
[45050.333796] iwlwifi 0000:aa:00.0: 0x004DB5D2 | branchlink2
[45050.333800] iwlwifi 0000:aa:00.0: 0x000088DC | interruptlink1
[45050.333803] iwlwifi 0000:aa:00.0: 0x000088DC | interruptlink2
[45050.333805] iwlwifi 0000:aa:00.0: 0x0000C2BA | data1
[45050.333809] iwlwifi 0000:aa:00.0: 0x00000010 | data2
[45050.333812] iwlwifi 0000:aa:00.0: 0x00000000 | data3
[45050.333815] iwlwifi 0000:aa:00.0: 0x058175EB | beacon time
[45050.333819] iwlwifi 0000:aa:00.0: 0x1F73F361 | tsf low
[45050.333822] iwlwifi 0000:aa:00.0: 0x00000655 | tsf hi
[45050.333825] iwlwifi 0000:aa:00.0: 0x00000000 | time gp1
[45050.333828] iwlwifi 0000:aa:00.0: 0x06E04999 | time gp2
[45050.333831] iwlwifi 0000:aa:00.0: 0x00000001 | uCode revision type
[45050.333834] iwlwifi 0000:aa:00.0: 0x00000048 | uCode version major
[45050.333837] iwlwifi 0000:aa:00.0: 0xA764BAAC | uCode version minor
[45050.333840] iwlwifi 0000:aa:00.0: 0x00000420 | hw version
[45050.333843] iwlwifi 0000:aa:00.0: 0x00C89002 | board version
[45050.333846] iwlwifi 0000:aa:00.0: 0x08B5001C | hcmd
[45050.333850] iwlwifi 0000:aa:00.0: 0x67F68000 | isr0
[45050.333852] iwlwifi 0000:aa:00.0: 0x61400000 | isr1
[45050.333855] iwlwifi 0000:aa:00.0: 0x48F00012 | isr2
[45050.333858] iwlwifi 0000:aa:00.0: 0x04C30288 | isr3
[45050.333861] iwlwifi 0000:aa:00.0: 0x00200000 | isr4
[45050.333864] iwlwifi 0000:aa:00.0: 0x08A9001C | last cmd Id
[45050.333867] iwlwifi 0000:aa:00.0: 0x0000C2BA | wait_event
[45050.333870] iwlwifi 0000:aa:00.0: 0x00004288 | l2p_control
[45050.333873] iwlwifi 0000:aa:00.0: 0x00009C20 | l2p_duration
[45050.333876] iwlwifi 0000:aa:00.0: 0x000003BF | l2p_mhvalid
[45050.333879] iwlwifi 0000:aa:00.0: 0x00E700D8 | l2p_addr_match
[45050.333882] iwlwifi 0000:aa:00.0: 0x00000009 | lmpm_pmg_sel
[45050.333885] iwlwifi 0000:aa:00.0: 0x00000000 | timestamp
[45050.333888] iwlwifi 0000:aa:00.0: 0x000018A0 | flow_handler
[45050.334170] iwlwifi 0000:aa:00.0: Start IWL Error Log Dump:
[45050.334173] iwlwifi 0000:aa:00.0: Transport status: 0x0000004B, valid: 7
[45050.334177] iwlwifi 0000:aa:00.0: 0x20103609 | ADVANCED_SYSASSERT
[45050.334180] iwlwifi 0000:aa:00.0: 0x00000000 | umac branchlink1
[45050.334183] iwlwifi 0000:aa:00.0: 0x8045F1D0 | umac branchlink2
[45050.334186] iwlwifi 0000:aa:00.0: 0x010199F0 | umac interruptlink1
[45050.334189] iwlwifi 0000:aa:00.0: 0x00000000 | umac interruptlink2
[45050.334192] iwlwifi 0000:aa:00.0: 0x00000025 | umac data1
[45050.334195] iwlwifi 0000:aa:00.0: 0x00000001 | umac data2
[45050.334198] iwlwifi 0000:aa:00.0: 0x00000000 | umac data3
[45050.334201] iwlwifi 0000:aa:00.0: 0x00000048 | umac major
[45050.334204] iwlwifi 0000:aa:00.0: 0xA764BAAC | umac minor
[45050.334207] iwlwifi 0000:aa:00.0: 0x06E04993 | frame pointer
[45050.334210] iwlwifi 0000:aa:00.0: 0xC0886C0C | stack pointer
[45050.334212] iwlwifi 0000:aa:00.0: 0x0058010D | last host cmd
[45050.334215] iwlwifi 0000:aa:00.0: 0x00000000 | isr status reg
[45050.334476] iwlwifi 0000:aa:00.0: IML/ROM dump:
[45050.334479] iwlwifi 0000:aa:00.0: 0x00000B03 | IML/ROM error/state
[45050.334908] iwlwifi 0000:aa:00.0: 0x000077C3 | IML/ROM data1
[45050.335129] iwlwifi 0000:aa:00.0: 0x00000090 | IML/ROM WFPM_AUTH_KEY_0
[45050.335335] iwlwifi 0000:aa:00.0: Fseq Registers:
[45050.335497] iwlwifi 0000:aa:00.0: 0x60000000 | FSEQ_ERROR_CODE
[45050.335658] iwlwifi 0000:aa:00.0: 0x80440005 | FSEQ_TOP_INIT_VERSION
[45050.335820] iwlwifi 0000:aa:00.0: 0x00080009 | FSEQ_CNVIO_INIT_VERSION
[45050.335988] iwlwifi 0000:aa:00.0: 0x0000A652 | FSEQ_OTP_VERSION
[45050.336152] iwlwifi 0000:aa:00.0: 0x00000002 | FSEQ_TOP_CONTENT_VERSION
[45050.336314] iwlwifi 0000:aa:00.0: 0x4552414E | FSEQ_ALIVE_TOKEN
[45050.336474] iwlwifi 0000:aa:00.0: 0x00400410 | FSEQ_CNVI_ID
[45050.336632] iwlwifi 0000:aa:00.0: 0x00400410 | FSEQ_CNVR_ID
[45050.336792] iwlwifi 0000:aa:00.0: 0x00400410 | CNVI_AUX_MISC_CHIP
[45050.336915] iwlwifi 0000:aa:00.0: 0x00400410 | CNVR_AUX_MISC_CHIP
[45050.337037] iwlwifi 0000:aa:00.0: 0x00009061 | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[45050.337159] iwlwifi 0000:aa:00.0: 0x00000061 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[45050.337513] iwlwifi 0000:aa:00.0: WRT: Collecting data: ini trigger 4 fired (delay=0ms).
[45050.337521] ieee80211 phy0: Hardware restart was requested
[45050.337539] iwlwifi 0000:aa:00.0: FW error in SYNC CMD SCAN_REQ_UMAC
[45050.337551] CPU: 2 PID: 9584 Comm: ivpn-service Tainted: G        W          6.1.0-1028-oem #28-Ubuntu
[45050.337556] Hardware name: Framework Laptop (13th Gen Intel Core)/FRANMCCP06, BIOS 03.04 05/24/2023
[45050.337558] Call Trace:
[45050.337562]  <TASK>
[45050.337567]  show_stack+0x4e/0x61
[45050.337575]  dump_stack_lvl+0x4a/0x6f
[45050.337580]  dump_stack+0x10/0x18
[45050.337585]  iwl_trans_txq_send_hcmd_sync+0x368/0x370 [iwlwifi]
[45050.337625]  ? destroy_sched_domains_rcu+0x40/0x40
[45050.337632]  iwl_trans_txq_send_hcmd+0xb8/0x170 [iwlwifi]
[45050.337665]  iwl_trans_send_cmd+0x81/0x110 [iwlwifi]
[45050.337697]  iwl_mvm_send_cmd+0x38/0xa0 [iwlmvm]
[45050.337730]  iwl_mvm_reg_scan_start+0x2ed/0x400 [iwlmvm]
[45050.337771]  iwl_mvm_mac_hw_scan+0x50/0x80 [iwlmvm]
[45050.337796]  drv_hw_scan+0x46/0x160 [mac80211]
[45050.337864]  __ieee80211_start_scan+0x28e/0x6b0 [mac80211]
[45050.337923]  ieee80211_request_scan+0x30/0x60 [mac80211]
[45050.337981]  ieee80211_scan+0x66/0x110 [mac80211]
[45050.338049]  rdev_scan+0x2a/0xe0 [cfg80211]
[45050.338110]  cfg80211_wext_siwscan+0x36e/0x660 [cfg80211]
[45050.338161]  ? ioctl_standard_iw_point+0x18d/0x3d0
[45050.338169]  ioctl_standard_iw_point+0x221/0x3d0
[45050.338174]  ? cfg80211_parse_colocated_ap+0x310/0x310 [cfg80211]
[45050.338222]  ? ioctl_standard_iw_point+0x260/0x3d0
[45050.338228]  ? cfg80211_parse_colocated_ap+0x310/0x310 [cfg80211]
[45050.338275]  ioctl_standard_call+0xcf/0x140
[45050.338281]  ? iw_handler_get_private+0x80/0x80
[45050.338287]  ? call_commit_handler+0x60/0x60
[45050.338292]  wireless_process_ioctl+0x180/0x1b0
[45050.338298]  wext_handle_ioctl+0x168/0x1a0
[45050.338303]  ? __rtnl_unlock+0x37/0x70
[45050.338311]  sock_ioctl+0x1e1/0x350
[45050.338316]  ? wext_handle_ioctl+0x186/0x1a0
[45050.338322]  ? __fget_light+0xa5/0x120
[45050.338327]  __x64_sys_ioctl+0x9d/0xe0
[45050.338331]  do_syscall_64+0x58/0x90
[45050.338336]  ? exit_to_user_mode_prepare+0x30/0xb0
[45050.338342]  ? syscall_exit_to_user_mode+0x37/0x60
[45050.338348]  ? do_syscall_64+0x67/0x90
[45050.338353]  ? exit_to_user_mode_prepare+0x30/0xb0
[45050.338357]  ? syscall_exit_to_user_mode+0x37/0x60
[45050.338362]  ? do_syscall_64+0x67/0x90
[45050.338366]  entry_SYSCALL_64_after_hwframe+0x64/0xce
[45050.338372] RIP: 0033:0x7f724ed1a94f
[45050.338377] 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 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <41> 89 c0 3d 00 f0 ff ff 77 1f 48 8b 44 24 18 64 48 2b 04 25 28 00
[45050.338381] RSP: 002b:00007f71fffeeb20 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[45050.338386] RAX: ffffffffffffffda RBX: 00007f71fffeec90 RCX: 00007f724ed1a94f
[45050.338388] RDX: 00007f71fffeec40 RSI: 0000000000008b18 RDI: 000000000000000b
[45050.338390] RBP: 00007f71fffeec40 R08: 0000000000000007 R09: 003073303731706c
[45050.338392] R10: 0000000000000025 R11: 0000000000000246 R12: 000000000000000b
[45050.338394] R13: 0000000000000016 R14: 00007f71f40028dc R15: 00007f71ffffed00
[45050.338398]  </TASK>
[45050.338401] iwlwifi 0000:aa:00.0: Scan failed! ret -5
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

No branches or pull requests

1 participant