<div dir="ltr">looks like the duplication is due to using the serial console define if I remove it and rebuild it goes away<div><br></div><div>in kvm/sebios the bios output routine write to the serial console too hence the duplication.</div>

<div><br></div><div>how do I build one ipxe.pxe that will work with kvm vm and serial on hardware?</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 22 April 2014 16:13, Peter Pickford <span dir="ltr"><<a href="mailto:peter@netremedies.ca" target="_blank">peter@netremedies.ca</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Just done a git pull and rebuild</div><div><br></div><div>no patches only </div><div><div>#define       CONSOLE_SERIAL</div>

</div><div>in config/local/console.h</div><div><br></div>This is what I get on kvm with serial console<div>
<br></div><div><a href="http://pastie.org/9101958" target="_blank">http://pastie.org/9101958</a><br></div><div><br></div><div>virt-manager was use on the client side</div><div><div>[peter@intel-ion ~]$ pacman -Q virt-manager libvirt</div>


<div>virt-manager 1.0.1-1</div><div>libvirt 1.2.3-4</div></div><div>on server</div><div><div>[root@station30 ~]# rpm -qa qemu-kvm qemu-img gpxe-roms-qemu libvirt</div><div>qemu-kvm-0.12.1.2-2.415.el6_5.8.x86_64</div><div>


gpxe-roms-qemu-0.9.7-6.10.el6.noarch</div><div>qemu-img-0.12.1.2-2.415.el6_5.8.x86_64</div><div>libvirt-0.10.2-29.el6_5.7.x86_64</div></div><div><br></div><div><br></div><div>vm has no video drivers and uses controller virtio  serial and serial 1 as primary console</div>


<div><br></div><div>ipxe is loaded via gpxe from tftp ipxe.pxe</div><div><br></div><div>as you can see double chars</div><div><br></div><div>holding down a yes has about a second pause between groups of chars being output (2-4 at a time)</div>


<div><br></div><div>arrow keys are somewhat working but unreliable</div><div><br></div><div>typing aaaaaaaaaa then backarrowing by holding down the arrow key gets</div><div><div>iiPPXXEE>>  aaaaaaaaaaaaaaaaaaDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDaa</div>


</div><div><br></div><div><br></div><div>Thanks</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Peter</div></font></span></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">

On 22 April 2014 15:24, Ben Hildred <span dir="ltr"><<a href="mailto:42656e@gmail.com" target="_blank">42656e@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">OK, I have an intel box on the bench and loaded ipxe that was compiled with both serial and video consoles, and note behaviors<div>


<div><br></div></div><div>starting with my current version:</div><div><br></div>
<div>show version reorts:</div><div><div>builtin/version:string = 1.0.0+ (2d6d)</div></div><div>there are some patches applied to the local version </div><div><br></div><div>echo ${esc:string}[2J  clears the screen both vga and serial, but on the serial it leaves the prompt on the second line (due to trailing newline) and on vga it leaves the prompt on the bottom of the screen. fast white on black.<br>



</div><div><br></div><div>the login screen is color on vga; no color, some bold on serial does not draw background so fast.</div><div><br></div><div>config and menu are color on vga; no color some bold on serial and draw the background on both so slow,</div>



<div><br></div><div>arrow keys and paste from serial do not work as documented.</div><div><br></div><div>Now grabbing and merging today's git:</div><div><div>From git://<a href="http://git.ipxe.org/ipxe" target="_blank">git.ipxe.org/ipxe</a></div>



<div>   93acb5d..d644ad4  master     -> origin/master</div></div><div><br></div><div>show version now reports:</div><div>builtin/version:string = 1.0.0+ (e97ca)<br></div><div><br></div><div>Arrow keys now work, but paste only partialy works upto 16 characters are ok then garbage. </div>



<div>All other behavior unchanged.</div><div><br></div><div>and  just for completeness, recompiling with today's master:</div><div><div>builtin/version:string = 1.0.0+ (d644a)</div></div><div>no other changes, all tests repeated.</div>



<div><br></div></div><div class="gmail_extra"><div><br><br><div class="gmail_quote">On Tue, Apr 22, 2014 at 11:41 AM, Michael Brown <span dir="ltr"><<a href="mailto:mcb30@ipxe.org" target="_blank">mcb30@ipxe.org</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 22/04/14 18:07, Ben Hildred wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
yep, the machine I have been testing on does not have bios serial<br>
support, and when serial console is compiled in you can watch the cursor<br>
flicker over every character on the screen when changing menus, on both<br>
the serial port and vga. by the way the background is blue. This does<br>
not seem to affect the shell, just the menus.<br>
</blockquote>
<br></div>
Over every character including the empty spaces, or just every non-space character?<br>
<br>
If it's just the non-space characters then that's expected: the output will limit itself to your serial port baud rate and you would need to use a faster baud rate to minimise the visible effects.<br>
<br>
If it's every character including the spaces, then please try the following:<br>
<br>
  set esc:hex 1b<br>
  echo ${esc:string}[2J<br>
  show version<span><font color="#888888"><br>
<br>
Michael<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div></div><div>-- <br><div>--</div><div><div>Ben Hildred</div><div>Automation Support Services</div></div><div><a href="tel:303%20815%206721" value="+13038156721" target="_blank">303 815 6721</a></div>



</div></div>
<br></div></div><div class="">_______________________________________________<br>
ipxe-devel mailing list<br>
<a href="mailto:ipxe-devel@lists.ipxe.org" target="_blank">ipxe-devel@lists.ipxe.org</a><br>
<a href="https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel" target="_blank">https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel</a><br>
<br></div></blockquote></div><br></div>
</blockquote></div><br></div>