← Back to team overview

kernel-packages team mailing list archive

[Bug 1257715] Re: linux-tools-common depends on old kernel versions for LTS point releases

 

** Changed in: linux (Ubuntu)
     Assignee: (unassigned) => Tim Gardner (timg-tpi)

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

Title:
  linux-tools-common depends on old kernel versions for LTS point
  releases

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  It looks like 12.04.2 uses kernel 3.5 line although `linux-tools-
  common` depends on kernel 3.2 line. In order to use `perf` tool it is
  always required to install the correct version manually which is
  broken when kernel updates.

  Steps to produce:

  1. Use a fresh 12.04.2 install
  2. Install linux-tools-common

      $ sudo apt-get install linux-tools-common
      ..

  3. Try to run perf tool and get the error:

      $ perf stat /bin/ls
      perf not found for kernel 3.5.0-44
      You may need to install linux-tools-3.5.0-44-generic

  (Optional workaround)

  4. Install the correct version manually:

      $ sudo apt-get install linux-tools-3.5.0-44
      ..
      $ perf stat /bin/ls
      .. (runs as expected)

  5. Update to the next kernel version when an update comes in
  6. Now the perf tool stops working and needs your attention to manually update to the next version:

      $ perf stat /bin/ls
      perf not found for kernel 3.5.0-45
      You may need to install linux-tools-3.5.0-45-generic

  7. Rinse and repeat

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: linux-tools-common 3.2.0-57.87
  ProcVersionSignature: Ubuntu 3.5.0-44.67~precise1-generic 3.5.7.25
  Uname: Linux 3.5.0-44-generic x86_64
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.25.
  ApportVersion: 2.0.1-0ubuntu17.6
  Architecture: amd64
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: PCH [HDA Intel PCH], device 0: ALC275 Analog [ALC275 Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  gokce      1872 F.... pulseaudio
   /dev/snd/pcmC0D0p:   gokce      1872 F...m pulseaudio
  Card0.Amixer.info:
   Card hw:0 'PCH'/'HDA Intel PCH at 0xf0600000 irq 49'
     Mixer name	: 'Intel CougarPoint HDMI'
     Components	: 'HDA:10ec0275,1028052e,00100008 HDA:80862805,80860101,00100000'
     Controls      : 26
     Simple ctrls  : 11
  Date: Wed Dec  4 14:29:48 2013
  Dependencies:
   
  HibernationDevice: RESUME=UUID=b3be5eef-dfaf-4ff8-a504-c9101501869e
  InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130213)
  MachineType: Dell Inc. Dell System XPS L321X
  MarkForUpload: True
  PackageArchitecture: all
  ProcEnviron:
   TERM=screen-256color
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-44-generic root=UUID=0229e932-fac9-46dc-9f2f-b0aa7470e044 ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.5.0-44-generic N/A
   linux-backports-modules-3.5.0-44-generic  N/A
   linux-firmware                            1.79.9
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 01/30/2012
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A02
  dmi.board.name: 085X6F
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.chassis.version: 0.1
  dmi.modalias: dmi:bvnDellInc.:bvrA02:bd01/30/2012:svnDellInc.:pnDellSystemXPSL321X:pvr:rvnDellInc.:rn085X6F:rvrA00:cvnDellInc.:ct8:cvr0.1:
  dmi.product.name: Dell System XPS L321X
  dmi.sys.vendor: Dell Inc.

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


References