Date: Wed, 30 Mar 2005 13:48:43 +0200 From: Emanuel Strobl <emanuel.strobl@gmx.net> To: freebsd-questions@freebsd.org Cc: John Pettitt <jpp@cloudview.com> Subject: Re: How do I kill the console? (or how to make nullconsole work) Message-ID: <200503301348.53238@harrymail> In-Reply-To: <424A5247.1050401@cloudview.com> References: <424A5247.1050401@cloudview.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503301348.53238>