Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Sep 2003 07:02:41 -0700 (PDT)
From:      David Wolfskill <david@catwhisker.org>
To:        stable@freebsd.org
Subject:   Apparent problem with ida(4); patch included
Message-ID:  <200309011402.h81E2fj9004477@bunrab.catwhisker.org>

next in thread | raw e-mail | index | archive | help
Someone else also reported seeing these symptoms with recently-updated
sources:

>>> Kernel build for FREEBEAST started on Mon Sep  1 05:25:41 PDT 2003
...
===> ida
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
perl @/kern/makeops.pl -h @/kern/device_if.m
perl @/kern/makeops.pl -h @/kern/bus_if.m
perl @/kern/makeops.pl -h @/pci/pci_if.m
rm -f .depend
mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/../include -I/usr/obj/usr/src/i386/usr/include  /usr/src/sys/modules/ida/../../dev/ida/ida.c /usr/src/sys/modules/ida/../../dev/ida/ida_disk.c /usr/src/sys/modules/ida/../../dev/ida/ida_pci.c /usr/src/sys/modules/ida/../../dev/ida/ida_eisa.c
/usr/src/sys/modules/ida/../../dev/ida/ida.c:41: pci.h: No such file or directory
mkdep: compile failed
*** Error code 1

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

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

Stop in /common/S1/obj/usr/src/sys/FREEBEAST.
*** Error code 1

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

Stop in /usr/src.



Now, I don't use the ida(4) device; this was during the build of the
modules.  So although the following patch got me through the compile,
the result is not tested iin any useful sense:

Index: sys/dev/ida/ida.c
===================================================================
RCS file: /cvs/freebsd/src/sys/dev/ida/ida.c,v
retrieving revision 1.7.2.3
diff -u -r1.7.2.3 ida.c
--- sys/dev/ida/ida.c	1 Mar 2001 01:57:32 -0000	1.7.2.3
+++ sys/dev/ida/ida.c	1 Sep 2003 13:45:36 -0000
@@ -38,8 +38,6 @@
  *	i386/eisa/ida_eisa.c
  */
 
-#include <pci.h>
-
 #include <sys/param.h>
 #include <sys/kernel.h>
 #include <sys/systm.h>


Peace,
david
-- 
David H. Wolfskill				david@catwhisker.org
If you want true virus-protection for your PC, install a non-Microsoft OS
on it.  Plausible candidates include FreeBSD, Linux, NetBSD, OpenBSD, and
Solaris (in alphabetical order).



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