Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 171638

Summary: dev-util/oprofile: daemon fails to start on amd64
Product: Gentoo Linux Reporter: Duane Griffin <duaneg>
Component: New packagesAssignee: Michal Januszewski (RETIRED) <spock>
Status: RESOLVED FIXED    
Severity: normal CC: amd64
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: http://lkml.org/lkml/2007/3/1/111
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: counter-dir-bugfix

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.