How To Set Speed Of Serial Console In 5.4-RELEASE?
Drew Tomlinson
drew at mykitchentable.net
Fri Jul 22 05:12:53 GMT 2005
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
More information about the freebsd-questions
mailing list