[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2018-01-11 Thread Benjamin Drung
Any updates on this? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1233466 Title: Hot-Add Memory failing for lack of udev rule To manage notifications about this bug go to: https://bugs.launchpad.n

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2016-06-10 Thread Martin Pitt
> I would be happy to unconditionally turning hot-add on and SRU the udev rule back to Ubuntu 14.04. As I (and Kay) said, this is okay for an SRU, but unconditionally second-guessing/changing the kernel defaults is just wrong and inefficient too. For yakkety and onwards this *really* should be fix

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2016-06-09 Thread Benjamin Drung
** Patch added: "0001-Enable-CPU-and-RAM-hotplug-on-QEMU.patch" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1233466/+attachment/4680556/+files/0001-Enable-CPU-and-RAM-hotplug-on-QEMU.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscri

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2016-06-09 Thread Benjamin Drung
** Bug watch added: freedesktop.org Bugzilla #78478 https://bugs.freedesktop.org/show_bug.cgi?id=78478 ** Also affects: linux via https://bugs.freedesktop.org/show_bug.cgi?id=78478 Importance: Unknown Status: Unknown ** Project changed: linux => udev -- You received this bug not

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2016-06-08 Thread Benjamin Drung
I fail to come up with a use-case that just wants to add CPU/RAM without onlining it sooner or later. For virtual environments, you add CPU/RAM to use it and therefore want to online it once it appears. In a cloud environment (like ProfitBricks), it makes no sense to add CPU/RAM without using it, b

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2016-06-08 Thread Martin Pitt
Maintaining an ever-growing list of vendors is error-prone and TBH quite silly. Are there any CPUs where we *don't* want hot-add? If not, why can't the kernel just default to enabling this, instead of userspace unconditionally turning this on? But if hot-add is supposed to work everywhere, then for

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2016-06-07 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1233466 Title: Hot-Add Memory failing for lack of udev rule To manage notifications about this bug go to: https://bugs.launchpad.n

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2016-06-07 Thread Benjamin Drung
Can we also enable the hotplug udev rules for QEMU guests? See the attached git format-patch. ** Patch added: "0001-Enable-CPU-and-RAM-hotplug-on-QEMU.patch" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1233466/+attachment/4679035/+files/0001-Enable-CPU-and-RAM-hotplug-on-QEMU.patch -

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2015-02-03 Thread Mathew Hodson
** CVE removed: http://www.cve.mitre.org/cgi- bin/cvename.cgi?name=2013-2147 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1233466 Title: Hot-Add Memory failing for lack of udev rule To manage noti

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2015-01-22 Thread Martin Pitt
Reopening the kernel task here. We've carried the "temporary" udev rule workaround for three releases now; it seems we all agree that it's wrong (unconditional "unbreak my kernel rule") and makes things even worse under memory pressure. Is there any better solution in sight? Thanks! ** Changed in:

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2013-10-12 Thread Launchpad Bug Tracker
This bug was fixed in the package systemd - 204-0ubuntu18 --- systemd (204-0ubuntu18) saucy; urgency=low * Configure with --disable-silent-rules, as per request from Matthias. * Add debian/extra/rules/40-hyperv-hotadd.rules: On Hyper-V VMs, bring new CPU and memory devices onl

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2013-10-12 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/saucy-proposed/systemd -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1233466 Title: Hot-Add Memory failing for lack of udev rule To manage notifications about this bug g

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2013-10-12 Thread Martin Pitt
** Changed in: systemd (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1233466 Title: Hot-Add Memory failing for lack of udev rule To manage notif

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2013-10-12 Thread Martin Pitt
Time is running out for saucy, so I'll upload the rule from comment 14 now, with some correction: I take it you actually mean "memory[0-9]*" instead of "memory*[0-9]" (same for CPU). @Abhishek, I don't see how these rules would cause any other kernel module to suddenly not load? All they do is to c

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2013-10-10 Thread Abhishek Gupta
In my last comment, I meant to say that the patch that got rejected on lkml is at: https://groups.google.com/forum/#!msg/linux.kernel/AxvyuQjr4GY/TLC- K0sL_NEJ Thanks, Abhishek -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2013-10-10 Thread Abhishek Gupta
Hi Martin, Thanks for accommodating the request for the udev rule. The rule needs to live in the guest as Hyper-V does not understand udev rules. Yes, we did test with Andy's udev rule from comment 14 and it seems to work. Only issue we saw was that it seemed to suppress some of our other drivers

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2013-10-10 Thread Martin Pitt
BTW, where does this rule need to live, in the hypervisor or in the guests? In the latter case I guess we should ship it in udev, in the former case they hypervisor package could just ship it? That would avoid the extra rule for other installs. -- You received this bug notification because you ar

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2013-10-09 Thread Martin Pitt
Yes, I think Andy's udev rule from comment 14 is an acceptable distro- level compromise for 13.10, until that gets solved more cleanly. I didn't see a confirmation from you that this worked, is that the one which got tested? > If you absolutely do not want to include the udev rule we can send you

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2013-10-09 Thread Abhishek Gupta
Btw, another thought is that we do realize that the udev rule is not the best solution here but given the release time frame perhaps we can compromise a little. We will be more than happy to work with you to provide an alternate solution. However releasing 13.10 with risks of panics is more worriso

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2013-10-09 Thread Abhishek Gupta
Hi Martin, I will circle back with KY and reply by tomorrow morning on this. What we are trying to convey here is that this was discussed with the kernel folks and they shot down the kernel patch which would have got rid of the udev rule. > Please include the memory hotadd patch I apologize for n

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2013-10-09 Thread Martin Pitt
Abhishek Gupta, did you really quote the right mails? Because those mails are just proving my point, it makes no sense to have an unconditional userspace rule which is just there to always enable new memory. To the contrary, as this is always going to involve more memory allocation (like it might s

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2013-10-09 Thread Abhishek Gupta
Hi guys, We went the alternate route of trying to convince kernel folks of fixing this problem through a patch. Unfortunately, the patch was rejected. The discussion involved is quoted below. Please also note that in the above patch we can remove the CPU hotadd request command as that is extraneou

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2013-10-03 Thread Andy Whitcroft
@Pitti -- for completeness this is the proposed udev rule which is being tested: # On Hyper-V Virtual Machines we want to add memory and cpus on demand. ATTR{[dmi/id]sys_vendor}!="Microsoft Corporation", GOTO="hyperv_hotadd_end" ATTR{[dmi/id]product_name}!="Virtual Machine", GOTO="hyperv_hotadd_en

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2013-10-02 Thread Abhishek Gupta
Hi there! The udev rule works but after installing the following udev package the following drivers do not load anymore: 1. hyperv-fb 2. hv_utils 3. hv_balloon Is this just a side effect or something else is wrong? Please let us know. Thanks, Abhishek -- You received this bug notification beca

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2013-10-01 Thread Martin Pitt
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 plaus

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2013-10-01 Thread Abhishek Gupta
I am still testing the fix. It appears that the udev rule installs correctly but I see two issues: a) Memory demand from Ubuntu 13.10 is extraordinarily high on Hyper-V. It is likely to be a bug on our side and we will work on it. b) After applying all the packages under udev, our mouse driver is

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2013-10-01 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 3.11.0-11.17 --- linux (3.11.0-11.17) saucy; urgency=low [ Andy Whitcroft ] * [Packaging] tools -- only build common tools package in master * SAUCE: tools -- report when tool is not available - LP: #1233376 * [Packaging] tools --

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2013-10-01 Thread Abhishek Gupta
Testing now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1233466 Title: Hot-Add Memory failing for lack of udev rule To manage notifications about this bug go to: https://bugs.launchpad.net/ubunt

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2013-10-01 Thread Andy Whitcroft
Ok I have built a test kernel containing the missing patch above which is here: http://people.canonical.com/~apw/hyperv-saucy/ I have also attempted to add the required rule to udev which is here: http://people.canonical.com/~apw/hyperv-saucy/udev/ If you could test those and confirm th

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2013-10-01 Thread Andy Whitcroft
Confirmed that two of the kernel patches are already applied, pulled the third in and sent kernels for testing. ** Also affects: systemd (Ubuntu) Importance: Undecided Status: New ** Changed in: systemd (Ubuntu) Status: New => In Progress ** Changed in: systemd (Ubuntu) Impor

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2013-10-01 Thread Abhishek Gupta
Could someone also ack that the udev rule will be included? Just want to make sure you guys noticed it. Furthermore, this is high pri than medium from our perspective. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launch

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2013-10-01 Thread Andy Whitcroft
These commits from mainline which are in v3.12-rc1, v3.11-rc3, and v3.11-rc3 respectively: commit 20138d6cb838aa01bb1b382dcb5f3d3a119ff2cb Author: K. Y. Srinivasan Date: Wed Jul 17 17:27:27 2013 -0700 Drivers: hv: balloon: Initialize the transaction ID just before sending the packet

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2013-10-01 Thread Andy Whitcroft
** Changed in: linux (Ubuntu) Status: Confirmed => In Progress ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Andy Whitcroft (apw) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/12

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2013-10-01 Thread Joseph Salisbury
** Changed in: linux (Ubuntu) Importance: Undecided => Medium ** Tags added: kernel-da-key -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1233466 Title: Hot-Add Memory failing for lack of udev ru

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2013-10-01 Thread Abhishek Gupta
Being a little proactive and adding Andy as well as he is fixing the other bugs. Hope that is ok Ben. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1233466 Title: Hot-Add Memory failing for lack of

[Bug 1233466] Re: Hot-Add Memory failing for lack of udev rule

2013-09-30 Thread Abhishek Gupta
Log files not needed as solution included in bug report. ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1233466 Title: Hot-Add Me