From owner-freebsd-current Sun Jul 20 10:27:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA25225 for current-outgoing; Sun, 20 Jul 1997 10:27:13 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA25214 for ; Sun, 20 Jul 1997 10:27:10 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id DAA11292; Mon, 21 Jul 1997 03:24:41 +1000 Date: Mon, 21 Jul 1997 03:24:41 +1000 From: Bruce Evans Message-Id: <199707201724.DAA11292@godzilla.zeta.org.au> To: ahd@kew.com, current@FreeBSD.ORG Subject: Re: current-digest V3 #104 Cc: bde@zeta.org.au Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Second, and more importantly, if I have a urgent need to switch to a >serial console and I don't have time to regen or extensively reconfigure >the kernel, I don't want to be blocked by the kernel refusing to use a >reasonable default. (One of my systems doesn't have a normally have >monitor -- blindly feeding a boot -h is doable, a kernel reconfig is >_not_.) Actually, it is: boot with -hc, then wait for userconfig to start, then type `flags sio0 0x10q' and reboot (switching of consoles in userconfig currently only works for switching between syscons and pcvt). Or if the system boots far enough for you to login from somewhere, put this in /kernel.config: printf "USERCONFIG\n"flags sio0 0x10\nq\n" >/kernel.config (or edit /kernel/config to preserve the existing configuration) and reboot. Or if you have a clue, put this in /kernel[.new].config before booting the new kernel, or configure the new kernel before using it. Bruce