Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Oct 2019 20:10:53 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        bob prohaska <fbsd@www.zefox.net>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Dual cu sessions?
Message-ID:  <CANCZdfqsjd0D-WmjMGhUqu1z0uWh2g_L%2B_fgHHzTwG1X_f4ORw@mail.gmail.com>
In-Reply-To: <20191006020739.GB37414@www.zefox.net>
References:  <20191006020739.GB37414@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 5, 2019, 8:08 PM bob prohaska <fbsd@www.zefox.net> wrote:

> Is it normal to see two cu sessions running on the same device?
>
> I happened to run ps -aux on a Pi2 running stable/12 and noticed
> root   1343   0.0  0.1   4372   1408  3  I+   16:19     0:00.02 cu -l
> cuaU0 -s 115200
> root   1344   0.0  0.1   4372   1384  3  I+   16:19     0:00.01 cu -l
> cuaU0 -s 115200
>
> One session is intentional; it provides serial access to the console of a
> second
> machine in my Pi cluster. That I might mistakenly _start_ two sessions
> isn't a
> huge surprise, that it persists does seem a little odd. I'd expect "device
> busy".
> This is a stable/12 machine, updated yesterday.
>
> Thanks for reading and any insights....
>

Totally normal. Cu forks so that IO doesn't stall it. This was a standard
plot before threads.

Warner

bob prohaska
>
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfqsjd0D-WmjMGhUqu1z0uWh2g_L%2B_fgHHzTwG1X_f4ORw>