kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #19098
[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule
Please don't apply this udev rule as it is:
* It can be made *much* more efficient and avoid an extra shell with
SUBSYSTEM=="memory", ACTION=="add", DEVPATH=="/devices/system/memory/memory*[0-9]", ATTR{online}="1"
(same for the other rule)
* In this generic way they don't look plausible. If we *always* want
hotplugged CPUs and memory to be online (which sounds plausible), then
the kernel should do just that. It shouldn't require lots of extra
userspace overhead to always set a driver attribute to a constant value.
It is certainly ok as a workaround until the kernel gets fixed properly,
though.
* If this applies to Hyper-V only, it would be better to surround these
rules with some check if the system is actually running on this
hypervisor. This might happen via DMI data (like
ATTR{[dmi/id]product_version}=="hyper-v"), the presence of a Hyper-V
specific device/subsystem in sysfs, and so on. This
ATTR{[subsystem/device]attribute} syntax works generically by the way,
so that you can look at a device different than the one you are
currently selecting.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1233466
Title:
Hot-Add Memory failing for lack of udev rule
Status in “linux” package in Ubuntu:
Fix Released
Status in “systemd” package in Ubuntu:
In Progress
Bug description:
It appears that the Hot-Add mechanism is not working because of lack
of a udev rule. The required rule is attached to this bug. Please
include it.
Furthermore, please ensure that the following patches are included:
https://git.kernel.org/cgit/linux/kernel/git/next/linux-
next.git/commit/drivers/hv?id=20138d6cb838aa01bb1b382dcb5f3d3a119ff2cb
https://git.kernel.org/cgit/linux/kernel/git/next/linux-
next.git/commit/drivers/hv?id=c5e2254f8d63a6654149aa32ac5f2b7dd66a976d
https://git.kernel.org/cgit/linux/kernel/git/next/linux-
next.git/commit/drivers/hv?id=ed07ec93e83ec471d365ce084e43ad90fd205903
The above patches should be in but just wanted to ensure that you guys
got these.
Thanks again for the great last minute help.
Abhishek
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1233466/+subscriptions
References