Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jan 2008 13:01:15 +0530
From:      wahjava@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IOCktg==?= =?utf-8?B?4KWB4KSV4KWN4KSy?=)
To:        WATANABE Kazuhiro <CQG00620@nifty.ne.jp>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Trying to setup a serial console on my desktop
Message-ID:  <87prvx7y2k.fsf@chateau.d.lf>
In-Reply-To: <20080120051517.4914F36FC8@mail.asahi-net.or.jp> (WATANABE Kazuhiro's message of "Sun\, 20 Jan 2008 14\:15\:17 %2B0900")
References:  <d9a03f10801181247h21f30bfqdf6677981fe2800b@mail.gmail.com> <20080120051517.4914F36FC8@mail.asahi-net.or.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

>>>>> WATANABE Kazuhiro writes:
    WATANABE> Hello.

[...]

    WATANABE> loader.conf(5) says:

    WATANABE> | comconsole_speed
    WATANABE> |           (``9600'' or the value of the BOOT_COMCONSOLE_SPE=
ED vari-
    WATANABE> |           able when loader(8) was compiled).  Sets the spee=
d of the
    WATANABE> |           serial console.  If the previous boot loader stag=
e speci-
    WATANABE> |           fied that a serial console is in use then the def=
ault
    WATANABE> |           speed is determined from the current serial port =
speed
    WATANABE> |           setting.

    WATANABE> If you specify to use a serial console via /boot.config and
    WATANABE> want to change the speed from 9600bps (default), you need to =
add
    WATANABE> the "-S speed" flag to your /boot.config.  See boot(8) for de=
tails.

By me specificying use of serial console via /boot.config, you mean '-D'
option, which I specified in /boot.config, hmm...?

If yes, then this means it'll override 'console' setting I specified
in "loader.conf", hmm...? e.g. if I specified 'console=3Dvidconsole' in
'loader.conf', but has '-D' in /boot.config, will I get output on both
serial and internal console, hmm...?

And BtW, if I specify anything at loader prompt, e.g. "set
comconsole_speed=3D115200", it works, i.e. I can connect to serial
console at 115200 bps. So won't values specified at loader prompt have
same priority as values specified in "loader.conf", hmm... ? Sorry I'm
bit confused regarding which gets priority, 'loader.conf' or
'boot.config'.

    >> 2. Keyboard doesn't work irrespective of '-P' being present in
    >> /boot.config . So I can't login to any TTY or login to X via GDM.
    >>=20
    >> I'm following http://www.freebsd.org/doc/en_US.ISO8859-1/books/handb=
ook/serialconsole-setup.html

    WATANABE> Is a login prompt displayd to the video console?

I asked GDM service to start at startup. So I get a GDM GUI, but I
can't use my keyboard to enter my username there, not I'll be able to
switch TTYs, though mouse is working fine.

    WATANABE> If not, the system boot sequence may have been stopped at som=
e kinds
    WATANABE> of daemon (sshd, sendmail, etc.).

I've all my hostname, and DNS stuff set up correctly, so there isn't
problem of any kind, as I see messages of sendmail, sshd starting on
my serial console at 9600bps. BtW, only 'dmesg' message appears on my
video console, whereas all kind of messages appear on serial console,
do I need some changes in syslog too to get all messages also on my
video console, hmm...?

    WATANABE> ---
    WATANABE> WATANABE Kazuhiro (CQG00620@nifty.ne.jp)

TIA
=2D-=20
Ashish Shukla =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7 =E0=A4=B6=E0=A5=81=E0=A4=
=95=E0=A5=8D=E0=A4=B2                      http://wahjava.wordpress.com/
=C2=B7-- =C2=B7- =C2=B7=C2=B7=C2=B7=C2=B7 =C2=B7--- =C2=B7- =C2=B7=C2=B7=C2=
=B7- =C2=B7- =C2=B7--=C2=B7-=C2=B7 --=C2=B7 -- =C2=B7- =C2=B7=C2=B7 =C2=B7-=
=C2=B7=C2=B7 =C2=B7-=C2=B7-=C2=B7- -=C2=B7-=C2=B7 --- --

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHkvjDHy+EEHYuXnQRArXoAKDEsCkH5hqj59wAt0gbq+qHPH94mACguMGX
yczELY9ykR9tMtFEO8YxKTk=
=6tMD
-----END PGP SIGNATURE-----
--=-=-=--



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