Hello OpenBSD,

I am experiencing a peculiar issue with a device in which I use a Sierra
Wireless EM7455(*) LTE module that I have converted to MBIM mode. I have
also disabled umsm by entering config -e -f /bsd.

Most of the time, the umb status on my device appears as *"SIM not inserted
PIN required,"* even though a SIM card is physically inserted. The only
scenario in which I achieve success is after rebooting the device. However,
rebooting is not a guaranteed solution—sometimes, it takes 4-5 consecutive
reboots before umb0 becomes functional.

How can I debug this issue?

For further context, I have also swapped out the LTE module with another
unit, yet I observe the same behavior across 5-6 different devices of the
same make and model.

*P.S.* The device has a single LTE module but dual SIM slots.

(*)
addr 03: 1199:9071 Sierra Wireless, Incorporated, Sierra Wireless EM7455
Qualcomm Snapdragon X7 LTE-A super speed, power 126 mA, config 1, rev 0.06,
iSerial LF10770712011033 driver: umb0 driver: ugen0

Also dmesg is attached via this email.

Thanks in advance.
OpenBSD 7.6 (GENERIC.MP) #338: Mon Sep 30 08:55:35 MDT 2024
    dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8527794176 (8132MB)
avail mem = 8246099968 (7864MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.0 @ 0x7f204000 (50 entries)
bios0: vendor American Megatrends Inc. version "FNCA1515B0VS16T001" date 
08/26/2019
bios0: Lanner Electronics Inc. NCA-1515B
efi0 at bios0: UEFI 2.6
efi0: American Megatrends rev 0x5000d
acpi0 at bios0: ACPI 6.1
acpi0: sleep states S0 S5
acpi0: tables DSDT FACP FPDT FIDT TCPA MCFG WDAT APIC BDAT HPET UEFI SSDT DMAR 
SPCR WSMT
acpi0: wakeup devices XHC1(S4) PEX0(S0) PEX4(S0) PEX5(S0) PEX6(S0) LAN0(S0) 
LAN1(S0) LAN2(S0) LAN3(S0)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimcfg0 at acpi0
acpimcfg0: addr 0xe0000000, bus 0-255
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 4 (boot processor)
cpu0: Intel(R) Atom(TM) CPU C3558 @ 2.20GHz, 2200.01 MHz, 06-5f-01, patch 
0000003e
cpu0: cpuid 1 
edx=bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
 
ecx=47f8ebbf<SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,RDRAND>
cpu0: cpuid 6 eax=55<SENSOR,ARAT> ecx=9<EFFFREQ>
cpu0: cpuid 7.0 
ebx=2294e283<FSGSBASE,TSC_ADJUST,SMEP,ERMS,MPX,RDSEED,SMAP,CLFLUSHOPT,PT,SHA> 
edx=ac000400<MD_CLEAR,IBRS,IBPB,STIBP,SSBD>
cpu0: cpuid a vers=4, gp=4, gpwidth=48, ff=3, ffwidth=48
cpu0: cpuid d.1 eax=f<XSAVEOPT,XSAVEC,XGETBV1,XSAVES>
cpu0: cpuid 80000001 edx=2c100800<NXE,PAGE1GB,RDTSCP,LONG> ecx=101<LAHF,3DNOWP>
cpu0: cpuid 80000007 edx=100<ITSC>
cpu0: msr 
10a=14000c69<SKIP_L1DFL,MDS_NO,IF_PSCHANGE,MISC_PKG_CT,ENERGY_FILT,GDS_NO,RFDS_CLEAR>
cpu0: 24KB 64b/line 6-way D-cache, 32KB 64b/line 8-way I-cache, 2MB 64b/line 
16-way L2 cache
cpu0: smt 0, core 2, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 25MHz
cpu0: mwait min=64, max=64, C-substates=0.2.0.2, IBE
cpu1 at mainbus0: apid 12 (application processor)
cpu1: Intel(R) Atom(TM) CPU C3558 @ 2.20GHz, 2200.03 MHz, 06-5f-01, patch 
0000003e
cpu1: smt 0, core 6, package 0
cpu2 at mainbus0: apid 16 (application processor)
cpu2: Intel(R) Atom(TM) CPU C3558 @ 2.20GHz, 2200.02 MHz, 06-5f-01, patch 
0000003e
cpu2: smt 0, core 8, package 0
cpu3 at mainbus0: apid 24 (application processor)
cpu3: Intel(R) Atom(TM) CPU C3558 @ 2.20GHz, 2200.02 MHz, 06-5f-01, patch 
0000003e
cpu3: smt 0, core 12, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpihpet0 at acpi0: 23999999 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (PEX0)
acpiprt2 at acpi0: bus 10 (PEX4)
acpiprt3 at acpi0: bus 4 (PEX5)
acpiprt4 at acpi0: bus 5 (PEX6)
acpiprt5 at acpi0: bus 6 (VRP0)
acpiprt6 at acpi0: bus 8 (VRP1)
acpiprt7 at acpi0: bus 1 (VRP2)
acpipci0 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000
"PNP0003" at acpi0 not configured
acpicmos0 at acpi0
com0 at acpi0 UAR1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at acpi0 UAR2 addr 0x2f8/0x8 irq 3: ns16550a, 16 byte fifo
"PNP0C33" at acpi0 not configured
tpm0 at acpi0 TPM_ 1.2 (TIS) addr 0xfed40000/0x5000, WEC WPCT200 rev 0x4
acpicpu0 at acpi0: C1(@1 halt!)
acpicpu1 at acpi0: C1(@1 halt!)
acpicpu2 at acpi0: C1(@1 halt!)
acpicpu3 at acpi0: C1(@1 halt!)
acpitz0 at acpi0: critical temperature is 91 degC
cpu0: using VERW MDS workaround
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel C3000 Host" rev 0x11
pchb1 at pci0 dev 4 function 0 "Intel C3000 GLREG" rev 0x11
"Intel C3000 RCEC" rev 0x11 at pci0 dev 5 function 0 not configured
ppb0 at pci0 dev 6 function 0 "Intel C3000 PCIE" rev 0x11
pci1 at ppb0 bus 1
"Intel C3000 QAT" rev 0x11 at pci1 dev 0 function 0 not configured
ppb1 at pci0 dev 9 function 0 "Intel C3000 PCIE" rev 0x11
pci2 at ppb1 bus 2
em0 at pci2 dev 0 function 0 "Intel I350 Fiber" rev 0x01: msi, address 
00:90:0b:9e:d7:d5
em1 at pci2 dev 0 function 1 "Intel I350 Fiber" rev 0x01: msi, address 
00:90:0b:9e:d7:d6
em2 at pci2 dev 0 function 2 "Intel I350" rev 0x01: msi, address 
00:90:0b:9e:d7:d7
em3 at pci2 dev 0 function 3 "Intel I350" rev 0x01: msi, address 
00:90:0b:9e:d7:d8
ppb2 at pci0 dev 14 function 0 "Intel C3000 PCIE" rev 0x11
pci3 at ppb2 bus 10
ppb3 at pci0 dev 15 function 0 "Intel C3000 PCIE" rev 0x11
pci4 at ppb3 bus 4
ppb4 at pci0 dev 16 function 0 "Intel C3000 PCIE" rev 0x11
pci5 at ppb4 bus 5
"Intel C3000 SMBus" rev 0x11 at pci0 dev 18 function 0 not configured
ahci0 at pci0 dev 20 function 0 "Intel C3000 AHCI" rev 0x11: msi, AHCI 1.3.1
ahci0: port 5: 6.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 5 lun 0: <ATA, LANSSL064GTLC9-S, SBFM> 
t10.ATA_LANSSL064GTLC9-SBA-2_0C3307121BA900170024
sd0: 61057MB, 512 bytes/sector, 125045424 sectors, thin
xhci0 at pci0 dev 21 function 0 "Intel C3000 xHCI" rev 0x11: msi, xHCI 1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 
addr 1
ppb5 at pci0 dev 22 function 0 "Intel C3000 PCIE" rev 0x11
pci6 at ppb5 bus 6
ix0 at pci6 dev 0 function 0 "Intel X553 SGMII" rev 0x11, msix, 4 queues, 
address 00:90:0b:9e:d7:d9
ix1 at pci6 dev 0 function 1 "Intel X553 SGMII" rev 0x11, msix, 4 queues, 
address 00:90:0b:9e:d7:da
ppb6 at pci0 dev 23 function 0 "Intel C3000 PCIE" rev 0x11
pci7 at ppb6 bus 8
ix2 at pci7 dev 0 function 0 "Intel X553 SGMII" rev 0x11, msix, 4 queues, 
address 00:90:0b:9e:d7:db
ix3 at pci7 dev 0 function 1 "Intel X553 SGMII" rev 0x11, msix, 4 queues, 
address 00:90:0b:9e:d7:dc
"Intel C3000 ME HECI" rev 0x11 at pci0 dev 24 function 0 not configured
sdhc0 at pci0 dev 28 function 0 "Intel C3000 eMMC" rev 0x11: apic 2 int 16
sdhc0: SDHC 3.00, 200 MHz base clock
sdmmc0 at sdhc0: 8-bit, sd high-speed, mmc high-speed, ddr52, dma
pcib0 at pci0 dev 31 function 0 "Intel C3000 LPC" rev 0x11
"Intel C3000 PMC" rev 0x11 at pci0 dev 31 function 2 not configured
ichiic0 at pci0 dev 31 function 4 "Intel C3000 SMBus" rev 0x11: apic 2 int 23
iic0 at ichiic0
sdtemp0 at iic0 addr 0x18: stts2004
spdmem0 at iic0 addr 0x50: 8GB DDR4 SDRAM 72-bit ECC PC4-19200 SO-DIMM with 
thermal sensor
"Intel C3000 SPI" rev 0x11 at pci0 dev 31 function 5 not configured
isa0 at pcib0
isadma0 at isa0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
wbsio0 at isa0 port 0x2e/2: NCT6776F rev 0x33
lm1 at wbsio0 port 0xa10/8: NCT6776F
vmm0 at mainbus0: VMX/EPT
efifb at mainbus0 not configured
sdmmc0: can't enable card
uhub1 at uhub0 port 2 configuration 1 interface 0 "Genesys Logic USB2.0 Hub" 
rev 2.00/32.98 addr 2
umb0 at uhub0 port 8 configuration 1 interface 12 "Sierra Wireless, 
Incorporated Sierra Wireless EM7455 Qualcomm\M-. Snapdragon? X7 LTE-A" rev 
3.00/0.06 addr 3
ugen0 at uhub0 port 8 configuration 1 "Sierra Wireless, Incorporated Sierra 
Wireless EM7455 Qualcomm\M-. Snapdragon? X7 LTE-A" rev 3.00/0.06 addr 3
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (81bdba8176ad08e5.a) swap on sd0b dump on sd0b
com0: 1 silo overflow, 0 ibuf overflows

Reply via email to