Open coretemp opened 6 years ago
Thank you for your contributions.
This has been automatically marked as stale because it has had no activity for 180 days.
If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.
Here are suggestions that might help resolve this more quickly:
I have the same problem. Did you manage to solve it?
The module loads fine on aarch64
but fails to load on x64_64
. odd
First of all. xen-blkfront
has a proper alias set up; so it should be automatically loaded by udev anyway. no need for us to explicitly load it
filename: /run/booted-system/kernel-modules/lib/modules/6.6.31/kernel/drivers/block/xen-blkfront.ko.xz
alias: xenblk
alias: xen:vbd
alias: block-major-202-*
license: GPL
description: Xen virtual block device frontend
depends:
retpoline: Y
intree: Y
name: xen_blkfront
vermagic: 6.6.31 SMP preempt mod_unload
parm: max_indirect_segments:Maximum amount of segments in indirect requests (default is 32) (uint)
parm: max_queues:Maximum number of hardware queues/rings used per virtual disk (uint)
parm: max_ring_page_order:Maximum order of pages to be used for the shared ring (int)
parm: trusted:Is the backend trusted (bool)
parm: feature_persistent:Enables the persistent grants feature (bool)
Digging into the linux source code, the kernel deriver returns -ENODEV here:
Which is either true
or implemented based on CONFIG_XEN_PVHVM
Which in turn is only implemented for x86:
I don't really understand why the kernel driver succeeds to load on aarch64 and doesn't succeed to load on x86.
But I don't think Modern AWS even uses Xen for disk access anymore. The Nitro hypervisor exposes EBS volumes as NVME drivers to the host. /dev/xvd*
are aliases to /dev/nvme*
I think we can just remove this kernel module completely.
Okay so there are still instances that use xen
(t2.micro
for example). However I am 99% sure that udev will load the kernel driver for us and we don't need to manually load it at all. I'll make a PR and verify it on a t2.micro
instance.
Issue description
The machine works otherwise.
Steps to reproduce
Use a t3.nano machine as a deployment target.
Technical details
"x86_64-linux"
Linux 4.18.5, NixOS, 18.03.git.01f5e79 (Impala)
no
yes
nix-env (Nix) 2.0.4
/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs