Current-Users archive

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

Re: COMPAT_40 broken in current amd64 kernel?

In article <>,
Paul Goyette  <> wrote:
>I've got this one old, statically-linked image that works just fine on a 
>5.99.24 -current kernel built on Jan 21st
>{129} file ~/dnetc/dnetc.x86_64
>/home/paul/dnetc/dnetc.x86_64: ELF 64-bit LSB executable, x86-64, 
>version 1 (SYSV), statically linked, for NetBSD 4.0, stripped
>However, on a kernel built today, it gives me a core dump due to a "bad 
>system call".  The backtrace shows that this is the code leading up to 
>the bad syscall:
>(gdb) x/10i 0x47a598
>0x47a598:       jmpq   0x490ba0
>0x47a59d:       data16
>0x47a59e:       data16
>0x47a59f:       nop
>0x47a5a0:       mov    $0x74,%eax
>0x47a5a5:       mov    %rcx,%r10
>0x47a5a8:       syscall
>0x47a5aa:       jb     0x47a598
>0x47a5ac:       retq
>0x47a5ad:       nop

0x74 == 116 is the old gettimeofday. Something is not loading compat_50.


Home | Main Index | Thread Index | Old Index