Skip to content

Add linux 5.4.87 #2024

Merged
merged 4 commits into from
Jan 11, 2021
Merged

Add linux 5.4.87 #2024

merged 4 commits into from
Jan 11, 2021

Conversation

donald
Copy link
Collaborator

@donald donald commented Jan 7, 2021

  • Change VIRTIO_BLK from "m" to "y" so that we can boot a Mariux vm ("dose") from a virtio disk.
  • By the way, update to latest release of 5.4 branch
  • Add nvidia driver and a small fix to the nvidia beefile, so that the driver can be built with unshare (unshare -U -r ./nvidia_linux-5.4.87-362-440.44-0.bee)

The nvidia part is untested. Not to be merged before tested on a nvidia workstation.

Create bee file with

    cp linux-5.4.83-359.bee linux-5.4.87-362.bee
Set VIRTIO_BLK (and VIRTIO_PCI) from "m" to "y" so that we can boot
Mariux in a VM with a virtio system disk.
Create bee fil with

    cp nvidia_linux-5.4.83-359-440.44-0.bee nvidia_linux-5.4.87-362-440.44-0.bee
When the bee file is executed with `unshare -U -r`, the self-extracting
distribution script fails, because it uses "tar" for extraction. tar,
when run with uid 0 tries to restore the file owners from the archive,
which is not allowed, if we are in a user namespace.

Use a little wrapper around tar which implies --no-same-owner.
@pmenzel
Copy link
Collaborator

pmenzel commented Jan 7, 2021

Having the driver/module in the initrd should also work. At least that’s how the distributions are doing it.

@thomas
Copy link
Collaborator

thomas commented Jan 7, 2021 via email

@pmenzel
Copy link
Collaborator

pmenzel commented Jan 7, 2021

But this would require an initrd rebuild with every new kernel, plus an increasing zoo in our 'boottime rootdisk label-detector'.

True. I forgot, that the distributions have an initrd per Linux kernel version and rebuild their initrds at each Linux kernel updates.

@donald
Copy link
Collaborator Author

donald commented Jan 11, 2021

Tested on sigsomething

@donald
Copy link
Collaborator Author

donald commented Jan 11, 2021

new default kernel

@donald donald merged commit 48b6687 into master Jan 11, 2021
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants