Port-i386 archive

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

Re: RTL8111C not working consistently in -current



Hi,

Ask realtek to share their datasheet for developers to write decent
support for their chip, instead of doing black magic. Last time I
tried they only gave documentation under NDA but only to company.

FWIW, I gave up trying to use the adapter in my laptop.

Good luck,
 - Arnaud

On Mon, Jan 12, 2009 at 3:03 AM, Brad du Plessis <bradd%cat.co.za@localhost> 
wrote:
> Hi all,
>
> I've got a DFI motherboard with an RTL8111C onboard NIC. Relevant dmesg:
>
> *snip*
>>
>> re0 at pci2 dev 0 function 0: RealTek 8168B/8111B PCIe Gigabit Ethernet
>> (rev. 0x02)
>> re0: interrupting at ioapic0 pin 17
>> re0: Ethernet address 00:01:29:2b:1c:5a
>> re0: using 256 tx descriptors
>> rgephy0 at re0 phy 7: RTL8169S/8110S/8211 1000BASE-T media interface, rev.
>> 2
>> rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
>> 1000baseT-FDX, auto
>
> *snip*
>
> I put a log into the re_attach in rtl8169.c and its read the sc_rev=24.
>
> My problem is that the device operates erratically and will sometimes work
> 100% after a reboot. Most of the time though I see lots of these when it
> doesn't work:
>
> *snip*
>>
>> /netbsd: re0: reset never completed!
>> /netbsd: re0: PHY write reg 0 <- 8400 failed
>> /netbsd: re0: PHY write reg 1f <- 1 failed
>> /netbsd: re0: PHY write reg 9 <- 273a failed
>> /netbsd: re0: PHY write reg e <- 7bfb failed
>> /netbsd: re0: PHY write reg 1b <- 841e failed
>> /netbsd: re0: PHY write reg 1f <- 2 failed
>> /netbsd: re0: PHY write reg 1 <- 90d0 failed
>
> ...
>
> *snip*
>
> I contacted DFI directly and they have told me that the exact chipset is
> RTL8111C-VC-GR (if that means anything). I've tried it on netbsd-4 too and
> although I get a "revision unknown" message at startup the device does
> exactly the same thing (i.e. sometimes following a reboot it will work,
> reboot again and it won't).
>
> Any help would be appreciated.
>
> Thanks,
> Brad
>
>


Home | Main Index | Thread Index | Old Index