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

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 11 Dec 2024 22:02:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263783

--- Comment #46 from mike@sentex.net ---
Some progress. I can kld it, but it panics. 
 - - - Fatal trap 12: page fault while in 
 - - - cpuid = 1; apic id = 02
 - - - fault virtual address    = 0x28
 - - - fault code               = supervisor read data, page not present
 - - - instruction pointer      = 0x20:0xffffffff80ceee03
 - - - stack pointer            = 0x28:0xfffffe00acc30cd0
 - - - frame pointer            = 0x28:0xfffffe00acc30d60
 - - - 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)
 - - - rdi: fffff8010e85b480 rsi: 0000000000000000 rdx: fffffe00acc30d98
 - - - rcx: 0000000000000000  r8: fffff8010e42e000  r9: fffff8010e85b480
 - - - rax: fffff8010e85b508 rbx: fffff8010974f800 rbp: fffffe00acc30d60
 - - - r10: 0000000000000000 r11: 000000007ffb251d r12: fffff8010e85b510
 - - - r13: fffff8010e85b530 r14: fffff8010974f9c0 r15: fffff8010e42e000
 - - - trap number              = 12
 - - - panic: page fault
 - - - cpuid = 1
 - - - time = 1733954200
 - - - KDB: stack backtrace:
 - - - #0 0xffffffff80b8d16d at kdb_backtrace+0x5d
 - - - #1 0xffffffff80b3f151 at vpanic+0x161
 - - - #2 0xffffffff80b3efe3 at panic+0x43
 - - - #3 0xffffffff8102ca7b at trap_fatal+0x40b
 - - - #4 0xffffffff8102cac6 at trap_pfault+0x46
 - - - #5 0xffffffff810035b8 at calltrap+0x8
 - - - #6 0xffffffff8316b942 at umb_add_inet_config+0x142
 - - - #7 0xffffffff8316b209 at umb_decode_cid+0x8b9
 - - - #8 0xffffffff83169596 at umb_get_response_task+0x386
 - - - #9 0xffffffff8094d45e at usb_process+0xfe
 - - - #10 0xffffffff80af8311 at fork_exit+0x81


I did a load of the kld

umbctl umb0
umb0: state open, mode automatic, registration home network
        provider "ROGERS", dataclass GPRS, signal #-999
        phone number "", roaming "" (denied)
        APN "", TX 0, RX 0
        firmware "SWI9X30C_02.20.03.00", hardware "MC7455"


 cu -l /dev/cuaU0.1
Connected
at+csq
+csq: 21,99

OK
at!GSTATUS?
!GSTATUS: 
Current Time:  10083            Temperature: 46
Reset Counter: 4                Mode:        ONLINE         
System mode:   LTE              PS state:    Attached     
LTE band:      B4               LTE bw:      15 MHz  
LTE Rx chan:   2025             LTE Tx chan: 20025
LTE CA state:  NOT ASSIGNED
EMM state:     Registered       Normal Service 
RRC state:     RRC Idle       
IMS reg state: No Srv  

PCC RxM RSSI:  -70              RSRP (dBm):  -105
PCC RxD RSSI:  -95              RSRP (dBm):  -138
Tx Power:      0                TAC:         73D2 (29650)
RSRQ (dB):     -16.2            Cell ID:     009D0101 (10289409)
SINR (dB):     -2.8


OK

# ifconfig umb0
umb0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 2048
        options=0
        media: <unknown type>
        status: 
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
# umbctl umb0 apn m2minternet.apn
# ifconfig umb0 up

and then panic

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