[Bug 1886760] Re: Failure to upgrade to linux-image-5.4.0-1013-raspi

2020-07-10 Thread Jon Griver
It appears that the problem occurred because I mistakenly changed
/boot/firmware to /boot when mounting the SD in fstab.

Please close this bug report.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1886760

Title:
  Failure to upgrade to linux-image-5.4.0-1013-raspi

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1886760/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1886760] Re: Failure to upgrade to linux-image-5.4.0-1013-raspi

2020-07-09 Thread Jon Griver
Hi Juerg,


Thanks for the quick response.


I can't find any logs from the upgrade that caused the removal of /firmware. It 
was about 3 weeks ago.


After the upgrade the system would not boot. I looked at the SD in another 
computer and saw that /firmware was gone and the files there were moved to 
/boot. The file nobtcmd.txt had been reset, so I had to change it to transfer 
the root to the SSD. Once I did that everything worked normally, so I assumed 
that it was an intentional change.


Shall I recreate /boot/firmware on the SD and move the relevant files to 
/boot/firmware and see if that resolves the issue?


Below is the current output from mount:


sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs 
(rw,nosuid,noexec,relatime,size=1791492k,nr_inodes=447873,mode=755)
devpts on /dev/pts type devpts 
(rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=388440k,mode=755)
/dev/sda1 on / type ext4 (rw,relatime)
securityfs on /sys/kernel/security type securityfs 
(rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 
(rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup 
(rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/blkio type cgroup 
(rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup 
(rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/freezer type cgroup 
(rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/cpuset type cgroup 
(rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/perf_event type cgroup 
(rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup 
(rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/devices type cgroup 
(rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs 
(rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=36554)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl 
(rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
/var/lib/snapd/snaps/core_9290.snap on /snap/core/9290 type squashfs 
(ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/chromium_1212.snap on /snap/chromium/1212 type squashfs 
(ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/chromium_1216.snap on /snap/chromium/1216 type squashfs 
(ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gtk-common-themes_1502.snap on 
/snap/gtk-common-themes/1502 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core18_1708.snap on /snap/core18/1708 type squashfs 
(ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core_9441.snap on /snap/core/9441 type squashfs 
(ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core18_1753.snap on /snap/core18/1753 type squashfs 
(ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/lxd_15938.snap on /snap/lxd/15938 type squashfs 
(ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gtk-common-themes_1506.snap on 
/snap/gtk-common-themes/1506 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/lxd_16050.snap on /snap/lxd/16050 type squashfs 
(ro,nodev,relatime,x-gdu.hide)
/dev/sda2 on /home type ext4 (rw,noatime)
/dev/mmcblk0p1 on /boot type vfat 
(rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
tmpfs on /run/snapd/ns type tmpfs 
(rw,nosuid,nodev,noexec,relatime,size=388440k,mode=755)
nsfs on /run/snapd/ns/lxd.mnt type nsfs (rw)
//10.100.102.108/User on /mnt/User type cifs 
(rw,relatime,vers=3.1.1,cache=strict,username=root,uid=0,noforceuid,gid=0,noforcegid,addr=10.100.102.108,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1)
//10.100.102.108/OneDrive on /mnt/OneDrive type cifs 
(rw,relatime,vers=3.1.1,cache=strict,username=root,uid=0,noforceuid,gid=0,noforcegid,addr=10.100.102.108,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1)

Re: [Bug 1886760] Re: Failure to upgrade to linux-image-5.4.0-1013-raspi

2020-07-09 Thread Jon Griver
-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1886760

Title:
  Failure to upgrade to linux-image-5.4.0-1013-raspi

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1886760/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1886760] [NEW] Failure to upgrade to linux-image-5.4.0-1013-raspi

2020-07-07 Thread Jon Griver
Public bug reported:

Release 20.04 LTS with MATE desktop on RPi 4 with 4GB.
Running with root on SSD and /boot on SD.

Following "sudo apt update && sudo apt full-upgrade", I get a series of
errors starting with:

Setting up linux-image-5.4.0-1013-raspi (5.4.0-1013.13) ...
Failed to create symlink to vmlinuz-5.4.0-1013-raspi: Operation not permitted at
 /usr/bin/linux-update-symlinks line 64.
dpkg: error processing package linux-image-5.4.0-1013-raspi (--configure):
 installed linux-image-5.4.0-1013-raspi package post-installation script subproc
ess returned error exit status 1


As expected following this failure, "uname -a" gives:
Linux ubuntu 5.4.0-1012-raspi #12-Ubuntu SMP Wed May 27 04:08:35 UTC 2020 
aarch64 aarch64 aarch64 GNU/Linux

The system works normally.

I should add that there was an unusual occurrence following an upgrade a
couple of weeks ago. All the files in /boot/firmware were moved to /boot
and the /firmware folder removed. As the system continued working after
this, I assumed that it was an intentional upgrade, but may it is
related to this problem.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.4.0-1013-raspi 5.4.0-1013.13
ProcVersionSignature: Ubuntu 5.4.0-1012.12-raspi 5.4.41
Uname: Linux 5.4.0-1012-raspi aarch64
ApportVersion: 2.20.11-0ubuntu27.3
Architecture: arm64
CasperMD5CheckResult: skip
CurrentDesktop: MATE
Date: Wed Jul  8 07:34:38 2020
SourcePackage: linux-raspi
UpgradeStatus: Upgraded to focal on 2020-04-24 (74 days ago)

** Affects: linux-raspi (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-bug arm64 focal uec-images

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1886760

Title:
  Failure to upgrade to linux-image-5.4.0-1013-raspi

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1886760/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs