From owner-freebsd-current@freebsd.org Thu Nov 29 15:09:44 2018 Return-Path: Delivered-To: freebsd-current@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 5D64511402F6; Thu, 29 Nov 2018 15:09:44 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 53DAE6FE39; Thu, 29 Nov 2018 15:09:43 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lj1-f175.google.com with SMTP id z80-v6so2041326ljb.8; Thu, 29 Nov 2018 07:09:43 -0800 (PST) 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=CfglsrBsXS9i/FX5qWQYFq3y/mTB+F9Yermeh3i+ahU=; b=GihcEZ83oI7YKHjJlhmtX6EbCGMXlaq2ZaaM9jBZk75chtQE/P9sEXR+pp3Pb9mE6n fVwfTaMDUiZhrGlM6ELT2wckNiUU9o7Ja/qD0zyPnFoCdH7fQaMCUqEM//A1va3O0noC Hl8OZkMTmWj6FznHaWwkHyPCUAzI+SbD9BLojO4Svq6WhX8947Xcz7o+JyFLqG5y3NuN boDp9Z0w9F6dTer5VFLAXLURkFxoVYR2zFxNbpe7YSAmqNTzU5ti98A4PFITLsej2d6f swfkHI3la9rVhAPqPvlPz2E/4zfwiZkLpCAvIisxo0ig2mtWOhsqP0vaRugxBrvBBtln ZqQw== X-Gm-Message-State: AA+aEWZIh4A/IIL5OM1HoNYbE1ODjXiXtX3+DlnQFHRfZyFsHOIOugj5 x3kwJVDWbTfl48Snf0o9IztzFoIA/aKgTplMgFrcYg== X-Google-Smtp-Source: AFSGD/Ur6CcEKk7qkvQlLYbsQwVP/STqT6TmBjU3M/y7Ybr1VxEdkM0x0FPUV16aH+yMUD6K0TRriMQWjHZcJPsa8IY= X-Received: by 2002:a2e:9356:: with SMTP id m22-v6mr1368249ljh.135.1543504175536; Thu, 29 Nov 2018 07:09:35 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Alan Somers Date: Thu, 29 Nov 2018 08:09:23 -0700 Message-ID: Subject: Re: SCSI and dmesg To: Warner Losh Cc: Maxim Sobolev , yuripv@yuripv.net, FreeBSD CURRENT , FreeBSD X-Rspamd-Queue-Id: 53DAE6FE39 X-Spamd-Result: default: False [-3.96 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[freebsd.org]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.97)[-0.971,0]; RCVD_IN_DNSWL_NONE(0.00)[175.208.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-0.98)[ipnet: 209.85.128.0/17(-3.48), asn: 15169(-1.33), country: US(-0.09)]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[175.208.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Nov 2018 15:09:44 -0000 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 port > out > > of it, so that it's as easy as pkg install dmesg_survey && > > dmesg_survey_enabled="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 you > 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. > > > > -Max > > > > On Mon, Nov 26, 2018 at 2:08 PM Yuri Pankov wrote: > > > > > Yuri Pankov wrote: > > > > Warner Losh wrote: > > > >> Greetings > > > >> > > > >> a few weeks ago I pointed people to the nycbug dmesg service. I > said I > > > was > > > >> looking at data to drive SCSI retirement. I've gatherd some > > preliminary > > > >> data, which I've uploaded to > > > >> https://github.com/bsdimp/device-data/blob/master/cam.md along with > > > some > > > >> preliminary notions of disposition for the hardware. I'm still > working > > > out > > > >> the kinks in the dmesg parsing, but this is interesting data. > > > >> > > > >> If you've not recently submitted, please consider doing so. We'll be > > > >> finalizing the scsi SIMs that I'm going to propose retiring in 13 > here > > > in a > > > >> few weeks, and I'm going to base much of what list I come up with > > based > > > on > > > >> what is submitted. The glitches with FreeBSD dmesgs have been > cleared > > > up as > > > >> well. > > > >> > > > >> http://dmesgd.nycbug.org/index.cgi > > > >> > > > >> or > > > >> > > > >> curl -v -d "nickname=$USER" -d "email=$USER@$(hostname)" -d > > > >> "description=FreeBSD/$(uname -m) on $(kenv smbios.system.maker) > $(kenv > > > >> smbios.system.product)" -d "do=addd" --data-urlencode 'dmesg@ > > > >> /var/run/dmesg.boot' http://dmesgd.nycbug.org/index.cgi > > > > > > > > Got another system to submit, but continuously getting "500 Internal > > > > Server Error" using the curl one-liner. dmesg.boot attached in case > > > > it's the source of the problem. > > > > > > It works now, sorry for the noise. > > > > > > > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org > " > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >