From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 17 16:54:04 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9B8216A41F for ; Mon, 17 Oct 2005 16:54:04 +0000 (GMT) (envelope-from jerry@evasefor.com) Received: from mout.perfora.net (mout.perfora.net [217.160.230.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BB3F43D5C for ; Mon, 17 Oct 2005 16:54:04 +0000 (GMT) (envelope-from jerry@evasefor.com) Received: from config16.kundenserver.de [172.23.4.143] (helo=togal2.1and1.com) by mrelay.perfora.net with ESMTP (Nemesis), id 0MKp2t-1ERYFO0at2-0001Ib; Mon, 17 Oct 2005 12:54:02 -0400 To: From: X-Binford: 6100 (more power) X-Originating-From: 29983738 X-Mailer: Webmail X-Received: from config16 by 67.103.124.219 with HTTP id 29983738 for freebsd-hackers@freebsd.org; Mon, 17 Oct 2005 18:52:02 +0200 Content-Type: text/plain; charset="iso-8859-1" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Priority: 3 Date: Mon, 17 Oct 2005 18:52:02 +0200 Message-ID: <0MKp2t-1ERYFO0at2-0001Ib@mrelay.perfora.net> Subject: adding new device to base system X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2005 16:54:04 -0000 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