From owner-freebsd-questions@FreeBSD.ORG Sun Jan 20 07:31:06 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 4939A16A419 for ; Sun, 20 Jan 2008 07:31:06 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.184]) by mx1.freebsd.org (Postfix) with ESMTP id E90CC13C4E1 for ; Sun, 20 Jan 2008 07:31:05 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so1520939rvb.43 for ; Sat, 19 Jan 2008 23:31:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:to:cc:subject:x-face:references:x-pgp-fp:x-pgp:x-mailer:x-attribution:pgp:organization:from:date:in-reply-to:message-id:user-agent:face:mime-version:content-type; bh=ddJN1AqzvZcXTLQ2GvPtX3B59Pv4CXfukEa3Y9C/hFk=; b=PjVYYZ9+8hDMPKiUkS91CpeS8XDUM0xOm6e/MAl5CQTgQWBhMg+k8BO7nJ3S6zmweAvaXncq1Cyn21Diq7Mf2YWdyaMcXIxxOZkrxTgB7sUacaSQV3xEJHxIa1DlecSifCNyQhismo0PDoTRAhDxmKJxOxD2bZs4a5uYRmatYFo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=to:cc:subject:x-face:references:x-pgp-fp:x-pgp:x-mailer:x-attribution:pgp:organization:from:date:in-reply-to:message-id:user-agent:face:mime-version:content-type; b=XyMjIzNgECDrQZtZD0T0RwHftTs2L5H0X1he7PK6sJvb85cWQGQMSPLzkNed9IkFkFcvRYL9feGVhiXTHadWH2mxf5OgbxWuy1gOlrt4JWa8AVAEkTiaMw6Xv3CkrLnlZNeXGHURVJT+RIKP3Zrn3dPbLOlt4wHwkj/D+ROD64Y= Received: by 10.140.199.19 with SMTP id w19mr3618704rvf.90.1200814264663; Sat, 19 Jan 2008 23:31:04 -0800 (PST) Received: from chateau.d.lf ( [122.162.250.141]) by mx.google.com with ESMTPS id k19sm6495438rvb.18.2008.01.19.23.31.01 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 19 Jan 2008 23:31:04 -0800 (PST) To: WATANABE Kazuhiro X-Face: "\:nMpJ)EA!j>2nEu-[(+&o:N+CtL^AS\, Jv*LO5qBr#W2.\=d <20080120051517.4914F36FC8@mail.asahi-net.or.jp> X-PGP-FP: 1E00 4679 77E4 F8EE 2E4B 56F2 1F2F 8410 762E 5E74 X-PGP: 762E5E74 X-Mailer: Gnus/5.11 (Oort 5.11) Emacs/22.1.50.1 (x86_64-pc-linux-gnu) X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= PGP: 762E5E74 Organization: /\/0/\/3 From: wahjava@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IOCktg==?= =?utf-8?B?4KWB4KSV4KWN4KSy?=) Date: Sun, 20 Jan 2008 13:01:15 +0530 In-Reply-To: <20080120051517.4914F36FC8@mail.asahi-net.or.jp> (WATANABE Kazuhiro's message of "Sun\, 20 Jan 2008 14\:15\:17 +0900") Message-ID: <87prvx7y2k.fsf@chateau.d.lf> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEVfX1/8/PwTExMDAwO0 tLSampr////f398oKCi/v78MDAwICAihq32EAAACU0lEQVQ4jW3UvWvbQBQA8LOJsJIsOajtZAtH Aqq8FLQUvNjhCex2UYpE7XYytPJalxJnFMImqrOkIJfcZtwGgrqEhELQ/XN9p+jLbc+Drfvx7r17 9jNxszXCV2mR9P3ACoKAOM5bugn1hRBRFAnxeErLMN4RIpbwYKwmZfgkMGDNol8PhlFrFDDalQcx BMMwXpwV8KElYqYzpmOA0a4UsC/EmrEU4ptGDq9kghTabP09g9EuFiSpJQOYXslgrEd6Aj8Q7pl+ kcFH3NRlUTIFfvyZwV4sEzwV20a4y2A/BWEYLxdYwk0Gn+Mohfa2X4bXsn8StC0uYdVI4T02cK0F is15ArcZYKeER5Q+f4JofZZHiPshJPt8BwtPrp4kF+KOp+sdpjvOjqpf3n+1bD6dTjk3ySKuZVU1 ezcdpm3h/pL4h9eP3Rw6R5bqa9t86a/1W3OVd7dpzgBMx8YAxVFgvgmqDTwEdQignOVgI1ggoQMA x40CFHzmCHgXcEoAig39MOSATTGt5znQL4qDIRIgNK2LAqYWAl47lBGDSgHNjoOt6vdDkNAtQc9E wN0EJgXQN7aMSABIGU7mMiI5CtQJzX9w9PwQYOApVqBwCMqwp9lmkKzh0qM5uPTAn/Vw0ogazK9m JRjR6pHqEVyqd1XbgPPfKkgAddClxRi49NmKcNMh+JV4T7mzqW1e2jwk3pAPjugGuCfHPLRIP/Qr tLEB9daW7HrvcLIx55i/9zjkfMlO//pnwLHyPcupzrL9AtxrFgTaN/dfGFcjreb+B9wmnzaKpz8p dKsBFjzeRQAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Cc: freebsd-questions 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2008 07:31:06 -0000 --=-=-= 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----- --=-=-=--