<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Debugging kernel: OS support not working for Linux 5.4</title><link>https://community.arm.com/developer/tools-software/tools/f/armds-forum/47635/debugging-kernel-os-support-not-working-for-linux-5-4</link><description> I&amp;#39;m trying to debug a nonresponsive device when using Linux 5.4-rt compared to 4.19-rt. However, after loading the symbols (add-symbol-file vmlinux), I get this error message: 
 WARNING(ROS60): Could not enable OS support as the OS does not appear to</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Debugging kernel: OS support not working for Linux 5.4</title><link>https://community.arm.com/thread/167525?ContentTypeID=1</link><pubDate>Thu, 17 Sep 2020 08:42:31 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a85febac-1fdb-4c30-bb84-bd113e4d0153</guid><dc:creator>sgoldschmidt</dc:creator><description>&lt;p&gt;Just for the record, here&amp;#39;s my output of &amp;quot;uname -a&amp;quot; (which is also in the support case):&lt;br /&gt;Linux panosdevice 5.4-rt-pf-socfpga-cyclone5 #1 SMP PREEMPT_RT Fri Sep 11 13:33:01 CEST 2020 armv7l GNU/Linux&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging kernel: OS support not working for Linux 5.4</title><link>https://community.arm.com/thread/167517?ContentTypeID=1</link><pubDate>Thu, 17 Sep 2020 04:54:48 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:63d293fc-319f-48c3-8810-236091000d30</guid><dc:creator>sgoldschmidt</dc:creator><description>&lt;p&gt;Hi Ronan,&lt;/p&gt;
&lt;p&gt;Thanks for the reply. I&amp;#39;ve opened &lt;span id="MessageLabel"&gt;&lt;a href="https://support.developer.arm.com/case-details/?id=6b80e47c-a0f8-ea11-b5d9-281878878f8d"&gt;CAS-178556-H2W9R3&lt;/a&gt;&lt;/span&gt; for this and attached my vmlinux, as requested.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging kernel: OS support not working for Linux 5.4</title><link>https://community.arm.com/thread/167515?ContentTypeID=1</link><pubDate>Thu, 17 Sep 2020 00:20:35 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:8197a8bb-b62d-478c-9a14-9dfeadf8b2a9</guid><dc:creator>Ronan Synnott</dc:creator><description>&lt;p&gt;Hi again Simon,&lt;/p&gt;
&lt;p&gt;We are investigating internally at Arm. In the meantime, would it be possible to let me know the output of &amp;#39;uname -r&amp;#39; from your target?&lt;/p&gt;
&lt;p&gt;It may also be useful if we can access your vmlinux file - would it be possible to share this? For security, it is probably best to create an &amp;#39;official&amp;#39; support case from the support menu above (please reference this community thread so we can track appropriately), and transfer the file that way.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Ronan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging kernel: OS support not working for Linux 5.4</title><link>https://community.arm.com/thread/167494?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2020 06:30:57 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c0fe1f3e-83ed-4986-8075-c6726048bd2a</guid><dc:creator>sgoldschmidt</dc:creator><description>&lt;p&gt;Yes, the debugger displays the symbols and call stack correctly. The kernel config should be ok. In fact, it&amp;#39;s the same config for both versions where 4.19 works but 5.4 doesn&amp;#39;t. It&amp;#39;s really only the OS awareness that isn&amp;#39;t working. And with that, I also cannot debug kernel modules.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve had the same problem with DS-5 from 2014, where 4.19 did not (yet?) work and I got the same error message.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging kernel: OS support not working for Linux 5.4</title><link>https://community.arm.com/thread/167490?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2020 01:22:11 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:53c54407-d408-44d5-998c-fc51e1fe5c3f</guid><dc:creator>Ronan Synnott</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;As a quick sanity check - has the new kernel been built for debug:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.arm.com/documentation/101470/2000/Debugging-Embedded-Systems/About-OS-awareness/About-debugging-a-Linux-kernel"&gt;https://developer.arm.com/documentation/101470/2000/Debugging-Embedded-Systems/About-OS-awareness/About-debugging-a-Linux-kernel&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Does the debugger display symbols correctly, just not the OS awareness?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>