-
Notifications
You must be signed in to change notification settings - Fork 106
deploy check for pmu_name fails for alderlake cpus #173
Copy link
Copy link
Closed
Description
Here's my result of running make deploy:
TASK [intellabs.kafl.kernel : Checking that pmu_name is not broadwell] *********
fatal: [localhost]: FAILED! => changed=false
cmd:
- grep
- --invert-match
- broadwell
- /sys/devices/cpu/caps/pmu_name
delta: '0:00:00.001088'
end: '2023-03-02 11:22:22.906029'
failed_when_result: true
msg: non-zero return code
rc: 2
start: '2023-03-02 11:22:22.904941'
stderr: 'grep: /sys/devices/cpu/caps/pmu_name: No such file or directory'
stderr_lines: <omitted>
stdout: ''
stdout_lines: <omitted>
PLAY RECAP *********************************************************************
localhost : ok=3 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
make[1]: *** [Makefile:36: deploy] Error 2
make[1]: Leaving directory '/home/user/git/kAFL/deploy'
make: *** [Makefile:27: deploy] Error 2
In fact there are two paths:
/sys/devices/cpu_atom/caps/pmu_name
/sys/devices/cpu_core/caps/pmu_name
Both contain "alderlake_hybrid". The CPU is Core i9-13900K
Temporary workaround: delete respective check in the file deploy/intellabs/kafl/roles/kernel/tasks/pre_tasks.yml.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels