flash-kernel does not generate initramfs on SolidRun MACCHIATObin

Bug #1897860 reported by Stefan Kooman
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
flash-kernel (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu Focal installer hits the following in the installation process when flash-kernel gets triggerd:

Using DTB: marvell/armada-8040-mcbin.dtb
Couldn't find DTB armada-8040-mcbin.dtb on the following paths:
/etc/flash-kernel/dtbs /usr/lib/linux-image- /lib/firmware//device-tree/
Installing into /boot/dtbs//marvell/armada-8040-mcbin.dtb
cp: cannot stat '': No such file or directory

the DTB _is_ actually installed in "/boot/dtbs//marvell/armada-8040-mcbin.dtb". However, the initramfs is never created, maybe because of exit 1 code in the aforementioned output. Invoking "/usr/sbin/update-initramfs.curtin-disabled -u -k all" by hand does create a initramfs for all available kernels, and the system is able to boot fine afterwards.

I *think* this also prevents the Focal installer (curtin) to complete succesfully, but it reboots almost immediately after hitting an error, so I don't know for sure.

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

Seeing similar issue on Lenovo Yoga C630 WOS (SDM845-based) although initramfs is generated in m case. Log:

Using DTB: qcom/sdm850-lenovo-yoga-c630.dtb
Couldn't find DTB sdm850-lenovo-yoga-c630.dtb on the following paths: /etc/flash-kernel/dtbs /usr/lib/linux-image- /lib/firmware//device-tree/
Installing into /boot/dtbs//qcom/sdm850-lenovo-yoga-c630.dtb
cp: cannot stat '': No such file or directory

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in flash-kernel (Ubuntu):
status: New → Confirmed
Revision history for this message
Stefan Kooman (stefan-n1) wrote :
Download full text (5.8 KiB)

I have repeated the installation procedure and captured logging. flash-kernel exits with exit code 3:

2020-09-30 07:28:57,452 DEBUG subiquitycore.utils:83 arun_command ['systemd-cat', '--level-prefix=false', '--identifier=curtin_log.2566', '/snap/subiquity/1972/usr/bin/python3', '-m', 'curtin', '--showtrace', '-c', '/var/log/installer/subiquity-curtin-install.conf', 'install'] exited with code 3
2020-09-30 07:28:57,453 ERROR root:39 finish: subiquity/InstallProgress/install/curtin_install: FAIL: Command '['systemd-cat', '--level-prefix=false', '--identifier=curtin_log.2566', '/snap/subiquity/1972/usr/bin/python3', '-m', 'curtin', '--showtrace', '-c', '/var/log/installer/subiquity-curtin-install.conf', 'install']' returned non-zero exit status 3.
subprocess.CalledProcessError: Command '['systemd-cat', '--level-prefix=false', '--identifier=curtin_log.2566', '/snap/subiquity/1972/usr/bin/python3', '-m', 'curtin', '--showtrace', '-c', '/var/log/installer/subiquity-curtin-install.conf', 'install']' returned non-zero exit status 3.
2020-09-30 07:28:57,452 DEBUG subiquitycore.utils:83 arun_command ['systemd-cat', '--level-prefix=false', '--identifier=curtin_log.2566', '/snap/subiquity/1972/usr/bin/python3', '-m', 'curtin', '--showtrace', '-c', '/var/log/installer/subiquity-curtin-install.conf', 'install'] exited with code 3
2020-09-30 07:28:57,453 ERROR root:39 finish: subiquity/InstallProgress/install/curtin_install: FAIL: Command '['systemd-cat', '--level-prefix=false', '--identifier=curtin_log.2566', '/snap/subiquity/1972/usr/bin/python3', '-m', 'curtin', '--showtrace', '-c', '/var/log/installer/subiquity-curtin-install.conf', 'install']' returned non-zero exit status 3.
subprocess.CalledProcessError: Command '['systemd-cat', '--level-prefix=false', '--identifier=curtin_log.2566', '/snap/subiquity/1972/usr/bin/python3', '-m', 'curtin', '--showtrace', '-c', '/var/log/installer/subiquity-curtin-install.conf', 'install']' returned non-zero exit status 3.

and that gives the following logging in curtin:

2020-09-30 07:19:55,807 DEBUG root:39 start: subiquity/InstallProgress/install/curtin_install/cmd-install/stage-curthooks/builtin/cmd-curthooks/installing-kernel: installing kernel
2020-09-30 07:28:56,459 DEBUG root:39 finish: subiquity/InstallProgress/install/curtin_install/cmd-install/stage-curthooks/builtin/cmd-curthooks/installing-kernel: SUCCESS: Status.FAIL
2020-09-30 07:28:56,480 DEBUG root:39 finish: subiquity/InstallProgress/install/curtin_install/cmd-install/stage-curthooks/builtin: SUCCESS: Status.FAIL
2020-09-30 07:28:56,483 DEBUG root:39 finish: subiquity/InstallProgress/install/curtin_install/cmd-install/stage-curthooks: SUCCESS: Status.FAIL
2020-09-30 07:28:57,452 DEBUG subiquitycore.utils:83 arun_command ['systemd-cat', '--level-prefix=false', '--identifier=curtin_log.2566', '/snap/subiquity/1972/usr/bin/python3', '-m', 'curtin', '--showtrace', '-c', '/var/log/installer/subiquity-curtin-install.conf', 'install'] exited with code 3
2020-09-30 07:28:57,453 DEBUG subiquity.lockfile:44 unlocking exclusive /run/subiquity/installing
2020-09-30 07:28:57,453 ERROR root:39 finish: subiquity/InstallProgress/install/curtin_install: FAIL: Comma...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.