adding new device to base system
jerry at evasefor.com
jerry at evasefor.com
Mon Oct 17 09:54:04 PDT 2005
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
More information about the freebsd-hackers
mailing list