Date: Tue, 29 Nov 2005 11:21:57 -0500 From: Brian McCann <bjmccann@gmail.com> To: Jay <jayp.ml@gmail.com>, freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: Serial Console Help Needed Message-ID: <2b5f066d0511290821p4f63774ct7c723a77afdaa35a@mail.gmail.com> In-Reply-To: <d43918300511282019s4ea307aak6de97b72ed71ce93@mail.gmail.com> References: <2b5f066d0511281249r46f4be5fh9b46f843c49a39ac@mail.gmail.com> <d43918300511282019s4ea307aak6de97b72ed71ce93@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/28/05, Jay <jayp.ml@gmail.com> wrote: > On 11/29/05, Brian McCann <bjmccann@gmail.com> 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). > Tried messing with gettytab and ttys....no go. I think it's got to do with the boot blocks though. I've been using bsdlabel to re-write them, as per the handbook....is this not doing what the hanbook claims it does? Thanks, --Brian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2b5f066d0511290821p4f63774ct7c723a77afdaa35a>