From owner-freebsd-bugs  Fri Jun 30 20:40: 8 2000
Delivered-To: freebsd-bugs@freebsd.org
Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21])
	by hub.freebsd.org (Postfix) with ESMTP id 91B9337BBC4
	for <freebsd-bugs@FreeBSD.org>; Fri, 30 Jun 2000 20:40:01 -0700 (PDT)
	(envelope-from gnats@FreeBSD.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.9.3/8.9.2) id UAA09207;
	Fri, 30 Jun 2000 20:40:01 -0700 (PDT)
	(envelope-from gnats@FreeBSD.org)
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 25CDA37B76A; Fri, 30 Jun 2000 20:40:00 -0700 (PDT)
Message-Id: <20000701034000.25CDA37B76A@hub.freebsd.org>
Date: Fri, 30 Jun 2000 20:40:00 -0700 (PDT)
From: patrick@kessen.yi.org
To: freebsd-gnats-submit@FreeBSD.org
X-Send-Pr-Version: www-1.0
Subject: kern/19616: current kernel build failes on miibus
Sender: owner-freebsd-bugs@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


>Number:         19616
>Category:       kern
>Synopsis:       current kernel build failes on miibus
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 30 20:40:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Patrick Kessen
>Release:        4.0-20000608-stable
>Organization:
>Environment:
FreeBSD kessen.yi.org 4.0-20000608-STABLE FreeBSD 4.0-20000608-STABLE #0: Tue Jun 27 02:51:03 CEST 2000     admin@gateway.kessen.home:/usr/src/sys/compile/GATEWAY  i386

>Description:
After fixing the blowfish and bioscall.s prob in the current tree the next prob occurs when using MIIBUS in the current kernel (30-june-2000)

cc -O -pipe  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-pro
totypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat
-extensions -ansi -DKLD_MODULE -nostdinc -I-  -I. -I@ -I/usr/include  -mpref
erred-stack-boundary=2 -c
/usr/src/sys/modules/mii/../../dev/mii/ukphy_subr.c
cc -O -pipe  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-pro
totypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat
-extensions -ansi -DKLD_MODULE -nostdinc -I-  -I. -I@ -I/usr/include  -mpref
erred-stack-boundary=2 -c miibus_if.c
miibus_if.c: In function `MIIBUS_READREG':
miibus_if.c:27: warning: implicit declaration of function `DEVOPMETH'
miibus_if.c:27: `miibus_readreg' undeclared (first use in this function)
miibus_if.c:27: (Each undeclared identifier is reported only once
miibus_if.c:27: for each function it appears in.)
miibus_if.c: In function `MIIBUS_WRITEREG':
miibus_if.c:38: `miibus_writereg' undeclared (first use in this function)
miibus_if.c: In function `MIIBUS_STATCHG':
miibus_if.c:49: `miibus_statchg' undeclared (first use in this function)
miibus_if.c: In function `MIIBUS_MEDIAINIT':
miibus_if.c:60: `miibus_mediainit' undeclared (first use in this function)
*** Error code 1

Stop in /usr/src/sys/modules/mii.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/src/sys/compile/GATEWAY.


>How-To-Repeat:
get the current sources, put the crypto/blowfish dir into /usr/src/sys, copy /usr/src/sys/i386/i386/biocall.s from the original tree over the current one (otherwise the build will fail in an earlier stage)

put MIIBUS support in the kernel config file:

device          miibus

and try to compile the kernel.


>Fix:
I haven't found a fix for this yet.

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


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