Default boot order Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
schlumpf222
Posts: 4
Joined: Sat Dec 05, 2020 5:54 pm

Default boot order

Post by schlumpf222 »

Hi,

I have a Raspberry Pi 4 with the latest firmware and I'm booting with an SSD through USB. However the booting time is really long and I get these two lines:

vc_vchi_sm_init: failed to open VCH service (-1)
vc_sm_connected_initil: failed to initialize shared memory service

Why does it take so long to boot through SSD? Is there any way I can speed it up?

Thank you
User avatar
Joulinar
Posts: 4804
Joined: Sat Nov 16, 2019 12:49 am

Re: Default boot order

Post by Joulinar »

Hi,

many thanks for your message. You could ignore these 2 lines. There have nothing to do with the long boot time. Once your system is booted up, you could run following to check timings during boot.

Code: Select all

systemd-analyze blame
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
schlumpf222
Posts: 4
Joined: Sat Dec 05, 2020 5:54 pm

Re: Default boot order

Post by schlumpf222 »

Thanks for the swift response.
After reboot I got:

[FAILED] DietPi-Login | Failed to load DietPi-Globals. Skipping DietPi login scripts...

after running systemd-analyze blame:

2min 37s dev-sda2.device
1min 6s console-setup.service
36s networking.service
35s systemd-tmpfiles-setup.service.

the remaining are in ms
User avatar
Joulinar
Posts: 4804
Joined: Sat Nov 16, 2019 12:49 am

Re: Default boot order

Post by Joulinar »

uhh wow 2.5 minutes to mount SDA2 drive. There seems to be something relay slow
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
schlumpf222
Posts: 4
Joined: Sat Dec 05, 2020 5:54 pm

Re: Default boot order

Post by schlumpf222 »

Yeah, I that it is slow...

I googled a bit more and found that others have reported similar issues with the USB to SATA adapter
https://github.com/raspberrypi/linux/issues/3070


Bus 002 Device 002: ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub

I guess I have to look for another one but not sure how to know which would be compatible.

Thanks again for the help, Joulinar!
User avatar
Joulinar
Posts: 4804
Joined: Sat Nov 16, 2019 12:49 am

Re: Default boot order

Post by Joulinar »

to bad, sorry that I'm not able to help. Maybe you can google the adaptors you have in mind and check if they are using JMicron chipset or not
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
schlumpf222
Posts: 4
Joined: Sat Dec 05, 2020 5:54 pm

Re: Default boot order

Post by schlumpf222 »

Hi, just wanted to report that the SATA to USB adapter was the issue.
I got a new SSD case which solved the problem. Thanks for the help
https://www.amazon.de/-/en/gp/product/B ... UTF8&psc=1
Post Reply