MBIM:eSIM active and without profile takes more time to initialize modem
ModemManager may takes 1 minute to initialize modem object for modem interface initialize INITIALIZATION_STEP_UNLOCK_REQUIRED step when eSIM is active and eSIM without profile.
Aleksander suggested that don't attempt to check the lock status for this sence.
2022-08-31T02:20:38.664533Z DEBUG ModemManager[2401]: <debug> [/dev/cdc-wdm0] received message (translated)...#012>>>>>> Header:#012>>>>>> length = 56#012>>>>>> type = command-done (0x80000003)#012>>>>>> transaction = 13#012>>>>>> Fragment header:#012>>>>>> total = 1#012>>>>>> current = 0#012>>>>>> Contents:#012>>>>>> status error = 'None' (0x00000000)#012>>>>>> service = 'ms-basic-connect-extensions' (3d01dcc5-fef5-4d05-0d3a-bef7058e9aaf)#012>>>>>> cid = 'slot-info-status' (0x00000008)#012>>>>>> Fields:#012>>>>>> SlotIndex = '1'#012>>>>>> State = 'state-active-esim-no-profiles'#012
2022-08-31T02:20:38.664578Z DEBUG ModemManager[2401]: <debug> [modem0] found active SIM in slot 1: esim (no-profiles)
2022-08-31T02:20:38.665349Z DEBUG ModemManager[2401]: <debug> [/dev/cdc-wdm0] sent message (translated)...#012<<<<<< Header:#012<<<<<< length = 48#012<<<<<< type = command (0x00000003)#012<<<<<< transaction = 14#012<<<<<< Fragment header:#012<<<<<< total = 1#012<<<<<< current = 0#012<<<<<< Contents:#012<<<<<< service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)#012<<<<<< cid = 'subscriber-ready-status' (0x00000002)#012<<<<<< type = 'query' (0x00000000)#012
2022-08-31T02:20:38.695949Z DEBUG ModemManager[2401]: <debug> [/dev/cdc-wdm0] received message (translated)...#012>>>>>> Header:#012>>>>>> length = 76#012>>>>>> type = command-done (0x80000003)#012>>>>>> transaction = 14#012>>>>>> Fragment header:#012>>>>>> total = 1#012>>>>>> current = 0#012>>>>>> Contents:#012>>>>>> status error = 'None' (0x00000000)#012>>>>>> service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)#012>>>>>> cid = 'subscriber-ready-status' (0x00000002)#012>>>>>> Fields:#012>>>>>> ReadyState = 'no-esim-profile'#012>>>>>> SubscriberId = '###'#012>>>>>> SimIccId = '###'#012>>>>>> ReadyInfo = 'none'#012>>>>>> TelephoneNumbersCount = '0'#012>>>>>> TelephoneNumbers = '###'#012
2022-08-31T02:20:38.696169Z DEBUG ModemManager[2401]: <debug> [/dev/cdc-wdm0] sent message (translated)...#012<<<<<< Header:#012<<<<<< length = 48#012<<<<<< type = command (0x00000003)#012<<<<<< transaction = 15#012<<<<<< Fragment header:#012<<<<<< total = 1#012<<<<<< current = 0#012<<<<<< Contents:#012<<<<<< service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)#012<<<<<< cid = 'pin' (0x00000004)#012<<<<<< type = 'query' (0x00000000)#012
2022-08-31T02:20:38.728345Z DEBUG ModemManager[2401]: <debug> [/dev/cdc-wdm0] received message (translated)...#012>>>>>> Header:#012>>>>>> length = 48#012>>>>>> type = command-done (0x80000003)#012>>>>>> transaction = 15#012>>>>>> Fragment header:#012>>>>>> total = 1#012>>>>>> current = 0#012>>>>>> Contents:#012>>>>>> status error = 'Failure' (0x00000002)#012>>>>>> service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)#012>>>>>> cid = 'pin' (0x00000004)#012
2022-08-31T02:20:38.728398Z DEBUG ModemManager[2401]: <debug> [modem0] couldn't check if unlock required: Failure
2022-08-31T02:20:38.728421Z DEBUG ModemManager[2401]: <debug> [modem0] retrying (1) unlock
......
2022-08-31T02:21:36.964626Z DEBUG ModemManager[2401]: <debug> [/dev/cdc-wdm0] sent message (translated)...#012<<<<<< Header:#012<<<<<< length = 48#012<<<<<< type = command (0x00000003)#012<<<<<< transaction = 73#012<<<<<< Fragment header:#012<<<<<< total = 1#012<<<<<< current = 0#012<<<<<< Contents:#012<<<<<< service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)#012<<<<<< cid = 'pin' (0x00000004)#012<<<<<< type = 'query' (0x00000000)#012
2022-08-31T02:21:36.996262Z DEBUG ModemManager[2401]: <debug> [/dev/cdc-wdm0] received message...#012>>>>>> RAW:#012>>>>>> length = 48#012>>>>>> data = 03:00:00:80:30:00:00:00:49:00:00:00...#012
2022-08-31T02:21:36.996365Z DEBUG ModemManager[2401]: <debug> [/dev/cdc-wdm0] received message (translated)...#012>>>>>> Header:#012>>>>>> length = 48#012>>>>>> type = command-done (0x80000003)#012>>>>>> transaction = 73#012>>>>>> Fragment header:#012>>>>>> total = 1#012>>>>>> current = 0#012>>>>>> Contents:#012>>>>>> status error = 'Failure' (0x00000002)#012>>>>>> service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)#012>>>>>> cid = 'pin' (0x00000004)#012
2022-08-31T02:21:36.996425Z DEBUG ModemManager[2401]: <debug> [modem0] couldn't check if unlock required: Failure
2022-08-31T02:21:36.996450Z DEBUG ModemManager[2401]: <debug> [modem0] retrying (30) unlock required check
2022-08-31T02:21:38.980627Z WARNING ModemManager[2401]: <warn> [modem0] modem couldn't be initialized: Couldn't check unlock status: Couldn't get SIM lock status after 30 retries
2022-08-31T02:21:38.981263Z WARNING ModemManager[2401]: <warn> [modem0] error initializing: Modem in failed state: sim-missing