{"action":"created","issue":{"url":"https://api.github.com/repos/HSAFoundation/HSA-Drivers-Linux-AMD/issues/7","labels_url":"https://api.github.com/repos/HSAFoundation/HSA-Drivers-Linux-AMD/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/HSAFoundation/HSA-Drivers-Linux-AMD/issues/7/comments","events_url":"https://api.github.com/repos/HSAFoundation/HSA-Drivers-Linux-AMD/issues/7/events","html_url":"https://github.com/HSAFoundation/HSA-Drivers-Linux-AMD/issues/7","id":45089870,"number":7,"title":"perf tool will cause kernel panic at drm_kms_helper when used radeon_kfd module is enabled","user":{"login":"zpodlovics","id":8523206,"avatar_url":"https://avatars.githubusercontent.com/u/8523206?v=3","gravatar_id":"","url":"https://api.github.com/users/zpodlovics","html_url":"https://github.com/zpodlovics","followers_url":"https://api.github.com/users/zpodlovics/followers","following_url":"https://api.github.com/users/zpodlovics/following{/other_user}","gists_url":"https://api.github.com/users/zpodlovics/gists{/gist_id}","starred_url":"https://api.github.com/users/zpodlovics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zpodlovics/subscriptions","organizations_url":"https://api.github.com/users/zpodlovics/orgs","repos_url":"https://api.github.com/users/zpodlovics/repos","events_url":"https://api.github.com/users/zpodlovics/events{/privacy}","received_events_url":"https://api.github.com/users/zpodlovics/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HSAFoundation/HSA-Drivers-Linux-AMD/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"gabbayo","id":3902244,"avatar_url":"https://avatars.githubusercontent.com/u/3902244?v=3","gravatar_id":"","url":"https://api.github.com/users/gabbayo","html_url":"https://github.com/gabbayo","followers_url":"https://api.github.com/users/gabbayo/followers","following_url":"https://api.github.com/users/gabbayo/following{/other_user}","gists_url":"https://api.github.com/users/gabbayo/gists{/gist_id}","starred_url":"https://api.github.com/users/gabbayo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabbayo/subscriptions","organizations_url":"https://api.github.com/users/gabbayo/orgs","repos_url":"https://api.github.com/users/gabbayo/repos","events_url":"https://api.github.com/users/gabbayo/events{/privacy}","received_events_url":"https://api.github.com/users/gabbayo/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2014-10-07T10:06:54Z","updated_at":"2015-04-20T09:00:28Z","closed_at":"2015-04-20T09:00:28Z","body":"I have an ubuntu 14.04 x86_64 with the recent v0.9 kfd kernel (from the git repo). I have built the perf tool from source with the following steps:\r\n\r\n1) clone the mainline git repo and force checkout v3.14 sources\r\n2) patch the source with the following files http://people.freedesktop.org/~gabbayo/kfd-v0.9/0001-base-packaging.patch , http://people.freedesktop.org/~gabbayo/kfd-v0.9/0002-debian-changelog.patch , http://people.freedesktop.org/~gabbayo/kfd-v0.9/0003-configs-based-on-Ubuntu-3.13.0-8.27.patch , http://people.freedesktop.org/~gabbayo/kfd-v0.9/0004-kfd-changelog.patch\r\n\r\n3) cd tools/perf && make\r\n4) perf record /path/to/console_benchmark\r\n5) kernel panic\r\n\r\n![drm_kms_helper_crash_1024x768](https://cloud.githubusercontent.com/assets/8523206/4540600/5f46ece4-4e09-11e4-9718-a3682715ac22.jpg)\r\n\r\n\r\nWhen perf record is interrupted, it will result will be a bit different kernel panic:\r\n\r\n![drm_kms_helper_crash_interrupted_1024x768](https://cloud.githubusercontent.com/assets/8523206/4540604/68e42d98-4e09-11e4-913e-d17dc1558ae9.jpg)\r\n\r\nWhen the machine is booted with modprobe.blacklist=radeon_kfd the perf tool, including the perf record command are works fine.\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/HSAFoundation/HSA-Drivers-Linux-AMD/issues/comments/94398658","html_url":"https://github.com/HSAFoundation/HSA-Drivers-Linux-AMD/issues/7#issuecomment-94398658","issue_url":"https://api.github.com/repos/HSAFoundation/HSA-Drivers-Linux-AMD/issues/7","id":94398658,"user":{"login":"zpodlovics","id":8523206,"avatar_url":"https://avatars.githubusercontent.com/u/8523206?v=3","gravatar_id":"","url":"https://api.github.com/users/zpodlovics","html_url":"https://github.com/zpodlovics","followers_url":"https://api.github.com/users/zpodlovics/followers","following_url":"https://api.github.com/users/zpodlovics/following{/other_user}","gists_url":"https://api.github.com/users/zpodlovics/gists{/gist_id}","starred_url":"https://api.github.com/users/zpodlovics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zpodlovics/subscriptions","organizations_url":"https://api.github.com/users/zpodlovics/orgs","repos_url":"https://api.github.com/users/zpodlovics/repos","events_url":"https://api.github.com/users/zpodlovics/events{/privacy}","received_events_url":"https://api.github.com/users/zpodlovics/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T09:00:28Z","updated_at":"2015-04-20T09:00:28Z","body":"After a BIOS update to to 2102, 01/21/2015 and and kernel update to 3.19.0-031950-generic (kfd-1.2) the system works as expected. No kernel crash even with all day profiling. Thanks for your help, and keep up the good work!"}}