From owner-freebsd-questions@FreeBSD.ORG Wed Jan 30 18:58:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D40CF16A420 for ; Wed, 30 Jan 2008 18:58:59 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.229]) by mx1.freebsd.org (Postfix) with ESMTP id 733C913C45B for ; Wed, 30 Jan 2008 18:58:59 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so349889wxd.7 for ; Wed, 30 Jan 2008 10:58:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:reply-to:organization:to:subject:date:user-agent:references:in-reply-to:x-face:face:x-attribution:x-pgp-fp:x-pgp:pgp:mime-version:content-type:content-transfer-encoding:message-id:sender; bh=g3yrjliTnUfrTupZeupSphDBQeoHOnOI1VzCtZ7wB9Y=; b=VUVxVE630dqJVhIIQ/BZ/F9WIf2gasKbcBrLXAiX5YdHVWKGNzMUJMdpREyZvd7o77FmMwKNGjR5RzhkNF3SGaKpQtWgQ4DwjUHiFpaEhoNREbvJBlrHA0D1WPysHs7JyniuPmlY3+DCfTvb0atiWzsQTP/H5GhfVX4rTDhpjxA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:organization:to:subject:date:user-agent:references:in-reply-to:x-face:face:x-attribution:x-pgp-fp:x-pgp:pgp:mime-version:content-type:content-transfer-encoding:message-id:sender; b=BPXuCzOGJJzTqOsvffPRKtmtTG8L4sb685YaoYaq91lc33GM14UBI3l0wi7RgqY4Mdz5oNiJqLq1cEyuUAWdE0hoMDHEjkO33oBivnle6QI9GzJRg41LoYCkKVUxAw/9qZIeYyNmc+ndTEDAIC4ui3hAhcD7IIbmmA45VooITxA= Received: by 10.114.134.1 with SMTP id h1mr1287858wad.4.1201719537224; Wed, 30 Jan 2008 10:58:57 -0800 (PST) Received: from chateau.d.lf ( [122.162.55.8]) by mx.google.com with ESMTPS id l28sm1814924waf.40.2008.01.30.10.58.53 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 30 Jan 2008 10:58:56 -0800 (PST) From: =?utf-8?q?=E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7_Ashish?= Organization: /\/0/\/3 To: freebsd-questions@freebsd.org Date: Thu, 31 Jan 2008 00:29:47 +0530 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) References: <20080120051517.4914F36FC8@mail.asahi-net.or.jp> In-Reply-To: <20080120051517.4914F36FC8@mail.asahi-net.or.jp> X-Face: "\:nMpJ)EA!j>2nEu-[(+&o:N+CtL^AS\, Jv*LO5qBr#W2.\=d Sender: =?UTF-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksg==?= Subject: Re: Trying to setup a serial console on my desktop X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: wahjava.ml@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2008 18:58:59 -0000 --nextPart3157771.zfDBaHHSp1 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline ,--[ On Sunday 20 Jan 2008, WATANABE Kazuhiro wrote: | Hello. [...] | loader.conf(5) says: | | comconsole_speed | | (``9600'' or the value of the BOOT_COMCONSOLE_SPEED vari- | | able when loader(8) was compiled). Sets the speed of the | | serial console. If the previous boot loader stage speci- | | fied that a serial console is in use then the default | | speed is determined from the current serial port speed | | setting. | | If you specify to use a serial console via /boot.config and | want to change the speed from 9600bps (default), you need to add | the "-S speed" flag to your /boot.config. See boot(8) for details. By me specifying 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. | > | > I'm following | > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole= =2Ds | >etup.html | | 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. | If not, the system boot sequence may have been stopped at some kinds | 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...? 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 --- -- --nextPart3157771.zfDBaHHSp1 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHoMkjHy+EEHYuXnQRApkAAJ9a/jKvprf//NMa3JaiB9vo5t0+lACdGvEt DHsO+FXeMw66FYL9QWgG1s8= =7tOd -----END PGP SIGNATURE----- --nextPart3157771.zfDBaHHSp1--