perf script should suggest the package containing the right perf binary

Bug #570500 reported by Martin Pool on 2010-04-27
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Low
Lee Jones
Lucid
Low
Lee Jones
Maverick
Low
Lee Jones

Bug Description

If you install linux-tools-common onto a standard Lucid install and then run 'perf' you just get a 'file not found' error when it tries to run the per-kernel-version perf binary. You then need to install something like linux-tools-2.6.32-21. It would be nice if either:

1- if this binary can't be found, it suggested that you install it
2- at the packaging level linux-tools-common recommended the linux-tools for your current kernel (seems messy)

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-tools-common 2.6.32-21.32
Regression: No
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
   Subdevices: 2/2
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: mbp 3851 F.... pulseaudio
 /dev/snd/pcmC0D0p: mbp 3851 F...m pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfe020000 irq 17'
   Mixer name : 'Analog Devices AD1984'
   Components : 'HDA:11d41984,17aa20d6,00100400'
   Controls : 30
   Simple ctrls : 19
Card29.Amixer.info:
 Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7MHT24WW-1.02'
   Mixer name : 'ThinkPad EC 7MHT24WW-1.02'
   Components : ''
   Controls : 1
   Simple ctrls : 1
Card29.Amixer.values:
 Simple mixer control 'Console',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Date: Tue Apr 27 11:25:47 2010
Dependencies:

MachineType: LENOVO 76697DM
PackageArchitecture: all
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.32-21-generic root=/dev/mapper/hostname_ssd-root ro vga=792 rootdelay=10 quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_AU.UTF-8
 SHELL=/bin/zsh
RelatedPackageVersions: linux-firmware 1.34
SourcePackage: linux
dmi.bios.date: 09/19/2007
dmi.bios.vendor: LENOVO
dmi.bios.version: 7NET27WW (1.08 )
dmi.board.name: 76697DM
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7NET27WW(1.08):bd09/19/2007:svnLENOVO:pn76697DM:pvrThinkPadX61s:rvnLENOVO:rn76697DM:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 76697DM
dmi.product.version: ThinkPad X61s
dmi.sys.vendor: LENOVO

Martin Pool (mbp) wrote :
Martin Pool (mbp) wrote :

This should fix it

Changed in linux (Ubuntu):
status: New → In Progress
Martin Pool (mbp) wrote :

sorry, here's the correct patch

Lorenzo De Liso (blackz) on 2010-04-27
tags: added: patch
Lee Jones (lag) on 2010-05-24
Changed in linux (Ubuntu):
assignee: nobody → Lee Jones (lag)
importance: Undecided → Low
Tim Gardner (timg-tpi) on 2010-05-26
Changed in linux (Ubuntu Lucid):
status: New → In Progress
assignee: nobody → Lee Jones (lag)
importance: Undecided → Low
milestone: none → lucid-updates
Changed in linux (Ubuntu Maverick):
milestone: none → maverick-alpha-2
Lee Jones (lag) on 2010-06-08
Changed in linux (Ubuntu Maverick):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 2.6.35-2.2

---------------
linux (2.6.35-2.2) maverick; urgency=low

  [ Andy Whitcroft ]

  * [Config] d-i: make armel configuration versatile flavour specific
    - LP: #588805
  * [Config] d-i: enable .udebs for omap flavour
    - LP: #588805

  [ Kees Cook ]

  * ptrace: limit scope to attach only (allow read)
    - LP: #589656

  [ Leann Ogasawara ]

  * rebase to v2.6.35-rc2
  * [Config] update configs following rebase to v2.6.35-rc2
  * [Config] update port configs following rebase to v2.6.35-rc2

  [ Lee Jones ]

  * Enable perf to be more helpful when perf_<version> does not exist.
    - LP: #570500
  * 'fdr editconfig' modification. Easily skip over unwanted menuconfigs.

  [ Tim Gardner ]

  * [Config] Update bnx2 udeb firmware files
    - LP: #589304

  [ Upstream changes ]

  * rebased to v2.6.35-rc2
 -- Leann Ogasawara <email address hidden> Mon, 07 Jun 2010 09:45:04 -0700

Changed in linux (Ubuntu Maverick):
status: Fix Committed → Fix Released
Stefan Bader (smb) wrote :

This will get included into Lucid by the backport of the build environment which is done to harmonize build infrastructure.

Changed in linux (Ubuntu Lucid):
status: In Progress → Fix Committed

Accepted linux into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Launchpad Janitor (janitor) wrote :
Download full text (25.2 KiB)

This bug was fixed in the package linux - 2.6.32-23.37

---------------
linux (2.6.32-23.37) lucid-proposed; urgency=low

  [ Alex Deucher ]

  * SAUCE: drm/radeon/kms/atom: fix dual-link DVI on DCE3.2/4.0
    - LP: #564559

  [ Andy Whitcroft ]

  * [Config] ports -- build in dm-mod to enable LVM boot
    - LP: #560717
  * tools -- fix perf version extraction for multi-part flavours
    - LP: #555130
  * SAUCE: ACPI: EC: Allow multibyte access to EC (v3)
    - LP: #526354
  * [Config] enforce -- ensure dm_mod is built-in for LVM
    - LP: #560717
  * update to ubuntu-debian:7e708d33054c373faf41da23b73e8b48c342d958
    - LP: #570500, #576274

  [ Chase Douglas ]

  * Revert "(pre-stable): input: ALPS - Add signature for HP Pavilion dm3
    laptops"
    - LP: #550625
  * Enable ftrace function profiler
    - LP: #570389
  * enforce CONFIG_TMPFS_POSIX_ACL=y
    - LP: #575940

  [ Leann Ogasawara ]

  * Revert "staging/comdi -- disable"
    - LP: #563436
  * [Config] Enable multicast routing for sparc
    - LP: #416266
  * [Config] Add ahci.ko to virtual sub-flavour
    - LP: #570542

  [ Stefan Bader ]

  * Revert "SAUCE: drm/i915: Disable FBC on 915GM and 945GM"
    - LP: #588832

  [ Tim Gardner ]

  * ubuntu: rtl8192se -- update to version 0015.0127.2010
    - LP: #567016
  * [Config] Add atl1c to nic-modules udeb
    - LP: #557130

  [ Upstream Kernel Changes ]

  * Revert "(pre-stable) iwlwifi: fix nfreed--"
    - LP: #575853
  * Revert "backlight: mbp_nvidia_bl - add five more MacBook variants"
    - LP: #575853
  * Revert "(pre-stable) pata_via: Add VIA VX900 support"
    - LP: #575853
  * Revert "(pre-stable) x86-32, resume: do a global tlb flush in S4
    resume"
    - LP: #575853
  * Revert "x86: disable IOMMUs on kernel crash"
    - LP: #575853
  * Revert "sunrpc: fix peername failed on closed listener"
    - LP: #575853
  * Revert "sunrpc: move the close processing after do recvfrom method"
    - LP: #575853
  * Revert "(pre-stable) drm/edid: allow certain bogus edids to hit a fixup
    path rather than fail"
    - LP: #575853
  * Revert "drm/radeon/kms: don't print error on -ERESTARTSYS."
    - LP: #575853
  * Revert "ath9k: fix lockdep warning when unloading module" on stable
    kernels
    - LP: #588832
  * Staging: comedi: removed "depricated" from COMEDI_CB_BLOCK
    - LP: #483343
  * fat: fix buffer overflow in vfat_create_shortname()
    - LP: #575853
  * xfs: simplify inode teardown
    - LP: #575853
  * xfs: fix mmap_sem/iolock inversion in xfs_free_eofblocks
    - LP: #575853
  * xfs: I/O completion handlers must use NOFS allocations
    - LP: #575853
  * xfs: Wrapped journal record corruption on read at recovery
    - LP: #575853
  * xfs: Fix error return for fallocate() on XFS
    - LP: #575853
  * xfs: check for not fully initialized inodes in xfs_ireclaim
    - LP: #575853
  * xfs: fix timestamp handling in xfs_setattr
    - LP: #575853
  * xfs: Don't flush stale inodes
    - LP: #575853
  * xfs: Ensure we force all busy extents in range to disk
    - LP: #575853
  * xfs: reclaim inodes under a write lock
    - LP: #575853
  * xfs: Avoid inodes in reclaim when flushing from inode cache
    - LP: #575853
  * xfs: recla...

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

Other bug subscribers