Date: Thu, 29 Nov 2018 11:01:01 -0700 From: Alan Somers <asomers@freebsd.org> To: Warner Losh <imp@bsdimp.com> Cc: Maxim Sobolev <sobomax@sippysoft.com>, yuripv@yuripv.net, FreeBSD CURRENT <freebsd-current@freebsd.org>, FreeBSD <freebsd-stable@freebsd.org> Subject: Re: SCSI and dmesg Message-ID: <CAOtMX2jiDimT6%2BXpwnos-NfcXJ9QSBBhfaWzE%2Bz7xqmNFLeJPw@mail.gmail.com> In-Reply-To: <CANCZdfqz508_68_m1LsO%2BHA4%2BUjRAuv3Khm3u6tZ99dWmT8zWg@mail.gmail.com> References: <CANCZdfpwnaXgtakz29myYkgxro%2B4LQBCMNRB6haiWT5g%2BPaU2A@mail.gmail.com> <c70b2a91-9fd2-1452-2fc5-1e49332c875a@yuripv.net> <d5f93be4-96f8-a63c-611f-5395abd0a3b6@yuripv.net> <CAH7qZftXtFv5=sFpwGJy1WdmzA3pzWBeFpQpOo_o7qxj6jeADQ@mail.gmail.com> <CANCZdfoP9cY4W7d5YBGAq_pfDRS6iMsdWTMT=eEnC_47nosBgg@mail.gmail.com> <CAOtMX2iOSXzPzpyz9_t42SL4wqZCvz25q_6VdbZaZ3nLkatWoQ@mail.gmail.com> <CANCZdfqz508_68_m1LsO%2BHA4%2BUjRAuv3Khm3u6tZ99dWmT8zWg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 29, 2018 at 10:49 AM Warner Losh <imp@bsdimp.com> wrote: > > > On Thu, Nov 29, 2018 at 8:09 AM Alan Somers <asomers@freebsd.org> wrote: > >> On Mon, Nov 26, 2018 at 3:57 PM Warner Losh <imp@bsdimp.com> wrote: >> >>> On Mon, Nov 26, 2018 at 3:32 PM Maxim Sobolev <sobomax@sippysoft.com> >>> 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. >> > > Except there's no available data from it. And it's not a great start, but > a terrible one. It gathers the wrong things. > > Warner > 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. -Alan > > > > >> >>> >>> > -Max >>> > >>> > On Mon, Nov 26, 2018 at 2:08 PM Yuri Pankov <yuripv@yuripv.net> 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 >>> " >>> >>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2jiDimT6%2BXpwnos-NfcXJ9QSBBhfaWzE%2Bz7xqmNFLeJPw>