You are not logged in.

#1 2019-01-01 21:57:44

castix
Member
Registered: 2019-01-01
Posts: 1

kernel panic with network manager

using wpa2 enterprise and networkmanager 1.14.5dev+17+gba83251bb-1
with kernel  4.19.4-arch1-1-ARCH #1 SMP PREEMPT Fri Nov 23 09:06:58 UTC 2018 x86_64 GNU/Linux

I was connected, then i lost connectivity and running dmesg I got this traceback:

[ 4992.369195] iwlwifi 0000:05:00.0: Error sending LQ_CMD: time out after 2000ms.
[ 4992.369208] iwlwifi 0000:05:00.0: Current CMD queue read_ptr 172 write_ptr 174
[ 4992.369336] iwlwifi 0000:05:00.0: Loaded firmware version: 29.1044073957.0
[ 4992.369343] iwlwifi 0000:05:00.0: 0x00000000 | ADVANCED_SYSASSERT          
[ 4992.369349] iwlwifi 0000:05:00.0: 0x00000000 | trm_hw_status0
[ 4992.369355] iwlwifi 0000:05:00.0: 0x00000000 | trm_hw_status1
[ 4992.369362] iwlwifi 0000:05:00.0: 0x00043D54 | branchlink2
[ 4992.369368] iwlwifi 0000:05:00.0: 0x0004AFDA | interruptlink1
[ 4992.369374] iwlwifi 0000:05:00.0: 0x0004AFDA | interruptlink2
[ 4992.369379] iwlwifi 0000:05:00.0: 0x00000000 | data1
[ 4992.369385] iwlwifi 0000:05:00.0: 0x00000080 | data2
[ 4992.369391] iwlwifi 0000:05:00.0: 0x07030000 | data3
[ 4992.369396] iwlwifi 0000:05:00.0: 0x368065D2 | beacon time
[ 4992.369402] iwlwifi 0000:05:00.0: 0x7FE6D259 | tsf low
[ 4992.369407] iwlwifi 0000:05:00.0: 0x0000006D | tsf hi
[ 4992.369413] iwlwifi 0000:05:00.0: 0x00000000 | time gp1
[ 4992.369419] iwlwifi 0000:05:00.0: 0x0263792A | time gp2
[ 4992.369424] iwlwifi 0000:05:00.0: 0x00000001 | uCode revision type
[ 4992.369430] iwlwifi 0000:05:00.0: 0x0000001D | uCode version major
[ 4992.369435] iwlwifi 0000:05:00.0: 0x3E3B4DE5 | uCode version minor
[ 4992.369441] iwlwifi 0000:05:00.0: 0x00000210 | hw version
[ 4992.369447] iwlwifi 0000:05:00.0: 0x00C89200 | board version
[ 4992.369452] iwlwifi 0000:05:00.0: 0x00AD01D0 | hcmd
[ 4992.369458] iwlwifi 0000:05:00.0: 0x00022000 | isr0
[ 4992.369463] iwlwifi 0000:05:00.0: 0x00800000 | isr1
[ 4992.369468] iwlwifi 0000:05:00.0: 0x00000002 | isr2
[ 4992.369474] iwlwifi 0000:05:00.0: 0x00417CC0 | isr3
[ 4992.369479] iwlwifi 0000:05:00.0: 0x00000000 | isr4
[ 4992.369484] iwlwifi 0000:05:00.0: 0x9A9E009D | last cmd Id
[ 4992.369491] iwlwifi 0000:05:00.0: 0x00000000 | wait_event
[ 4992.369497] iwlwifi 0000:05:00.0: 0x00007096 | l2p_control
[ 4992.369503] iwlwifi 0000:05:00.0: 0x00000020 | l2p_duration
[ 4992.369508] iwlwifi 0000:05:00.0: 0x00000003 | l2p_mhvalid
[ 4992.369514] iwlwifi 0000:05:00.0: 0x00000080 | l2p_addr_match
[ 4992.369519] iwlwifi 0000:05:00.0: 0x00000005 | lmpm_pmg_sel
[ 4992.369524] iwlwifi 0000:05:00.0: 0x14031202 | timestamp
[ 4992.369530] iwlwifi 0000:05:00.0: 0x00346078 | flow_handler
[ 4992.369540] ieee80211 phy0: Hardware restart was requested
[ 4992.369625] iwlwifi 0000:05:00.0: Microcode SW error detected.  Restarting 0x92000000.
[ 4992.369647] iwlwifi 0000:05:00.0: Failed to send flush command (-5)
[ 4992.369650] iwlwifi 0000:05:00.0: HCMD_ACTIVE already clear for command LQ_CMD
[ 4992.369663] iwlwifi 0000:05:00.0: flush request fail
[ 4992.369930] iwlwifi 0000:05:00.0: Failed to send MAC context (action:2): -5
[ 4992.369942] iwlwifi 0000:05:00.0: failed to update MAC a0:d3:7a:d9:67:5f
[ 4992.369952] iwlwifi 0000:05:00.0: Failed to remove station. Id=0
[ 4992.369957] iwlwifi 0000:05:00.0: failed to remove AP station
[ 4992.369965] iwlwifi 0000:05:00.0: Failed to send quota: -5
[ 4992.369970] iwlwifi 0000:05:00.0: failed to update quotas
[ 4992.369976] iwlwifi 0000:05:00.0: Failed to send MAC context (action:2): -5
[ 4992.369982] iwlwifi 0000:05:00.0: failed to update MAC a0:d3:7a:d9:67:5f (clear after unassoc)
[ 4992.369995] iwlwifi 0000:05:00.0: failed to update power mode
[ 4992.370007] iwlwifi 0000:05:00.0: Failed to send quota: -5
[ 4992.370014] iwlwifi 0000:05:00.0: Failed to send binding (action:3): -5
[ 4992.370023] iwlwifi 0000:05:00.0: Failed to send MAC context (action:2): -5
[ 4992.370028] iwlwifi 0000:05:00.0: failed to update MAC a0:d3:7a:d9:67:5f
[ 4992.370038] iwlwifi 0000:05:00.0: PHY ctxt cmd error. ret=-5
[ 4992.370503] iwlwifi 0000:05:00.0: Failed to remove MAC context: -5
[ 4992.371599] ------------[ cut here ]------------
[ 4992.371609] Adding active MAC aa:bb:90:26:b9:7b/2
[ 4992.371661] WARNING: CPU: 6 PID: 471 at drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1309 iwl_mvm_mac_ctxt_add+0xae/0xc0 [iwlmvm]
[ 4992.371666] Modules linked in: fuse ccm snd_hda_codec_hdmi snd_hda_codec_conexant snd_hda_codec_generic joydev mousedev arc4 msr amdkfd amd_iommu_v2 iwlmvm amdgpu i915 mac80211 snd_soc_skl intel_rapl snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi x86_pkg_temp_thermal intel_powerclamp snd_soc_core coretemp iTCO_wdt iTCO_vendor_support chash kvmgt vfio_mdev mdev kvm_intel vfio_iommu_type1 wmi_bmof gpu_sched snd_compress vfio ac97_bus snd_pcm_dmaengine ttm intel_wmi_thunderbolt snd_hda_intel snd_hda_codec iwlwifi i2c_algo_bit kvm drm_kms_helper snd_hda_core snd_hwdep drm irqbypass cfg80211 intel_cstate snd_pcm intel_uncore intel_rapl_perf intel_gtt thinkpad_acpi ucsi_acpi psmouse snd_timer typec_ucsi agpgart r8169 input_leds nvram syscopyarea tpm_crb
[ 4992.371780]  mei_me tpm_tis sysfillrect snd libphy sysimgblt mei i2c_i801 fb_sys_fops rfkill intel_pch_thermal typec wmi soundcore battery ac tpm_tis_core tpm rng_core evdev mac_hid pcc_cpufreq vboxnetflt(OE) vboxnetadp(OE) vboxpci(OE) vboxdrv(OE) acpi_call(OE) ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 fscrypto algif_skcipher af_alg dm_crypt dm_mod sd_mod crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel pcbc serio_raw ahci atkbd libahci libps2 sdhci_pci aesni_intel cqhci libata sdhci aes_x86_64 crypto_simd xhci_pci cryptd glue_helper scsi_mod mmc_core xhci_hcd i8042 serio
[ 4992.371890] CPU: 6 PID: 471 Comm: NetworkManager Tainted: G      D W  OE     4.19.4-arch1-1-ARCH #1
[ 4992.371894] Hardware name: LENOVO 20KNCTO1WW/20KNCTO1WW, BIOS R0PET32W (1.09 ) 12/25/2017
[ 4992.371915] RIP: 0010:iwl_mvm_mac_ctxt_add+0xae/0xc0 [iwlmvm]
[ 4992.371922] Code: f0 1f 05 00 01 74 10 83 fa 02 74 27 83 fa 03 b8 09 00 00 00 0f 44 d0 48 8d b5 20 01 00 00 48 c7 c7 fb b9 73 c1 e8 fc ef 17 c6 <0f> 0b b8 fb ff ff ff eb 8b ba 08 00 00 00 eb dd 66 90 0f 1f 44 00
[ 4992.371927] RSP: 0018:ffff8ea7816133b8 EFLAGS: 00010286
[ 4992.371935] RAX: 0000000000000000 RBX: ffff8b8a85d6b4f8 RCX: 0000000000000000
[ 4992.371940] RDX: 0000000000000007 RSI: ffffffff8889e3ce RDI: 00000000ffffffff
[ 4992.371944] RBP: ffff8b8a85d6b3a0 R08: ffffffff87d5e700 R09: 00000000000005ae
[ 4992.371949] R10: 000000000000000f R11: ffffffff89063eed R12: ffff8b8a7d62d548
[ 4992.371953] R13: ffff8b8a7d62d540 R14: ffff8b8a7d62c760 R15: 0000000000000000
[ 4992.371959] FS:  00007fb276e11d80(0000) GS:ffff8b8a87980000(0000) knlGS:0000000000000000
[ 4992.371965] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 4992.371969] CR2: 000055cc4544e818 CR3: 000000023ea12006 CR4: 00000000003606e0
[ 4992.371974] Call Trace:
[ 4992.371999]  iwl_mvm_mac_add_interface+0x126/0x280 [iwlmvm]
[ 4992.372043]  drv_add_interface+0x49/0x150 [mac80211]
[ 4992.372084]  ieee80211_do_open+0x129/0x840 [mac80211]
[ 4992.372097]  __dev_open+0xce/0x160
[ 4992.372106]  __dev_change_flags+0x179/0x1f0
[ 4992.372117]  ? add_device_randomness+0x99/0x1e0
[ 4992.372124]  dev_change_flags+0x21/0x60
[ 4992.372132]  do_setlink+0x30b/0xe90
[ 4992.372145]  ? nla_parse+0xb5/0xda
[ 4992.372156]  ? inet6_validate_link_af+0x4b/0x70
[ 4992.372170]  ? validate_nla+0x1b4/0x200
[ 4992.372178]  rtnl_newlink+0x502/0x810
[ 4992.372191]  ? _raw_spin_unlock_irqrestore+0x20/0x40
[ 4992.372200]  ? update_nohz_stats+0x41/0x50
[ 4992.372208]  ? cpumask_next_and+0x19/0x20
[ 4992.372214]  ? find_busiest_group+0x747/0xb10
[ 4992.372220]  ? cpumask_next+0x16/0x20
[ 4992.372229]  ? snmp6_fill_stats.isra.10+0xa9/0x1b0
[ 4992.372243]  ? ksoftirqd_running+0x15/0x40
[ 4992.372253]  ? __kmalloc_node_track_caller+0x1ed/0x290
[ 4992.372261]  ? pskb_expand_head+0x71/0x2f0
[ 4992.372268]  ? __local_bh_enable_ip+0x3a/0x80
[ 4992.372277]  ? __kmalloc_reserve.isra.8+0x2e/0x80
[ 4992.372286]  ? preempt_count_add+0x79/0xb0
[ 4992.372293]  ? _raw_spin_lock_irqsave+0x25/0x50
[ 4992.372300]  ? skb_queue_tail+0x1b/0x50
[ 4992.372309]  ? sock_def_readable+0xe/0x80
[ 4992.372319]  ? __netlink_sendskb+0x3d/0x50
[ 4992.372325]  ? netlink_sendskb+0x12/0x40
[ 4992.372342]  ? _raw_spin_lock_irqsave+0x25/0x50
[ 4992.372349]  ? _raw_spin_unlock_irqrestore+0x20/0x40
[ 4992.372357]  rtnetlink_rcv_msg+0x126/0x390
[ 4992.372366]  ? __wake_up_common+0x77/0x140
[ 4992.372373]  ? rtnl_calcit.isra.14+0x110/0x110
[ 4992.372380]  netlink_rcv_skb+0x4c/0x120
[ 4992.372388]  netlink_unicast+0x196/0x240
[ 4992.372395]  netlink_sendmsg+0x1fd/0x3c0
[ 4992.372405]  sock_sendmsg+0x33/0x40
[ 4992.372413]  ___sys_sendmsg+0x295/0x2f0
[ 4992.372420]  ? wake_up_q+0x54/0x70
[ 4992.372430]  ? futex_wake+0x90/0x170
[ 4992.372439]  ? do_futex+0x2a8/0xa90
[ 4992.372445]  ? wake_up_q+0x70/0x70
[ 4992.372456]  ? __audit_syscall_exit+0x22a/0x290
[ 4992.372463]  ? __fget+0x6e/0xa0
[ 4992.372472]  __sys_sendmsg+0x57/0xa0
[ 4992.372484]  do_syscall_64+0x5b/0x170
[ 4992.372493]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 4992.372500] RIP: 0033:0x7fb2790040f7
[ 4992.372506] Code: c3 66 90 41 54 41 89 d4 55 48 89 f5 53 89 fb 48 83 ec 10 e8 eb ec ff ff 44 89 e2 48 89 ee 89 df 41 89 c0 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 48 89 44 24 08 e8 24 ed ff ff 48
[ 4992.372511] RSP: 002b:00007ffda89862f0 EFLAGS: 00000293 ORIG_RAX: 000000000000002e
[ 4992.372519] RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007fb2790040f7
[ 4992.372524] RDX: 0000000000000000 RSI: 00007ffda8986340 RDI: 0000000000000008
[ 4992.372529] RBP: 00007ffda8986340 R08: 0000000000000000 R09: 0000000000000000
[ 4992.372534] R10: 000055cc45277010 R11: 0000000000000293 R12: 0000000000000000
[ 4992.372539] R13: 0000000000000000 R14: 00007ffda89864f8 R15: 00007ffda89864ec
[ 4992.372547] ---[ end trace fda8786b671dbaeb ]---

and I see a bunch of lines like

[ 4074.976430] audit: type=1131 audit(1546379881.178:64): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

Last edited by castix (2019-01-01 22:05:08)

Offline

#2 2019-03-04 13:45:11

tornado
Member
Registered: 2019-03-04
Posts: 2

Re: kernel panic with network manager

I think I am experiencing the exact same kernel panics. Completely random. Did you find any solutions?

Offline

#3 2019-03-04 14:38:27

loqs
Member
Registered: 2014-03-06
Posts: 17,198

Re: kernel panic with network manager

Looks the same as 61675 have you tried contacting upstream?

Offline

#4 2019-03-12 19:24:47

tornado
Member
Registered: 2019-03-04
Posts: 2

Re: kernel panic with network manager

I think i fixed it by updating my coreboot image. I also included the gbe.bin this time which is optional, but may explain the network related errors (the gbe is the blob for the intel gigabit ethernet, which i thought i would never need).
I can't be 100% sure that this was the cause since the freezes were not really predictable, but my x220 is now running a week without problems, once even 3 days straight.

Last edited by tornado (2019-03-12 19:25:30)

Offline

Board footer

Powered by FluxBB