Re: 6.2 Headless Installs Don't Seem to Work.



Watanabe Kazuhiro writes:
Try:

console="comconsole,vidconsole"
boot

instead of "boot -h".

First, thanks for an excellent suggestion. I tried it
and have not been successful so far. During the pause, I hit 6
and got control of the boot process. I typed
console="comconsole,vidconsole", hit Enter and then the word
boot at which time the booting process resumed. It came up in
video console mode, completely ignoring the directive.

The FreeBSD Handbook has a chapter on "Setting up the
Serial Console" (24.6), which explains the -h and -D flags, the
-D flag allowing for a Duel video and serial console. It also
has a very interesting passage, quoted here:

-D
Toggles single and dual console configurations. In the
single configuration the console will be either the
internal console (video display) or the serial port,
depending on the state of the -h option above. In the
dual console configuration, both the video display and
the serial port will become the console at the same time,
regardless of the state of the -h option. However, note
that the dual console configuration takes effect only
during the boot block is running. Once the boot loader
gets control, the console specified by the -h option
becomes the only console.

End of quote.

That hard lockup I described in an earlier message is
not what I thought it was. It isn't a lockup for the whole
booting process, but a lockout of the serial console. It is as
if the -h flag gets turned off after the boot block runs. Either
the -h or the -D flags produce exactly the same results. You do
get the serial console during the kernel boot as expected and
then it reverts back to the local video console just after the
message I quoted in an earlier message that says, "Trying to
mount /root on /dev/md0."

This makes a certain amount of sense even if it is the
wrong behavior. The documentation says that only the duel mode
should behave this way and then the kernel goes to whatever mode
-h told it to use. That is apparently what is not happening.

If I do just the

console="comconsole,vidconsole"

I get nothing serial at all. When I install a 6.2 kernel and put
that command in /boot/loader.conf, it works on the serial port
perfectly.

All versions of FreeBSD up to 6 did continue to work via
the serial port so that one could do the whole installation via
that method so whatever broke was introduced in FreeBSD6 if that
helps narrow things down any.

Thanks for any further suggestions.

I did go ahead and enlist the aid of a coworker on this
system so the immediate problem is solved, but I have been
experimenting with the CD this afternoon to see if the
suggestion solved the problem. It should have so this is a bit
strange.

Martin McCormick WB5AGZ Stillwater, OK
Systems Engineer
OSU Information Technology Department Network Operations Group
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: New HDD Installation
    ... Incidentally I think that the reason that the disc doesn't want to boot is because it doesn't have a proper Master Boot Record, it wasn't done by the cloning operation. ... If running the commands doesn't fix the problem then you can use the F10 option to install Windows and do an In-Place Upgrade, or what is more commonly called a "Repair Install". ... The results of our earlier test in the Disk Management console were not conclusive, was the option to do so there but simply unavailable or did you not see any option to do so at all? ...
    (microsoft.public.windowsxp.general)
  • Re: Gentoo on Sun Ultra 5
    ... >>> console. ... I want to boot from CDROM /using the serial port as the console/ ... installation image over the newtork... ...
    (uk.comp.os.linux)
  • Prime 2550, part 2
    ... recently I left it running overnight and the next ... The system console I was using is also dead. ... However, during boot, immediately after the ...
    (comp.sys.prime)
  • Re: Yet more display troubles with 2.6.15-rc5-mm2
    ... >> If I boot with vga=normal, ... >> garbled graphics mode screeen with either what looks like just random ... >> then start it again (the garbled text mode console does work, ...
    (Linux-Kernel)
  • Re: [patch 2.6.28-rc2] atmel_serial: keep clock off when its not needed
    ... The other UARTs' clocks again behaved correctly during normal ... Not for the oddball case Haavard mentioned, no: the console port ... the early boot messages in any case. ... and worry about that issue later. ...
    (Linux-Kernel)