Re: Link up issue on ethernet/realtek/r8169.c

From: Jagan Teki
Date: Fri Apr 04 2014 - 05:00:56 EST


On Fri, Apr 4, 2014 at 12:17 PM, Jagan Teki <jagannadh.teki@xxxxxxxxx> wrote:
> Hi,
>
> I'm using TP-LINK PCIe NIC card on my PCIe Root Complex.
>
> Probing looks fine by setting:
> r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
> PCI: enabling device 0000:00:00.0 (0140 -> 0143)
> PCI: enabling device 0000:01:00.0 (0140 -> 0143)
> r8169 0000:01:00.0 eth0: RTL8168e/8111e at 0xf006a000,
> c0:4a:00:07:18:d4, XID 0c200000 IRQ 89
> r8169 0000:01:00.0 eth0: jumbo features [frames: 9200 bytes, tx
> checksumming: ko]
>
> But I have an issue while in link is up
>
> $ ifconfig 192.168.1.10 up
> r8169 0000:01:00.0: Direct firmware load failed with error -2
> r8169 0000:01:00.0: Falling back to user helper
> r8169 0000:01:00.0 eth0: unable to load firmware patch
> rtl_nic/rtl8168e-2.fw (-2)
> r8169 0000:01:00.0 eth0: link down
>
> Looks like firmware loading is failed in open call, Can any one
> suggest how to debug further.

Got the fix! I have updated .config with firmware details from [1]

CONFIG_EXTRA_FIRMWARE="rtl_nic/rtl8168e-2.fw"
CONFIG_EXTRA_FIRMWARE_DIR="/opt"

[1] http://git.exherbo.org/summer/packages/firmware/rtl_nic/index.html

thanks!
--
Jagan.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/