[Bug 1779936] Re: mkinitramfs fails on Raspian 9 "Stretch"

Benjamin Drung 1779936 at bugs.launchpad.net
Fri Oct 4 10:55:37 UTC 2024


Thank you for taking the time to report this bug and helping to make
Ubuntu better. The Ubuntu version this bug was reported against reached
end-of-life. We appreciate that this bug may be old and you might not be
interested in discussing it anymore. But if you are then please upgrade
to the latest Ubuntu version and re-test. If you then find the bug is
still present in the newer Ubuntu version, please add a comment here
telling us which new version it is in.

** Changed in: initramfs-tools (Ubuntu)
       Status: New => Incomplete

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

Title:
  mkinitramfs fails on Raspian 9 "Stretch"

Status in initramfs-tools package in Ubuntu:
  Incomplete

Bug description:
  Atempting to install kdump-tools fails due to error in mkinitramfs:

  /usr/sbin/mkinitramfs -v -d /var/lib/kdump/initramfs-tools -o
  /var/lib/kdump/initrd.img-4.14.30-v7+.new -4.14.30-v7+

  mkinitramfs: failed to determine device for /
  mkinitramfs: workaround is MODULES=most, check:
  grep -r MODULES /etc/initramfs-tools/

  Error please report bug on initramfs-tools
  Include the output of 'mount' and 'cat /proc/mounts'

  From traces .... it seems it's getting tripped up because the root
  device specified in /proc/cmdline is in the form:
  root=PARTUUID=6ddc62b3-02

  I changed the boot command line to read: root=/dev/mmcblk0p2

  and kdump-tools installed correctly.

  Attaching output of /proc/mounts and mount for good measure.

  
  root at raspberrypi:/usr/share/initramfs-tools# mount
  /dev/mmcblk0p2 on / type ext4 (rw,noatime,data=ordered)
  devtmpfs on /dev type devtmpfs (rw,relatime,size=470128k,nr_inodes=117532,mode=755)
  sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  proc on /proc type proc (rw,relatime)
  tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
  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)
  cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
  cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
  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/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
  mqueue on /dev/mqueue type mqueue (rw,relatime)
  sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
  debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  configfs on /sys/kernel/config type configfs (rw,relatime)
  /dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
  tmpfs on /run/user/1001 type tmpfs (rw,nosuid,nodev,relatime,size=94944k,mode=700,uid=1001,gid=100)

  root at raspberrypi:~# cat /proc/mounts
  /dev/root / ext4 rw,noatime,data=ordered 0 0
  devtmpfs /dev devtmpfs rw,relatime,size=470128k,nr_inodes=117532,mode=755 0 0
  sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
  proc /proc proc rw,relatime 0 0
  tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
  devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
  tmpfs /run tmpfs rw,nosuid,nodev,mode=755 0 0
  tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
  tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,mode=755 0 0
  cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd 0 0
  cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
  cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0
  cgroup /sys/fs/cgroup/net_cls cgroup rw,nosuid,nodev,noexec,relatime,net_cls 0 0
  cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0
  cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0
  cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0
  systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct 0 0
  mqueue /dev/mqueue mqueue rw,relatime 0 0
  sunrpc /run/rpc_pipefs rpc_pipefs rw,relatime 0 0
  debugfs /sys/kernel/debug debugfs rw,relatime 0 0
  configfs /sys/kernel/config configfs rw,relatime 0 0
  /dev/mmcblk0p1 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro 0 0
  tmpfs /run/user/1001 tmpfs rw,nosuid,nodev,relatime,size=94944k,mode=700,uid=1001,gid=100 0 0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1779936/+subscriptions




More information about the foundations-bugs mailing list