From owner-freebsd-stable@FreeBSD.ORG Mon Sep 13 11:36:02 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 889E6106564A for ; Mon, 13 Sep 2010 11:36:02 +0000 (UTC) (envelope-from dave.evans55@googlemail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 19D3B8FC19 for ; Mon, 13 Sep 2010 11:36:01 +0000 (UTC) Received: by wwb18 with SMTP id 18so7227591wwb.31 for ; Mon, 13 Sep 2010 04:36:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:x-enigmail-version:content-type :content-transfer-encoding; bh=RVrYex/C7GnQQTMqrioNFcrQDk4OIuWppoTBjfQe/i4=; b=j22lWLZyPcxHoJYB3Fcf0u/JWrNyUoH0kD2C1Il1IM3dRBMSkMQNAS89dYCqMDOWQX wQgZlramXxI98avJo0gSb9r8SQ024vfXPHxsyyCpAiiAcU1Sn+dhoTI3SbMKI/I7V2SC +3J7FPgr680gIzMXy/fZgsXCP9POIyRxSlI54= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; b=M9gCybRj3JGxh+e4Rjh7dsdoVCqpG6CYBV+Xc7+G+fJhXQ/2ZyjIHtefycoJrcvBO6 t9gd/34bwX1T2inyCdtTRnfX/mifgAt5XIrCFBf7Xq1cpCkJxV35jm6A3usalbzpQMQv PwshsCPsm9J3AGMur2FYHgXCpRnMhGcZabm3k= Received: by 10.227.138.147 with SMTP id a19mr1802792wbu.93.1284375862410; Mon, 13 Sep 2010 04:04:22 -0700 (PDT) Received: from two.pearl (dsl-fixed-77-44-81-131.interdsl.co.uk [77.44.81.131]) by mx.google.com with ESMTPS id i14sm5123066wbe.6.2010.09.13.04.04.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 13 Sep 2010 04:04:19 -0700 (PDT) Message-ID: <4C8E0531.2000301@googlemail.com> Date: Mon, 13 Sep 2010 12:04:17 +0100 From: David Evans User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-stable@freebsd.org X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Serial console problems with stable/8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2010 11:36:02 -0000 I can confirm there is much weirdness with the uart on 8-STABLE. I'm using FBSD in several virtual machines on Parallels Desktop. It is possible to set the serial port on the VM to output to a file on the host OS I try something like 'cat file > /dev/cuad0 on FBSD 7 and 8. This works on 7 but hangs after the first few kB on 8. Next I try a login on the guest OS. I set one VM to be a server and the other a client. I connect the two VM's serial ports together via a socket on the host OS. I also start a login on the server VM's serial port. With both VMs running 7, I can login using kermit on the client. No amount of trying gets flow control of any type to work, but at least it does not hang. The lack of flow control means that much output is lost. With both VMs running 8, I can login, just about, but attempting to edit a file or do a long ls listing results in a hang. Flow control does not work in either the RTS/CTS or XON/XOFF modes. Next, I try kernel debugging using kgdb via serial link between two VMs running 8. I'm surprised to find that it works quite well with no hangs. Presumably this is because the kgdb protocol only sends small amounts of data at a time or perhaps it runs at a low level, as mentioned earlier in this thread. I have not tried this with 7.