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

Bug #1274917 reported by Konstantin Serebryany
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Tim Gardner
Trusty
Fix Released
Undecided
Tim Gardner

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
...
---
ApportVersion: 2.13.2-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: lightdm 7946 F.... pulseaudio
                      kcc 8585 F.... pulseaudio
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=UUID=3959574f-f6cb-4fcf-aa75-5394c06884fd
InstallationDate: Installed on 2014-01-31 (2 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140130)
IwConfig:
 eth0 no wireless extensions.

 lo no wireless extensions.
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 004: ID 0e0f:0008 VMware, Inc.
 Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
 Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: VMware, Inc. VMware Virtual Platform
Package: linux (not installed)
ProcEnviron:
 LANGUAGE=en_US
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 svgadrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-5-generic root=UUID=61da81e0-a5f8-45f4-96c2-6cfda9be652f ro find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US quiet
ProcVersionSignature: Ubuntu 3.13.0-5.20-generic 3.13.0
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
 No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-5-generic N/A
 linux-backports-modules-3.13.0-5-generic N/A
 linux-firmware 1.122
RfKill:
 0: hci0: Bluetooth
  Soft blocked: no
  Hard blocked: no
Tags: trusty
Uname: Linux 3.13.0-5-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True
dmi.bios.date: 07/02/2012
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: 6.00
dmi.board.name: 440BX Desktop Reference Platform
dmi.board.vendor: Intel Corporation
dmi.board.version: None
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 1
dmi.chassis.vendor: No Enclosure
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvr6.00:bd07/02/2012:svnVMware,Inc.:pnVMwareVirtualPlatform:pvrNone:rvnIntelCorporation:rn440BXDesktopReferencePlatform:rvrNone:cvnNoEnclosure:ct1:cvrN/A:
dmi.product.name: VMware Virtual Platform
dmi.product.version: None
dmi.sys.vendor: VMware, Inc.

Revision history for this message
Phillip Susi (psusi) wrote :

Wrong package.

affects: ubiquity (Ubuntu) → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : 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
Revision history for this message
Konstantin Serebryany (konstantin-s-serebryany) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected trusty
description: updated
Revision history for this message
Konstantin Serebryany (konstantin-s-serebryany) wrote : BootDmesg.txt

apport information

Revision history for this message
Konstantin Serebryany (konstantin-s-serebryany) wrote : CRDA.txt

apport information

Revision history for this message
Konstantin Serebryany (konstantin-s-serebryany) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Konstantin Serebryany (konstantin-s-serebryany) wrote : Lspci.txt

apport information

Revision history for this message
Konstantin Serebryany (konstantin-s-serebryany) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Konstantin Serebryany (konstantin-s-serebryany) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Konstantin Serebryany (konstantin-s-serebryany) wrote : ProcModules.txt

apport information

Revision history for this message
Konstantin Serebryany (konstantin-s-serebryany) wrote : UdevDb.txt

apport information

Revision history for this message
Konstantin Serebryany (konstantin-s-serebryany) wrote : UdevLog.txt

apport information

Revision history for this message
Konstantin Serebryany (konstantin-s-serebryany) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Tim Gardner (timg-tpi)
Changed in linux (Ubuntu Trusty):
assignee: nobody → Tim Gardner (timg-tpi)
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 3.13.0-7.25

---------------
linux (3.13.0-7.25) trusty; urgency=low

  [ Andy Whitcroft ]

  * Revert "SAUCE: fix fmd headers"
  * SAUCE: fix fmd headers
 -- Andy Whitcroft <email address hidden> Tue, 04 Feb 2014 09:36:09 +0000

Changed in linux (Ubuntu Trusty):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.