Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171638 - dev-util/oprofile: daemon fails to start on amd64
Summary: dev-util/oprofile: daemon fails to start on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL: http://lkml.org/lkml/2007/3/1/111
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-21 02:45 UTC by Duane Griffin
Modified: 2007-03-31 17:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
counter-dir-bugfix (oprofile-0.9.2-amd64.patch,2.11 KB, patch)
2007-03-21 02:54 UTC, Duane Griffin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Duane Griffin 2007-03-21 02:45:13 UTC
oprofile fails to start on amd64 running vanilla 2.6.20.2 kernel:

> uname -a
Linux calliope 2.6.20.2 #1 Sun Mar 11 16:00:33 GMT 2007 x86_64 AMD Sempron(tm) Processor 3000+ AuthenticAMD GNU/Linux

> sudo opcontrol --start
Using default event: CPU_CLK_UNHALTED:100000:0:1:1
/usr/bin/opcontrol: line 994: /dev/oprofile/0/enabled: No such file or directory
/usr/bin/opcontrol: line 994: /dev/oprofile/0/event: No such file or directory
/usr/bin/opcontrol: line 994: /dev/oprofile/0/count: No such file or directory
/usr/bin/opcontrol: line 994: /dev/oprofile/0/kernel: No such file or directory
/usr/bin/opcontrol: line 994: /dev/oprofile/0/user: No such file or directory
/usr/bin/opcontrol: line 994: /dev/oprofile/0/unit_mask: No such file or directory

Will attach patch against 0.9.2 based on one from LKML thread given in URL.


Reproducible: Always

Steps to Reproduce:
start oprofile 0.9.2 on amd64
Comment 1 Duane Griffin 2007-03-21 02:54:01 UTC
Created attachment 113943 [details, diff]
counter-dir-bugfix

Patch against 0.9.2 based on one from: http://lkml.org/lkml/2007/3/1/149

Basic testing (opcontrol --start works, brief eyeball of reports) on x86 and amd64
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2007-03-31 17:30:28 UTC
Fixed in CVS. Thanks for the patch.