Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 2004 10:08:27 +0700
From:      pirat <pirat@access.inet.co.th>
To:        Aeefyu <afu-subscribed-list@aeefyu.net>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Call for Help: patching if_bfe against FreeBSD -stable (4.8, 4.9)
Message-ID:  <20040210030827.GA3968@thai-aec.org>
In-Reply-To: <402840AF.6010207@aeefyu.net>
References:  <20040206064417.3FBAF19306@mailhub.webcraft99.com> <048801c3ecd7$633fb870$43c8a8c0@orac> <4024A25B.2070007@aeefyu.net> <20040207105420.GA38413@thai-aec.org> <402840AF.6010207@aeefyu.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <afu-subscribed-list@aeefyu.net>
> To: pirat <pirat@access.inet.co.th>
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040210030827.GA3968>