[Bug 263783] USB MBIM: Support for LTE/4G USB modems (MBIM)

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 09 May 2022 15:37:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263783

--- Comment #4 from mike@sentex.net ---
Made it a little farther on RELENG_13. With a MC7455, I did the following

at!entercnd="A710"
at+cpin?
at!custom="IPV6ENABLE",1
at+cgdcont=1,"ipv4v6","myapn"
at!usbcomp = 1,1,1009
at!reset


Then booting it starts to attach, but I get a panic

umb0 on uhub4
umb0: <Sierra Wireless, Incorporated Sierra Wireless MC7455 Qualcomm Snapdragon
X7 LTE-A, class 0/0, rev 2.10/0.06, addr 3> on usbus2
umb0: version 1.0
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x28
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff8075c134
stack pointer           = 0x28:0xfffffe0061bf7e50
frame pointer           = 0x28:0xfffffe0061bf7e80
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 15 (umb0)
trap number             = 12
panic: page fault
cpuid = 0
time = 1652110164
KDB: stack backtrace:
#0 0xffffffff806986f5 at kdb_backtrace+0x65
#1 0xffffffff8064ba2f at vpanic+0x17f
#2 0xffffffff8064b8a3 at panic+0x43
#3 0xffffffff80997f15 at trap_fatal+0x385
#4 0xffffffff80997f6f at trap_pfault+0x4f
#5 0xffffffff80971088 at calltrap+0x8
#6 0xffffffff8120b7b7 at umb_attach_task+0x37
#7 0xffffffff804d0880 at usb_process+0x100
#8 0xffffffff8060931e at fork_exit+0x7e
#9 0xffffffff809720fe at fork_trampoline+0xe



Same if I manually load it

 kldload ./if_umb.ko
umb0 on uhub4
umb0: <Sierra Wireless, Incorporated Sierra Wireless MC7455 Qualcomm Snapdragon
X7 LTE-A, class 0/0, rev 2.10/0.06, addr 3> on usbus2
umb0: version 1.0
#

Fatal trap 12: page fault while in kernel mode
cpuid = 2; apic id = 02
fault virtual address   = 0x28
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff8075c134
stack pointer           = 0x28:0xfffffe008a186e50
frame pointer           = 0x28:0xfffffe008a186e80
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 15 (umb0)
trap number             = 12
panic: page fault
cpuid = 2
time = 1652110585
KDB: stack backtrace:
#0 0xffffffff806986f5 at kdb_backtrace+0x65
#1 0xffffffff8064ba2f at vpanic+0x17f
#2 0xffffffff8064b8a3 at panic+0x43
#3 0xffffffff80997f15 at trap_fatal+0x385
#4 0xffffffff80997f6f at trap_pfault+0x4f
#5 0xffffffff80971088 at calltrap+0x8
#6 0xffffffff815357b7 at umb_attach_task+0x37
#7 0xffffffff804d0880 at usb_process+0x100
#8 0xffffffff8060931e at fork_exit+0x7e
#9 0xffffffff809720fe at fork_trampoline+0xe

-- 
You are receiving this mail because:
You are the assignee for the bug.