Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Oct 2005 18:52:02 +0200
From:      <jerry@evasefor.com>
To:        <freebsd-hackers@freebsd.org>
Subject:   adding new device to base system
Message-ID:  <0MKp2t-1ERYFO0at2-0001Ib@mrelay.perfora.net>

next in thread | raw e-mail | index | archive | help

Hello list,
I am trying to add a new directory (NIC) to my base system (FreeBSD5.4)
to support an experimental card. But I have this error trying to build
the kernel.

--------------------------------------------------------------
>>> Kernel build for TARTAR started on Mon Oct 17 09:48:55 PDT 2005
--------------------------------------------------------------
===> TARTAR
mkdir -p /usr/obj/usr/src/sys

--------------------------------------------------------------
>>> stage 1: configuring the kernel
--------------------------------------------------------------
cd /usr/src/sys/i386/conf; 
PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
 config  -d /usr/obj/usr/src/sys/TARTAR  /usr/src/sys/i386/conf/TARTAR
../../conf/files: FreeBSD: must be count, optional, mandatory or
standard
*** Error code 1

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

Stop in /usr/src.



I have created /usr/src/sys/dev/tartar and put all it's source code
there.

in my kernel file I have added:
device  tartar

in /sys/conf/files:
dev/tartar/if_tartar.c    optional tartar pci

Why the error message? Same thing even with GENERIC.
Thank you,
Jerry



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0MKp2t-1ERYFO0at2-0001Ib>