From owner-freebsd-arm@FreeBSD.ORG Mon Feb 2 21:35:31 2009 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52E9F10656BE; Mon, 2 Feb 2009 21:35:31 +0000 (UTC) (envelope-from avinogradovs@clearpathnet.com) Received: from smtp.clearpathnet.com (smtp.clearpathnet.com [74.217.144.10]) by mx1.freebsd.org (Postfix) with ESMTP id 393268FC24; Mon, 2 Feb 2009 21:35:29 +0000 (UTC) (envelope-from avinogradovs@clearpathnet.com) Received: from [10.1.16.109] (la-209-182-100-49 [209.182.100.49] (may be forged)) by smtp.clearpathnet.com (8.13.1/8.13.1) with ESMTP id n12LZQsV030468; Mon, 2 Feb 2009 13:35:28 -0800 Message-ID: <4987675D.9050900@clearpathnet.com> Date: Mon, 02 Feb 2009 13:36:29 -0800 From: Alex Vinogradovs User-Agent: Thunderbird 2.0.0.16 (X11/20080915) MIME-Version: 1.0 To: Sam Leffler References: <49838270.7090301@clearpathnet.com> <4983B041.4050200@freebsd.org> <4983B5D2.9040500@clearpathnet.com> <49866832.1080601@freebsd.org> In-Reply-To: <49866832.1080601@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org Subject: Re: NFS on ARM/IXP435 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2009 21:35:31 -0000 Well, ktrace didn't help me much... Here is the output of kdump : 764 ktrace RET ktrace 0 764 ktrace CALL execve(0xbfffe7bc,0xbfffecfc,0xbfffed0c) 764 ktrace NAMI "/sbin/mount_nfs" 764 ktrace NAMI "/libexec/ld-elf.so.1" 764 mount_nfs RET execve 0 764 mount_nfs CALL __sysctl(0xbfffeaf0,0x2,0x2004ad54,0xbfffeaec,0,0) 764 mount_nfs RET __sysctl 0 764 mount_nfs CALL __sysctl(0xbfffea78,0x2,0xbfffea74,0xbfffea80,0,0) 764 mount_nfs RET __sysctl 0 764 mount_nfs CALL mmap(0,0x8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,0xffffffff,0,0) 764 mount_nfs RET mmap 537190400/0x2004e000 764 mount_nfs CALL issetugid 764 mount_nfs RET issetugid 0 764 mount_nfs CALL open(0x2003defc,O_RDONLY,0x1b6) 764 mount_nfs NAMI "/etc/libmap.conf" 764 mount_nfs RET open -1 errno 2 No such file or directory 764 mount_nfs CALL open(0x2003cfd0,O_RDONLY,0x14c) 764 mount_nfs NAMI "/var/run/ld-elf.so.hints" 764 mount_nfs RET open 3 764 mount_nfs CALL read(0x3,0xbfffe838,0x80) 764 mount_nfs GIO fd 3 read 128 bytes 0x0000 746e 6845 0000 0001 0000 0080 0000 001e |tnhE............| 0x0010 0000 0000 0000 001d 0000 0000 0000 0000 |................| 0x0020 0000 0000 0000 0000 0000 0000 0000 0000 |................| 0x0030 0000 0000 0000 0000 0000 0000 0000 0000 |................| 0x0040 0000 0000 0000 0000 0000 0000 0000 0000 |................| 0x0050 0000 0000 0000 0000 0000 0000 0000 0000 |................| 0x0060 0000 0000 0000 0000 0000 0000 0000 0000 |................| 0x0070 0000 0000 0000 0000 0000 0000 0000 0000 |................| 764 mount_nfs RET read 128/0x80 764 mount_nfs CALL lseek(0x3,0,,0) 764 mount_nfs RET lseek 0 764 mount_nfs CALL read(0x3,0x20052000,0x1e) 764 mount_nfs GIO fd 3 read 30 bytes "/lib:/usr/lib:/usr/lib/compat\0" 764 mount_nfs RET read 30/0x1e 764 mount_nfs CALL close(0x3) 764 mount_nfs RET close 0 764 mount_nfs CALL access(0x20053000,F_OK) 764 mount_nfs NAMI "/lib/libc.so.7" 764 mount_nfs RET access 0 764 mount_nfs CALL open(0x2004f020,O_RDONLY,0x2004acb8) 764 mount_nfs NAMI "/lib/libc.so.7" 764 mount_nfs RET open 3 764 mount_nfs CALL fstat(0x3,0xbfffeab8) Bus error (core dumped) And top shows that mount_nfs is stuck on RPC stuff : 764 root 1 4 0 3436K 1148K rpccon 0:03 0.00% mount_nfs I've tried compiling strace from ports, but it appeared to be supported on i386 only. Alex. Sam Leffler wrote: > > Not sure why you cannot configure proc/truss, use ktrace, or something > else to debug the issue. >