From owner-freebsd-questions@FreeBSD.ORG Tue Nov 29 16:31:53 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 C797816A41F for ; Tue, 29 Nov 2005 16:31:53 +0000 (GMT) (envelope-from bjmccann@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4589243D45 for ; Tue, 29 Nov 2005 16:31:53 +0000 (GMT) (envelope-from bjmccann@gmail.com) Received: by zproxy.gmail.com with SMTP id 9so1488046nzo for ; Tue, 29 Nov 2005 08:31:52 -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=jxZ0X2TGybe5/yqMcz0KzPtxKL84ESMcKd0qvCGRHXISNeznxDTKG0vvZGT/44ymwuNCKTB+4VeyWynzOxVwE/ZNIdpRAigQEGHL9KXAunjqropzz+eje6So1jyXEgKVYdFwCt7a2MoWNUuZ0T+YVi/PMwKg9q6y2rmxagyjTC0= Received: by 10.36.160.14 with SMTP id i14mr4512355nze; Tue, 29 Nov 2005 08:31:52 -0800 (PST) Received: by 10.36.48.19 with HTTP; Tue, 29 Nov 2005 08:31:52 -0800 (PST) Message-ID: <2b5f066d0511290831vb22be98t14867046761a88f@mail.gmail.com> Date: Tue, 29 Nov 2005 11:31:52 -0500 From: Brian McCann To: Jay In-Reply-To: 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 16:31:53 -0000 On 11/28/05, Jay wrote: > 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 o= n > > /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). > To add to the confusion...I just also noticed that in /boot/device.hints, sio0 is set to be 0x3f8, IRQ4, but dmesg shows sio0 to be 0x2f8 irq3......how is this happening? Anyone got any ideas? --Brian