From owner-freebsd-current@freebsd.org Mon Nov 26 22:57:05 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 AF57A1147BE4 for ; Mon, 26 Nov 2018 22:57:05 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it1-x132.google.com (mail-it1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) (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 9D4DF6FD01 for ; Mon, 26 Nov 2018 22:57:04 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it1-x132.google.com with SMTP id z7so13610155iti.0 for ; Mon, 26 Nov 2018 14:57:04 -0800 (PST) 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=s+u1crirvXRm18CjLclsGMi1b1RhfLEeEdE8HxvNz7g=; b=KGP3dwR4N5etJnbXp2gOvJs82qnQ/pVfofDXc0JtPkrRnOalNPht9dd5i2TdyJw6Ge tW87tZvt0zF1qY4nb3vNR2DLX8hQ9MrgA6Qx9kQdjmS91WXqSQuu4icGB4qOrbUIAEnj 45fYemcrfEG48AiorPpnh6+s7pOrD91H1YoJ/O9eWbTduXHqbttr6uMKdawOeB7IAJPG I/Yo4kwLbP02/TytIhRMXeq2HUgYVkUjL0pR5JS5CzJLQY9a8pAP3LiEf9Zz4Kv+iAsd T/s4/lLW4P7a/IqGG1hcyewptq8Mqv1BK02AbLCT/hn+b25KcX/iSIwsC14S+X6tjaHZ gMRg== 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=s+u1crirvXRm18CjLclsGMi1b1RhfLEeEdE8HxvNz7g=; b=KpZcpPsfADQIYtLGBYOYW6GhgxyvF58kW9LenLu3QqH+1fzDx1DJz7Ut5DEtjon/QE /rqQwPfIfwXCZqg3XA4Dmm/BcqPE4beIxvIGxl6Oly4h1kuYZMIv6hWfzYbrw3UqRimz LdBp5aJDQ0Ywnmmsmap674EoHIj+b9niei17p8TtNtjSUDIsqrHnCXRxnn7eUWJBQjaf nI89AGumGFvnqQ1Rpfp3Y8LP3Dgbx5y9tLgg3w9xVnorLqgeDTwjqM9pHaEpeUhxvS4j 31M7JMeLmjeRKmE75GuTQwmclLdbXfAugcTy2Ue/VCwvJ4DGbC3t2ZnCbArhgljpF7cO Tnrw== X-Gm-Message-State: AGRZ1gISnl3OhP5/q+NLUI1M885nlE8bvbZTSKuUERy4ejQ1uM9jrtid Nb5zXZhyfnkpNqqyKNkdWjD8LD0oeg6sp8VWCGLghQ== X-Google-Smtp-Source: AJdET5eGk7g6s+yCaOXTuF5TYD4D9/0D6X9l6h/lPi9iQT8VqjoTPG1c8Ig2pmpDbTgv1wbcdkFsLjV7MwCOI3Z3sgc= X-Received: by 2002:a02:1b1d:: with SMTP id l29mr26279044jad.98.1543273023659; Mon, 26 Nov 2018 14:57:03 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Mon, 26 Nov 2018 15:56:52 -0700 Message-ID: Subject: Re: SCSI and dmesg To: Maxim Sobolev Cc: Yuri Pankov , FreeBSD Current , FreeBSD-STABLE Mailing List X-Rspamd-Queue-Id: 9D4DF6FD01 X-Spamd-Result: default: False [-4.59 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[ALT1.aspmx.l.google.com,aspmx.l.google.com,ALT2.aspmx.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[2.3.1.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]; NEURAL_HAM_SHORT(-0.99)[-0.992,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-1.59)[ip: (-4.70), ipnet: 2607:f8b0::/32(-1.79), asn: 15169(-1.38), country: US(-0.09)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.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: Mon, 26 Nov 2018 22:57:05 -0000 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 > -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" >