<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:8pt"><br><div style="display: block;" class="yahoo_quoted"><font face="Arial" size="2">On Saturday, March 15, 2014 4:41 PM, "StompDagger1@yahoo.com" <stompdagger1@yahoo.com> wrote:<br> </font> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 8pt;"><div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;">  <div class="y_msg_container"><div id="yiv1789440508"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:8pt;"><br clear="none"><div class="yiv1789440508yqt6913788277" id="yiv1789440508yqtfd24221"><div class="yiv1789440508yahoo_quoted" style="display:block;"><font face="Arial"
 size="2">On Saturday, March 15, 2014 3:33 PM, Alex Deucher <alexdeucher@gmail.com> wrote:<br clear="none"> </font> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:8pt;"><div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;">  <div class="yiv1789440508y_msg_container">On Sat, Mar 15, 2014 at 4:34 AM, <a rel="nofollow" shape="rect" ymailto="mailto:StompDagger1@yahoo.com" target="_blank" href="mailto:StompDagger1@yahoo.com">StompDagger1@yahoo.com</a><br clear="none"><<a rel="nofollow" shape="rect" ymailto="mailto:stompdagger1@yahoo.com" target="_blank" href="mailto:stompdagger1@yahoo.com">stompdagger1@yahoo.com</a>> wrote:<br clear="none">> here is a simple test case that
 reproduces the issue on my machine:<br clear="none">> <a rel="nofollow" shape="rect" ymailto="mailto:dagg@NCC-5001-D" target="_blank" href="mailto:dagg@NCC-5001-D">dagg@NCC-5001-D</a> ~/workspace $ cat open_example.c<br clear="none">> #include <unistd.h><br clear="none">> #include <fcntl.h><br clear="none">> #include <stdio.h><br clear="none">> #include <errno.h><br clear="none">> #include <string.h><br clear="none">><br clear="none">> int main()<br clear="none">> {<br clear="none">>         char *param1 = "ok";<br clear="none">>         char *param2 = ".";<br clear="none">>         int filedesc = open("/dev/dri/card1", O_RDWR, 0);<br clear="none">>         if (filedesc) {<br clear="none">>                 param1 = "ERROR: ";<br clear="none">>   
          
    param2 = strerror(errno);<br clear="none">>         }<br clear="none">>         printf("fd = %d, status = %s%s\n", filedesc, param1, param2);<br clear="none">>         close(filedesc);<br clear="none">><br clear="none">>         return 0;<br clear="none">> }<a rel="nofollow" shape="rect" ymailto="mailto:dagg@NCC-5001-D" target="_blank" href="mailto:dagg@NCC-5001-D">dagg@NCC-5001-D</a> ~/workspace $ gcc open_example.c -o open_example &&<br clear="none">> ./open_example<br clear="none">> fd = -1, status = ERROR: Invalid argument<br clear="none">><br clear="none"><br clear="none">Does booting with radeon.runpm=0 on the kernel command line in grub<br clear="none">fix it?  If so, it should be fixed with these patches:<br clear="none"><a rel="nofollow" shape="rect" target="_blank"
 href="http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9babd35ad72af631547c7ca294bc2e931cc40e58">http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9babd35ad72af631547c7ca294bc2e931cc40e58</a><br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7848865914c6a63ead674f0f5604b77df7d3874f">http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7848865914c6a63ead674f0f5604b77df7d3874f</a><br clear="none"><br clear="none">Alex<br clear="none"><br clear="none">Greetings Alex, it work with radeon.runpm=0, I'll test the patches now and report back. </div>  </div> </div>  </div> </div></div></div></div><br><div class="yqt6913788277" id="yqtfd44042">combination of both patches (the first was existing already in 3,13,6) the gpus are working again.<br><br>Thanks!<br></div></div>  </div> </div>  </div>
 </div></body></html>