Geoff Roberts
2008-Feb-16 05:07 UTC
Single user mode behaviour with serial console in 7.0RC2
Hi, I have built a FreeBSD 7.0RC2 system to use both the serial and video consoles. I find that when I drop into single user mode (shutdown now) on the terminal connected to the box itself I do not see the single user mode prompt on the serial console terminal. Likewise, when I drop to single user mode on the serial console I do not see the single user prompt on the terminal connected to the box itself. Is this expected, or have I configured something incorrectly? In /etc/make.conf I have BOOT_COMCONSOLE_SPEED=115200 In my kernel configuration file I have: options CONSPEED=115200 I have rebuilt and installed world and the kernel. In /etc/ttys I have ttyd0 "/usr/libexec/getty std.115200" vt100 on secure I have also re-installed the bootstrap code: cd /usr/src/sys/boot make install bsdlabel -B bootPartition In /boot/loader.conf I have boot_multicon="YES" boot_serial="YES" comconsole_speed="115200" console="vidconsole,comconsole" Kind regards, Geoff
Jeremy Chadwick
2008-Feb-16 05:38 UTC
Single user mode behaviour with serial console in 7.0RC2
On Sat, Feb 16, 2008 at 11:51:46PM +1100, Geoff Roberts wrote:> Hi, > > I have built a FreeBSD 7.0RC2 system to use both the serial and video > consoles. > > I find that when I drop into single user mode (shutdown now) on the terminal > connected to the box itself I do not see the single user mode prompt on the > serial console terminal. > > Likewise, when I drop to single user mode on the serial console I do not see > the single user prompt on the terminal connected to the box itself. > > Is this expected, or have I configured something incorrectly?FreeBSD does not support 100% dual-console configuration under all stages of use; that is to say, single-user prompts will be output to either VGA or serial console, but not both. Some additional tips:> In /etc/make.conf I have BOOT_COMCONSOLE_SPEED=115200Not required if you use -S115200 in /boot.config.> options CONSPEED=115200Not needed; see above.> boot_multicon="YES" > boot_serial="YES" > comconsole_speed="115200" > console="vidconsole,comconsole"Not needed if -Dh is added to /boot.config (e.g. -S115200 -Dh). Hope this helps. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |