Hi, Thanks for your time, and diff file. I applied patch and recompiled kernel... It failed but new ktrace report is different: 472 1 RET ioctl 0 472 1 CALL ioctl(4,_IO(0x89,0x27,0),0x80c6f30) 472 1 RET ioctl -1 errno -22 Invalid argument 472 1 CALL ioctl(4,_IO(0x89,0x27,0),0x80c6f50) 472 1 RET ioctl -1 errno -22 Invalid argument 472 1 CALL netbsd32_close(4) 472 1 RET netbsd32_close 0 472 1 CALL fcntl64(3,7,0xffff5368) 472 1 RET fcntl64 0 472 1 CALL stat64(0xffff9560,0xffff51fc) Well, because i was not sure this could be acceptable offer, i didn't mention but i can send the software if you want. It is standalone binary file used to encode php scripts... Regards, Cem Nicolas Joly wrote: On Fri, Jun 20, 2008 at 07:11:23PM +0200, Nicolas Joly wrote:Yes. I had a quick look, and SIOCGIFCONF ioctl is currently broken on amd64 for both compat linux and linux32 ...[...]As for linux32, the problem is burried in compat netbsd32 where *SIOCGIFCONF ioctls handling looks wrong. It does not follow the native definitions ... And is missing OOSIOCGIFCONF currently needed by linux compat.Can you try the attached, which should fix SIOCGIFCONF ioctl under compat linux32 (other ioctls may needs to be adjusted too) ? |