Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Claudio Leonel <leonel@elaxys.com>
To: buildroot@busybox.net
Subject: [Buildroot] "sendto: Invalid argument"  revisited
Date: Thu, 02 Aug 2007 17:31:44 -0300	[thread overview]
Message-ID: <46B23F30.9090504@elaxys.com> (raw)

Hi,

I am having a problem with an ARM board with a filesystem
I built with buildroot where some networks commands
like ping and others show the error:
   "sendto: Invalid argument"

But I can ping the board from an external host and do several
networking operations.

Searching the lists I found at least two similar occurrences
of this problem and no proposed cause or solution:

http://buildroot.uclibc.org/lists/buildroot/2007-May/002709.html
http://www.busybox.net/lists/busybox/2006-December/025702.html


Running strace seems to indicate the problem is in calling
Linux system call 290: sendto, which returns EINVAL to
the application.

..............................
gettimeofday({2119, 59692}, NULL)       = 0
SYS_290(0x3, 0xbeb8dc5c, 0x40, 0, 0xa83e8) = -1 EINVAL (Invalid argument)
close(3)                                = 0
..............................


My current target/tools configuration:

Hardware : AT91RM9200 (ARM9TDMI)
Kernel   : 2.6.14
buildroot: snapshot 1/Aug/2007
uClibc   : 0.9.29 ABI: OABI
binutils : 2.17
gcc      : 4.2.0

Could this problem be:

- An OABI/EABI problem ? (Then kernel uses OABI and
   I configured uClibc to use OABI)
- a uClibc problem ?
- cross-compiler problem ?
- Any other sugestions ?


Best regards,
Claudio Leonel

                 reply	other threads:[~2007-08-02 20:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=46B23F30.9090504@elaxys.com \
    --to=leonel@elaxys.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