[Bug 1313450] Re: Unable to start vsftpd on Ubuntu 14.04 (Amazon/EC2 or Xen) with default configuration
Confirmed kernel from -proposed fixes the issue. Test case program and vsftpd both run without triggering the kernel messages. [0.00] Linux version 3.13.0-30-generic (buildd@allspice) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #54-Ubuntu SMP Mon Jun 9 22:45:01 UTC 2014 (Ubuntu 3.13.0-30.54-generic 3.13.11.2) [0.00] Booting paravirtualized kernel on Xen [0.00] Xen version: 4.4.0 (preserve-AD) ** Tags removed: verification-needed-trusty ** Tags added: verification-done-trusty -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vsftpd in Ubuntu. https://bugs.launchpad.net/bugs/1313450 Title: Unable to start vsftpd on Ubuntu 14.04 (Amazon/EC2 or Xen) with default configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1313450/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1313450] Re: Unable to start vsftpd on Ubuntu 14.04 (Amazon/EC2 or Xen) with default configuration
A simple test case was created by Steven Noonan to trigger the issue: Copy the attached code into a file named bugtest.c Compile with gcc -o bugtest bugtest.c Run ./bugtest (does not have to be run as root) If you see no output, bug does not exist; if it does you will immediately see something similar to: triden@tweety:~$ ./bugtest [ 837.276658] BUG: Bad page map in process bugtest pte:8965 pmd:3c076067 [ 837.27] page:ea00 count:-31 mapcount:-31 mapping: (null) index:0x0 [ 837.276669] page flags: 0x10(dirty) [ 837.276672] page dumped because: bad pte [ 837.276674] addr:7f0639a5e000 vm_flags:08100071 anon_vma:88003b1fdbc0 mapping: (null) index:7f0639a5e [ 837.276821] BUG: Bad rss-counter state mm:88003d2e8700 idx:0 val:-1 [ 837.276825] BUG: Bad rss-counter state mm:88003d2e8700 idx:1 val:1 Reference: https://lkml.org/lkml/2014/1/21/544 ** Attachment added: testcase program https://bugs.launchpad.net/ubuntu/+source/vsftpd/+bug/1313450/+attachment/4129266/+files/xen-bug.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vsftpd in Ubuntu. https://bugs.launchpad.net/bugs/1313450 Title: Unable to start vsftpd on Ubuntu 14.04 (Amazon/EC2 or Xen) with default configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1313450/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1313450] Re: Unable to start vsftpd on Ubuntu 14.04 (Amazon/EC2 or Xen) with default configuration
The problem can occur with any application as stated by Boris Ostrovsky This can be easily triggered by Linux' page-types (tools/vm/page-types.c) after save/restore. All it does is it walks the page tables (in fs/proc/task_mmu.c) and eventually trips on bad page. For example: # /page-types -p 2273 -L /tmp/new [ 2634.501440] pfn 0x159f75 highest_memmap_pfn=0x3 [ 2634.502345] BUG: Bad page map in process page-types pte:159f75420 pmd:3178a067 Which means that any application should be able to trigger this depending on whether 'mprotect' was doing its stuff and migration happend. Please note that these guests have no NUMA information exposed at all. --[Ref: http://www.gossamer-threads.com/lists/xen/devel/37?page=last ]-- -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vsftpd in Ubuntu. https://bugs.launchpad.net/bugs/1313450 Title: Unable to start vsftpd on Ubuntu 14.04 (Amazon/EC2 or Xen) with default configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1313450/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1313450] Re: Unable to start vsftpd on Ubuntu 14.04 (Amazon/EC2 or Xen) with default configuration
I've been using 3.15.0-031500rc2-generic #201404201435 SMP Sun Apr 20 18:36:18 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux from the Ubuntu Mainline kernel PPA on all my Xen guests for weeks without issue. Looks like the patch is scheduled for the 3.13.11.3 kernel update. Ref: https://lists.ubuntu.com/archives/kernel-team/2014-May/042946.html I'll be moving my production boxes to that version once released. It is not clear (from that thread) when that version will be released. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vsftpd in Ubuntu. https://bugs.launchpad.net/bugs/1313450 Title: Unable to start vsftpd on Ubuntu 14.04 (Amazon/EC2 or Xen) with default configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1313450/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1313450] Re: Unable to start vsftpd on Ubuntu 14.04 (Amazon/EC2) with default configuration
It is related to a kernel bug. Don't know if you have the ability to upgrade kernels on EC2, but this bug can be worked around by installing one of the latest Ubuntu Mainline kernels. You need at least: linux-image-3.15.0-031500rc2 Reference: http://www.deinon.com/wiki/doku.php?id=linux:ubuntu ** Changed in: vsftpd (Ubuntu) Status: Incomplete = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vsftpd in Ubuntu. https://bugs.launchpad.net/bugs/1313450 Title: Unable to start vsftpd on Ubuntu 14.04 (Amazon/EC2) with default configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vsftpd/+bug/1313450/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1313450] Re: Unable to start vsftpd on Ubuntu 14.04 (Amazon/EC2 or Xen) with default configuration
** Summary changed: - Unable to start vsftpd on Ubuntu 14.04 (Amazon/EC2) with default configuration + Unable to start vsftpd on Ubuntu 14.04 (Amazon/EC2 or Xen) with default configuration -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vsftpd in Ubuntu. https://bugs.launchpad.net/bugs/1313450 Title: Unable to start vsftpd on Ubuntu 14.04 (Amazon/EC2 or Xen) with default configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vsftpd/+bug/1313450/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs