freq-bench icon indicating copy to clipboard operation
freq-bench copied to clipboard

Issue with running the script

Open saurabhtangri opened this issue 3 years ago • 1 comments

Resolved and programmed event 'cpu_clk_unhalted.thread' to cpu/config=0x3c/ R1 UT1 ZT1 index: 0x1 pmc_width=0x30 offset=0x7fffffffffff time_enabled=0x124f4 time_running=0x124f4 rdtsc=0x156224e9bceac57 Resolved and programmed event 'inst_retired.any' to cpu/config=0xc0/ R1 UT1 ZT1 index: 0x40000001 pmc_width=0x30 offset=0x7fffffffffff time_enabled=0x119d time_running=0x119d rdtsc=0x156224e9bd6376b EventManager configured 2 events terminate called after throwing an instance of 'std::runtime_error' what(): MSR 408 read failed with error -2 scripts/data.sh: line 34: 18161 Aborted (core dumped) ./bench $test_name > "$TEMPDIR/temp.csv"

saurabhtangri avatar Jun 09 '22 17:06 saurabhtangri

@saurabhtangri thanks for the report.

This can occur if the msr kernel module isn't loaded.

Does the file /dev/cpu/0/msr exist?

What does lsmod | grep msr report?

You try modprobe msr and run it again.

travisdowns avatar Jun 23 '22 01:06 travisdowns