Date: Mon, 13 Sep 2010 10:24:19 -0400 From: John Baldwin <jhb@freebsd.org> To: freebsd-stable@freebsd.org, freebsd@jdc.parodius.com, Stefan Bethke <stb@lassitu.de> Subject: Re: Serial console problems with stable/8 Message-ID: <201009131024.19883.jhb@freebsd.org> In-Reply-To: <201009131249.o8DCnmd4033849@lurza.secnetix.de> References: <201009131249.o8DCnmd4033849@lurza.secnetix.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, September 13, 2010 8:49:48 am Oliver Fromme wrote: > Jeremy Chadwick wrote: > > On Mon, Sep 13, 2010 at 09:21:21AM +0200, Oliver Fromme wrote: > > > Jeremy Chadwick wrote: > > > > Is there a PS/2 keyboard hooked up to this machine when you're > > > > attempting to get serial console output? > > > > > > Kind of. It's connected to a local KVM switch. > > > > Does the KVM switch provide power to a PS/2 port which isn't currently > > selected? (E.g. on an A/B/C/D KVM switch, if the FreeBSD box is wired > > to port A, and the KVM switch has port C selected, does port A still get > > power?) Some KVMs do this, others do not. > > Yes, it does. > > Now I get your point ... Yes, -P does probe the keyboard > first. That's probably why I see the boot0/boot2 on the > VGA console, not on the serial port. As far as I know, > /boot.config is read by the boot0/boot2 stage, not by > loader(8). But loader inherits the settings from boot2, so if you set it in /boot.config you do not need to set anything in loader.conf. Also, having boot2 use serial is good in that you can boot loader.old if you ever get a broken /boot/loader. Using '-Dh' in /boot.config is what I do on all the boxes where I use a serial console. > Anyway, I don't care too much for boot0/boot2; I've never > had to interact with them on that machine. The important > thing for me is that loader(8) and the kernel use the > serial port for the console, and that I can login on it > (i.e. there must be a getty running). All of that seemed > to be accomplished with the console="comconsole" entry in > /boot/loader.conf ... At least it worked when I first > installed that machine in September 2000 (yeah, exactly 10 > years ago) with FreeBSD 4.1, then updated it roughly every > two years ... And it stopped working in 8.x. Did you update your hints to rename the 'sio' hints to 'uart'? -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009131024.19883.jhb>