NFS on ARM/IXP435
Alex Vinogradovs
avinogradovs at clearpathnet.com
Mon Feb 2 13:35:31 PST 2009
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,<unused>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,<unused>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,<invalid=128>,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,<unused>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.
>
More information about the freebsd-arm
mailing list