From owner-freebsd-questions Wed Sep 22 22:34:14 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dt014nb6.san.rr.com (dt014nb6.san.rr.com [24.30.129.182]) by hub.freebsd.org (Postfix) with ESMTP id 2803B14CF3 for ; Wed, 22 Sep 1999 22:34:08 -0700 (PDT) (envelope-from Doug@gorean.org) Received: from gorean.org (master [10.0.0.2]) by dt014nb6.san.rr.com (8.9.3/8.8.8) with ESMTP id WAA33900; Wed, 22 Sep 1999 22:34:00 -0700 (PDT) (envelope-from Doug@gorean.org) Message-ID: <37E9BBC8.EE9AF49A@gorean.org> Date: Wed, 22 Sep 1999 22:34:00 -0700 From: Doug Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.61 [en] (X11; U; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: cjclark@home.com Cc: skalir scalar , freebsd-questions@FreeBSD.ORG Subject: Re: serial cable login References: <199909230324.XAA30082@cc942873-a.ewndsr1.nj.home.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Crist J. Clark" wrote: > > Doug wrote, > > Unfortunately at this time there is no way on -Current or -Stable > > to get just the tty without first booting with a serial console. IIRC it > > has something to do with the way the new boot blocks work. Assuming there > > is no keyboard plugged into the machine you want the tty on, just put '-P' > > in /boot.config (no 'quotes'), edit the /etc/ttys file as indicated in the > > handbook and reboot. Your tty will come up after the boot. Meanwhile, if > > you are going to have a serial terminal hooked up anyway, you might as > > well have the console, it's pretty slick stuff. :) > > Hey, Doug. You contribute a lot on this list and usually give pretty > good answers, but I just have to say of this response, "What the heck > are you talking about, dude?" > > The first sentence is Just Plain Wrong. To get the tty alive, you just > need to edit /etc/ttys and have init re-read it with a 'kill -HUP 1'. Thank you for the kind words. I do know that what you are describing is how it is _supposed_ to work. However I've done numerous new installs of both -current and -stable in the last two months, and it has been universally true that merely enabling the tty before booting with an option that directs output to the serial console (like boot -P) has not been enough to bring the tty up. In every case I had to reboot with -P or -h, then the tty came up as advertised. Reporting this problem was on my list, however till now it was pretty far down there due to about 148 other things being more important right now. You can easily demonstrate this for yourself. Remove all traces of your serial console settings, like /boot.config, /etc/ttys, /etc/make.conf, kernel config file, and anything else you might have changed. Then do a make world, make a new kernel and reboot. Now try bringing up the tty by simply editing /etc/ttys and hup'ing init. I'd lay money that it won't work for you till you boot -P. Good luck, Doug -- "My mama told me, my mama said, 'don't cry.' She said, 'you're too young a man to have as many women you got.' I looked at my mother dear and didn't even crack a smile. I said, 'If women kill me, I don't mind dyin!'" - John Belushi as "Joliet" Jake Blues, "I Don't Know" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message