This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
clntudp_create error in busybox-1.01
- From: "Bridge Wu" <mingqiao dot wu at gmail dot com>
- To: libc-ports at sourceware dot org
- Date: Fri, 25 Aug 2006 10:23:57 +0800
- Subject: clntudp_create error in busybox-1.01
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=MsJyZD7x/tD7YL6zxnMhgH8iYqMRPlRveVzhO0L+eG6vnlBYro/M7/d8AdnwvtMNlOVph21w3rvAnQxMSk8zo4v78cWBVNDczJacnsZ2E9NLdY0SH5xoXeEnINPHcPFVPtfKzcyW97bFOUtpiY1EpWXyUieBvyZh/gf0WPA/z/c=
Hello,
I am using busybox-1.01 and met a problem when mounting nfs on ARM linux.
I used the tool chain which consists of gcc-4.1.1, glibc-2.4,
glibc-ports-2.4 and binutils-2.16.92. The glibc-2.4 and
glibc-ports-2.4 are 20060621 snapshot from cvs on sources.redhat.com.
I got them with following command.
cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/glibc co libc
cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/glibc co ports
But after I built the tool chain with this snapshot, I found the
busybox-1.01 built with it cannot use mount nfs function. The error is
as following.
mount: nfsmount failed: Bad file descriptor
mount: Mounting 192.168.1.100:/workspace/rootfs on /mnt failed:
Invalid argument
I digged into this issue and found it was clntudp_create returned
NULL. I don't know why this clntudp_create returns wrong value. If I
changed libc-2.4.so with another version (just using glibc-2.4 and
glibc-ports-2.4 release package, not snapshot), all other things are
kept intact, the result is ok. So this can demonstrate it is a libc
issue. Is there anybody aware of this issue?
Also, I am tring to use latest snapshot (20060821) to build a new tool
chain to see if it will solve this issue.
--
best regards,
-Bridge