From owner-freebsd-hackers@freebsd.org Mon Aug 31 10:02:20 2015 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6C1A39C7002 for ; Mon, 31 Aug 2015 10:02:20 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 50D091FCD for ; Mon, 31 Aug 2015 10:02:20 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.ysv.freebsd.org (Postfix) id 502BC9C7001; Mon, 31 Aug 2015 10:02:20 +0000 (UTC) Delivered-To: hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4FB739C6FFF for ; Mon, 31 Aug 2015 10:02:20 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 081CB1FCB for ; Mon, 31 Aug 2015 10:02:19 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mbpro-w.cs.huji.ac.il ([132.65.80.91]) by kabab.cs.huji.ac.il with esmtp id 1ZWLul-0003kH-Qq for hackers@freebsd.org; Mon, 31 Aug 2015 13:02:11 +0300 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: Puzzle involving serial console and ...??!? From: Daniel Braniss In-Reply-To: <20150831030639.GH1153@albert.catwhisker.org> Date: Mon, 31 Aug 2015 13:02:11 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20150831030639.GH1153@albert.catwhisker.org> To: hackers@freebsd.org X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 10:02:20 -0000 > On Aug 31, 2015, at 6:06 AM, David Wolfskill = wrote: >=20 > I may be going mad -- that's likely the simplest explanation, and > Occam's Razor would thus indicate that this hypothesis should be > accorded a degree of plausibility, at least. >=20 > As described in = , > I have my own quirky ways of upgrading FreeBSD systems, the basics > of which remain fundamentally unchanged for the last dozen years > (well, a few more than that, but...). In turn, much of that approach > was borrowed from one of my pre-FreeBSD experiences in an IBM > mainframe environment (as a "systems programmer"). >=20 > What's causing me to question my tenuous grasp of reality is this: > Referencing the above-cited Web page, my build machine ("freebeast") > normally runs headless, and I use a cable to connect its serial > port to the serial port of one of my other machines ("albert"). >=20 > By doing so, I have a working serial console (once the FreeBSD > loader gains control from the BIOS, at least)... half the time. >=20 > I have determined that whether or not I have a functioning serial > console for freebeast depends on whether I boot albert from slice > 1 or slice 2: if from slice 1, it doesn't work; if from slice 2, > it does. >=20 > Even when the contents of the 2 slices are functionally equivalent > (that is, the file systems of the 2 slices are as "the same" as a > "dump 0Lf | restore" pipeline can make them, except for a deliberate > difference in the contents of /etc/fstab (as the root and /usr file > systems are on different slices in the two cases)). >=20 > I use tip(1) on albert to access the serial port (as I have since > 1998); I leave the speed at the default of 9600 because it has -- > save for this case -- always worked for me in the past. >=20 > Does anyone have any suggestions for figuring out what is really > going on here? While I can't just reboot "albert," I have another > (similar) machine ("pogo") that I use for testing stuff that I plan > to do to albert, and I could easily connect teh serial cable to > pogo instead of albert and tinker with that. >=20 the simplest way to check the serial, use a paper clip, and jump 2 & 3, this will loop the xmit to the receiver, and thus make sure that at least albert side is ok, no matter the baud rate. newer freebsd have changed the way the serial port is treated! We use com2 for the serial (also for serial over lan) and every new version I have to go through many loops till all is working again. > Thanks. I'm on the list, so list replies need not Cc: me. >=20 > Peace, > david > --=20 > David H. Wolfskill david@catwhisker.org > Those who would murder in the name of God or prophet are blasphemous = cowards. >=20 > See http://www.catwhisker.org/~david/publickey.gpg for my public key.