Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kqueue1 syscall missing in i386 emulation?



On 2011-11-07, at 11:50 , Nicolas Joly wrote:

> On Sat, Nov 05, 2011 at 08:43:43AM -0400, Andreas Wrede wrote:
>> I am trying to build packages under pkg_comp in a current/i386 emulated 
>> environment.
>> 
>> in the i386 chroot, ftp will fail:
>> 
>>  6175      1 ktrace   EMUL  "netbsd32
>> [snip]
>>  6175      1 ftp      RET   netbsd32_read 0
>>  6175      1 ftp      CALL  netbsd32_dup(3)
>>  6175      1 ftp      RET   netbsd32_dup 4
>>  6175      1 ftp      CALL  netbsd32_close(3)
>>  6175      1 ftp      RET   netbsd32_close 0
>>  6175      1 ftp      CALL  netbsd32___fstat50(4,0xffffc26c)
>>  6175      1 ftp      RET   netbsd32___fstat50 0
>>  6175      1 ftp      CALL  # filler
>>  6175      1 ftp      RET   # filler -1 errno 78 Function not implemented
>>  6175      1 ftp      PSIG  SIGSYS SIG_DFL: code=SI_NOINFO
>>  6175      1 ftp      NAMI  "ftp.core"
> 
> Can you try the following patch ?
> 
> You do need to regenerate netbsd32 syscalls files:
>    cd /usr/src/sys/compat/netbsd32 && make

The patch fixes the problem. 

Thank you!

-- 
    aew



Home | Main Index | Thread Index | Old Index