From owner-freebsd-questions@FreeBSD.ORG Sun Apr 13 05:26:27 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C670637B401 for ; Sun, 13 Apr 2003 05:26:27 -0700 (PDT) Received: from thalia.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id A370C43F85 for ; Sun, 13 Apr 2003 05:26:26 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-b130.otenet.gr [212.205.244.138]) by thalia.otenet.gr (8.12.9/8.12.9) with ESMTP id h3DCQ6DL005268 for ; Sun, 13 Apr 2003 15:26:19 +0300 (EEST) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.9/8.12.9) with ESMTP id h3DCBYr0014866 for ; Sun, 13 Apr 2003 15:11:34 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.9/8.12.9/Submit) id h3DCBYYU014865; Sun, 13 Apr 2003 15:11:34 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Sun, 13 Apr 2003 15:11:34 +0300 From: Giorgos Keramidas To: FLYING LI Message-ID: <20030413121134.GC7144@gothmog.gr> References: <20030413082445.88200.qmail@web15212.mail.bjs.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030413082445.88200.qmail@web15212.mail.bjs.yahoo.com> cc: freebsd-questions@FreeBSD.org Subject: Re: which options of Ethernet should i delete from my kernel? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Apr 2003 12:26:28 -0000 On 2003-04-13 01:24, FLYING LI wrote: > there is only one Realtek 8029 Ethernet card in my > computer.below is the result of dmesg command: > # dmesg|grep Ethernet > ed0: port > 0xec00-0xec1f irq 11 at device 12.0 on pci0 > and this is abstract from my kernel: [ snip] A kernel config abstract is not very useful in this case, since it lacks information that is important. You should either post the *entire* file, or the output of the following command: $ diff -u GENERIC MYKERNEL where MYKERNEL is the name of your custom config file. > now i want to delete those options have nothing to do with my > Ethernet.and i have learned that the "device ed0" is necessary cause > there was a qusion "would you like to Bring up the ed0 interface right > now?" in the progress of system installing.i have tried to delete some > options of Ethernet serveral times,but unfortunately,my computer can > not boot. What do you mean by "it can not boot"? > So,if you do know which options can be deleted safety.tell me > please.thank you very much! wish everyone a happy day! Try starting with a copy of GENERIC, like this: # cd /usr/src/sys/i386/conf # cp GENERIC MYKERNEL and then comment out parts of the file. You should be able to use your ed0 interface as long as you don't comment out or delete the following lines of MYKERNEL: device ether # Ethernet support device miibus # MII bus support device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards - Giorgos