Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Sep 2003 17:28:03 +0300
From:      Vlad Galu <Vlad.Galu@rdsnet.ro>
To:        freebsd-stable@freebsd.org
Subject:   Re: Apparent problem with ida(4); patch included
Message-ID:  <20030901142805.9666943FF2@mx1.FreeBSD.org>
In-Reply-To: <200309011402.h81E2fj9004477@bunrab.catwhisker.org>
References:  <200309011402.h81E2fj9004477@bunrab.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 1 Sep 2003 07:02:41 -0700 (PDT) David Wolfskill <david@catwhisker.org>
wrote:

> 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>
> 
> 
	I solved this by specifying the full path to pci.h. This has nothing to do with
update recompiling sequence.	

> 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).
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
> 


- ------
Vlad Galu
Network & Systems Administrator
Romania Data Systems NOC in Bucharest
Phone:	+40 21 30 10 850
Web:	http://www.rdsnet.ro
PGP:	http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x53ABCE97
- ----------------------------------------------------------------------------
Privileged/Confidential Information may be contained in this message. If you
are not the addressee indicated in this message (or responsible for delivery
of the message to such a person), you may not copy or deliver this message
to anyone. In such a case, you should destroy this message and kindly notify
the sender by reply e-mail.
- ---------------------------------------------------------------------------

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/U1dzP5WtpVOrzpcRAg0iAJ9HvmhenD5Y5wYXmpBC12HAKCkN0QCghiIu
K1IeHCQEC+FXH3a+LkRUNU4=
=+oen
-----END PGP SIGNATURE-----



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