netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gertjan Hofman <gertjan_hofman@yahoo.com>
To: netdev@vger.kernel.org
Subject: VLAN & ARP requests fail for ARM EABI (2.6.24)
Date: Wed, 9 Apr 2008 15:06:48 -0700 (PDT)	[thread overview]
Message-ID: <293225.82676.qm@web32605.mail.mud.yahoo.com> (raw)

Dear Sirs,

Since the VLAN mailing list is closed, its author suggested I post here. 
We have an ARM920T processor based system. When compiling the kernel 2.6.24 using OABI (and appropiate 4.1.1 cross toolchain), VLAN functionality is fine. When setting the CONFIG_EABI flag and using  the 4.2.2 toolchain (created by the OpenEmbedded project) a VLAN device fails to respond.

When pinging through the ARM VLAN device to a (PC based) VLAN device, the following is seen in the vlan driver:
The ping request is sent out, followed by an ARP request. The PC returns the ARP reply and it is seen by the VLAN driver (vlan_skb_recv) which calls netif_rx(). This repeats a couple of pings later i.e. the arp reply is not used or received properly.

Similarly, when pinging from the PC, the ARP request is seen by vlan_skb_recv() but there is no ARP reply from the ARM cascading through the vlan driver.

It seems to me that either the issue is with the code that handles the ARP request when compiling in EABI format, or that VLAN doesnt process the frame properly and sends it on incorrectly. Recompile the kernel with OABI and everything is fine.

Note that communication works fine on either OABI or EABI when using 'normal' devices (eth0 etc). This puts the suspicion back on vlan.


Since EABI changes structure packing and other things, I suspect the cause is some networking code that knows a bit too much about its size & packing.

I am happy to troubleshoot, but I am no kernel expert. Tips would be appreciated. Like how to dump the sbk buffer in both cases..

Sincerely,

Gertjan
















__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

             reply	other threads:[~2008-04-09 22:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-09 22:06 Gertjan Hofman [this message]
2008-04-10  0:40 ` VLAN & ARP requests fail for ARM EABI (2.6.24) Patrick McHardy
  -- strict thread matches above, loose matches on Subject: below --
2008-04-12 16:58 Gertjan Hofman
2008-09-23 16:34 Gertjan Hofman

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=293225.82676.qm@web32605.mail.mud.yahoo.com \
    --to=gertjan_hofman@yahoo.com \
    --cc=netdev@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).