From owner-freebsd-questions Fri May 2 23:37:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA16061 for questions-outgoing; Fri, 2 May 1997 23:37:58 -0700 (PDT) Received: from helbig.informatik.ba-stuttgart.de (helbig.informatik.ba-stuttgart.de [141.31.166.22]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA16048 for ; Fri, 2 May 1997 23:37:53 -0700 (PDT) Received: (from helbig@localhost) by helbig.informatik.ba-stuttgart.de (8.8.5/8.8.5) id IAA01149; Sat, 3 May 1997 08:37:46 +0200 (MET DST) From: Wolfgang Helbig Message-Id: <199705030637.IAA01149@helbig.informatik.ba-stuttgart.de> Subject: Re: (Fwd) Compiling custom kernal problems In-Reply-To: <199705022346.QAA15507@train.tgci.com> from "Riley J. McIntire" at "May 2, 97 04:22:03 pm" To: chaos@tgci.com Date: Sat, 3 May 1997 08:37:46 +0200 (MET DST) Cc: questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, It looks like something went wrong during installation of the source tree. All error messages complain about broken stuff in /usr/src. This includes the compilation errors as well, since /usr/include/machine is sysmlinked to /usr/src/sys/i386/include. So why don't you try to reinstall the source with /stand/sysinstall? Running fsck(8) before that might be a good idea. Wolfgang > My security log output has a bunch of bad file descriptor messages > (sample below) which would seem to me to be the cause of my > kernal compile failure. > > A couple questions. File descriptors would seem to be low level file > system type objects intimately related to the partition/disk? > > And, would bad desciptors be an indication of a failing disk? (This > isn't the first time, but is definitely the worst I've seen.) > > This machine wasn't critical, but is about to become so. The disk is > a Maxtor IDE. 'Spose I oughta put a scsi in it, but still need to > know *if* it's the disk failing, or what? > > Again, thanks for the help. > > Cheers, > > Riley > > Partial output: > > find: /usr/src/gnu/usr.bin/cc/cc_int/version.c: Bad file descriptor > find: /usr/src/gnu/usr.bin/cc/cc_int/xcoffout.c: Bad file descriptor > find: /usr/src/gnu/usr.bin/perl/eg/sysvipc: Bad file descriptor find: > /usr/src/gnu/usr.bin/perl/x2p: Bad file descriptor find: > /usr/src/games: Bad file descriptor find: /usr/src/lib/csu: Bad file > descriptor find: /usr/src/lib/libc/db/man: Bad file descriptor find: > /usr/src/lib/libc/rpc: Bad file descriptor > > > > > > ------- Forwarded Message Follows ------- > From: Self > To: questions@freebsd.org > Subject: Compiling custom kernal problems > Reply-to: chaos@tgci.com > Date: Thu, 1 May 1997 15:22:55 > > I'm trying to compile my first kernal in fbsd and getting some errors > that perhaps someone could help me with. > > > Here's the output: > > bash# make depend > errfil > In file included from /usr/include/ctype.h:51, > from ../../dev/aic7xxx/aic7xxx_asm.c:47: > /usr/include/runetype.h:42: machine/ansi.h: Not a directory > In file included from /usr/include/stdio.h:43, > from ../../dev/aic7xxx/aic7xxx_asm.c:48: > /usr/include/sys/types.h:48: machine/endian.h: Not a directory > /usr/include/sys/types.h:99: machine/ansi.h: Not a directory > /usr/include/sys/types.h:100: machine/types.h: Not a directory > In file included from ../../dev/aic7xxx/aic7xxx_asm.c:48: > /usr/include/stdio.h:48: machine/ansi.h: Not a directory > In file included from ../../dev/aic7xxx/aic7xxx_asm.c:49: > /usr/include/string.h:38: machine/ansi.h: Not a directory > In file included from ../../dev/aic7xxx/aic7xxx_asm.c:50: > /usr/include/stdlib.h:39: machine/ansi.h: Not a directory > > and errfil has this in it: > > cc -Wall -o aic7xxx_asm ../../dev/aic7xxx/aic7xxx_asm.c > *** Error code 1 > > I don't see any obvious (to me) problems with the config file, > attached. > > tia, > > Riley > > Attachments: > D:\tmp\CHARMED >