Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2008 22:09:35 -0400
From:      Garance A Drosihn <drosih@rpi.edu>
To:        freebsd-current@FreeBSD.org
Subject:   serial console on 8.x (probably sio vs uart)
Message-ID:  <p06240801c4ef771564d6@[128.113.24.47]>

next in thread | raw e-mail | index | archive | help
I recently updated my 8.x test system from late-june to early-Sept,
and in the process I seem to have lost my serial console setup.
It's pretty likely this is related to the change from sio(4) to
uart(4), but I do believe I have done everything that I needed
to do to track that change.

After I boot up, the only /dev/tty* devices I have are ttyv0
through ttyvf.  I've installed the new /etc/ttys and a new
/boot/device.hints, though frankly device.hints has always
been a magic-box to me, so I just blindly copied what was in
GENERIC.hints and changed hint.uart.0.flags to be "0x30".
(that's what I used to do to get sio0 as the serial console)

I checked the freebsd.org documentation (well, a little), but it
seems that documentation is still geared towards sio0 (which
certainly makes sense).  For instance:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html

Based on reading a number of posts, my current guess is that
the problem is that I'm booting up an older (6.x) loader, and
then using that to load in the 8.x kernel.  I get the impression
that the newer loader includes changes to make uart work better
wrt the speed it expects to use on the serial port.  Is that a
reasonable guess?

(as to *why* I'm using and old boot loader, that's a long story
that I'd rather not get into right now.  I just want to know if
it's likely that would be why I have no serial ports now that I've
upgraded to the uart-based system...).

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p06240801c4ef771564d6>