Ubuntu Focal Fossa hangs while systemd is setting up on ARM64

Dimitri John Ledkov xnox at ubuntu.com
Sat May 9 00:09:32 UTC 2020


On Fri, 8 May 2020 at 01:56, Suniel Mahesh <sunil at amarulasolutions.com> wrote:
>
> Hi All,
>
> I have a board based on Rockchip RK3399 64-bit SOC based on ARMv8A.
> The board can boot from the following devices: Micro SD, EMMC, USB, NVMe SSD.
> I have installed Ubuntu focal fossa with LXDE Display manager(built a headless image
> using Buildroot, downloaded focal-base-arm64.tar.gz and installed all the necessary
> packages with the help of chroot).
> I am using mainline Linux kernel 5.5.10 from kernel.org and mainline u-boot 2020.04.
>
> The board boots fine with ubuntu focal fossa installed on Micro SD, emmc, USB.When the
> board is booted via NVMe SSD(this NVMe SSD is connected via PCIe on to the main board),
> the board loses power(powered off) automatically during the boot process. This happens once
> the kernel loads and it hands over the boot process to systemd and systemd trying to fully load
> ubuntu user space.
>
> In the process of identifying what is causing the problem, I found out that systemd-udevd is the one.
> when loading rules from udev/rules.d, some of them are creating a problem.
>
> so, removed all the rules apart from: 50-udev-default.rules, 60-drm.rules, 90-console-setup.rules,
> 60-block.rules60-serial.rules, 99-systemd.rules. (I know dy doing so, initialization is not properly done)
>
> By doing the above change, I am able to get a basic command prompt. It says the LXDE display manager
> is started but I couldn't get any display on my monitor connected via hdmi.
>
> Can any one please comment on this issue and suggest how to fix the problem. I have attached the hang log.
>

[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.

It seems to me that either your kernel config didn't compile required
kernel modules, or you don't have them installed correctly. And given
that you are not using Ubuntu kernel it is hard to debug this.

Instead of using your self-build kernel, can you please try using
Ubuntu kernel ? i.e. v5.4 that we ship for arm on focal?

If you really want the vanilla kernel, instead of building yourself,
can you please try mainline kernel builds as provided by the Ubuntu
Kernel Team at https://kernel.ubuntu.com/~kernel-ppa/mainline/ ?
you will find mainline builds of all upstream kernel releases there
including v5.5 series. v5.5.10 is old they have v5.5.19 prebuilt
there, as well as the v5.6 & v5.7-rc builds.

-- 
Regards,

Dimitri.




More information about the Ubuntu-devel-discuss mailing list