Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 2002 13:03:54 -0700 (PDT)
From:      Michael Hogsett <hogsett@csl.sri.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   alpha/39305: Alpha Kernel Build for Miata dies if no `device sio0'
Message-ID:  <200206142003.g5EK3swZ082077@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         39305
>Category:       alpha
>Synopsis:       Alpha Kernel Build for Miata dies if no `device sio0'
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-alpha
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 14 13:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Michael Hogsett
>Release:        4.6-RELEASE
>Organization:
>Environment:
FreeBSD axp.csl.sri.com 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Thu Jun 13 17:30:11 PDT 2002     root@axp.csl.sri.com:/usr/src/sys/compile/AXP  alpha

>Description:
With the following in a kernel config file :

options         DEC_ST550

#device         sio0 

The kernel build will fail with

cc -c -O -pipe -mcpu=ev4 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/ipfilter  -D_KERNEL -include opt_global.h -elf  -mno-fp-regs -Wa,-mev56  vers.c
linking kernel
dec_st550.o: In function `st550_cons_init':
dec_st550.o(.text+0x124): undefined reference to `comconsole'
dec_st550.o(.text+0x134): undefined reference to `siocnattach'
dec_st550.o(.text+0x138): undefined reference to `siocnattach'
*** Error code 1

>How-To-Repeat:
Comment out `device sio0' in the kernel config file.


>Fix:
I recommend a comment stating that the serial device(s) are required.


*** GENERIC.patched     Fri Jun 14 13:00:16 2002
--- GENERIC     Thu Jun 13 10:22:45 2002
*************** device          sc0     at isa?
*** 119,125 ****
  # real time clock
  device                mcclock0 at isa? port 0x70
  
! # Serial (COM) ports (required)
  device                sio0    at isa? port IO_COM1 irq 4
  device                sio1    at isa? port IO_COM2 irq 3 flags 0x50
  
--- 119,125 ----
  # real time clock
  device                mcclock0 at isa? port 0x70
  
! # Serial (COM) ports
  device                sio0    at isa? port IO_COM1 irq 4
  device                sio1    at isa? port IO_COM2 irq 3 flags 0x50
  

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




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