Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.hawaii.edu!news.uoregon.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!swrinde!tank.news.pipex.net!pipex!blackbush.xlink.net!slsv6bt!bln.sel.alcatel.de!news
From: blume_h@slbwlz.bln.sel.alcatel.de (H. Blume von Contributed)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: serial console problems
Date: 13 Jun 1996 14:27:00 +0200
Organization: Alcatel SEL
Lines: 59
Sender: blume_h@slbwlz.bln.sel.alcatel.de
Message-ID: <k8d933x52j.fsf@slbwlz.bln.sel.alcatel.de>
References: <4p9pbn$31o@news.b-1.de.contrib.net>
<4po2qu$lfv@godzilla.zeta.org.au>
NNTP-Posting-Host: slbwlz.bln.sel.alcatel.de
In-reply-to: bde@zeta.org.au's message of 13 Jun 1996 13:44:30 +1000
X-Newsreader: Gnus v5.1
>>>>> "Bruce" == Bruce Evans <bde@zeta.org.au> writes:
In article <4po2qu$lfv@godzilla.zeta.org.au> bde@zeta.org.au (Bruce Evans) writes:
Bruce> In article <4p9pbn$31o@news.b-1.de.contrib.net>,
Bruce> Heiko Blume <src@B-1.de.Contrib.Net> wrote:
>> this should most probably go into the FAQ/Handbook. i've setup a serial
>> console like this:
>>
>> - make new kernel with "options COMCONSOLE"
>>
>> - cd /sys/i386/boot/biosboot/
>> - enable "-DFORCE_COMCONSOLE" in the Makefile
>> - make clean; make; make install
>>
>> - disklabel -B sd0
>>
>> which kind of works if i leave the VGA and keyboard installed.
>> if i remove them the kernel will display a nice panic message
>> on the serial console when/after probing for sc0 :-(
Bruce> Disable or don't configure any *GA console drivers if you don't
Bruce> have a *GA.
what do you mean by 'disable'?
Bruce> The sc0 probe always succeeds and in some cases when
Bruce> there is no *GA, the driver apparently defaults to a VGA and follows
Bruce> non-existent VGA BIOS pointers.
that's how i understand it now, too, reading the source for soem time.
>> also, the first text that appears on the serial console
>> is from the kernel itself. i don't get the boot block
>> output, which appears on the VGA instead. not good, i'd like
>> to get the boot prompt on the serial :-(
Bruce> Using FORCE_COMCONSOLE should have made the initial prompt go to
Bruce> the serial console. Perhaps the new bootstrap didn't actually
Bruce> get installed.
i get everything starting with "FreeBSD 2.1-STABLE #0:", so it seems
like it's half working ... i'll redo the boot sectors anyway.
>> i will now try a kernel without the console driver (sc0),
>> but that's not what i intended to do, actually.
Bruce> Just disable it. You can skip rebuilding a new kernel with
Bruce> "options COMCONSOLE" if you disable all non-serial consoles.
Bruce> Then the console defaults to sio0. This is only useful if
Bruce> you don't have or want to use a screen/keyboard of course.
how do i do that?
thnx hb
--
email: src@contrib.net / Heiko.Blume@bln.sel.alcatel.de
TCP/IP GmbH, Woertherstr. 16, 10405 Berlin
Tel: +49.30/443366-0, Fax: +49.30/443366-15