From root@esm2.imt-mrs.fr  Tue Jan 14 04:02:24 2003
Return-Path: <root@esm2.imt-mrs.fr>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id AE92E37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 14 Jan 2003 04:02:24 -0800 (PST)
Received: from remoudou.esm2.imt-mrs.fr (remoudou.esm2.imt-mrs.fr [147.94.38.9])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0715C43F3F
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 14 Jan 2003 04:02:24 -0800 (PST)
	(envelope-from root@esm2.imt-mrs.fr)
Received: from localhost (localhost [127.0.0.1])
	by remoudou.esm2.imt-mrs.fr (Postfix) with ESMTP id 34978DBCC
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 14 Jan 2003 12:02:22 +0000 (GMT)
Received: by remoudou.esm2.imt-mrs.fr (Postfix, from userid 0)
	id 92904D94B; Tue, 14 Jan 2003 13:02:19 +0100 (CET)
Message-Id: <20030114120219.92904D94B@remoudou.esm2.imt-mrs.fr>
Date: Tue, 14 Jan 2003 13:02:19 +0100 (CET)
From: Root <info@esm2.org>
Reply-To: Root <info@esm2.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Missing COMBRD variable in sources
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         47045
>Category:       i386
>Synopsis:       Missing COMBRD variable in sources
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 14 04:10:03 PST 2003
>Closed-Date:    Mon Feb 10 03:35:03 PST 2003
>Last-Modified:  Mon Feb 10 03:35:03 PST 2003
>Originator:     Root
>Release:        FreeBSD 4.6-STABLE i386 and 4.7-STABLE too
>Organization:
ESM2
>Environment:
System: FreeBSD remoudou.esm2.imt-mrs.fr 4.6-STABLE FreeBSD 4.6-STABLE #1: Thu Jul 11 15:38:43 CEST 2002 root@remoudou.esm2.imt-mrs.fr:/u/promo2004/src/sys/compile/mamienne.kernel.nfs i386


	
>Description:

	Missing variable (#define) COMBRD(x) in sioreg.h

We've tried to set up a serial console and change the speed
as described in the handbook, we need to make boot blocks
so:

cd /usr/src/sys/i386/boot/biosboot
make


cc -O2 -malign-functions=0 -malign-jumps=0 -malign-loops=0  -DBOOTWAIT=5000 -DTIMEOUT= -DBOOTSEG=0x1000 -DBOOTSTACK=0xFFF0 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi -DCOMCONSOLE=0x3F8 -DCONSPEED=9600 -mpreferred-stack-boundary=2 -aout -nostdinc -I/u/promo2004/src/sys/i386/boot/biosboot/../../../../include -I/u/promo2004/src/sys/i386/boot/biosboot/../../.. -I/u/promo2004/src/sys/i386/boot/biosboot   -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -N -T 0 -nostdlib -static -o boot start.o table.o boot2.o boot.o asm.o bios.o serial.o probe_keyboard.o io.o disk.o sys.o
serial.o: Undefined symbol `COMBRD' referenced from text segment
serial.o: Undefined symbol `COMBRD' referenced from text segment
*** Error code 1


grep -ri COMBRD /usr/src/sys ... nothing


>How-To-Repeat:

cd /usr/src/sys/i386/boot/biosboot; make

>Fix:
 add a #define COMBRD(x)       (1843200 / (16*(x))) in sioreg.h ??? hum .. deprecated isn'it


>Release-Note:
>Audit-Trail:

From: Bruce Evans <bde@zeta.org.au>
To: Root <info@esm2.org>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: i386/47045: Missing COMBRD variable in sources
Date: Wed, 15 Jan 2003 02:40:57 +1100 (EST)

 On Tue, 14 Jan 2003, Root wrote:
 
 > >...
 > >Release:        FreeBSD 4.6-STABLE i386 and 4.7-STABLE too
 > >...
 > >Description:
 >
 > 	Missing variable (#define) COMBRD(x) in sioreg.h
 >
 > We've tried to set up a serial console and change the speed
 > as described in the handbook, we need to make boot blocks
 > so:
 >
 > cd /usr/src/sys/i386/boot/biosboot
 > make
 
 biosboot isn't supported.  It was replaced by boot2 and loader in
 FreeBSD-3.0 or thereabouts.  Its sources were axed in -current
 but not in RELENG_4.
 
 If the handbook says to do this, then it is more than 4 years out of
 date.
 
 Bruce
 
State-Changed-From-To: open->feedback 
State-Changed-By: dwmalone 
State-Changed-When: Sat Feb 8 15:21:09 PST 2003 
State-Changed-Why:  
Can you use boot2 and the loader, as suggested by Bruce? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=47045 
State-Changed-From-To: feedback->closed 
State-Changed-By: dwmalone 
State-Changed-When: Mon Feb 10 03:34:18 PST 2003 
State-Changed-Why:  
Submitter indicates that Bruce's suggestion worked. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=47045 
>Unformatted:
