From owner-freebsd-stable@freebsd.org Thu Nov 29 18:08:10 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6F8FF1147612; Thu, 29 Nov 2018 18:08:10 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D52527A7C1; Thu, 29 Nov 2018 18:08:09 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 7889C3C475F; Thu, 29 Nov 2018 18:08:03 +0000 (UTC) Date: Thu, 29 Nov 2018 18:08:03 +0000 From: Brooks Davis To: Alan Somers Cc: Warner Losh , Maxim Sobolev , yuripv@yuripv.net, FreeBSD CURRENT , FreeBSD Subject: Re: SCSI and dmesg Message-ID: <20181129180803.GB99411@spindle.one-eyed-alien.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qlTNgmc+xy1dBmNv" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Rspamd-Queue-Id: D52527A7C1 X-Spamd-Result: default: False [-4.05 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_FIVE(0.00)[6]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[spindle.one-eyed-alien.net]; MX_MISSING(3.50)[requested record is not found]; NEURAL_HAM_SHORT(-0.99)[-0.992,0]; R_SPF_NA(0.00)[]; SIGNED_PGP(-2.00)[]; FORGED_SENDER(0.30)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:36236, ipnet:199.48.128.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; IP_SCORE(-3.65)[ip: (-9.48), ipnet: 199.48.128.0/22(-4.74), asn: 36236(-3.92), country: US(-0.09)]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Nov 2018 18:08:10 -0000 --qlTNgmc+xy1dBmNv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 29, 2018 at 11:01:01AM -0700, Alan Somers wrote: > On Thu, Nov 29, 2018 at 10:49 AM Warner Losh wrote: >=20 > > > > > > On Thu, Nov 29, 2018 at 8:09 AM Alan Somers wrote: > > > >> On Mon, Nov 26, 2018 at 3:57 PM Warner Losh wrote: > >> > >>> On Mon, Nov 26, 2018 at 3:32 PM Maxim Sobolev > >>> wrote: > >>> > >>> > Somebody needs to make collection/submission automatic and make a p= ort > >>> out > >>> > of it, so that it's as easy as pkg install dmesg_survey && > >>> > dmesg_survey_enabled=3D"YES" in the /etc/rc.conf. JIMHO. I'd gladly= make > >>> it a > >>> > default on all dev boxes within our organization. Might also make a > >>> nice > >>> > SoC project idea. > >>> > > >>> > >>> It's barely a weekend hack, since with the curl 1 liner 95% of what y= ou > >>> want is there. > >>> > >>> This service isn't suitable, though, to have it in rc.conf, I don't > >>> think, > >>> unless it's updated only when there's a material change... > >>> > >>> And I'd rather we get more nuanced data than dmesg can provide if we = were > >>> to do the data collection. The admonition to submit to this site was = one > >>> of > >>> expedience... > >>> > >>> Warner > >>> > >> > >> Sounds like somebody needs to adopt sysutils/bsdstats. It's a great > >> start, but it needs some TLC. > >> > > > > Except there's no available data from it. And it's not a great start, b= ut > > a terrible one. It gathers the wrong things. > > > > Warner > > >=20 > What do you mean "no available data"? Are you saying that you'd prefer > direct access to the server rather than access through the web UI? I'm > sure Scrappy would allow that. He's implied that he'd like some help with > the server. What I like about bsdstats is that it's much more structured > than your dmesg service. Instead of a big long string, it gathers > structured info with sysctl, pciconf, and pkg. Plus, it already has a > port, it's integrated into periodic(8), and it has a website. If it omits > some information that you would like to see, then you should enhance it; > not replace it. The data isn't available through the UI because it's broken. Try drilling down to find all the NIC types for example and you'll get: ERROR !! an e-mail has been sent to the staff we are sorry for this problem I've reported this multiple time and at least once Scrappy claimed it was fixed, but it wasn't. -- Brooks --qlTNgmc+xy1dBmNv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJcACsCAAoJEKzQXbSebgfAnYwH/2o8FIGD2DBMp2c/iCaO8FB4 ty8bdi0sUAUDjv8DuNE7DaceM3QcNRpH+Nc+/BG3voMo7gREI3XddUuFEjuP2WDz RdNM17jJlX/g9Dh9Mh4OcIhcdLZhpjs5pwLswtf8Gd6TydadSSaVumLc3TOT008Y eqlSFlHd792A/LgRXBF9jKaNGSiZ8HeAi+UlopEesWr/H76ek0lQXR2VT39UPwYq I2v2c8kXEKUy5mu2LnJEVMyawtqmHFbhol8Nlq3gQB3V1CqVSiZy3ZAY9TMrX41q zZzpapPIVpVywohB3fPZTnjc9/I31DsvfLS6P/R3a6IJiEDkN8IrqZQ1Tgd+I1w= =bE+4 -----END PGP SIGNATURE----- --qlTNgmc+xy1dBmNv--