Date: Sat, 23 Dec 2017 11:11:20 -0800 From: bob prohaska <fbsd@www.zefox.net> To: Hans Petter Selasky <hps@selasky.org> Cc: Bob Bishop <rb@gid.co.uk>, freebsd-arm@freebsd.org, bob prohaska <fbsd@www.zefox.net> Subject: Re: Disapearing pl2303 usb serial adapter on rpi2 Message-ID: <20171223191120.GB25961@www.zefox.net> In-Reply-To: <798971d6-54f3-0453-6393-daa79fffd552@selasky.org> References: <a312e6db-20ac-e12e-207e-1f0017cf8cad@gmail.com> <20171221161120.GA20324@www.zefox.net> <dfc17d98-a839-0ab9-2d1b-c47fe26be21e@selasky.org> <20171222041657.GA21799@www.zefox.net> <20171222173052.GA23984@www.zefox.net> <96d7cc41-33bf-1006-54a3-1cc8d9570fd2@selasky.org> <20171223001819.GB24362@www.zefox.net> <F30A5C4C-E2F4-411E-8BAC-8356C1B985E8@gid.co.uk> <20171223173152.GA25961@www.zefox.net> <798971d6-54f3-0453-6393-daa79fffd552@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 23, 2017 at 06:37:29PM +0100, Hans Petter Selasky wrote: > > Idea: Cut a USB cable, reconnect all the wires except the red one, and > put a multimeter capable of measuring mA's between. > > --HPS That thought has crossed my mind, but I'm hesitant at the moment because it requires a relatively large disturbance to the host and wiring. The discovery of the USB connector shroud being not soldered to the signal ground was a real surprise, now corrected in one instance. That adapter has now run 20 hours, in contrast to the last several sessions which locked up overnight. Until the lockup can be reproduced it seems wise to minimize physical changes. I suspected a hardware problem at first, but the long (months) hiatus followed by a recurrence after upgrade to r326951 persuaded me to suspect software, since the hardware literally hadn't been touched. Now, again, I'm not so sure. Many years ago I worked on a development project with a patient software engineer, and we sparred constantly over the "Is the problem hardware or software?" question. In that case he wrote a test program that could be left carefully unchanged. It exercised the hardware we were working on and didn't touch anything else.. This was 1997, on ISA-bus computers running QNX. There seems to be an open source hardware test suite called Inquisitor, https://en.wikipedia.org/wiki/Inquisitor_(hardware_testing_software) Is there anything like it in FreeBSD? Peter Holm's stress2 suite is in the right spirit, but isn't directed at USB or ARM. Long-latency problems of the kind I'm seeing are hard to sort out under any circumstances. Grounding and shielding issues are the worst of the lot. If trouble shows up once a month, a reversion to the last working edition covers a lot of changes. Test fixtures can obscure underlying defects, like unsoldered shields. Thanks for your attention, and apologies for what's beginning to look like a red herring! bob prohaska
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171223191120.GB25961>