← Back to team overview

kernel-packages team mailing list archive

[Bug 1274917] Missing required logs.

 

This bug is missing log files that will aid in diagnosing the problem.
>From a terminal window please run:

apport-collect 1274917

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable
to run this command, please add a comment stating that fact and change
the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the
Ubuntu Kernel Team.

** Changed in: linux (Ubuntu)
       Status: New => Incomplete

-- 
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/1274917

Title:
  make sure https://bugzilla.kernel.org/show_bug.cgi?id=67651 is fixed
  in Ubunut 14.04

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  The current 14.04 candidate uses the kernel version that suffers from a bug described here:
  https://bugzilla.kernel.org/show_bug.cgi?id=67651
  Please make sure to pull the kernel with the fix before the 14.04 release. 

  here is a small test case that would fail if the bug is present:

  #include <stdlib.h>
  #include <stdio.h>
  #include <unistd.h>
  #include <sys/mman.h>
  #include <assert.h>
  int main() {
    char *p = (char*)0x600000000000;
    size_t i;
    for (i = 0; i < 100000; i++) {
      void *addr = p + i * 4096;
      void *ret = mmap(addr, 4096, PROT_WRITE | PROT_READ,
                       MAP_PRIVATE | MAP_ANONYMOUS, 0, 0);
      if (addr != ret) {
        fprintf(stderr, "failed at iteration %zd\n", i);
        char command[100];
        snprintf(command, sizeof(command), "cat /proc/%d/maps | head -30", getpid());
        system(command);
        return 1;
      }
    }
  }

  
  On a broken kernel it will print something like this:

  failed at iteration 65514
  00400000-00401000 r-xp 00000000 fc:00 20991316  /tmp/a.out
  00600000-00601000 r--p 00000000 fc:00 20991316  /tmp/a.out
  00601000-00602000 rw-p 00001000 fc:00 20991316  /tmp/a.out
  600000000000-600000001000 rw-p 00000000 00:00 0 
  600000001000-600000002000 rw-p 00000000 00:00 0 
  600000002000-600000003000 rw-p 00000000 00:00 0 
  600000003000-600000004000 rw-p 00000000 00:00 0 
  600000004000-600000005000 rw-p 00000000 00:00 0 
  ...

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