From owner-freebsd-questions@FreeBSD.ORG Wed Mar 30 11:48:36 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB2BD16A4CE for ; Wed, 30 Mar 2005 11:48:36 +0000 (GMT) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id D9F1343D5A for ; Wed, 30 Mar 2005 11:48:35 +0000 (GMT) (envelope-from emanuel.strobl@gmx.net) Received: (qmail invoked by alias); 30 Mar 2005 11:48:34 -0000 Received: from flb.schmalzbauer.de (EHLO cale.flintsbach.schmalzbauer.de) [62.245.232.135] by mail.gmx.net (mp015) with SMTP; 30 Mar 2005 13:48:34 +0200 X-Authenticated: #301138 From: Emanuel Strobl To: freebsd-questions@freebsd.org Date: Wed, 30 Mar 2005 13:48:43 +0200 User-Agent: KMail/1.7.2 References: <424A5247.1050401@cloudview.com> In-Reply-To: <424A5247.1050401@cloudview.com> X-Birthday: 10/06/72 X-CelPhone: +49 173 9967781 X-Tel: +49 89 18947781 X-Country: Germany X-Address: Munich, 80686 X-OS: FreeBSD MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1889748.kZNS3XYE3E"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200503301348.53238@harrymail> X-Y-GMX-Trusted: 0 cc: John Pettitt Subject: Re: How do I kill the console? (or how to make nullconsole work) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2005 11:48:37 -0000 --nextPart1889748.kZNS3XYE3E Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Mittwoch, 30. M=E4rz 2005 09:16 schrieb John Pettitt: > I'm running 5.4 BETA1 on a soekris 4801 board. The unit emulates a > console on a serial port. I want to use the serial port for my GPS so I > want the console messages from BSD to go away - an in particular I want > BSD to ignore inbound data during the boot process. > > So far: > > I've used the regular mbr so that I don't get the disk prompt > I've added "boot" to loader.rc before the beastie call so that it > doesn't display the menu > > Both these change work > > However if I add boot.config with -n -m the system doesn't boot (and I > can't tell why because I have no messages!) > If I set console=3D"nullconsole" the system doesn't boot and again I can't > see why. > > Does anybody have any wisdom on how to get nullconsole to work? Unfortunately not, but if you defined nullconsole I think no /boot.config i= s=20 allowed. I'd suggest you try to set hints.sio.1.flags=3D"0x10" and make sure=20 hints.sio.0.flags doesn't exist. This should make the second (not DB-9=20 connected) serial ports of the 4801 systemconsole. Alternatively you can try setting boot_serial=3D"sio1" in /boot/loader.conf= , but=20 I never tried that. Make sure in any case you also have "console=3Dcomconsole" in /boot/loader.= conf since the soekris bios emulates a simple "VGA"-Console. You can also recompile the loader to tell it what sio (and at what speed) i= t=20 should use. The following in /etc/make.conf does the trick: BOOT_COMCONSOLE_PORT=3D 0x2F8 BOOT_COMCONSOLE_SPEED=3D 115200 =46or the loader to recompile goto /usr/src/sys/boot and do: make clean && make depend && make && make install Good luck, =2DHarry > > John > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" --nextPart1889748.kZNS3XYE3E Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCSpIlBylq0S4AzzwRAvvJAJ4mUFDMc8qSGRQytOSmG/Q4BsGoNwCeL9o9 CmR44/3DHv6FO7BpKRZTljs= =bu5U -----END PGP SIGNATURE----- --nextPart1889748.kZNS3XYE3E--