Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 30 Mar 2020 19:21:48 +0200
From: Johann Hanne <>
Subject: User mode linux error when compiled with musl


I'm compiling user mode linux (kernel 5.5) against musl (toolchain from, tried gcc 6 and gcc 9) and getting the following error when 
Run /init as init process
userspace - ptrace set fp regs failed, errno = 14
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

build command: make ARCH=um LD_FLAGS_CMDLINE="-static" 

run command: ./linux initrd=test.cpio.gz

test.cpio.gz contains a statically linked "Hello world" init, which 
works when UML is built against the host cc with glibc (Ubuntu 16.04, 
gcc 5, also with "-static").

Any ideas?


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.