Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2005 22:11:56 -0700
From:      Drew Tomlinson <drew@mykitchentable.net>
To:        Glenn Dawson <glenn@antimatter.net>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: How To Set Speed Of Serial Console In 5.4-RELEASE?
Message-ID:  <42E0801C.9050900@mykitchentable.net>
In-Reply-To: <42E07E9F.9010302@mykitchentable.net>
References:  <42E07560.9080309@mykitchentable.net> <6.1.0.6.2.20050721214010.03fa7080@cobalt.antimatter.net> <42E07E9F.9010302@mykitchentable.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/21/2005 10:05 PM Drew Tomlinson wrote:

> On 7/21/2005 9:43 PM Glenn Dawson wrote:
>
>> At 09:26 PM 7/21/2005, Drew Tomlinson wrote:
>>
>>> I have compiled two kernels and worlds in the 5.4-RELEASE source tree.
>>> In /etc/make.conf, I have the line:
>>>
>>> BOOT_COMCONSOLE_SPEED=115200
>>>
>>> Yet the speed stays at 9600 baud.  This worked in version 4.  Do I 
>>> need to do something different in version 5?
>>
>>
>>
>> According to the handbook section 20.6.5.1 you need to build and 
>> install new boot blocks after adding that option to make.conf.
>
>
>
> Thanks for your reply.  Don't boot blocks get compiled and installed 
> as part of the make world and make kernel process?  I've built and 
> installed world and kernel twice since adding that line to make.conf.  
> As I recall, I didn't have to do this separately in 4.x.
>
> Thanks,
>
> Drew
>
I just re-read the section in the handbook.  Step 6 says to install the 
boot blocks with disklabel.  Maybe this is the part I've missed? 

The bsdlabel man page shows this example:

bsdlabel -B da0s1

da0 is my boot disk.  It is labeled as follows:

blacklamb# bsdlabel da0s1
# /dev/da0s1:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:  1024000        0    4.2BSD     2048 16384 64008
  c: 17783112        0    unused        0     0         # "raw" part, 
don't edit
  d: 16759112  1024000    4.2BSD     2048 16384 28552

So can I safely issue this command without destroying the data on my drive?

Thanks again,

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?42E0801C.9050900>