From owner-freebsd-hackers Tue Dec 21 17: 9:49 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mass.cdrom.com (mass.cdrom.com [204.216.28.184]) by hub.freebsd.org (Postfix) with ESMTP id 7067E14BF3 for ; Tue, 21 Dec 1999 17:09:47 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id RAA04353; Tue, 21 Dec 1999 17:13:08 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Message-Id: <199912220113.RAA04353@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: Justin Hawkins Cc: freebsd-hackers@freebsd.org Subject: Re: Serial boot prompt messages and a modem In-reply-to: Your message of "Mon, 20 Dec 1999 20:41:41 +1030." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 21 Dec 1999 17:13:07 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I've recently had .. ahem .. fun trying to get my headless FreeBSD box to > spit messages at the console. I've got the kernel doing it right, but not > the boot loaders. The boot loader will print to the serial device - but it > won't load my kernel :-( I haven't exhausted all oppurtunities here yet - > this isn't a cry for help on that. > > The reason I need to play around with the boot loaders is that I need the > serial console on COM2. I have a modem on COM1. Before you ask, I can't > swap them over easily, I'd need to swap the connectors internally or buy > some 9-25 adaptors. But I digress. "Swapping them internally" would probably involve about 30 seconds of work. It's not hard, really. 8) > I think (I am not positive on this) that if the boot loader talks to a > modem in command mode with echo on, it gets confused and won't boot any > further. Is this a known problem? Yes. The solution is "do not connect a modem with echo enabled to the console". The loader will spend endless hours talking to the modem (and if _it_ didn't, getty would a few seconds later). > Is there enough room in there for some code, which checks for this? IE if > the first line output to the serial device == the first input (some > version string probably) then it just ignores it and does the default > action? No. Wrong solution. Connect your console to the console port and your modem to the modem port. > Sorry about the vagueness - I didn't have time to test this or gain any > real empirical evidence - I needed to get the machine back in action ASAP. Sorry about the fascist attitude, but you really do just need to Do The Right Thing here. -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message