We have a customer running net-snmp-5.7.1 on Solaris 10/x86 and they're seeing some type looping wrt an NFS filesystem whose size > 2TB: statvfs("/var/run", 0x08046E70) = 0 ioctl(13, MNTIOC_GETMNTENT, 0x08046A08) = 0 statvfs("/export", 0x08046E70) = 0 ioctl(13, MNTIOC_GETMNTENT, 0x08046A08) = 0 statvfs("/export/home", 0x08046E70) = 0 ioctl(13, MNTIOC_GETMNTENT, 0x08046A08) = 0 statvfs("/rpool", 0x08046E70) = 0 ioctl(13, MNTIOC_GETMNTENT, 0x08046A08) = 0 statvfs("/var/opt", 0x08046E70) = 0 ioctl(13, MNTIOC_GETMNTENT, 0x08046A08) = 0 statvfs("/opt/lang", 0x08046E70) Err#79 EOVERFLOW write(3, " C a n n o t s t a t f".., 64) Err#27 EFBIG ioctl(13, MNTIOC_GETMNTENT, 0x08046A08) = 0 statvfs("/opt/sybase", 0x08046E70) Err#79 EOVERFLOW write(3, " C a n n o t s t a t f".., 66) Err#27 EFBIG ioctl(13, MNTIOC_GETMNTENT, 0x08046A08) = 0 statvfs("/opt/sybase-12.5", 0x08046E70) Err#79 EOVERFLOW write(3, " C a n n o t s t a t f".., 71) Err#27 EFBIG ioctl(13, MNTIOC_GETMNTENT, 0x08046A08) = 0 statvfs("/opt/lang", 0x08046E70) Err#79 EOVERFLOW write(3, " C a n n o t s t a t f".., 64) Err#27 EFBIG ioctl(13, MNTIOC_GETMNTENT, 0x08046A08) = 0 statvfs("/opt/sybase", 0x08046E70) Err#79 EOVERFLOW write(3, " C a n n o t s t a t f".., 66) Err#27 EFBIG ioctl(13, MNTIOC_GETMNTENT, 0x08046A08) = 0 statvfs("/net", 0x08046E70) = 0 ioctl(13, MNTIOC_GETMNTENT, 0x08046A08) = 0
Apparently, the the EFBIG and EOVERFLOW is because of filesystems which are larger than 2TB. I tried building 5.7.1 on this platform with LFS and run into the following: /opt/fsw/bash42/bin/bash ../../libtool --mode=compile cc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -I/opt/TWWfsw/libopenssl10/include -mr -Qn -xstrconst -xO2 -xtarget=pentium4 -Dsolaris2=solaris2 -c -o hardware/memory/memory_solaris.lo hardware/memory/memory_solaris.c cc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -I/opt/TWWfsw/libopenssl10/include -mr -Qn -xstrconst -xO2 -xtarget=pentium4 -Dsolaris2=solaris2 -c hardware/memory/memory_solaris.c -KPIC -DPIC -o hardware/memory/.libs/memory_solaris.o "/usr/include/sys/swap.h", line 49: #error: "Cannot use swapctl in the large files compilation environment" cc: acomp failed for hardware/memory/memory_solaris.c gmake[2]: *** [hardware/memory/memory_solaris.lo] Error 1 gmake[2]: Leaving directory `/opt/build/net-snmp-5.7.1/agent/mibgroup' So, we might need to make the necessary code aware of the 64-bit statvfs() functions to resolve this problem unless there is a solution to the above which I cannot see. -- albert chin (ch...@thewrittenword.com) ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders