Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Emmanuel BOUAZIZ <ebouaziz@neotion.com>
To: buildroot@busybox.net
Subject: [Buildroot] help needed with realtek gigabit network adapter
Date: Mon, 21 Nov 2011 12:32:27 +0100	[thread overview]
Message-ID: <4ECA36CB.5010803@neotion.com> (raw)

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

             reply	other threads:[~2011-11-21 11:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-21 11:32 Emmanuel BOUAZIZ [this message]
2011-11-21 12:41 ` [Buildroot] help needed with realtek gigabit network adapter 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ECA36CB.5010803@neotion.com \
    --to=ebouaziz@neotion.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox