Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 May 2004 16:28:54 -0700
From:      Drew Tomlinson <drew@mykitchentable.net>
To:        Stijn Hoop <stijn@win.tue.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Connecting to a Headless machine, after install
Message-ID:  <40A01036.3050604@mykitchentable.net>
In-Reply-To: <20040507114247.GB861@pcwin002.win.tue.nl>
References:  <409B0973.7030205@solisix.com> <409B4259.9040300@users.sourceforge.net> <20040507081053.GA861@pcwin002.win.tue.nl> <409B6DBD.1080704@users.sourceforge.net> <20040507114247.GB861@pcwin002.win.tue.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/7/2004 4:42 AM Stijn Hoop wrote:

>On Fri, May 07, 2004 at 08:06:37PM +0900, Rob wrote:
>  
>
>>Stijn Hoop wrote:
>>    
>>
>>>On Fri, May 07, 2004 at 05:01:29PM +0900, Rob wrote:
>>>      
>>>
>>>>Funny, that I'm struggling with opposite problem: I do not get the
>>>>boot messages over the serial cable, but do get the login prompt,
>>>>which I do not understand :(.
>>>>        
>>>>
>>>You probably need to tell the kernel to use the serial console:
>>>
>>># echo '-h' > /boot.config
>>>      
>>>
>>Ah, thanks. I don't have a /boot.config yet. Are you sure this file goes
>>in the top-root directory? Or in /boot/... ?
>>    
>>
>
>Yes, top-root /. Check the handbook, section 17.6:
>
>http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html
>
>  
>
>>You made me research a little more on this. I do have a file 
>>/boot/loader.conf.
>>How about having in here the line
>>
>>  console="comconsole"
>>
>>(to divert it from the default: console="vidconsole") ?
>>
>>Or will that not do the same?
>>    
>>
>
>Having -h in /boot.config will also allow the boot blocks to output to
>your serial console. I suspect console="comconsole" would help the loader
>+ kernel. It certainly couldn't hurt I guess :)
>
If I understand the process correctly, settings in /boot/loader.conf 
override settings in /boot.config as the boot loader happens after the 
boot blocks.  Thus by setting "comconsole" will negate any settings in 
/boot.config.  Setting in both places is redundant and may cause 
problems for you when troubleshooting.

For my serial console, I set my kernel flag to 0x10 so I have console 
options without recompiling.  Then I do my serial console settings in 
/boot.config as it happens earlier in the boot stage and thus, I get my 
serial console a little sooner.

HTH,

Drew

-- 
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books, & More!

http://www.alchemistswarehouse.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40A01036.3050604>