{"action":"created","issue":{"url":"https://api.github.com/repos/SoftRoCE/rxe-dev/issues/45","repository_url":"https://api.github.com/repos/SoftRoCE/rxe-dev","labels_url":"https://api.github.com/repos/SoftRoCE/rxe-dev/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/SoftRoCE/rxe-dev/issues/45/comments","events_url":"https://api.github.com/repos/SoftRoCE/rxe-dev/issues/45/events","html_url":"https://github.com/SoftRoCE/rxe-dev/issues/45","id":132064207,"number":45,"title":"error while running \"rxe_cfg start\"","user":{"login":"sadar","id":6274660,"avatar_url":"https://avatars.githubusercontent.com/u/6274660?v=3","gravatar_id":"","url":"https://api.github.com/users/sadar","html_url":"https://github.com/sadar","followers_url":"https://api.github.com/users/sadar/followers","following_url":"https://api.github.com/users/sadar/following{/other_user}","gists_url":"https://api.github.com/users/sadar/gists{/gist_id}","starred_url":"https://api.github.com/users/sadar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sadar/subscriptions","organizations_url":"https://api.github.com/users/sadar/orgs","repos_url":"https://api.github.com/users/sadar/repos","events_url":"https://api.github.com/users/sadar/events{/privacy}","received_events_url":"https://api.github.com/users/sadar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-08T06:28:09Z","updated_at":"2016-02-16T11:43:35Z","closed_at":null,"body":"root@gl8:/home/gl8/Desktop/nvme_softroce/librxe-dev# rxe_cfg start\r\nmkdir: cannot create directory `/sys/kernel/config/rdma_cm': Operation not permitted\r\ntee: /sys/kernel/config/rdma_cm/rxe0/default_roce_mode: No such file or directory\r\nIBOE V2\r\nUse of uninitialized value within %eth_driver in string at /bin/rxe_cfg line 361.\r\n  Name  Link  Driver  Speed  NMTU  IPv4_addr  RDEV  RMTU          \r\n  eth0                       1500             rxe0  1024  (3) "},"comment":{"url":"https://api.github.com/repos/SoftRoCE/rxe-dev/issues/comments/184649183","html_url":"https://github.com/SoftRoCE/rxe-dev/issues/45#issuecomment-184649183","issue_url":"https://api.github.com/repos/SoftRoCE/rxe-dev/issues/45","id":184649183,"user":{"login":"psebexen","id":10945789,"avatar_url":"https://avatars.githubusercontent.com/u/10945789?v=3","gravatar_id":"","url":"https://api.github.com/users/psebexen","html_url":"https://github.com/psebexen","followers_url":"https://api.github.com/users/psebexen/followers","following_url":"https://api.github.com/users/psebexen/following{/other_user}","gists_url":"https://api.github.com/users/psebexen/gists{/gist_id}","starred_url":"https://api.github.com/users/psebexen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psebexen/subscriptions","organizations_url":"https://api.github.com/users/psebexen/orgs","repos_url":"https://api.github.com/users/psebexen/repos","events_url":"https://api.github.com/users/psebexen/events{/privacy}","received_events_url":"https://api.github.com/users/psebexen/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T11:43:35Z","updated_at":"2016-02-16T11:43:35Z","body":"The first message ('mkdir: ...') indicates the most likely problem. The script expects that configfs is mounted (this can be done manually with `mount -t configfs none /sys/kernel/config` assuming the kernel was built with appropriate support).\r\nIf the error still occurs, there might be some issue with permissions. You can try executing the same command as the script to see if the directory can be created at all: `mkdir -p /sys/kernel/config/rdma_cm/rxe0`.\r\n\r\nThe next message ('tee: ... No such file') should be resolved at the same time; this is caused by the script trying to write a value to the 'default_roce_mode' file in the device's configfs directory (you can run the same command manually with `echo IBOE V2 | tee /sys/kernel/config/rdma_cm/$rxed/default_roce_mode`).\r\n\r\nThe third message is unresolved to my knowledge, but is a minor issue. This is just an error in parsing the output text in ethtool (I assume this was originally compatible with an older version of the utility) that should not affect function.\r\n\r\nIf the issue persists, it might also help if you share the contents of `/etc/udev/rules.d/10-local-ib.rules` or any ib- or roce- related files in that directory."}}