From owner-freebsd-stable@FreeBSD.ORG Mon Feb 9 19:06:41 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14CAD16A4CE for ; Mon, 9 Feb 2004 19:06:41 -0800 (PST) Received: from access.inet.co.th (access.inet.co.th [203.151.127.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01F5A43D1D for ; Mon, 9 Feb 2004 19:06:40 -0800 (PST) (envelope-from pirat@access.inet.co.th) Received: from firak.thai-aec.org (TruPPPv92-225-16.inet.co.th [203.151.225.16]) by access.inet.co.th (8.12.5/8.12.5) with ESMTP id i1A36TG2071478; Tue, 10 Feb 2004 10:06:30 +0700 (ICT) (envelope-from pirat@access.inet.co.th) Received: from firak.thai-aec.org (localhost.thai-aec.org [127.0.0.1]) by firak.thai-aec.org (8.12.10/8.12.10) with ESMTP id i1A38Y5b004032; Tue, 10 Feb 2004 10:08:34 +0700 (ICT) (envelope-from pirat@access.inet.co.th) Received: (from pirat@localhost) by firak.thai-aec.org (8.12.10/8.12.10/Submit) id i1A38RLG004031; Tue, 10 Feb 2004 10:08:27 +0700 (ICT) (envelope-from pirat@access.inet.co.th) X-Authentication-Warning: firak.thai-aec.org: pirat set sender to pirat@access.inet.co.th using -f Date: Tue, 10 Feb 2004 10:08:27 +0700 From: pirat To: Aeefyu Message-ID: <20040210030827.GA3968@thai-aec.org> References: <20040206064417.3FBAF19306@mailhub.webcraft99.com> <048801c3ecd7$633fb870$43c8a8c0@orac> <4024A25B.2070007@aeefyu.net> <20040207105420.GA38413@thai-aec.org> <402840AF.6010207@aeefyu.net> Mime-Version: 1.0 Content-Type: text/plain; charset=tis-620 Content-Disposition: inline In-Reply-To: <402840AF.6010207@aeefyu.net> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD firak.thai-aec.org 4.9-STABLE FreeBSD 4.9-STABLE www-home-page: http://www.thai-aec.org www-FreeBSD-page: http://www.thai.net/makham cc: freebsd-stable@FreeBSD.ORG Subject: Re: Call for Help: patching if_bfe against FreeBSD -stable (4.8, 4.9) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2004 03:06:41 -0000 hi sirs, On Tuesday, 10 February 2004 at 10:23:43 +0800, Aeefyu wrote: > Date: Tue, 10 Feb 2004 10:23:43 +0800 > From: Aeefyu > To: pirat > Subject: Re: Call for Help: patching if_bfe against FreeBSD -stable (4.8, > 4.9) > > pirat wrote: > >>Duncan Barclay wrote: > >>>I've put Pavel's patches at > >>> > >>>http://people.freebsd.org/~dmlb/bfe-4.8.tar.gz > >> > >>Built the module if_bfe manually and booted up my 4.9-p2-RELEASE on > >>Dell Inspiron 8500. > >> > >>Note that it says status "no carrier". I managed to change this > >have you connected LAN cable to your computer ? > > Yes. It was saying "no carrier" even then. I had to manually post a > "ifconfig bfe0 ... " in order to see it activated > mine was used to be "no carrier" also during the first few power on. later on, i assigned ip to them via dhcp and the problem gone. > > > i have inspiron 1100. please tell me how do you put that Makefile and > >.c, .h file into source tree. > > What I did are as follows: > 1. Put the Makefile into /usr/src/sys/modules/bfe/. > 2. Put if_bfe* into /usr/src/sys/dev/bfe/. > 3. Go to /usr/src/sys/modules/bfe/ and do a "make all install" > 4. re-build kernel > 5. put ifconfig_bfe0="inet x.x.x.x netmask x.x.x.x" in /etc/rc.conf > thanks for your answer. > > Please inform me of your findings, if thats not too much to ask. > i simply add patches from duncan to /usr/src/sys/dev/bfe, i have to mkdir /usr/src/sys/dev/bfe first though, and make && make install the mess at /usr/src/sys/dev/bfe now are rak] /usr/src/sys/dev/bfe # ll total 140 lrwxr-xr-x 1 root wheel 12 Feb 8 01:49 @ -> /usr/src/sys -rwxr-xr-x 1 root wheel 240 Jan 23 11:35 Makefile -rw-r--r-- 1 root wheel 0 Feb 8 01:49 __miibus_hack_dep.c -rw-r--r-- 1 root wheel 3835 Feb 8 01:49 bus_if.h -rw-r--r-- 1 root wheel 1206 Feb 8 01:49 device_if.h -rwxr-xr-x 1 root wheel 37636 Jan 23 15:13 if_bfe.c -rw-r--r-- 1 root wheel 15254 Feb 8 01:49 if_bfe.kld -rwxr-xr-x 1 root wheel 19269 Feb 8 01:49 if_bfe.ko -rw-r--r-- 1 root wheel 15168 Feb 8 01:49 if_bfe.o -rwxr-xr-x 1 root wheel 24106 Sep 9 14:09 if_bfereg.h lrwxr-xr-x 1 root wheel 25 Feb 8 01:49 machine -> /usr/src/sys/i386/inclu de -rwxr-xr-x 1 root wheel 4017 Feb 8 01:49 miibus -rw-r--r-- 1 root wheel 874 Feb 8 01:49 miibus_if.h -rw-r--r-- 1 root wheel 0 Feb 8 01:49 opt_bdg.h -rw-r--r-- 1 root wheel 1870 Feb 8 01:49 pci_if.h -rw-r--r-- 1 root wheel 360 Feb 8 01:49 setdef0.c -rw-r--r-- 1 root wheel 790 Feb 8 01:49 setdef0.o -rw-r--r-- 1 root wheel 235 Feb 8 01:49 setdef1.c -rw-r--r-- 1 root wheel 762 Feb 8 01:49 setdef1.o -rw-r--r-- 1 root wheel 28 Feb 8 01:49 setdefs.h [firak] /usr/src/sys/dev/bfe # there is no /usr/src/sys/modules/bfe at this moment. thanks so much for your helps. -- with best regards, psr http://www.thai-aec.org http://www.thai.net/makham