r/illumos • u/Brilliant-Size4527 • 3h ago
Working around "Console login service(s) cannot run" / Kernel USB probe fail
Hi,
I've been encountering the dreaded "Console login service(s) cannot run" attempting to install the lastest OpenIndiana Hipster on a Lenovo T470s laptop. I ran into issues similar to:
https://www.reddit.com/r/illumos/comments/sas9p9/cant_install_openindiana_console_login_services/
Switching to VESA mode didn't help, both gui and text install failed. From running another install, this is generally related to the USB stick not being detected. After enabling verbose mode and filming the boot log, I noticed the USB stick was never probed. What was puzzling was that from the console, unplugging and replugging the stick *did* probe it correctly.
TL;dr, there is a kernel issue during startup, disconnecting and reconnecting the USB thumb drive *during* kernel boot fixed its detection.
Procedure to see if that's what happening in your install:
- boot in verbose mode
- after the installer fails to launch, disconnect and reconnect the USB stick. If this issue is happening to you, it will print a bunch of message identifying the drive, most likely as `sd1`
How to work-around the problem:
- enable verbose mode in the bootloader
- wait for the kernel to boot, while it is iterating over the CPU ID supported, remove the USB drive
- wait for the kernel to fininsh enumerate the CPU ID, you will have to re-insert the thumb drive *before* the kernel hands over control to init
- repeat if this doesn't work.
This also happen on the freshly installed system, ie. a thumb drive connected to an external USB port will not be detected.
Now, time to delve in the xhci code to figure why it's not working... actually, time to figure out how to get some sort of network connectivity on the damn laptop...