<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[tdevmon - segmentation fault]]></title><description><![CDATA[<p dir="auto">Hello.<br />
I am trying to use tdevmon, in a Raspberry PI4, with ArchArm linux.<br />
I followed the instructions detailed in the installation guide (they are great!), and I have no problem in build the kernel module. All was ok. Then I install the kernel module -all ok-. But when I tried to use the tdevmon.bin, then the <em>first try</em> give me a "segmentation fault" message, and then, doing the same again, it does not give the error message, but it seems that it is not working ok, as it does not capture any activity.</p>
<p dir="auto">I put some images showing it.<br />
<img src="/forum/assets/uploads/files/1670666469760-9e7651f9-7ef3-4c0b-ad85-d3f3f97c8f03-image.png" alt="9e7651f9-7ef3-4c0b-ad85-d3f3f97c8f03-image.png" class=" img-responsive img-markdown" width="1278" height="378" /><br />
<img src="/forum/assets/uploads/files/1670666516740-78cfb6b1-1a85-4c9a-a0bc-1b64b54313d4-image.png" alt="78cfb6b1-1a85-4c9a-a0bc-1b64b54313d4-image.png" class=" img-responsive img-markdown" width="867" height="50" /></p>
<p dir="auto">Likewise -and not unexpectedly- , if I then try to use "ioninja", I am able to start the capture, but it does not capture any communications<br />
<img src="/forum/assets/uploads/files/1670667594763-81cafc58-cde5-4550-b5ca-9c1a86f55ed4-image.png" alt="81cafc58-cde5-4550-b5ca-9c1a86f55ed4-image.png" class=" img-responsive img-markdown" width="925" height="233" /></p>
<p dir="auto">do you think I could do something?</p>
<p dir="auto">I take advantage of this message to:</p>
<ul>
<li>ask: once solved the issue... does tdevmon save the data in njlog format?</li>
<li>comment: well, as you see I like ArchArm... they seems to prefer the AArch64, and even for some boards, they no provide the 32 bits version... I do not know how much workload is, but if it not much, perhaps you could consider to release the Arm version also for 64 bit architecture (just the tarball)</li>
</ul>
<p dir="auto">Thank you! and regards</p>
]]></description><link>http://64.23.185.212/forum/topic/46/tdevmon-segmentation-fault</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 18:56:58 GMT</lastBuildDate><atom:link href="http://64.23.185.212/forum/topic/46.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 10 Dec 2022 10:24:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to tdevmon - segmentation fault on Thu, 30 Mar 2023 18:38:57 GMT]]></title><description><![CDATA[<p dir="auto">Hello Vladimir!,<br />
I was going to tell you that I had tried the tdevmon and everything went smoothly: it builds ok, I was able to install the kernel module and the program works perfectly capturing data from the serial device.<br />
And, then I found that you have already prepared the ioninja "main" program. I have quickly tried, and I found no problem <img src="http://64.23.185.212/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=miq4h6da9ug" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" title=":-)" alt="🙂" /><br />
Thank you very much!<br />
also, FYI, as I commented, I did this on a Rock64 plataform, with Arch Linux Arm. Eventually (soon), I will also tried it on a Raspberry. If I find any issue, I will tell you.<br />
Regards, and thank you again!</p>
]]></description><link>http://64.23.185.212/forum/post/328</link><guid isPermaLink="true">http://64.23.185.212/forum/post/328</guid><dc:creator><![CDATA[Jose Marro]]></dc:creator><pubDate>Thu, 30 Mar 2023 18:38:57 GMT</pubDate></item><item><title><![CDATA[Reply to tdevmon - segmentation fault on Thu, 30 Mar 2023 05:21:54 GMT]]></title><description><![CDATA[<p dir="auto">A new internal build of IO Ninja for Aarch64 is up:</p>
<p dir="auto"><a href="https://tibbo.com/downloads/archive/ioninja/.internal/prerelease/ioninja-5.3.1-b-linux-arm64.deb" rel="nofollow ugc">https://tibbo.com/downloads/archive/ioninja/.internal/prerelease/ioninja-5.3.1-b-linux-arm64.deb</a><br />
<a href="https://tibbo.com/downloads/archive/ioninja/.internal/prerelease/ioninja-5.3.1-b-linux-arm64.tar.xz" rel="nofollow ugc">https://tibbo.com/downloads/archive/ioninja/.internal/prerelease/ioninja-5.3.1-b-linux-arm64.tar.xz</a></p>
<p dir="auto">Tried it on the latest ArchLinux -- it's working now.</p>
<p dir="auto">Let me know if you notice any issues.</p>
]]></description><link>http://64.23.185.212/forum/post/327</link><guid isPermaLink="true">http://64.23.185.212/forum/post/327</guid><dc:creator><![CDATA[Vladimir]]></dc:creator><pubDate>Thu, 30 Mar 2023 05:21:54 GMT</pubDate></item><item><title><![CDATA[Reply to tdevmon - segmentation fault on Tue, 28 Mar 2023 08:05:41 GMT]]></title><description><![CDATA[<p dir="auto"><code>tdevmon</code> should now build and work on new Aarch64 kernels -- with or without huge page support (ArchLinux kernel is built with it, Raspbian -- without).</p>
<p dir="auto">Please try it and let me know:</p>
<p dir="auto"><a href="https://tibbo.com/downloads/archive/tdevmon/tdevmon-3.3.11/tdevmon-3.3.11-linux-arm64.tar.xz" rel="nofollow ugc">https://tibbo.com/downloads/archive/tdevmon/tdevmon-3.3.11/tdevmon-3.3.11-linux-arm64.tar.xz</a></p>
<p dir="auto">Re <code>ioninja-hwc</code> -- I wouldn't expect issues on Aarch64; it's a simple console app that does no platform-specific trickery.</p>
]]></description><link>http://64.23.185.212/forum/post/323</link><guid isPermaLink="true">http://64.23.185.212/forum/post/323</guid><dc:creator><![CDATA[Vladimir]]></dc:creator><pubDate>Tue, 28 Mar 2023 08:05:41 GMT</pubDate></item><item><title><![CDATA[Reply to tdevmon - segmentation fault on Fri, 24 Mar 2023 13:14:56 GMT]]></title><description><![CDATA[<p dir="auto">Ok! Do not worry! In the mean time, if I need it, I would -with some care- use the ioninja-hwc as it seems to work well. If I found anything unexpected, I will let you know. Regards and thank you!</p>
]]></description><link>http://64.23.185.212/forum/post/312</link><guid isPermaLink="true">http://64.23.185.212/forum/post/312</guid><dc:creator><![CDATA[Jose Marro]]></dc:creator><pubDate>Fri, 24 Mar 2023 13:14:56 GMT</pubDate></item><item><title><![CDATA[Reply to tdevmon - segmentation fault on Thu, 23 Mar 2023 07:01:04 GMT]]></title><description><![CDATA[<p dir="auto">Hmm. Everything is working well on the fully updated Raspbian Aarch64; I installed ArchLinux ARM Aarch64 -- and everything fails there the same way you describe. Fixing the compilation error for <code>tdevmon</code> was easy, but that didn't quite cut it -- it looks like write protection removal needs extra polishing for the newer kernels.</p>
]]></description><link>http://64.23.185.212/forum/post/311</link><guid isPermaLink="true">http://64.23.185.212/forum/post/311</guid><dc:creator><![CDATA[Vladimir]]></dc:creator><pubDate>Thu, 23 Mar 2023 07:01:04 GMT</pubDate></item><item><title><![CDATA[Reply to tdevmon - segmentation fault on Mon, 20 Mar 2023 14:38:49 GMT]]></title><description><![CDATA[<p dir="auto">Hello Vladimir,<br />
I've done a quick tests.<br />
<strong>ioninja-hwc</strong>: I have tested it with a (1) serial-tap, and it worked ok.<br />
<strong>tdevmon</strong>: I found one error compiling the kernel module. It gave a "incompatible-pointer-type" error. The same kind we saw before, in this same email chain, perhaps it is something related.</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1679322445905-clipboard-3.png" alt="Clipboard 3.png" class=" img-responsive img-markdown" width="1621" height="365" /></p>
<p dir="auto">(I've checked that the linux-headers and the kernel version match)<br />
<img src="/forum/assets/uploads/files/1679322777519-clipboard-4.png" alt="Clipboard 4.png" class=" img-responsive img-markdown" width="1362" height="464" /></p>
<p dir="auto">Just fyi, also I tried the "GUI" ioninja, and it gave me an error when "JITting", e.g., going to use the "serial tap" plug-in... but perhaps it is normal and expected, as we have just been talking about the "ioninja-hwc" (and "tdevmon")</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1679322619110-clipboard-1.png" alt="Clipboard 1.png" class=" img-responsive img-markdown" width="1007" height="793" /><br />
<img src="/forum/assets/uploads/files/1679322630709-clipboard-2.png" alt="Clipboard 2.png" class=" img-responsive img-markdown" width="1008" height="796" /></p>
<p dir="auto">Regards!</p>
]]></description><link>http://64.23.185.212/forum/post/309</link><guid isPermaLink="true">http://64.23.185.212/forum/post/309</guid><dc:creator><![CDATA[Jose Marro]]></dc:creator><pubDate>Mon, 20 Mar 2023 14:38:49 GMT</pubDate></item><item><title><![CDATA[Reply to tdevmon - segmentation fault on Sun, 19 Mar 2023 13:02:11 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://tibbo.com/downloads/archive/ioninja/.internal/ioninja-5.3.1-a-linux-arm64.deb" rel="nofollow ugc">https://tibbo.com/downloads/archive/ioninja/.internal/ioninja-5.3.1-a-linux-arm64.deb</a><br />
<a href="https://tibbo.com/downloads/archive/ioninja/.internal/ioninja-5.3.1-a-linux-arm64.tar.xz" rel="nofollow ugc">https://tibbo.com/downloads/archive/ioninja/.internal/ioninja-5.3.1-a-linux-arm64.tar.xz</a><br />
<a href="https://tibbo.com/downloads/archive/tdevmon/.internal/tdevmon-3.3.11-linux-arm64.tar.xz" rel="nofollow ugc">https://tibbo.com/downloads/archive/tdevmon/.internal/tdevmon-3.3.11-linux-arm64.tar.xz</a></p>
<p dir="auto">Let me know if these work for you!</p>
]]></description><link>http://64.23.185.212/forum/post/306</link><guid isPermaLink="true">http://64.23.185.212/forum/post/306</guid><dc:creator><![CDATA[Vladimir]]></dc:creator><pubDate>Sun, 19 Mar 2023 13:02:11 GMT</pubDate></item><item><title><![CDATA[Reply to tdevmon - segmentation fault on Sat, 18 Mar 2023 08:18:43 GMT]]></title><description><![CDATA[<p dir="auto">Hello Vladimir!<br />
Thank you! Of course, I will be glad to test them!<br />
For me, it is more important the <em>ioninja-hwc</em>, as what I want to do is deploy a device with a serial tap attached to it.<br />
Regards</p>
]]></description><link>http://64.23.185.212/forum/post/302</link><guid isPermaLink="true">http://64.23.185.212/forum/post/302</guid><dc:creator><![CDATA[Jose Marro]]></dc:creator><pubDate>Sat, 18 Mar 2023 08:18:43 GMT</pubDate></item><item><title><![CDATA[Reply to tdevmon - segmentation fault on Fri, 17 Mar 2023 10:59:31 GMT]]></title><description><![CDATA[<p dir="auto">Hello again Jose!</p>
<p dir="auto">It took me a while to address the write protection removal issue on aarch64, but I finally got <code>tdevmon</code> working on aarch64; there's also an experimental build of IO Ninja for aarch64. Would you be willing to test those? Which is the most important module for you, <code>ioninja-hwc</code> or <code>tdevmon</code>?</p>
]]></description><link>http://64.23.185.212/forum/post/299</link><guid isPermaLink="true">http://64.23.185.212/forum/post/299</guid><dc:creator><![CDATA[Vladimir]]></dc:creator><pubDate>Fri, 17 Mar 2023 10:59:31 GMT</pubDate></item><item><title><![CDATA[Reply to tdevmon - segmentation fault on Mon, 06 Mar 2023 14:33:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://64.23.185.212/forum/uid/2">@vladimir</a> <img src="http://64.23.185.212/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44d.png?v=miq4h6da9ug" class="not-responsive emoji emoji-android emoji--+1" title=":+1:" alt="👍" /> thank you!</p>
]]></description><link>http://64.23.185.212/forum/post/256</link><guid isPermaLink="true">http://64.23.185.212/forum/post/256</guid><dc:creator><![CDATA[Jose Marro]]></dc:creator><pubDate>Mon, 06 Mar 2023 14:33:29 GMT</pubDate></item><item><title><![CDATA[Reply to tdevmon - segmentation fault on Mon, 06 Mar 2023 09:46:01 GMT]]></title><description><![CDATA[<p dir="auto">Understood. We will try to add Aarch64 builds in the near future.</p>
]]></description><link>http://64.23.185.212/forum/post/250</link><guid isPermaLink="true">http://64.23.185.212/forum/post/250</guid><dc:creator><![CDATA[Vladimir]]></dc:creator><pubDate>Mon, 06 Mar 2023 09:46:01 GMT</pubDate></item><item><title><![CDATA[Reply to tdevmon - segmentation fault on Fri, 03 Mar 2023 16:50:11 GMT]]></title><description><![CDATA[<p dir="auto">ops... when I wrote "SO" I meant "OS" ("linux")... I'm a bit dyslexic (and I my language so it goes this acronym), and I did it really quickly</p>
]]></description><link>http://64.23.185.212/forum/post/245</link><guid isPermaLink="true">http://64.23.185.212/forum/post/245</guid><dc:creator><![CDATA[Jose Marro]]></dc:creator><pubDate>Fri, 03 Mar 2023 16:50:11 GMT</pubDate></item><item><title><![CDATA[Reply to tdevmon - segmentation fault on Fri, 03 Mar 2023 10:39:38 GMT]]></title><description><![CDATA[<p dir="auto">Hello Vladimir,<br />
The problem is that it seems that it is not possible to run the 32 bit version on the box if the linux version is 64 bits.<br />
For example, the Arch Arm SO for Raspberry 4 is available in 32 and 64 bits. So I could run ioninja-hwc if the SO is the 32 bits version, but it does not run in the 64 bit SO version. The problem is that for other boxes (eg, I am testing a Rock64) there is only available the 64 bits version of ArchArmLinux SO... An it seems that it is difficult to find 32 bits SO for ARMv8 plataforms. I tried to find an alternative to ArchArm for this Rock64 SBC, and look into AOSC and Armbian, but I think that they are also 64 bits versions.<br />
The reason I am using a Rock64 is basically availability, I tried to find Raspberries, but they are out of stock.<br />
Regards!</p>
]]></description><link>http://64.23.185.212/forum/post/243</link><guid isPermaLink="true">http://64.23.185.212/forum/post/243</guid><dc:creator><![CDATA[Jose Marro]]></dc:creator><pubDate>Fri, 03 Mar 2023 10:39:38 GMT</pubDate></item><item><title><![CDATA[Reply to tdevmon - segmentation fault on Wed, 01 Mar 2023 10:53:41 GMT]]></title><description><![CDATA[<p dir="auto">Hello Jose,</p>
<p dir="auto">Yes, ioninja-5.3.0 is out; it's quite a big release. Please try it and let me know what you think of the new form UI!</p>
<p dir="auto">As for Aarch64 builds --  yeah, we still don't have those, sorry. I remember @bob was working on porting <code>tdevmon</code> to Aarch64, and I extracted and prepared a repo for this project, but I didn't receive any pull requests since, so I guess it didn't quite work out <img src="http://64.23.185.212/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=miq4h6da9ug" class="not-responsive emoji emoji-android emoji--disappointed" title=":(" alt="😞" /></p>
<p dir="auto">Making an Aarch64 build for <code>ioninja-hwc</code> should be relatively easy. However, it should be possible to run an ARM build of <code>ioninja-hwc</code> on Aarch64 boxes directly, no?</p>
<p dir="auto">In any case, I guess, it's time for us to dedicate some actual efforts to the Aarch64 Linux builds of IO Ninja &amp; tdevmon <img src="http://64.23.185.212/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=miq4h6da9ug" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" title=":)" alt="🙂" /></p>
]]></description><link>http://64.23.185.212/forum/post/237</link><guid isPermaLink="true">http://64.23.185.212/forum/post/237</guid><dc:creator><![CDATA[Vladimir]]></dc:creator><pubDate>Wed, 01 Mar 2023 10:53:41 GMT</pubDate></item><item><title><![CDATA[Reply to tdevmon - segmentation fault on Fri, 24 Feb 2023 23:18:56 GMT]]></title><description><![CDATA[<p dir="auto">Sorry! I said "tdevmon", but what I need is the <em>ioninja-hwc</em> !!</p>
]]></description><link>http://64.23.185.212/forum/post/227</link><guid isPermaLink="true">http://64.23.185.212/forum/post/227</guid><dc:creator><![CDATA[Jose Marro]]></dc:creator><pubDate>Fri, 24 Feb 2023 23:18:56 GMT</pubDate></item><item><title><![CDATA[Reply to tdevmon - segmentation fault on Fri, 24 Feb 2023 21:10:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://64.23.185.212/forum/uid/2">@vladimir</a><br />
Hello! I saw that you just release a new version of ioninja, I am eager to try it. Thank you!<br />
... but (there is always a "but" <img src="http://64.23.185.212/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=miq4h6da9ug" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" title=":-)" alt="🙂" /> ) I saw that there is no the Aarch64 version. It would be very useful to me to have the Aarch64 version of "tdevmon" (as ASAP as possible). Could you be able to provide it, at least as "pre-release version"? It would be really useful!<br />
Regards!</p>
]]></description><link>http://64.23.185.212/forum/post/226</link><guid isPermaLink="true">http://64.23.185.212/forum/post/226</guid><dc:creator><![CDATA[Jose Marro]]></dc:creator><pubDate>Fri, 24 Feb 2023 21:10:01 GMT</pubDate></item><item><title><![CDATA[Reply to tdevmon - segmentation fault on Wed, 28 Dec 2022 15:18:54 GMT]]></title><description><![CDATA[<p dir="auto">Hello Vladimir,<br />
I can confirm that it works in my setup (at least until next kernel-mole shows up).<br />
Thank you and regards!</p>
]]></description><link>http://64.23.185.212/forum/post/184</link><guid isPermaLink="true">http://64.23.185.212/forum/post/184</guid><dc:creator><![CDATA[Jose Marro]]></dc:creator><pubDate>Wed, 28 Dec 2022 15:18:54 GMT</pubDate></item><item><title><![CDATA[Reply to tdevmon - segmentation fault on Wed, 28 Dec 2022 07:59:19 GMT]]></title><description><![CDATA[<p dir="auto">Hello Jose,</p>
<p dir="auto">Merry Christmas and Happy New Year to you, as well!</p>
<p dir="auto">I installed ArchLinux for ARM, and you were right. It does segfault over there -- while it doesn't on Raspbian with <em>nearly</em> the same kernel version.</p>
<p dir="auto">After an investigation it turned out that the difference is that the kernel for ArchLinux is built with <code>CONFIG_ARM_LPAE</code> (support for Large Physical Address Extension) while Raspbian kernel is built without one. I remember testing write protection removal on ARM LPAE kernels, but that was with a relatively old kernel. In recent kernels, a slight modification in PMD (Page Middle Directory) flags is required.</p>
<p dir="auto">Keeping the write protection removal code compatible with new Linux kernels is the whack-a-mole game. It works, then a new kernel comes out, and it stops compiling or working; you bring it up to speed, and it works again until the next breaking change in the kernel...</p>
<p dir="auto">Anyway, please try tdevmon-3.3.10 (<a href="https://tibbo.com/downloads/archive/tdevmon/tdevmon-3.3.10/tdevmon-3.3.10-linux-arm32.tar.xz" rel="nofollow ugc">https://tibbo.com/downloads/archive/tdevmon/tdevmon-3.3.10/tdevmon-3.3.10-linux-arm32.tar.xz</a>) and let me know if it works for you.</p>
]]></description><link>http://64.23.185.212/forum/post/183</link><guid isPermaLink="true">http://64.23.185.212/forum/post/183</guid><dc:creator><![CDATA[Vladimir]]></dc:creator><pubDate>Wed, 28 Dec 2022 07:59:19 GMT</pubDate></item><item><title><![CDATA[Reply to tdevmon - segmentation fault on Sat, 24 Dec 2022 10:50:16 GMT]]></title><description><![CDATA[<p dir="auto">Hello Vladimir!<br />
yes, I had had built the 3.3.9_a tdevmon.ko, and it also happens.</p>
<p dir="auto">I've tried the 3.3.8 and first I was not able to compile it<br />
<img src="/forum/assets/uploads/files/1671878745996-f931311a-6de0-4978-ac57-504da3912852-image.png" alt="f931311a-6de0-4978-ac57-504da3912852-image.png" class=" img-responsive img-markdown" width="1187" height="678" /></p>
<p dir="auto">I quickly look at lkmUtils.c, and I see there a difference between 3.3.8 and 3.3.9_a.<br />
<img src="/forum/assets/uploads/files/1671878661034-5760f5dc-841f-44a6-8b6a-db7950f84a0f-image.png" alt="5760f5dc-841f-44a6-8b6a-db7950f84a0f-image.png" class=" img-responsive img-markdown" width="1080" height="405" /><br />
I just copy this section from 3.3.9_a into 3.3.8, and then I could make it. But the when I run the tdevmon.bin (obviously, after installing the built module), I had got the same "Segmentation Fault" error. Hope it helps <img src="http://64.23.185.212/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=miq4h6da9ug" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" title=":-)" alt="🙂" /></p>
<p dir="auto">Regards... and have a Happy Xmas!<br />
Josep</p>
]]></description><link>http://64.23.185.212/forum/post/182</link><guid isPermaLink="true">http://64.23.185.212/forum/post/182</guid><dc:creator><![CDATA[Jose Marro]]></dc:creator><pubDate>Sat, 24 Dec 2022 10:50:16 GMT</pubDate></item><item><title><![CDATA[Reply to tdevmon - segmentation fault on Wed, 21 Dec 2022 05:38:55 GMT]]></title><description><![CDATA[<p dir="auto">Hello Jose,</p>
<p dir="auto">Just so that we are on the same page -- the segmentation fault happens in the kernel module, not in the app. So, after unpacking the 3.3.9-a patch, you need to rebuild the <code>tdevmon.ko</code> module from the updated sources -- not simply run the new <code>bin/tdevmon</code>.</p>
<p dir="auto">If a segmentation fault occurred earlier, you might be unable to unload  <code>tdevmon.ko</code>, so it's better to reboot to ensure the old module is gone.</p>
<p dir="auto">If the segmentation fault still occurs, could you please try v3.3.8 from the archive:</p>
<p dir="auto"><a href="https://tibbo.com/downloads/archive/tdevmon/" rel="nofollow ugc">https://tibbo.com/downloads/archive/tdevmon/</a></p>
<p dir="auto">The regression under suspicion was introduced in v3.3.9 (and -- presumably -- fixed in v3.3.9-a). If v3.3.8 still crashes, it might be for a completely unrelated reason. Once again, the important thing is to ensure you rebuild and reload <code>tdevmon.ko</code></p>
<p dir="auto">If the segmentation fault still occurs, I will investigate further. Originally, I tried it on Raspberry Pi 3 with the latest Raspbian with a modern Linux-5.15 kernel, and it worked; I might need to get the exact version of the kernel (maybe, even the exact distro).</p>
]]></description><link>http://64.23.185.212/forum/post/178</link><guid isPermaLink="true">http://64.23.185.212/forum/post/178</guid><dc:creator><![CDATA[Vladimir]]></dc:creator><pubDate>Wed, 21 Dec 2022 05:38:55 GMT</pubDate></item><item><title><![CDATA[Reply to tdevmon - segmentation fault on Tue, 20 Dec 2022 15:44:09 GMT]]></title><description><![CDATA[<p dir="auto">Hello Vladimir!<br />
sorry for the delay, I tried few day ago it but I would like to recheck.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://64.23.185.212/forum/uid/2">@vladimir</a> said in <a href="/forum/post/172">tdevmon - segmentation fault</a>:</p>
<blockquote>
<p dir="auto">Hello Jose,</p>
<p dir="auto">Finally, found some time to check the issue -- and guess what? Turns out, it was already solved before -- but the download link was reverted back to the previous version for some reason. In any case, please take the patched <a href="https://tibbo.com/downloads/archive/tdevmon/tdevmon-3.3.9/tdevmon-3.3.9-a-linux-arm32.tar.xz" rel="nofollow ugc">version v3.3.9-a</a> and try that one; it should work.</p>
</blockquote>
<p dir="auto">Well, I am sorry but I have to say that this patched version behaves to me exactly as the previous one, so I get the same "segmentation fault" error. If I could provide any other information that could be useful to you, please let me know.</p>
<p dir="auto">Regarding the njlog forma</p>
<blockquote>
<p dir="auto">Now, to your other questions.</p>
<blockquote>
<p dir="auto">does tdevmon save the data in njlog format?</p>
</blockquote>
<p dir="auto">No, it doesn't, but that's because it's not possible to do in the general case. Thing is, the format of IOCTL parameters is device-specific, so the job of decoding IOCTLs and writing proper <code>.njlog</code> records lies on a particular plugin (such as Serial Monitor, Pipe Monitor, Mailslot Monitor, the upcoming USB Monitor, etc). Yes, it's theoretically possible to emit a severely trimmed version of <code>.njlog</code> that would contain <code>read</code>-s and <code>write</code>-s only (which are universal), but that's a serious limitation, so I'm not really sure such a feature would be useful.</p>
</blockquote>
<p dir="auto">I get the point. A pity, but you are absolutely right.</p>
<blockquote>
<blockquote>
<p dir="auto">perhaps you could consider to release the Arm version also for 64 bit architecture (just the tarball)</p>
</blockquote>
<p dir="auto">Yes, that definitely can and should be done. As a matter of fact, just a day ago @bob suggested <a href="https://ioninja.com/forum/topic/22/tdevmon-on-mips-architecture/4" rel="nofollow ugc">porting tdevmon to AArch64</a> so we might get something in this department very soon.</p>
</blockquote>
<p dir="auto">Thank you!!<br />
Regards</p>
]]></description><link>http://64.23.185.212/forum/post/177</link><guid isPermaLink="true">http://64.23.185.212/forum/post/177</guid><dc:creator><![CDATA[Jose Marro]]></dc:creator><pubDate>Tue, 20 Dec 2022 15:44:09 GMT</pubDate></item><item><title><![CDATA[Reply to tdevmon - segmentation fault on Thu, 15 Dec 2022 07:00:58 GMT]]></title><description><![CDATA[<p dir="auto">Hello Jose,</p>
<p dir="auto">Finally, found some time to check the issue -- and guess what? Turns out, it was already solved before -- but the download link was reverted back to the previous version for some reason. In any case, please take the patched <a href="https://tibbo.com/downloads/archive/tdevmon/tdevmon-3.3.9/tdevmon-3.3.9-a-linux-arm32.tar.xz" rel="nofollow ugc">version v3.3.9-a</a> and try that one; it should work.</p>
<p dir="auto">Now, to your other questions.</p>
<blockquote>
<p dir="auto">does tdevmon save the data in njlog format?</p>
</blockquote>
<p dir="auto">No, it doesn't, but that's because it's not possible to do in the general case. Thing is, the format of IOCTL parameters is device-specific, so the job of decoding IOCTLs and writing proper <code>.njlog</code> records lies on a particular plugin (such as Serial Monitor, Pipe Monitor, Mailslot Monitor, the upcoming USB Monitor, etc). Yes, it's theoretically possible to emit a severely trimmed version of <code>.njlog</code> that would contain <code>read</code>-s and <code>write</code>-s only (which are universal), but that's a serious limitation, so I'm not really sure such a feature would be useful.</p>
<blockquote>
<p dir="auto">perhaps you could consider to release the Arm version also for 64 bit architecture (just the tarball)</p>
</blockquote>
<p dir="auto">Yes, that definitely can and should be done. As a matter of fact, just a day ago @bob suggested <a href="https://ioninja.com/forum/topic/22/tdevmon-on-mips-architecture/4" rel="nofollow ugc">porting tdevmon to AArch64</a> so we might get something in this department very soon.</p>
]]></description><link>http://64.23.185.212/forum/post/172</link><guid isPermaLink="true">http://64.23.185.212/forum/post/172</guid><dc:creator><![CDATA[Vladimir]]></dc:creator><pubDate>Thu, 15 Dec 2022 07:00:58 GMT</pubDate></item></channel></rss>