Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: yongyew <yongyew@actatek.com>
To: buildroot@busybox.net
Subject: [Buildroot] sendto: Invalid argument
Date: Mon, 03 Nov 2008 21:29:08 +0800	[thread overview]
Message-ID: <490EFCA4.5020908@actatek.com> (raw)
In-Reply-To: <87fxmaxdml.fsf@macbook.be.48ers.dk>

Dear Peter,

thank for reply :)  I have found the problem.  I using the custom kernel 
2.6.13 but the kernel header is different from the standard kernel header.

my custom kernel which not using _NR_xxx . current solution is to 
manually point BR2 to custom kernel header which force uclibc to use 
__NR_socketcall.  Now have another problem is to make BR2 to support 
custom kernel without kernel header.


include/asm-arm/unistd.h
===============================================================================
#if 0 /* reserve these for un-muxing socketcall */
#define __NR_socket                     (__NR_SYSCALL_BASE+281)
#define __NR_bind                       (__NR_SYSCALL_BASE+282)
#define __NR_connect                    (__NR_SYSCALL_BASE+283)
#define __NR_listen                     (__NR_SYSCALL_BASE+284)
#define __NR_accept                     (__NR_SYSCALL_BASE+285)
#define __NR_getsockname                (__NR_SYSCALL_BASE+286)
#define __NR_getpeername                (__NR_SYSCALL_BASE+287)
#define __NR_socketpair                 (__NR_SYSCALL_BASE+288)
#define __NR_send                       (__NR_SYSCALL_BASE+289)
#define __NR_sendto                     (__NR_SYSCALL_BASE+290)
#define __NR_recv                       (__NR_SYSCALL_BASE+291)
#define __NR_recvfrom                   (__NR_SYSCALL_BASE+292)
#define __NR_shutdown                   (__NR_SYSCALL_BASE+293)
#define __NR_setsockopt                 (__NR_SYSCALL_BASE+294)
#define __NR_getsockopt                 (__NR_SYSCALL_BASE+295)
#define __NR_sendmsg                    (__NR_SYSCALL_BASE+296)
#define __NR_recvmsg                    (__NR_SYSCALL_BASE+297)
#endif
=======================================================================



Peter Korsgaard wrote:
>>>>>> "yongyew" == yongyew  <yongyew@actatek.com> writes:
>>>>>>             
>
>  yongyew> Dear all,
>  yongyew> I face same problem when i do the following ping
>
>  yongyew> PING 127.0.0.1 (127.0.0.1): 56 data bytes
>  yongyew> ping: sendto: Invalid argument
>
>  yongyew> My eth0 is already config with eth0 and lo using ifconfig.
>  yongyew> Do anyone have any idea what is the cause. 
>
> Not without more details about your setup.
>
>   


-- 
Cheong Yong Yew
Software Project Manager

ACTAtek Pte Ltd/Hectrix Ltd
18, Boon Lay Way, #09-96/97/98
TradeHub 21, Singapore 609964
Tel  :    (65) 65154520
Fax :    (65) 65154521
Skype :  co-yongyew
E-mail :  yongyew at actatek.com
website : www.actatek.com
 
Secure Access Control/Time Attendance & Advertising/Information Systems
 
----------------------------------------------------------------------------
New Company Achievement Award:

August 5, 2008 - ACTAtek Pte Ltd is pleased to know that Network Products
Guide a Silicon Valley Communications publication and a world leading
publication on technologies and solutions has named ACTAtek2, a winner of
the 2008 Best Products and Services Award (Best in Integrated Security
Appliance)

-----------------------------------------------------------------
Please visit our booth:

Security Sydney 2008 Conference & Exhibition
Date: 26-28 August 2008
Venue: Sydney Convention & Exhibition Centre Australia
            Darling Harbour, Hall 5
Booth: G42
Website:  www.securityexpo.com.au

ASIS INTERNATIONAL, Atlanta 2008
54th Annual Seminar & Exhibits
Date: September 15-17, 2008
Venue: Georgia World Congress Center
            285 Andrew Young International Blvd., NW
            Atlanta, GA USA
Booth: 219
Website: http://www.asisonline.org/asis2008

 
-----------------------------------------------------------------------------------------
This message and any attachment are confidential and may be privileged or otherwise
protected from disclosure. If you are not the intended recipient please telephone or e-mail
the sender and delete this message and all attachments from your system.If you are not
the intended recipient you must not copy this message

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20081103/474314d7/attachment.htm 

  reply	other threads:[~2008-11-03 13:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-30 14:27 [Buildroot] sendto: Invalid argument yongyew
2008-11-02 17:05 ` Peter Korsgaard
2008-11-03 13:29   ` yongyew [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-05-17 14:22 Fernando Rodriguez

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=490EFCA4.5020908@actatek.com \
    --to=yongyew@actatek.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