From nobody@FreeBSD.ORG  Fri Jun 30 20:40:00 2000
Return-Path: <nobody@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
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: current kernel build failes on miibus
X-Send-Pr-Version: www-1.0

>Number:         19616
>Category:       kern
>Synopsis:       current kernel build failes on miibus
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 30 20:40:01 PDT 2000
>Closed-Date:    Sun Feb 25 03:06:23 PST 2001
>Last-Modified:  Sun Feb 25 03:06:46 PST 2001
>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:

From: Johan Karlsson <k@numeri.campus.luth.se>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/19616: current kernel build failes on miibus
Date: Thu, 03 Aug 2000 16:57:35 +0200

 Probably out-of-sync src/sys
 see PR 19615
 http://www.FreeBSD.org/cgi/query-pr.cgi?pr=19615
 
 /Johan K 
 
 
 
State-Changed-From-To: open->feedback 
State-Changed-By: johan 
State-Changed-When: Thu Aug 24 01:56:16 PDT 2000 
State-Changed-Why:  
Has this problem been solved for you? 


http://www.freebsd.org/cgi/query-pr.cgi?pr=19616 
State-Changed-From-To: feedback->closed 
State-Changed-By: johan 
State-Changed-When: Sun Feb 25 03:06:23 PST 2001 
State-Changed-Why:  
Feedback timed-out. 

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