Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 May 1997 16:22:03 +0000
From:      "Riley J. McIntire" <chaos@mail.tgci.com>
To:        questions@FreeBSD.ORG
Subject:   (Fwd) Compiling custom kernal problems
Message-ID:  <199705022346.QAA15507@train.tgci.com>

next in thread | raw e-mail | index | archive | help
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 <chaos>
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



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