• Activity
  • Votes
  • Comments
  • New
  • All activity
  • Showing only topics with the tag "kernel". Back to normal view
    1. Quick question after a kernel update, mostly fear-based

      As some are aware, my NAS hates me. Anyway, I ran an update just now and it spat out the following: Setting up linux-firmware (1.187.27) ... update-initramfs: Generating...

      As some are aware, my NAS hates me. Anyway, I ran an update just now and it spat out the following:

      Setting up linux-firmware (1.187.27) ...
      update-initramfs: Generating /boot/initrd.img-5.13.0-30-generic
      I: The initramfs will attempt to resume from /dev/sdb2
      I: (UUID=e6480da4-95f0-4cf3-a047-a43ef09f978f)
      I: Set the RESUME variable to override this.
      update-initramfs: Generating /boot/initrd.img-5.11.0-27-generic
      I: The initramfs will attempt to resume from /dev/sdb2
      I: (UUID=e6480da4-95f0-4cf3-a047-a43ef09f978f)
      

      UUID=e6480da4-95f0-4cf3-a047-a43ef09f978f is /swap.

      /dev/sdb2: UUID="e6480da4-95f0-4cf3-a047-a43ef09f978f" TYPE="swap" PARTUUID="329487d0-88c7-4d47-ab82-dc4b80bd3bfe"
      

      The full log is below. If I reboot this thing, will it tell me that it cannot find GRUB like the previous installation that shit the bed?

      My assumption is that its simply telling me that it's enabled some sort of hibernation and will use the /swap for that.. but I'm totally on edge with this thing. I don't have a lot to set up with the system-side of things, so I put off trying to fix the old installation from the previous post until later.

      Anyway, does anything here seem fishy?

      Full output The following packages will be upgraded: linux-firmware 1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. Need to get 115 MB of archives. After this operation, 2,980 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://ca.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-firmware all 1.187.27 [115 MB] Fetched 115 MB in 5s (24.0 MB/s) (Reading database ... 201924 files and directories currently installed.) Preparing to unpack .../linux-firmware_1.187.27_all.deb ... Unpacking linux-firmware (1.187.27) over (1.187.26) ... Setting up linux-firmware (1.187.27) ... update-initramfs: Generating /boot/initrd.img-5.13.0-30-generic I: The initramfs will attempt to resume from /dev/sdb2 I: (UUID=e6480da4-95f0-4cf3-a047-a43ef09f978f) I: Set the RESUME variable to override this. update-initramfs: Generating /boot/initrd.img-5.11.0-27-generic I: The initramfs will attempt to resume from /dev/sdb2 I: (UUID=e6480da4-95f0-4cf3-a047-a43ef09f978f) I: Set the RESUME variable to override this.

      ➜ ~ sudo blkid
      /dev/sdb2: UUID="e6480da4-95f0-4cf3-a047-a43ef09f978f" TYPE="swap" PARTUUID="329487d0-88c7-4d47-ab82-dc4b80bd3bfe"
      /dev/sdb5: UUID="842ddd01-963f-4cea-b04f-a52b6b719a16" TYPE="ext4" PARTUUID="21a6f4e9-9893-423a-a30d-5981ac30b02b"
      /dev/loop0: TYPE="squashfs"
      /dev/loop1: TYPE="squashfs"
      /dev/loop2: TYPE="squashfs"
      /dev/loop3: TYPE="squashfs"
      /dev/loop4: TYPE="squashfs"
      /dev/loop5: TYPE="squashfs"
      /dev/loop6: TYPE="squashfs"
      /dev/loop7: TYPE="squashfs"
      /dev/sda1: LABEL="Ext-4tb" UUID="6024-5AA9" TYPE="exfat" PARTLABEL="My Passport" PARTUUID="0b02c637-1696-4e38-85a1-9bb43103e675"
      /dev/sdb1: UUID="5cfbef39-3eb7-41e6-8223-e6881b4f3286" TYPE="ext4" PARTUUID="7df42fb5-0531-457c-92b5-fbf1878b043f"
      /dev/sdb3: UUID="4f30a4a2-9f28-4831-a22c-dc5b969c4f17" TYPE="ext4" PARTUUID="77f89dbc-f0d7-40d5-9174-ac03a786502e"
      /dev/sdb4: PARTUUID="93457ed0-e4ee-439f-9f41-5c106fb531e6"
      /dev/sdc1: PARTUUID="59c46c38-983b-41a1-9b01-17932ce1408c"
      /dev/sdc2: UUID="5A80-D8B1" TYPE="vfat" PARTUUID="dc39bca7-9d28-45df-9474-ae879b51304e"
      /dev/sdc3: UUID="5c159f93-0d79-46ca-81bc-862f9703c439" TYPE="ext4" PARTUUID="db95b761-edd1-423e-8f23-748bc3e24fbc"
      /dev/loop8: TYPE="squashfs"
      /dev/loop9: TYPE="squashfs"
      /dev/loop10: TYPE="squashfs"
      /dev/loop11: TYPE="squashfs"

      ➜ ~ du -h /boot
      2.5M /boot/grub/i386-pc
      2.3M /boot/grub/fonts
      7.1M /boot/grub
      du: cannot read directory '/boot/lost+found': Permission denied
      16K /boot/lost+found
      147M /boot

      edit:

      here's my fstab
      UUID=842ddd01-963f-4cea-b04f-a52b6b719a16 /          ext4  errors=remount-ro 0   1
      # /boot was on /dev/sdb1 during installation
      UUID=5cfbef39-3eb7-41e6-8223-e6881b4f3286 /boot      ext4  defaults          0   2
      # /home was on /dev/sdb3 during installation
      UUID=4f30a4a2-9f28-4831-a22c-dc5b969c4f17 /home      ext4  defaults          0   2
      # swap was on /dev/sdb2 during installation
      UUID=e6480da4-95f0-4cf3-a047-a43ef09f978f none       swap  tf                0   0
      
      3 votes
    2. Fixing GRUB / Bad Kernels

      A few months ago I got a new to me HP Proliant ML310e Gen8. For the most part it works well, but I went to add some drives to it yesterday and grub / whateverthefuck doesn't like the one and only...

      A few months ago I got a new to me HP Proliant ML310e Gen8. For the most part it works well, but I went to add some drives to it yesterday and grub / whateverthefuck doesn't like the one and only kernel that is installed.

      I'm running Ubuntu 20.04. I looked around saw guides like this. this, and this -- but I'm not sure if this will fix the issue.

      After grub I get the ol'

      ---[end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
      

      I think I need to run something with initramfs or something, but I just want to be sure before I go messing around.

      The bad kernel listed is 5.11.0-27-generic. I'm a little out of my element with this part of things.

      2 votes
    3. Is my kernel ready for CGroups V2?

      So I am reading the cgroups manpage because I want to learn about... cgroups. It tells me that for CGroups V1, if I want to use specific features, my kernel needs to be configured. Either I missed...

      So I am reading the cgroups manpage because I want to learn about... cgroups. It tells me that for CGroups V1, if I want to use specific features, my kernel needs to be configured. Either I missed a section or it isn't there, because I don't see much mention of kernel requirements for CGroups V2.

      So, my question is, is my kernel ready for CGroups, or should I recompile? Should I be able to support both V1 and V2? The manpage says V1 was a heap, so I was thinking I might continue without it... ... ...

      CONFIG_CGROUPS=y

      # CONFIG_BLK_CGROUP is not set

      CONFIG_CGROUP_SCHED=y

      # CONFIG_CGROUP_PIDS is not set

      # CONFIG_CGROUP_RDMA is not set

      CONFIG_CGROUP_FREEZER=y

      # CONFIG_CGROUP_HUGETLB is not set

      # CONFIG_CGROUP_DEVICE is not set

      CONFIG_CGROUP_CPUACCT=y

      # CONFIG_CGROUP_PERF is not set

      # CONFIG_CGROUP_DEBUG is not set

      # CONFIG_NET_CLS_CGROUP is not set

      # CONFIG_CGROUP_NET_PRIO is not set

      # CONFIG_CGROUP_NET_CLASSID is not set

      edit: wowie markdown fix

      4 votes