Ok, finally it seems I found the problem. It seems Xen setup code is 
accidentally setting up the kernel page tables in a way that causes the last 2G 
of memory to be identically mapped (kernel mappings). This  would just work 
normally because the page table that covers the first 1G would correctly be 
clean for the second 512M (which started the module space before). If modules 
ever reached more than 512M of memory this just would have happened with the 
old layout, too.
But now that the kernel image is increased to 1G, we start to use the bad page 
table immediately.

Sent this patch upstream (right now only tested with the new layout)

** Patch added: "0001-x86-xen-Fix-setup-of-64bit-kernel-pagetables.patch"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1350522/+attachment/4189340/+files/0001-x86-xen-Fix-setup-of-64bit-kernel-pagetables.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1350522

Title:
  EC2 kernel crash due to vmalloc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1350522/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to