It's definitely not a case of the tnc being disconnected, I can log in as root, start jnos in the background and log out, and then ssh to the linux box from another machine.  JNOS is still running, I can log in via the tunnel interface and connect to another packet bbs but the cpu is getting hammered.  <div>
<br></div><div>I had another problem with the TNC acting like it had a flow control problem, it was squashing packets like the tnc was having an input buffer overrun.  I never did get that working right, but I found a work-around.  I think I have that fixed by configuring the TNC with a kernel ax.25 interface and then using that interface in jnos with a baycom attach.  That also seems to work fine, but a headless binary still consumes all cpu with otherwise the same config.  </div>
<div><br></div><div>I've also tried it with a soundcard modem and it works fine, but I haven't tried the headless binary with it.  </div><div><br></div><div>It's just weird.  It's not really a show stopper for me, but I thought Maiko should know about it.  I emailed him today about it, he runs Slackware himself so he's going to test it.  </div>
<div><br></div><div>Having said all that, as a new ham and being new to JNOS and packet it's still a nice piece of software.  </div><div><br></div><div>thanx,</div><div>harry<br><br></div><div><br></div><div><br><div class="gmail_quote">
On Mon, Mar 21, 2011 at 8:11 PM, George [ham] VerDuin <span dir="ltr"><<a href="mailto:k8rra@ameritech.net">k8rra@ameritech.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi harry.<div class="im"><br>
<br>
On 03/21/2011 07:29 PM, Harry Stone wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
When I compile JNOS with headless defined, it compiles fine and also runs fine until I start it and then log out of the machine.  After I log out, JNOS consumes 100% of cpu.  It seems like it still runs fine, although the machine is bogged down.<br>

</blockquote></div>
I've not tried " define headless" since I like the option to connect/disconnect from the sysop console using screen to keep the I/O path alive.  For me, the "@" access to sysop functions is second best.  However I too have seen 100% just as you describe.  In my case I can demonstrate that some time after unplugging the TNC from the host, that the CPU does saturate.  Yes -- other responses continue OK / perhaps a little delayed.<br>

<br>
I've not determined where the infinite loop is, perhaps I should to make a stab at fixing the issue.  I *suspect* the issue for you is the same, and it is related to some buffer that will no longer empty to the device it is supposed to be driving.  Because the sysop console is very active I suspect the time to fill it up is shorter than my ttySx device, and worse > the headless option should stop filling the buffer.  And of course this paragraph is a WAG on my part. You should know that others on this reflector have reported "no saturation", even after disabling the TNC.<div class="im">
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Is there a #define I can change in the config header to make it spit out some debug info?  Please let me know if there's anything I can do to help troubleshoot this.<br>
</blockquote></div>
The gdb seems to be the preferred tool.  The standard jnos delivery includes whatever gdb needs for hooks and references.  They can be stripped out after you are happy if you need to save object module bytes.<br>
<br>
Best of luck<br>
Skip<div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
nos-bbs mailing list<br>
<a href="mailto:nos-bbs@tapr.org" target="_blank">nos-bbs@tapr.org</a><br>
<a href="https://www.tapr.org/cgi-bin/mailman/listinfo/nos-bbs" target="_blank">https://www.tapr.org/cgi-bin/mailman/listinfo/nos-bbs</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Have old memories and young hopes.<br>
</div>