DragonFly kernel List (threaded) for 2007-12
DragonFly BSD
DragonFly kernel List (threaded) for 2007-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Support for Broadcom 5906M fast ethernet chip

From: "Sepherosa Ziehau" <sepherosa@xxxxxxxxx>
Date: Tue, 11 Dec 2007 09:44:27 +0800

On Dec 11, 2007 7:00 AM,  <elekktretterr@exemail.com.au> wrote:
> > On Dec 10, 2007 9:04 PM,  <elekktretterr@exemail.com.au> wrote:
> >> Hi Sephe,
> >> It still times out, but the error is slightly different. let you be the
> >> judge. dmesg attached.
> >
> > Are you sure the attached dmesg is from the new patch
> > (http://leaf.dragonflybsd.org/~sephe/bcm5906.diff3)?
> >
> Almost certain.

In your dmesg:
"bge0: PHY read timed out"

In the new patch, following line should be printed instead:
"bge0: PHY read timed out (phy %d, reg %d)"

> Tell me if im doing something wrong.
> 1) Reverse the patch
> 2) Apply new patch

I would just do:
make -j 3 quickkernel KERNCONF=FUJITSU && make installkernel KERNCONF=FUJITSU
and then reboot

If there are no other NICs using miibus and you don't have miibus in
kernel config, you could safely skip the installkernel and rebooting
steps, and do following instead:
kldunload if_bge
kldload your_objdir/usr/src/sys/FUJITSU/usr/src/sys/dev/netif/mii_layer/miibus.ko
kldload your_objdir/usr/src/sys/FUJITSU/usr/src/sys/dev/netif/bge/if_bge.ko

Best Regards,

> 3) rm -rf compile/FUJITSU
> 4) config FUJITSU
> 5) make clean
> 6) make depend && make && make install

Live Free or Die

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]