From ed@hoeg.nl  Wed Dec  2 07:31:57 2009
Return-Path: <ed@hoeg.nl>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0D50C106566B
	for <bug-followup@FreeBSD.org>; Wed,  2 Dec 2009 07:31:57 +0000 (UTC)
	(envelope-from ed@hoeg.nl)
Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:7b8:613:100::211])
	by mx1.freebsd.org (Postfix) with ESMTP id A586C8FC0C
	for <bug-followup@FreeBSD.org>; Wed,  2 Dec 2009 07:31:56 +0000 (UTC)
Received: by palm.hoeg.nl (Postfix, from userid 1000)
	id 92E9B1CE74; Wed,  2 Dec 2009 08:31:55 +0100 (CET)
Message-Id: <20091202073155.GL64905@hoeg.nl>
Date: Wed, 2 Dec 2009 08:31:55 +0100
From: Ed Schouten <ed@80386.nl>
To: Robert Jenssen <robertjenssen@ozemail.com.au>
Cc: bug-followup@FreeBSD.org, karl@FS.denninger.net
In-Reply-To: <20091202102311.60b80ae7.robertjenssen@ozemail.com.au>
Subject: Re: 140947:[uart] [hang] Serial I/O is terminally screwed under
 8.x.
References: <20091202102311.60b80ae7.robertjenssen@ozemail.com.au>

>Number:         141096
>Category:       kern
>Synopsis:       Re: kern/140947: [uart] [hang] Serial I/O is terminally screwed under
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 02 07:40:01 UTC 2009
>Closed-Date:    Wed Dec 02 10:05:41 UTC 2009
>Last-Modified:  Wed Dec 02 10:05:41 UTC 2009
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 --LqIGKb6ivCeGIB65
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 Hi Robert,
 
 * Robert Jenssen <robertjenssen@ozemail.com.au> wrote:
 > I have had a similar problem: testing the USART on an Atmel
 > AT91SAM7S-EK board with a simple echo at 115200 baud. On the host
 > /dev/cuau0 is initialised with cfmakeraw() and select() has a 1s
 > timeout. After some time the echo fails with select() on a read
 > descriptor timing out. "pstat -t" output is then:
 >       LINE   INQ  CAN  LIN  LOW  OUTQ  USE  LOW   COL  SESS  PGID STATE
 >      dcons     0    0    0    0     0    0    0     0     0     0 -
 >       dgdb     0    0    0    0     0    0    0     0     0     0 -
 >   sysmouse  1920    0    0  192     0    0    0     0     0     0 OiY
 >      ttyu0     0    0    0    0     0    0    0  4662     0     0 IC
 
 It's the output of `pstat -t' during operation I'm interested in. When
 the device is closed, there isn't much to see, because the TTY is reset
 to an initial state (see the buffer size of 0).
 
 --=20
  Ed Schouten <ed@80386.nl>
  WWW: http://80386.nl/
 
 --LqIGKb6ivCeGIB65
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.10 (FreeBSD)
 
 iEYEARECAAYFAksWF+sACgkQ52SDGA2eCwVYnwCfWiG7H1lrXM7w7Hg2BFVFt589
 NlsAnREwuLJ6w80kfJJky2Wbb5ojg2zR
 =T/lf
 -----END PGP SIGNATURE-----
 
 --LqIGKb6ivCeGIB65--
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Wed Dec 2 10:05:08 UTC 2009 
State-Changed-Why:  
Misfiled followup to kern/140947; content migrated. 


Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Dec 2 10:05:08 UTC 2009 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=141096 
>Unformatted:
  8.x.
