From nobody@www.freebsd.org  Thu May 23 08:18:45 2002
Return-Path: <nobody@www.freebsd.org>
Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by hub.freebsd.org (Postfix) with ESMTP id 66C7037B407
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 23 May 2002 08:18:45 -0700 (PDT)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g4NFIdhG055504
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 23 May 2002 08:18:39 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.2/8.12.2/Submit) id g4NFIdL8055503;
	Thu, 23 May 2002 08:18:39 -0700 (PDT)
Message-Id: <200205231518.g4NFIdL8055503@www.freebsd.org>
Date: Thu, 23 May 2002 08:18:39 -0700 (PDT)
From: Terry <terry@taipeitimes.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: There is no a file iicbb_if.c on source tree.
X-Send-Pr-Version: www-1.0

>Number:         38458
>Category:       kern
>Synopsis:       There is no a file iicbb_if.c on source tree.
>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:   Thu May 23 08:20:01 PDT 2002
>Closed-Date:    Sun Jun 08 10:49:27 PDT 2003
>Last-Modified:  Sun Jun 08 10:49:27 PDT 2003
>Originator:     Terry
>Release:        4.5
>Organization:
LifeTaiwan
>Environment:
FreeBSD home.lifetaiwan.net 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #0: Fri May  3 07:00:32 CST 2002     terry@home.lifetaiwan.net:/usr/obj/usr/src/sys/MY  i386
 
>Description:
when I try to include the following to my kernel.
-----------
device          smbus           # Bus support, required for smb below.
device          viapm
device          smb
-----------
then, going to config KERNELCONF , cd ../../compile/KERNELCONF
make depend

rm -f .newdep
make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | xargs  mkdep -a -f .newdep -O -pipe  -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  -mpreferred-stack-boundary=2
../../pci/viapm.c:53: iicbb_if.h: No such file or directory
mkdep: compile failed
*** Error code 1
There is no file named "iicbb_if.h", and the path to include in 
"/usr/src/sys/pci/viapm.c

#include "iicbb_if.h"
#include "smbus_if.h"









>How-To-Repeat:
include the following to your kernel config file, then recompile
-----------
device          smbus           # Bus support, required for smb below.
device          viapm
device          smb
-----------
>Fix:
      
>Release-Note:
>Audit-Trail:

From: Peter Pentchev <roam@ringlet.net>
To: Terry <terry@taipeitimes.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: kern/38458: There is no a file iicbb_if.c on source tree.
Date: Thu, 23 May 2002 18:26:27 +0300

 On Thu, May 23, 2002 at 08:18:39AM -0700, Terry wrote:
 > 
 > >Number:         38458
 > >Category:       kern
 > >Synopsis:       There is no a file iicbb_if.c on source tree.
 > >Originator:     Terry
 > >Release:        4.5
 > >Organization:
 > LifeTaiwan
 > >Environment:
 > FreeBSD home.lifetaiwan.net 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #0: Fri May  3 07:00:32 CST 2002     terry@home.lifetaiwan.net:/usr/obj/usr/src/sys/MY  i386
 >  
 > >Description:
 > when I try to include the following to my kernel.
 > -----------
 > device          smbus           # Bus support, required for smb below.
 > device          viapm
 > device          smb
 > -----------
 > then, going to config KERNELCONF , cd ../../compile/KERNELCONF
 > make depend
 
 Have you previously compiled a kernel in that directory?  If so, you
 may need to 'make clean' before 'make depend', or, alternatively,
 use 'config -r KERNELCONF' to clean up the directory.
 
 G'luck,
 Peter
 
 -- 
 Peter Pentchev	roam@ringlet.net	roam@FreeBSD.org
 PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
 Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
 I had to translate this sentence into English because I could not read the original Sanskrit.
State-Changed-From-To: open->feedback 
State-Changed-By: johan 
State-Changed-When: Tue Aug 20 11:47:56 PDT 2002 
State-Changed-Why:  
Did you try Peters suggestion with a 'make clean' 
or 'config -r'? 

Please followup by sending a mail to 
freebsd-gnats-submit@FreeBSD.org 
with the subject of this mail intact. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=38458 

From: Peter Pentchev <roam@ringlet.net>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/38458: There is no a file iicbb_if.c on source tree.
Date: Mon, 26 Aug 2002 17:22:27 +0300

 Well, it looks like I assumed that the originator had actually
 CC'd bug-followup@ on this one.  Here's his response.
 
 G'luck,
 Peter
 
 --=20
 Peter Pentchev	roam@ringlet.net	roam@FreeBSD.org
 PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
 Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
 This sentence would be seven words long if it were six words shorter.
 
 ----- Forwarded message from Terry <terry@taipeitimes.com> -----
 
 From: "Terry" <terry@taipeitimes.com>
 To: Peter Pentchev <roam@ringlet.net>
 Subject: Fw: Re: kern/38458: There is no a file iicbb_if.c on source tree.
 Date: Fri, 24 May 2002 23:58:45 +0800
 In-Reply-To: <20020523182627.B370@straylight.oblivion.bg>
 X-OriginatingIP: 61.216.18.2 (terry)
 
 Really thanks , Mr. Peter
 I had tried the thing you suggested.
 But there is no a file named iicbb_if.h
 =2E./../pci/viapm.c:53: iicbb_if.h: No such file or directory
 The following was what I did.
 
 bash-2.05a# cd /sys/i386/conf/
 bash-2.05a# ls
 GENERIC LINT    MY
 bash-2.05a# config -r MY
 Removing old directory ../../compile/MY:  Done.
 Don't forget to do a ``make depend''
 Kernel build directory is ../../compile/MY
 bash-2.05a# cd ../../compile/MY
 bash-2.05a# make depend
 cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototype=
 s  -W  =20
                                                                 missing-pro=
 totypes
 -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -an              =
        =20
                                              si  -nostdinc -I- -I. -I../..
 -I../../../include -I../../contrib/ipfilter  -D_KE                         =
        =20
                                   RNEL -include opt_global.h -elf=20
 -mpreferred-stack-boundary=3D2 ../../i386/i386/ge                          =
          =20
                                nassym.c
 sh ../../kern/genassym.sh genassym.o > assym.s
 perl5 ../../kern/vnode_if.pl -h ../../kern/vnode_if.src
 perl5 ../../kern/makeops.pl -c ../../kern/device_if.m
 perl5 ../../kern/makeops.pl -h ../../kern/device_if.m
 perl5 ../../kern/makeops.pl -c ../../kern/bus_if.m
 perl5 ../../kern/makeops.pl -h ../../kern/bus_if.m
 perl5 ../../kern/makeops.pl -c ../../dev/mii/miibus_if.m
 perl5 ../../kern/makeops.pl -h ../../dev/mii/miibus_if.m
 perl5 ../../kern/makeops.pl -c ../../dev/pccard/power_if.m
 perl5 ../../kern/makeops.pl -h ../../dev/pccard/power_if.m
 perl5 ../../kern/makeops.pl -c ../../dev/pccard/card_if.m
 perl5 ../../kern/makeops.pl -h ../../dev/pccard/card_if.m
 perl5 ../../kern/makeops.pl -c ../../dev/ppbus/ppbus_if.m
 perl5 ../../kern/makeops.pl -h ../../dev/ppbus/ppbus_if.m
 perl5 ../../kern/makeops.pl -c ../../dev/smbus/smbus_if.m
 perl5 ../../kern/makeops.pl -h ../../dev/smbus/smbus_if.m
 perl5 ../../kern/makeops.pl -c ../../pci/pci_if.m
 perl5 ../../kern/makeops.pl -h ../../pci/pci_if.m
 perl5 ../../kern/makeops.pl -c ../../dev/usb/usb_if.m
 perl5 ../../kern/makeops.pl -h ../../dev/usb/usb_if.m
 perl5 ../../kern/makeops.pl -c ../../isa/isa_if.m
 perl5 ../../kern/makeops.pl -h ../../isa/isa_if.m
 perl5 ../../kern/vnode_if.pl -c ../../kern/vnode_if.src
 rm -f .newdep
 make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | xargs  mkdep -a -f .newdep =
 -O -p  =20
                                                                 ipe  -Wall
 -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-pro      =
        =20
                                                      totypes -Wpointer-arith
 -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdi                   =
        =20
                                         nc -I- -I. -I../.. -I../../../inclu=
 de
 -I../../contrib/ipfilter  -D_KERNEL -inclu                                 =
        =20
                           de opt_global.h -elf  -mpreferred-stack-boundary=
 =3D2
 =2E./../pci/viapm.c:53: iicbb_if.h: No such file or directory
 mkdep: compile failed
 *** Error code 1
 
 Stop in /usr/src/sys/compile/MY.
 
 
 
 
 ---------- Forwarded Message -----------
 On Thu, May 23, 2002 at 08:18:39AM -0700, Terry wrote:
 >
 > >Number:         38458
 > >Category:       kern
 > >Synopsis:       There is no a file iicbb_if.c on source tree.
 > >Originator:     Terry
 > >Release:        4.5
 > >Organization:
 > LifeTaiwan
 > >Environment:
 > FreeBSD home.lifetaiwan.net 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #0: Fri=
  May  3
 07:00:32 CST 2002     terry@home.lifetaiwan.net:/usr/obj/usr/src/sys/MY  i3=
 86
 >
 > >Description:
 > when I try to include the following to my kernel.
 > -----------
 > device          smbus           # Bus support, required for smb below.
 > device          viapm
 > device          smb
 > -----------
 > then, going to config KERNELCONF , cd ../../compile/KERNELCONF
 > make depend
 
 Have you previously compiled a kernel in that directory?  If so, you
 may need to 'make clean' before 'make depend', or, alternatively,
 use 'config -r KERNELCONF' to clean up the directory.
 
 G'luck,
 Peter
 
 --
 Peter Pentchev	roam@ringlet.net	roam@FreeBSD.org
 PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
 Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
 I had to translate this sentence into English because I could not read the =
 original
 Sanskrit.
 ------- End of Forwarded Message -------
 
 
 --
 
 
 TerryH
 http://www.taipeitimes.com
 http://www.lifetaiwan.net
 
 
 ----- End forwarded message -----

From: Maxim Maximov <mcsi@agava.com>
To: freebsd-gnats-submit@FreeBSD.org, terry@taipeitimes.com
Cc:  
Subject: Re: kern/38458: There is no a file iicbb_if.c on source tree.
Date: Thu, 29 Aug 2002 17:51:51 +0400

 you just have to add
 
 device iicbus
 device iicbb
 
 to your kernel config file. this, of course, should be documented in LINT.
 
 -- 
 Maxim Maximov
 System Administrator
 AGAVA Software (http://www.agava.com)
 
State-Changed-From-To: feedback->closed 
State-Changed-By: ceri 
State-Changed-When: Sun Jun 8 10:48:39 PDT 2003 
State-Changed-Why:  
Feedback timeout.  Additionally, the correct solution has been 
posted by another user, and indicates pilot error. 

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