Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Should we decide to use ModemManager in EVE, there is a follow-up initiative to productize this integration. This mostly involves more testing, writing documentation, cleaning up the code a bit and getting it through reviews.

Appendix: watchdog from EM7565 

Code Block
[  159.218839] ------------[ cut here ]------------
[  159.218850] NETDEV WATCHDOG: wwan0 (cdc_mbim): transmit queue 0 timed out
[  159.218867] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:467 dev_watchdog+0x11e/0x18a
[  159.218871] Modules linked in: dummy usbmouse usbkbd usbhid cdc_acm leds_gpio gpio_pca953x regmap_i2c hpwdt hwmon_vid zfs(PO) zunicode(PO) zzstd(O) zlua(O) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) qmi_wwan option cdc_mbim cdc_ncm cdc_ether cdc_wdm usbnet mii qcserial usb_wwan usbserial btusb btrtl btbcm btintel bluetooth ecdh_generic ecc iwlmvm led_class mac80211 e1000e i2c_i801 i2c_smbus iwlwifi cfg80211 tpm_crb
[  159.218915] CPU: 0 PID: 0 Comm: swapper/0 Kdump: loaded Tainted: P       	O  	5.10.186-linuxkit #1
[  159.218918] Hardware name: GEEKOM Mini IT 8/Mini IT 8, BIOS U6G03 07/21/2022
[  159.218923] RIP: 0010:dev_watchdog+0x11e/0x18a
[  159.218926] Code: 20 01 01 00 75 36 48 89 ef c6 05 dd 20 01 01 01 e8 9e f9 fb ff 44 89 e1 48 89 ee 48 c7 c7 24 12 58 af 48 89 c2 e8 41 4c 1f 00 <0f> 0b eb 0e 41 ff c4 48 05 40 01 00 00 e9 5c ff ff ff 48 8b 83 a0
[  159.218933] RSP: 0018:ffffad0880003ed8 EFLAGS: 00010286
[  159.218936] RAX: 0000000000000000 RBX: ffff949205fa9440 RCX: 0000000000000027
[  159.218939] RDX: 0000000000000003 RSI: ffffad0880003d60 RDI: ffff94955dc1c3e0
[  159.218943] RBP: ffff949205fa9000 R08: ffffffffaf8dada8 R09: 0000000000000017
[  159.218946] R10: 3a474f4448435441 R11: 572056454454454e R12: 0000000000000000
[  159.218949] R13: 00000000ffffc8f8 R14: ffffad0880003f28 R15: ffffffffaea118b9
[  159.218953] FS:  0000000000000000(0000) GS:ffff94955dc00000(0000) knlGS:0000000000000000
[  159.218957] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  159.218960] CR2: 000000c000bd7000 CR3: 0000000112240003 CR4: 00000000003726b0
[  159.218963] Call Trace:
[  159.218966]  <IRQ>
[  159.218971]  ? __warn+0x98/0xda
[  159.218974]  ? dev_watchdog+0x11e/0x18a
[  159.218979]  ? report_bug+0x96/0xda
[  159.218983]  ? handle_bug+0x46/0x6e
[  159.218987]  ? exc_invalid_op+0x14/0x65
[  159.218990]  ? asm_exc_invalid_op+0x12/0x20
[  159.218993]  ? dev_deactivate_queue+0x25/0x25
[  159.218998]  ? dev_watchdog+0x11e/0x18a
[  159.219001]  ? dev_watchdog+0x11e/0x18a
[  159.219004]  ? dev_deactivate_queue+0x25/0x25
[  159.219008]  call_timer_fn+0x63/0xfb
[  159.219011]  __run_timers+0x146/0x188
[  159.219015]  ? timekeeping_get_ns+0x19/0x33
[  159.219018]  run_timer_softirq+0x19/0x2d
[  159.219021]  __do_softirq+0xf7/0x233
[  159.219025]  asm_call_irq_on_stack+0xf/0x20
[  159.219028]  </IRQ>
[  159.219031]  do_softirq_own_stack+0x31/0x42
[  159.219035]  __irq_exit_rcu+0x45/0x84
[  159.219038]  sysvec_apic_timer_interrupt+0x6c/0x7a
[  159.219041]  asm_sysvec_apic_timer_interrupt+0x12/0x20
[  159.219046] RIP: 0010:cpuidle_enter_state+0x12c/0x1f2
[  159.219049] Code: ff 45 84 ff 74 1d 9c 58 0f 1f 44 00 00 0f ba e0 09 73 09 0f 0b fa 66 0f 1f 44 00 00 31 ff e8 b0 19 8a ff fb 66 0f 1f 44 00 00 <45> 85 f6 0f 88 99 00 00 00 49 63 c6 4c 2b 24 24 48 6b c8 68 48 6b
[  159.219055] RSP: 0018:ffffffffaf803e68 EFLAGS: 00000246
[  159.219058] RAX: ffff94955dc2ec80 RBX: ffffcd087fc2d100 RCX: 000000000000001f
[  159.219061] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[  159.219065] RBP: 0000000000000001 R08: 00000000ffffffff R09: 071c71c71c71c71c
[  159.219068] R10: 0000000000000020 R11: 000000000000001b R12: 00000025122e9ed8
[  159.219071] R13: ffffffffaf991000 R14: 0000000000000001 R15: 0000000000000000
[  159.219077]  ? cpuidle_enter_state+0x103/0x1f2
[  159.219080]  cpuidle_enter+0x2a/0x3a
[  159.219084]  do_idle+0x17c/0x1ee
[  159.219087]  cpu_startup_entry+0x1d/0x1f
[  159.219091]  start_kernel+0x524/0x54b
[  159.219096]  secondary_startup_64_no_verify+0xb0/0xbb
[  159.219100] ---[ end trace 122b4cdcf5fdb33e ]---

...