From owner-freebsd-questions@FreeBSD.ORG Tue Nov 29 04:19:48 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 396B216A41F for ; Tue, 29 Nov 2005 04:19:48 +0000 (GMT) (envelope-from jayp.ml@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A93D43D4C for ; Tue, 29 Nov 2005 04:19:47 +0000 (GMT) (envelope-from jayp.ml@gmail.com) Received: by xproxy.gmail.com with SMTP id t12so1162520wxc for ; Mon, 28 Nov 2005 20:19:46 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eQJzgSAOB0Pcg4kOMRkfE4kz8xpXkhLbIbXj/T+UpXNpAb1xXJY5sqp4b/2He1pixAy4hKwJmRPOWmrZ+O78S+IXh0N1f2pEUPxVxZWoK/mVv15dwJK+mppGfewDXQBGQr0fkCqjrnMFBTOLx/ZY2G7ZFAxgrCigcqt3vfJo8gs= Received: by 10.70.83.8 with SMTP id g8mr11190607wxb; Mon, 28 Nov 2005 20:19:46 -0800 (PST) Received: by 10.70.40.6 with HTTP; Mon, 28 Nov 2005 20:19:46 -0800 (PST) Message-ID: Date: Tue, 29 Nov 2005 13:19:46 +0900 From: Jay To: Brian McCann In-Reply-To: <2b5f066d0511281249r46f4be5fh9b46f843c49a39ac@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <2b5f066d0511281249r46f4be5fh9b46f843c49a39ac@mail.gmail.com> Cc: freebsd-questions Subject: Re: Serial Console Help Needed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Nov 2005 04:19:48 -0000 On 11/29/05, Brian McCann wrote: > Hi all. I'm having a heck of a time trying to get a serial console > setup on 5.4. I've recompiled the boot blocks to set the speed to > 19200, added "set console=3D"comconsole" " to /boot/loader.rc, turned on > /dev/ttyd0 and ttyd1 in /etc/ttys, and added -P to /boot.config. I > can see the kernel messages, then it looks like when rc runs, it > stops. I don't see anything beyond "Mounting root from > ufs:/dev/da0s1a", until I get my getty (which, for some reason is > ttyd1, not ttyd0). The config for sio0 in dmesg shows "sio0: > <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on > acpi0". > > Any ideas? I'm out of good ones... > > Thanks, > --Brian > > _-=3D-_-=3D-_-=3D-_-=3D-_-=3D-_-=3D-_-=3D-_-=3D-_-=3D-_-=3D-_-=3D-_ > Brian McCann > Systems & Network Administrator, K12USA > > "I don't have to take this abuse from you -- I've got hundreds of > people waiting to abuse me." > -- Bill Murray, "Ghostbusters" try add nc flag(no carrier) to gettytab entry like this.. /etc/gettytab: serialcon:\ :np:nc:hw:tc=3D19200-baud: /etc/ttys: ttyd0 "/usr/libexec/getty serialcon" vt100 on secure (or ttyd1..?) it fixed same trouble on mine. btw, I don't know why your sio0 is 0x2f8 irq3 .. isn't it supposed to be detected as sio1? If you are going to use boot0sio too, you need to add 'BOOT_COMCONSOLE_PORT=3D0x2F8' to /etc/make.conf then recompile/install /sys/boot then install boot0sio using boot0cfg(8).