Code Monkey home page Code Monkey logo

Comments (6)

nuta avatar nuta commented on August 16, 2024 1

Thank you for reporting the bug!

According to the log, it crashes due to WARN: invalid ELF e_machine. It means the executable is not built for x86_64 and as you pointed out, the binaries like busybox might be built for ARM64, not for x86_64.

I guess it can be resolved replacing a plain docker build here with Docker's cross compiling feature. I cannot try it as I don't have M1 Mac though.

from kerla.

yamamushi avatar yamamushi commented on August 16, 2024

Thanks for the help!

I modified the docker build to (note that it also builds without buildx, albeit much slower):

                ["docker", "buildx", "build", "--platform","linux/amd64","-t", f"kerla-{pkg.name}", "."], cwd=tempdir,

Which did build a useable initramfs, but now I'm hitting these messages and qemu still doesn't boot with a prompt. I can access port 22 through the exposed 20022 port, but the connection just hangs.

[   0.000] virtio-net: MAC address is 52:54:00:12:34:56
[   0.000] virtio-net: transmitting 299 octets (tx_ring=0, paddr=0000000000767000)
[   0.000] running /sbin/init
[   0.000] interrupt(43): rip=41be3b, rsp=9ffffef50, err=0, cr2=0
[   0.000] virtio-net: received 328 octets (paddr=00000000007e7000, payload_len=316)
[   0.000] virtio-net: transmitting 316 octets (tx_ring=1, paddr=0000000000767800)
[   0.000] interrupt(43): rip=41be3b, rsp=9ffffef50, err=0, cr2=0
[   0.000] virtio-net: received 328 octets (paddr=00000000007e7800, payload_len=316)
[   0.000] DHCP: got a IPv4 address: 10.0.2.15/24
[   0.003] syscall: arch_prctl(1002, 435578, 0, 20000, 0, ff)
[   0.004] syscall: set_tid_address(435d6c, 435578, 0, 20000, 0, ff)
[   0.005] syscall: brk(0, 0, 1000, 20000, 430b5a, 9ffffefe2)
[   0.006] syscall: brk(437000, 436000, 1000, 20000, 9ffffef78, 9ffffefe2)
[   0.007] syscall: getpid(9ffffedf0, 23, 4270a1, 20000, 4367a0, 9ffffefe2)
[   0.008] syscall: rt_sigprocmask(1, 9ffffeb40, 0, 8, 436cd0, 9ffffefe2)
[   0.008] WARN: unimplemented system call: rt_sigprocmask (n=14)
[   0.008] WARN: rt_sigprocmask: error: ENOSYS
[   0.009] syscall: rt_sigaction(11, 9ffffeb20, 0, 8, 436cd0, 9ffffefe2)
[   0.010] syscall: rt_sigaction(1, 9ffffeaa0, 9ffffeac0, 8, 1, 9ffffefe2)
[   0.010] syscall: geteuid(0, 9ffffeae0, 0, 8, 1, 9ffffefe2)
[   0.010] syscall: getppid(436d00, 16, 4, 8, 436ce0, 0)
[   0.010] WARN: unimplemented system call: getppid (n=110)
[   0.010] WARN: getppid: error: ENOSYS
[   0.011] syscall: getcwd(9ffffdc10, 1000, 436560, 0, 436688, 0)
[   0.012] syscall: open(9ffffefe5, 80000, 0, 0, 0, 0)
[   0.012] open("/sbin/init")
[   0.013] syscall: fcntl(3, 2, 1, 0, 0, 0)
[   0.013] syscall: fcntl(3, 406, a, a, 48, 0)
[   0.014] syscall: fcntl(a, 2, 1, a, 48, 0)
[   0.014] syscall: close(3, 0, 0, 0, 0, 0)
[   0.014] syscall: rt_sigaction(2, 0, 9ffffec80, 8, 0, 0)
[   0.015] syscall: rt_sigaction(2, 9ffffec60, 0, 8, 0, 0)
[   0.015] syscall: rt_sigaction(3, 0, 9ffffec80, 8, 0, 0)
[   0.015] syscall: rt_sigaction(3, 9ffffec60, 0, 8, 0, 0)
[   0.015] syscall: rt_sigaction(f, 0, 9ffffec80, 8, 0, 0)
[   0.016] syscall: read(a, 4368c0, 3ff, 0, 0, 0)
[   0.019] syscall: stat(436510, 9ffffea40, 9ffffea40, 0, 436516, ffffff9c)
[   0.019] WARN: stat: error: ENOENT
[   0.020] syscall: stat(436510, 9ffffea40, 9ffffea40, fffffffe, 43651a, ffffff9c)
[   0.020] WARN: stat: error: ENOENT
[   0.021] syscall: stat(436510, 9ffffea40, 9ffffea40, fffffffe, 436515, ffffff9c)
[   0.022] syscall: rt_sigprocmask(0, 4304e0, 9ffffeb40, 8, 436f30, ffffff9c)
[   0.022] WARN: unimplemented system call: rt_sigprocmask (n=14)
[   0.022] WARN: rt_sigprocmask: error: ENOSYS
[   0.022] syscall: fork(0, 4304e0, 9ffffeb40, 8, 436f30, ffffff9c)
[   0.023] syscall: rt_sigprocmask(2, 9ffffeb40, 0, 8, 436f30, ffffff9c)
[   0.023] WARN: unimplemented system call: rt_sigprocmask (n=14)
[   0.023] WARN: rt_sigprocmask: error: ENOSYS
[   0.024] syscall: wait4(ffffffffffffffff, 9ffffeb0c, 0, 0, 0, 0)
[   0.025] syscall: gettid(0, 4304e0, 435578, 8, 436f30, ffffff9c)
[   0.025] WARN: unimplemented system call: gettid (n=186)
[   0.025] WARN: gettid: error: ENOSYS
[   0.025] syscall: rt_sigprocmask(2, 9ffffeb40, 0, 8, 436f30, ffffff9c)
[   0.025] WARN: unimplemented system call: rt_sigprocmask (n=14)
[   0.025] WARN: rt_sigprocmask: error: ENOSYS
[   0.026] syscall: close(a, 0, 0, 0, 0, 0)
[   0.026] syscall: rt_sigaction(3, 9ffffea50, 0, 8, 0, 0)
[   0.027] syscall: execve(436520, 4364e0, 436510, 8, 436525, 8080808080808080)
[   0.029] syscall: arch_prctl(1002, 42da18, 0, 20000, 0, ff)
[   0.029] syscall: set_tid_address(42dc54, 42da18, 0, 20000, 0, ff)
[   0.030] syscall: getrandom(9ffffee28, 20, 1, 0, 0, 0)
[   0.031] syscall: open(4214e0, 0, 0, 0, 0, 0)
[   0.031] open("/proc/timer_list")
[   0.031] WARN: open: error: ENOENT
[   0.032] syscall: close(ffffffffffffffff, 0, 0, 0, 0, 0)
[   0.032] WARN: close: error: EBADF
[   0.032] syscall: open(4214f1, 0, 0, 0, 0, 0)
[   0.032] open("/proc/interrupts")
[   0.032] WARN: open: error: ENOENT
[   0.033] syscall: close(ffffffffffffffff, 0, 0, 0, 0, 0)
[   0.033] WARN: close: error: EBADF
[   0.033] syscall: open(421502, 0, 0, 0, 0, 0)
[   0.033] open("/proc/loadavg")
[   0.033] WARN: open: error: ENOENT
[   0.034] syscall: close(ffffffffffffffff, 0, 0, 0, 0, 0)
[   0.034] WARN: close: error: EBADF
[   0.034] syscall: open(421510, 0, 0, 0, 0, 0)
[   0.034] open("/proc/sys/kernel/random/entropy_avail")
[   0.034] WARN: open: error: ENOENT
[   0.035] syscall: close(ffffffffffffffff, 0, 0, 0, 0, 0)
[   0.035] WARN: close: error: EBADF
[   0.035] syscall: open(421536, 0, 0, 0, 0, 0)
[   0.035] open("/proc/net/netstat")
[   0.035] WARN: open: error: ENOENT
[   0.036] syscall: close(ffffffffffffffff, 0, 0, 0, 0, 0)
[   0.036] WARN: close: error: EBADF
[   0.036] syscall: open(421548, 0, 0, 0, 0, 0)
[   0.036] open("/proc/net/dev")
[   0.036] WARN: open: error: ENOENT
[   0.036] syscall: close(ffffffffffffffff, 0, 0, 0, 0, 0)
[   0.036] WARN: close: error: EBADF
[   0.037] syscall: open(421556, 0, 0, 0, 0, 0)
[   0.037] open("/proc/net/tcp")
[   0.037] WARN: open: error: ENOENT
[   0.037] syscall: close(ffffffffffffffff, 0, 0, 0, 0, 0)
[   0.037] WARN: close: error: EBADF
[   0.037] syscall: open(421564, 0, 0, 0, 0, 0)
[   0.037] open("/proc/net/rt_cache")
[   0.037] WARN: open: error: ENOENT
[   0.038] syscall: close(ffffffffffffffff, 0, 0, 0, 0, 0)
[   0.038] WARN: close: error: EBADF
[   0.038] syscall: open(421577, 0, 0, 0, 0, 0)
[   0.038] open("/proc/vmstat")
[   0.038] WARN: open: error: ENOENT
[   0.038] syscall: close(ffffffffffffffff, 0, 0, 0, 0, 0)
[   0.038] WARN: close: error: EBADF
[   0.039] syscall: getpid(9, 0, 0, 0, 0, 0)
[   0.039] syscall: clock_gettime(0, 9ffffed00, 0, 0, 9ffffed78, 0)
[   0.039] syscall: clock_gettime(2, 9ffffed00, 41a193, 529ef97a, 9ffffed78, fb6073b3)
[   0.039] WARN: clock_gettime: unsupported clock id: 2
[   0.039] WARN: clock_gettime: error: ENOSYS
[   0.040] syscall: open(4214b2, 241, 1b6, 4004fbf2, 0, 8080808080808080)
[   0.040] open("/dev/urandom")
[   0.042] syscall: brk(0, 0, 1000, 4004fbf2, 7777777777777777, 8080808080808080)
[   0.042] syscall: brk(42f000, 42e000, 1000, 4004fbf2, 9ffffef58, 8080808080808080)
[   0.042] syscall: ioctl(3, 5413, 9ffffecd0, 4004fbf2, 42e020, 8080808080808080)
[   0.042] WARN: ioctl: error: EBADF
[   0.043] syscall: writev(3, 9ffffec80, 2, 90067784, 101010101010101, bdbbb7ba)
[   0.044] syscall: close(3, 0, 42e510, 90067784, 101010101010101, bdbbb7ba)
Generating 256 bit ed25519 key, this may take a while...
[   0.046] syscall: getrandom(9ffffedd8, 20, 1, 0, 0, 0)
[   0.046] syscall: open(4214e0, 0, 0, 0, 0, 0)
[   0.046] open("/proc/timer_list")
[   0.046] WARN: open: error: ENOENT
[   0.047] syscall: close(ffffffffffffffff, 0, 0, 0, 0, 0)
[   0.047] WARN: close: error: EBADF
[   0.047] syscall: open(4214f1, 0, 0, 0, 0, 0)
[   0.047] open("/proc/interrupts")
[   0.047] WARN: open: error: ENOENT
[   0.048] syscall: close(ffffffffffffffff, 0, 0, 0, 0, 0)
[   0.048] WARN: close: error: EBADF
[   0.048] syscall: open(421502, 0, 0, 0, 0, 0)
[   0.048] open("/proc/loadavg")
[   0.048] WARN: open: error: ENOENT
[   0.048] syscall: close(ffffffffffffffff, 0, 0, 0, 0, 0)
[   0.048] WARN: close: error: EBADF
[   0.048] syscall: open(421510, 0, 0, 0, 0, 0)
[   0.048] open("/proc/sys/kernel/random/entropy_avail")
[   0.048] WARN: open: error: ENOENT
[   0.049] syscall: close(ffffffffffffffff, 0, 0, 0, 0, 0)
[   0.049] WARN: close: error: EBADF
[   0.049] syscall: open(421536, 0, 0, 0, 0, 0)
[   0.049] open("/proc/net/netstat")
[   0.049] WARN: open: error: ENOENT
[   0.050] syscall: close(ffffffffffffffff, 0, 0, 0, 0, 0)
[   0.050] WARN: close: error: EBADF
[   0.050] syscall: open(421548, 0, 0, 0, 0, 0)
[   0.050] open("/proc/net/dev")
[   0.050] WARN: open: error: ENOENT
[   0.050] syscall: close(ffffffffffffffff, 0, 0, 0, 0, 0)
[   0.050] WARN: close: error: EBADF
[   0.050] syscall: open(421556, 0, 0, 0, 0, 0)
[   0.050] open("/proc/net/tcp")
[   0.050] WARN: open: error: ENOENT
[   0.051] syscall: close(ffffffffffffffff, 0, 0, 0, 0, 0)
[   0.051] WARN: close: error: EBADF
[   0.051] syscall: open(421564, 0, 0, 0, 0, 0)
[   0.051] open("/proc/net/rt_cache")
[   0.051] WARN: open: error: ENOENT
[   0.051] syscall: close(ffffffffffffffff, 0, 0, 0, 0, 0)
[   0.051] WARN: close: error: EBADF
[   0.052] syscall: open(421577, 0, 0, 0, 0, 0)
[   0.052] open("/proc/vmstat")
[   0.052] WARN: open: error: ENOENT
[   0.052] syscall: close(ffffffffffffffff, 0, 0, 0, 0, 0)
[   0.052] WARN: close: error: EBADF
[   0.052] syscall: getpid(9, 0, 0, 0, 0, 0)
[   0.052] syscall: clock_gettime(0, 9ffffecb0, 41a3eb, 0, 9ffffed28, 0)
[   0.052] syscall: clock_gettime(2, 9ffffecb0, 41a193, e16071d9, 9ffffed28, f98eb37f)
[   0.052] WARN: clock_gettime: unsupported clock id: 2
[   0.052] WARN: clock_gettime: error: ENOSYS
[   0.053] syscall: open(4214b2, 241, 1b6, 2ddf08de, 0, 8080808080808080)
[   0.053] open("/dev/urandom")
[   0.053] WARN: open: error: EEXIST
[   0.059] syscall: getrandom(9ffffedd8, 20, 1, 0, 0, 0)
[   0.059] syscall: open(4214e0, 0, 0, 0, 0, 0)
[   0.059] open("/proc/timer_list")
[   0.059] WARN: open: error: ENOENT
[   0.059] syscall: close(ffffffffffffffff, 0, 0, 0, 0, 0)
[   0.059] WARN: close: error: EBADF
[   0.060] syscall: open(4214f1, 0, 0, 0, 0, 0)
[   0.060] open("/proc/interrupts")
[   0.060] WARN: open: error: ENOENT
[   0.060] syscall: close(ffffffffffffffff, 0, 0, 0, 0, 0)
[   0.060] WARN: close: error: EBADF
[   0.060] syscall: open(421502, 0, 0, 0, 0, 0)
[   0.060] open("/proc/loadavg")
[   0.060] WARN: open: error: ENOENT
[   0.061] syscall: close(ffffffffffffffff, 0, 0, 0, 0, 0)
[   0.061] WARN: close: error: EBADF
[   0.061] syscall: open(421510, 0, 0, 0, 0, 0)
[   0.061] open("/proc/sys/kernel/random/entropy_avail")
[   0.061] WARN: open: error: ENOENT
[   0.061] syscall: close(ffffffffffffffff, 0, 0, 0, 0, 0)
[   0.061] WARN: close: error: EBADF
[   0.062] syscall: open(421536, 0, 0, 0, 0, 0)
[   0.062] open("/proc/net/netstat")
[   0.062] WARN: open: error: ENOENT
[   0.062] syscall: close(ffffffffffffffff, 0, 0, 0, 0, 0)
[   0.062] WARN: close: error: EBADF
[   0.062] syscall: open(421548, 0, 0, 0, 0, 0)
[   0.062] open("/proc/net/dev")
[   0.062] WARN: open: error: ENOENT
[   0.063] syscall: close(ffffffffffffffff, 0, 0, 0, 0, 0)
[   0.063] WARN: close: error: EBADF
[   0.063] syscall: open(421556, 0, 0, 0, 0, 0)
[   0.063] open("/proc/net/tcp")
[   0.063] WARN: open: error: ENOENT
[   0.063] syscall: close(ffffffffffffffff, 0, 0, 0, 0, 0)
[   0.063] WARN: close: error: EBADF
[   0.063] syscall: open(421564, 0, 0, 0, 0, 0)
[   0.063] open("/proc/net/rt_cache")
[   0.063] WARN: open: error: ENOENT
[   0.064] syscall: close(ffffffffffffffff, 0, 0, 0, 0, 0)
[   0.064] WARN: close: error: EBADF
[   0.064] syscall: open(421577, 0, 0, 0, 0, 0)
[   0.064] open("/proc/vmstat")
[   0.064] WARN: open: error: ENOENT
[   0.064] syscall: close(ffffffffffffffff, 0, 0, 0, 0, 0)
[   0.064] WARN: close: error: EBADF
[   0.064] syscall: getpid(9, 0, 0, 0, 0, 0)
[   0.065] syscall: clock_gettime(0, 9ffffecb0, 41a3eb, 0, 9ffffed28, 0)
[   0.065] syscall: clock_gettime(2, 9ffffecb0, 41a193, d4b3ef46, 9ffffed28, f562d638)
[   0.065] WARN: clock_gettime: unsupported clock id: 2
[   0.065] WARN: clock_gettime: error: ENOSYS
[   0.065] syscall: open(4214b2, 241, 1b6, af726f42, 0, 8080808080808080)
[   0.065] open("/dev/urandom")
[   0.065] WARN: open: error: EEXIST
[   0.066] syscall: getpid(42e020, 0, 17, af726f42, 101010101010101, 8080808080808080)
[   0.067] syscall: open(42e020, c2, 180, 0, 0, 0)
[   0.067] open("/tmp/dropbear_host_key.tmp2")
[   0.068] syscall: write(3, 42e0f8, 53, 0, 0, 0)
[   0.068] syscall: fsync(3, 0, 0, 0, 0, 0)
[   0.068] syscall: close(3, 0, 0, 0, 0, 0)
[   0.069] syscall: link(42e020, 9ffffefd3, 0, 0, 0, 0)
[   0.070] syscall: open(42e080, 0, 0, 0, 0, 0)
[   0.070] open("/tmp")
[   0.070] syscall: fsync(3, 0, 0, 0, 0, 0)
[   0.070] syscall: close(3, 0, 0, 0, 0, 0)
[   0.071] syscall: unlink(42e020, 27, 42cec0, 0, 42e0d0, 0)
[   0.071] WARN: unimplemented system call: unlink (n=87)
[   0.071] WARN: unlink: error: ENOSYS
[   0.071] syscall: open(9ffffefd3, 0, 0, 0, 0, 0)
[   0.071] open("/tmp/dropbear_host_key")
[   0.072] syscall: read(3, 42e038, 6a4, 0, 0, 0)
[   0.072] syscall: read(3, 42e08b, 651, 0, 0, 0)
[   0.072] syscall: close(3, 0, 0, 0, 0, 0)
[   0.073] syscall: brk(430000, 42f000, 1000, 0, 9ffffef58, 0)
[   0.073] syscall: getuid(42eea0, 61, 3c, 28, 42eea0, 1100)
[   0.073] syscall: open(425740, 80000, 1b6, 28, 42573e, 8080808080808080)
[   0.073] open("/etc/passwd")
[   0.074] syscall: fcntl(3, 2, 1, 28, 42573e, 8080808080808080)
[   0.074] syscall: fcntl(3, 2, 1, 25, 42ef00, c00)
[   0.074] syscall: read(3, 42eff0, 400, 2, 42f410, c00)
[   0.075] syscall: close(3, 42f00a, 0, 1c, 3a3a3a3a3a3a3a3a, 0)
[   0.075] syscall: uname(9ffffde90, 64, 0, 1c, 9ffffe05c, 0)
[   0.076] syscall: ioctl(1, 5413, 9ffffdc70, 17, 42c220, 421f59)
[   0.076] syscall: writev(1, 9ffffdc00, 2, 17, 42c220, 421f59)
Public key portion is:
[   0.076] syscall: writev(1, 9ffffdc20, 2, 0, e, 42c220)
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPanHqm7MDrN7M2K0wp/Fi1jFrWPPIo6TakjRV6/zrct root@
[   0.076] syscall: writev(1, 9ffffdc20, 2, 42, 1, 42c220)
Fingerprint: sha1!! 33:ad:2a:b0:21:7d:ed:e6:b9:1a:4f:40:84:32:23:4d:4f:ec:08:0a
[   0.077] syscall: exit_group(0, 0, 42cec0, 42, 42e6f0, 42c220)
[   0.077] WARN: unimplemented system call: exit_group (n=231)
[   0.077] WARN: exit_group: error: ENOSYS
[   0.077] syscall: exit(0, 0, 3c, 42, 42e6f0, 42c220)
[   0.077] WARN: wait4: error: EINTR
[   0.077] delivering 17 to PId(1)
[   0.078] syscall: rt_sigreturn(11, 0, 0, 0, 0, 0)
[   0.078] WARN: rt_sigreturn: error: EINTR
[   0.079] syscall: wait4(ffffffffffffffff, 9ffffeb0c, 0, 0, 0, 0)
[   0.080] syscall: brk(438000, 437000, 1000, 0, 9ffffef78, 0)
[   0.080] syscall: stat(436fc8, 9ffffea40, 9ffffea40, 0, 436fce, ffffff9c)
[   0.080] WARN: stat: error: ENOENT
[   0.081] syscall: stat(436fc8, 9ffffea40, 9ffffea40, fffffffe, 436fd2, ffffff9c)
[   0.081] WARN: stat: error: ENOENT
[   0.081] syscall: stat(436fc8, 9ffffea40, 9ffffea40, fffffffe, 436fcd, ffffff9c)
[   0.082] syscall: rt_sigprocmask(0, 4304e0, 9ffffeb40, 8, 437160, ffffff9c)
[   0.082] WARN: unimplemented system call: rt_sigprocmask (n=14)
[   0.082] WARN: rt_sigprocmask: error: ENOSYS
[   0.082] syscall: fork(0, 4304e0, 9ffffeb40, 8, 437160, ffffff9c)
[   0.083] syscall: rt_sigprocmask(2, 9ffffeb40, 0, 8, 437160, ffffff9c)
[   0.083] WARN: unimplemented system call: rt_sigprocmask (n=14)
[   0.083] WARN: rt_sigprocmask: error: ENOSYS
[   0.084] syscall: wait4(ffffffffffffffff, 9ffffeb0c, 0, 0, 0, 0)
[   0.084] syscall: gettid(0, 4304e0, 435578, 8, 437160, ffffff9c)
[   0.084] WARN: unimplemented system call: gettid (n=186)
[   0.084] WARN: gettid: error: ENOSYS
[   0.085] syscall: rt_sigprocmask(2, 9ffffeb40, 0, 8, 437160, ffffff9c)
[   0.085] WARN: unimplemented system call: rt_sigprocmask (n=14)
[   0.085] WARN: rt_sigprocmask: error: ENOSYS
[   0.085] syscall: close(a, 0, 0, 0, 0, 0)
[   0.085] syscall: rt_sigaction(3, 9ffffea50, 0, 8, 0, 0)
[   0.086] syscall: execve(436fd8, 436f88, 436fc8, 8, 436fdd, 8080808080808080)
[   0.088] syscall: arch_prctl(1002, 446af8, 0, 20000, 0, ff)
[   0.088] syscall: set_tid_address(447198, 446af8, 0, 20000, 0, ff)
[   0.088] syscall: rt_sigprocmask(0, 43bb18, 9ffffecc0, 8, 0, ff)
[   0.088] WARN: unimplemented system call: rt_sigprocmask (n=14)
[   0.088] WARN: rt_sigprocmask: error: ENOSYS
[   0.089] syscall: rt_sigprocmask(0, 43bb20, 0, 8, 0, ff)
[   0.089] WARN: unimplemented system call: rt_sigprocmask (n=14)
[   0.089] WARN: rt_sigprocmask: error: ENOSYS
[   0.089] syscall: prlimit64(0, 4, 9ffffee58, 0, 9ffffee20, 4)
[   0.089] WARN: unimplemented system call: prlimit64 (n=302)
[   0.089] WARN: prlimit64: error: ENOSYS
[   0.090] syscall: setrlimit(4, 9ffffec70, 9ffffee58, 0, 9ffffee20, 4)
[   0.090] WARN: unimplemented system call: setrlimit (n=160)
[   0.090] WARN: setrlimit: error: ENOSYS
[   0.091] syscall: rt_sigprocmask(2, 9ffffecc0, 0, 8, 9ffffee20, 4)
[   0.091] WARN: unimplemented system call: rt_sigprocmask (n=14)
[   0.091] WARN: rt_sigprocmask: error: ENOSYS
[   0.092] syscall: brk(0, 0, 1000, 9ffffed88, 4470d8, 0)
[   0.092] syscall: brk(449000, 448000, 1000, 9ffffed88, 9ffffef48, 0)
[   0.093] syscall: rt_sigprocmask(1, 9ffffe890, 0, 8, 2, 0)
[   0.093] WARN: unimplemented system call: rt_sigprocmask (n=14)
[   0.093] WARN: rt_sigprocmask: error: ENOSYS
[   0.093] syscall: rt_sigaction(2, 9ffffe870, 9ffffe890, 8, 2, 0)
[   0.093] syscall: rt_sigaction(f, 9ffffe870, 9ffffe890, 8, f, 0)
[   0.094] syscall: rt_sigaction(d, 9ffffe870, 9ffffe890, 8, d, 0)
[   0.094] syscall: rt_sigaction(11, 9ffffe9c0, 0, 8, d, 0)
[   0.094] syscall: rt_sigaction(b, 9ffffe870, 9ffffe890, 8, b, 0)
[   0.095] syscall: open(448020, 0, 0, 0, 0, 0)
[   0.095] open("/tmp/dropbear_host_key")
[   0.095] syscall: read(3, 448178, 6a4, 0, 0, 0)
[   0.096] syscall: read(3, 4481cb, 651, 0, 0, 0)
[   0.096] syscall: close(3, 0, 0, 0, 0, 0)
[   0.098] syscall: socket(2, 80002, 11, 0, 0, 0)
[   0.099] syscall: connect(3, 9ffffe170, 10, 0, 0, 0)
[   0.099] WARN: connect: error: EBADF
[   0.099] syscall: close(3, 0, 0, 0, 0, 0)
[   0.100] syscall: socket(a, 80002, 11, 0, 0, 0)
[   0.100] WARN: unsupported socket type: domain=10, type=524290, protocol=17
[   0.100] WARN: socket: error: ENOSYS
[   0.101] syscall: socket(a, 1, 6, 0, 0, 0)
[   0.101] WARN: unsupported socket type: domain=10, type=1, protocol=6
[   0.101] WARN: socket: error: ENOSYS
[   0.101] syscall: socket(2, 1, 6, 0, 0, 0)
[   0.102] syscall: setsockopt(3, 1, 2, 9ffffea60, 4, 0)
[   0.102] WARN: unimplemented system call: setsockopt (n=54)
[   0.102] WARN: setsockopt: error: ENOSYS
[   0.103] syscall: setsockopt(3, 1, d, 9ffffea70, 8, 0)
[   0.103] WARN: unimplemented system call: setsockopt (n=54)
[   0.103] WARN: setsockopt: error: ENOSYS
[   0.103] syscall: setsockopt(3, 6, 1, 9ffffea24, 4, 0)
[   0.103] WARN: unimplemented system call: setsockopt (n=54)
[   0.103] WARN: setsockopt: error: ENOSYS
[   0.103] syscall: bind(3, 448928, 10, 0, 0, 0)
[   0.104] syscall: listen(3, 3e8, 0, 0, 0, 0)
[   0.105] syscall: getsockname(3, 9ffffe978, 9ffffe974, 0, 0, 0)
[   0.105] WARN: getsockname: error: ENOTCONN
[   0.106] syscall: setsockopt(3, 29, 43, 9ffffead4, 4, 0)
[   0.106] WARN: unimplemented system call: setsockopt (n=54)
[   0.106] WARN: setsockopt: error: ENOSYS
[   0.106] syscall: setsockopt(3, 0, 1, 9ffffead4, 4, 0)
[   0.106] WARN: unimplemented system call: setsockopt (n=54)
[   0.106] WARN: setsockopt: error: ENOSYS
[   0.106] syscall: setsockopt(3, 6, 17, 9ffffead4, 4, 0)
[   0.106] WARN: unimplemented system call: setsockopt (n=54)
[   0.106] WARN: setsockopt: error: ENOSYS
[   0.107] syscall: clock_gettime(0, 9ffffe590, 0, 400, 11, 9ffffe4b0)
[   0.107] syscall: open(43c30f, 80800, 0, 400, 43c30f, 1)
[   0.107] open("/etc/localtime")
[   0.107] WARN: open: error: ENOENT
[   0.109] syscall: getpid(9ffffe5e3, 9ffffe512, 0, 1, 1, 9ffffe2b0)
[3] Jan 01 00:00:00 Not backgrounding
[   0.110] syscall: open(9ffffefd8, 241, 1b6, 11, 0, 8080808080808080)
[   0.110] open("/tmp/dropbear.pid")
[   0.111] syscall: ioctl(4, 5413, 9ffffea90, 11, 6565656565656565, 8080808080808080)
[   0.111] WARN: ioctl: error: EBADF
[   0.111] syscall: getpid(4469a8, 5413, 0, 11, 6565656565656565, 8080808080808080)
[   0.111] syscall: writev(4, 9ffffea40, 2, 1, 1, 448100)
[   0.111] syscall: close(4, 0, 4485f0, 1, 1, 448100)
[   0.112] syscall: select(4, 9ffffec48, 0, 0, 0, 0)

from kerla.

nuta avatar nuta commented on August 16, 2024

hmm, I can't reproduce the issue on my x86_64 Mac. The kernel log looks good though.

from kerla.

yamamushi avatar yamamushi commented on August 16, 2024

Building with the latest commit fixed my issues 👍🏽

Is there any harm to adding "--platform","linux/amd64", permanently? If not, I'll make a PR for it :-)

from kerla.

yamamushi avatar yamamushi commented on August 16, 2024

I see this has been patched 😅

from kerla.

nuta avatar nuta commented on August 16, 2024

I see this has been patched 😅

@yamamushi It's still not fixed. If possible I'd like you to send a PR to fix it :)

from kerla.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.