Andrei Borzenkov wrote:
01.12.2019 17:15, Per Jessen пишет:
I have Leap 15.0 running on an ARM board and something got screwed up a couple of days ago. Boot-up fails :
[FAILED] Failed to start udev Coldplug all Devices.
I am not sure it is related, but after this, four other services or devices fail:
[ TIME ] Timed out waiting for device dev-ttyS0.device.
Yes, it is related.
[DEPEND] Dependency failed for Serial Getty on ttyS0. [ TIME ] Timed out waiting for device dev-mmcblk0p1.device. [DEPEND] Dependency failed for File System Check on /dev/mmcblk0p1. [DEPEND] Dependency failed for /boot/efi. [DEPEND] Dependency failed for Local File Systems. [DEPEND] Dependency failed for Early Kernel Boot Messages. [ TIME ] Timed out waiting for device [ dev-disk-by\x2dlabel-SWAP.device. [DEPEND] Dependency failed for /dev/disk/by-label/SWAP. [DEPEND] Dependency failed for Swap.
and I am given the emergency shell over the serial interface. It seems odd that "dev-ttyS0.device" times out - as I am using it :-)
systemd is only aware of devices that have been announced by udevd and "udev Coldplug all Devices" ensures udevd sends these announcements for devices that became available before udevd started ("cold boot"). So if this service failed, udevd is not aware of devices and so is not systemd.
Got it.
Even after mounting /boot/efi and adding swap, and I hit Control-D or type "systemctl default", the system will just hang. Is there a better/correct way?
Well, nothing changed from systemd point of view, so it likely continues to wait for missing devices.
Anything in logs? This service calls "udevadm trigger" which simply walks /sys and writes into .../uevent file. The only reason for it to fail would be either out of memory or failure to load/execute binary.
I have just found it - udevadm core dumps. SEGV. (from the systemctl status systemd-udev-trigger output).
It really looks like hardware issue to me (corrupted files or flaky memory).
I'm beginning to wonder about that too. If maybe the SD flash has gone bad. -- Per Jessen, Zürich (3.6°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org