Re: adding new device to base system

2005-10-19 Thread Daniel O'Connor
On Wed, 19 Oct 2005 00:20, Jerry wrote:
 I reinstalled FreeBSD 5.4. It works now. I may have broken something
 earlier.

A reinstall is a bit agressive..
You could have just re-cvsup'd your source tree.

 -Original Message-
 From: Daniel O'Connor [mailto:[EMAIL PROTECTED]
 Sent: Monday, October 17, 2005 6:09 PM
 To: freebsd-hackers@freebsd.org
 Cc: [EMAIL PROTECTED]
 Subject: Re: adding new device to base system

 On Tue, 18 Oct 2005 02:22, [EMAIL PROTECTED] wrote:
  /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.

 Looks like you broke sys/conf/files somehow.
 Do a cvs diff on it and post it here.

 --
 Daniel O'Connor software and network engineer for Genesis Software -
 http://www.gsoft.com.au The nice thing about standards is that there are
 so many of them to choose from.
   -- Andrew Tanenbaum
 GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpVFJ045Jqjt.pgp
Description: PGP signature


adding new device to base system

2005-10-17 Thread jerry

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.coptional tartar pci

Why the error message? Same thing even with GENERIC.
Thank you,
Jerry
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: adding new device to base system

2005-10-17 Thread Daniel O'Connor
On Tue, 18 Oct 2005 02:22, [EMAIL PROTECTED] wrote:
 /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.

Looks like you broke sys/conf/files somehow.
Do a cvs diff on it and post it here.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpHKoT52vmVE.pgp
Description: PGP signature