Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] help needed with realtek gigabit network adapter
@ 2011-11-21 11:32 Emmanuel BOUAZIZ
  2011-11-21 12:41 ` Sven Neumann
  0 siblings, 1 reply; 9+ messages in thread
From: Emmanuel BOUAZIZ @ 2011-11-21 11:32 UTC (permalink / raw)
  To: buildroot

Hi guys,

I'm trying to run buildroot 2011.08 on an atom based board, but I have a problem with the network driver:

It's a realtek gigabit network device, the traces say RTL8168d/8111d:

r8168 Gigabit Ethernet driver 2.3LK-NAPI loaded
r8169 0000:01:00.0: PCI INT A -> Link[LNKA] -> GSI 11 (level, low) -> IRQ 11
r8169 0000:01:00.0: no MSI. Back to INTx.
r8169 0000:01:00.0: eth0: RTL8168d/8111d at 0xf8012000, 70:71:bc:31:87:6f, XID 081000c0 IRQ 11

When I want to bring it up, it freezes for a minute or two before I get the following message:

r8169 0000:01:00.0: eth0: unable to load firmware patch rtl_nic/rtl8168d-1.fw (-2)
r8169 0000:01:00.0: eth0: link down
r8169 0000:01:00.0: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
r8169 0000:01:00.0: eth0: link up
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

at this point, the network seems to work, it gets a DHCP lease.

after some more minutes, I get another error which does not happen if I don't bring the network up:

irq 7: nobody cared (try booting with the "irqpoll" option)
Pid: 0, comm: swapper Not tainted 3.0.4 #1
Call Trace:
(...)
handlers:
[<c11a1050>] usb_hcd_irq
Disabling IRQ #7

I have tried to put a the rtl8168d-1.fw and rtl8168d-1.fw in /lib/firmware/rtl_nic directory
I tried to define the CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware" but it requires to define CONFIG_EXTRA_FIRMWARE and I
don't know what to set it to. I tried with "rtl8168d" and some variations but it didn't work
I also tried to deactivate firmware support but it doesn't seem to have any effect, I'm not sure I did that correctly
though.

I googled the error messages but didn't find any solution so I'm stuck.
The firmware thing apparently appeared with kernel 2.6.38
I had an old version of buildroot that works with this hardware but it's from early 2009 and the config file changed
deeply since then.

Any idea welcome,

regard,

-- 
Emmanuel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-11-23  9:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-21 11:32 [Buildroot] help needed with realtek gigabit network adapter Emmanuel BOUAZIZ
2011-11-21 12:41 ` Sven Neumann
2011-11-21 12:44   ` Thomas Petazzoni
2011-11-21 17:36     ` Emmanuel BOUAZIZ
2011-11-21 18:10       ` Michael S. Zick
2011-11-21 20:08       ` Thomas Petazzoni
2011-11-22 10:28         ` Emmanuel BOUAZIZ
2011-11-22 11:44           ` Trevor Woerner
2011-11-23  9:24           ` Emmanuel BOUAZIZ

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox