Try the latest master, I have brought more enhancement from FreeBSD.
And please check whether there are any option in BIOS like WOL and EEE
for your ethernet card, if there are any, please disable them.

Thanks,
sephe

On Mon, Jan 4, 2016 at 3:48 AM, jungle Boogie <[email protected]> wrote:
> On 3 January 2016 at 04:35, Sepherosa Ziehau <[email protected]> wrote:
>> On Sun, Jan 3, 2016 at 5:33 PM, jungle Boogie <[email protected]> 
>> wrote:
>>> On 2 January 2016 at 23:59, Sepherosa Ziehau <[email protected]> wrote:
>>>> I have pushed some changes to the re's PHY initialization, you could
>>>> try latest usb image; hope it works for you.
>>>>
>>>> Thanks,
>>>> sephe
>>>
>>>
>>> The build is finished and I don't see re0 with ifconfig. I checked
>>> your commits against mine just to make sure I did the build correctly
>>> and I see the changes you made.
>>
>>
>> Pull the latest master w/ at least d7c373a44888285dd1fe95c1dafd678126722b96
>> And apply the following patch:
>> https://www.dragonflybsd.org/~sephe/re_cfg.diff
>>
>> curl -o ~/re_cfg.diff https://www.dragonflybsd.org/~sephe/re_cfg.diff
>> patch -p 1 -i ~/re_cfg.diff
>>
>> Rebuild and reinstall kernel.
>
>
> I did as you requested.
>
> I was on:
>>> DragonFly fly.in.lylie.net 4.5-DEVELOPMENT DragonFly
>>> v4.5.0.282.g5b1a5-DEVELOPMENT #0: Sun Jan  3 01:11:07 PST 2016
>>> [email protected]:/usr/obj/usr/src/sys/X86_64_GENERIC  x86_64
>
> Now on:
> DragonFly fly.in.lylie.net 4.5-DEVELOPMENT DragonFly
> v4.5.0.283.gd7c37-DEVELOPMENT #1: Sun Jan  3 09:35:07 PST 2016
> [email protected]:/usr/obj/usr/src/sys/X86_64_GENERIC  x86_64
>
>
> Unfortunately, I still see the same things in dmesg:
> % dmesg | grep re0
> re0: <RealTek 8111/8168 PCIe Gigabit Ethernet> port 0x3000-0x30ff mem
> 0xb2100000-0xb2103fff,0xb2104000-0xb2104fff irq 18 at device 0.0 on
> pci2
> re0: Hardware rev. 0x50800000; PCI-E 125MHz
> re0: PHY write failed
> re0: PHY write failed
> re0: MII without any phy!
> device_probe_and_attach: re0 attach returned 6
> re0: <RealTek 8111/8168 PCIe Gigabit Ethernet> port 0x3000-0x30ff mem
> 0xb2100000-0xb2103fff,0xb2104000-0xb2104fff irq 18 at device 0.0 on
> pci2
> re0: Hardware rev. 0x50800000; PCI-E 125MHz
> re0: PHY write failed
> re0: PHY write failed
> re0: MII without any phy!
> device_probe_and_attach: re0 attach returned 6
> re0: <RealTek 8111/8168 PCIe Gigabit Ethernet> port 0x3000-0x30ff mem
> 0xb2100000-0xb2103fff,0xb2104000-0xb2104fff irq 18 at device 0.0 on
> pci2
> re0: Hardware rev. 0x50800000; PCI-E 125MHz
> re0: PHY write failed
> re0: PHY write failed
> re0: MII without any phy!
> device_probe_and_attach: re0 attach returned 6
>
>
> Do you need to see the output of anything more?
>
>>
>> Thanks,
>> sephe
>>
>
> --
> -------
> inum: 883510009027723
> sip: [email protected]
> xmpp: [email protected]



-- 
Tomorrow Will Never Die

Reply via email to