From owner-freebsd-arm@freebsd.org Sun Oct 6 02:11:07 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7EF7C145624 for ; Sun, 6 Oct 2019 02:11:07 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46m6Xp3775z4Q55 for ; Sun, 6 Oct 2019 02:11:06 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x836.google.com with SMTP id c21so14218963qtj.12 for ; Sat, 05 Oct 2019 19:11:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/ywoJ1cEvpTcxQFsXcqi1jpLrq0ltJYUkTLP1wnnjtg=; b=MWhCTtO4t+k5839yGtCMa6Q3vAjqmh6Flaaq3qTbfBqithlroc87Hh0GUABC/o+F8C EltIfBAbl+JeVCacYDvurwrCHXyTp+PLF7WHHRYflFSOYzoJgOI7rfNii8bBsrK1j0gG N6w35SFknILRFaC78tpaFGxclIKwJP2xe9I9ngnDbDQpfjkb8tLkWgkIxv1SK2MWAljx KfThBkNtsRg3rDzGQkjnYEjtK88+iO13Y/ljCISJ22CDFHJmFK/VNVm/I9xY0N99Stq1 UpSJXF5ohF+9zeQgLHuVfnGvuqCh0VpRdv6FVzfzPH+UFuBFUvY0iWaQsOXcRHCFkYWL RO9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/ywoJ1cEvpTcxQFsXcqi1jpLrq0ltJYUkTLP1wnnjtg=; b=ivdYEcC4YoXVUggyYcsb/zVRfITFgDaxwBjvYcB+marQTaFfp5uMMyzvJAmpyY3OGa 6DAGtgznQxQolWJ/cNehbkHYjYrQXTHxE6UTEkEhGqyENTJLht82YDeRTpRSVNDXxxVZ Mve+Htf3Tg5I7l2rHW4oPIQBIfI9voRjew2BjoTiLopQYV/8HjaQcKzHIto+Bu3BCvky SWeLFHRg0gXzvhOgNKFBL3HxqbdkU7HvZ2Vtsr0OnHDOwq4ZbqDSClE34jLCOTvEMKvi YCq0Y0oObbtrev4KU9OS+VVXOgB5riyeXlurJj2blq20WwGq6KDHTL+W7WjvJjpNyZ6a w1dg== X-Gm-Message-State: APjAAAVfVqlyj8guDiTjauGwTXtlt//LFGpH3uQG4+tIf/jncnC+opaj LbHmh9pW60Q/WjfFNh3/wn3lgccA48ouiWbhGCuZK+bN X-Google-Smtp-Source: APXvYqwZLzkXoD/a1deW59zp8G/1QrOfTdApgaGkRdiycsR7iURbS8bENGd5BLyS7fWnTiw1lgG+fWgLpm2THJyQuz4= X-Received: by 2002:ac8:3564:: with SMTP id z33mr23797325qtb.291.1570327864811; Sat, 05 Oct 2019 19:11:04 -0700 (PDT) MIME-Version: 1.0 References: <20191006020739.GB37414@www.zefox.net> In-Reply-To: <20191006020739.GB37414@www.zefox.net> From: Warner Losh Date: Sat, 5 Oct 2019 20:10:53 -0600 Message-ID: Subject: Re: Dual cu sessions? To: bob prohaska Cc: freebsd-arm@freebsd.org X-Rspamd-Queue-Id: 46m6Xp3775z4Q55 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=MWhCTtO4; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::836) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-2.80 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; IP_SCORE(-2.80)[ip: (-9.25), ipnet: 2607:f8b0::/32(-2.56), asn: 15169(-2.15), country: US(-0.05)]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; URI_COUNT_ODD(1.00)[3]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[6.3.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Oct 2019 02:11:07 -0000 On Sat, Oct 5, 2019, 8:08 PM bob prohaska 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" >