re0 drivers (was tips for writing img to usb thumb drive)

Sepherosa Ziehau sepherosa at gmail.com
Mon Jan 4 06:47:00 PST 2016


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 <jungleboogie0 at gmail.com> wrote:
> On 3 January 2016 at 04:35, Sepherosa Ziehau <sepherosa at gmail.com> wrote:
>> On Sun, Jan 3, 2016 at 5:33 PM, jungle Boogie <jungleboogie0 at gmail.com> wrote:
>>> On 2 January 2016 at 23:59, Sepherosa Ziehau <sepherosa at gmail.com> 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
>>> root at fly.in.lylie.net:/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
> sean at fly.in.lylie.net:/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: jungleboogie at sip2sip.info
> xmpp: jungle-boogie at jit.si



-- 
Tomorrow Will Never Die



More information about the Users mailing list