UML not coming up on "INTEL(R) XEON(R) GOLD 6542Y"
Hi, thanks to all for helping me in the past. I need one more help. Getting the below error on running UML:
----------------------------------------------------------------------------------------------
Run /sbin/init as init process
userspace - ptrace set fp regs failed, errno = 14
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b CPU: 0 PID: 1 Comm: init Not tainted 6.8.9-1 #1 ----------------------------------------------------------------------------------------------
Searched on the internet but didn't find any solution. Any idea, what could be the reason for the above error? Below are my UML details:
1) root-fs: created by running the command: “debootstrap --arch=amd64 noble /tmp http://archive.ubuntu.com/ubuntu/”
2) Linux: created by running the command: "ARCH=um make -j$(nproc)" on linux-6.8.9 using defconfig.
3) Attached file <uml_crash>: logs on running the UML
4) Attached file <system_info>: my host system details
5) INTEL(R) XEON(R) GOLD 6542Y
6) RAM: 256 GB
7) Ubuntu 24.04.1 LTS
Please let me know if you need more information.
Signature · 2 lines
Thanks, Vijay
Hi,
if it is really only on that CPU, then maybe it is related to AMX support? Though, not sure how exactly that might be affecting PTRACE_{S,G}ETFPREGS on x86_64.
Benjamin
Quoted 28 lines · Vijay Tandeker
Hi, thanks to all for helping me in the past. I need one more help. Getting the below error on running UML:
---------------------------------------------------------------------
-------------------------
Run/sbin/initas init process
userspace - ptrace set fp regs failed, errno = 14Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b CPU: 0 PID: 1 Comm: init Not tainted 6.8.9-1 #1 --------------------------------------------------------------------- -------------------------Searched on the internet but didn't find any solution. Any idea, what could be the reason for the above error? Below are my UML details:
1) root-fs: created by running the command: “debootstrap --arch=amd64 noble /tmp http://archive.ubuntu.com/ubuntu/”
2) Linux: created by running the command: "ARCH=um make -j$(nproc)" on linux-6.8.9 using defconfig.
3) Attached file <uml_crash>: logs on running the UML
4) Attached file <system_info>: my host system details
5) INTEL(R) XEON(R) GOLD 6542Y
6) RAM: 256 GB
7) Ubuntu 24.04.1 LTSPlease let me know if you need more information.
Hi,
Quoted 3 lines · Benjamin Berg
if it is really only on that CPU, then maybe it is related to AMX support? Though, not sure how exactly that might be affecting PTRACE_{S,G}ETFPREGS on
x86_64.
Just, FYI, it really cannot work if the host kernel has AMX enabled. The reason is that PTRACE_SETREGSET on NT_X86_XSAVE expects that the passed buffer has the maximum theoretical size (I suppose even if the feature isn't even enabled for the process).
Seems like the only way to make this work is to discover the xstate size from the host kernel. I guess by passing a very large buffer to PTRACE_GETREGSET and checking the iovec for the filled in length.
I think you can work around it by setting
clearcpuid=amx_tile
on the host kernel command line.
Benjamin
Quoted 36 lines · Vijay Tandeker
Quoted 32 lines
Hi, thanks to all for helping me in the past. I need one more help. Getting the below error on running UML:
-------------------------------------------------------------------
--
-------------------------
Run/sbin/initas init process
userspace - ptrace set fp regs failed, errno = 14Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b CPU: 0 PID: 1 Comm: init Not tainted 6.8.9-1 #1 ---------------------------------------------------------------------
-------------------------Searched on the internet but didn't find any solution. Any idea, what
could be the reason for the above error? Below are my UML details:
1) root-fs: created by running the command: “debootstrap -- arch=amd64
noble /tmp http://archive.ubuntu.com/ubuntu/”
2) Linux: created by running the command: "ARCH=um make -j$(nproc)" on linux-6.8.9 using defconfig.
3) Attached file <uml_crash>: logs on running the UML
4) Attached file <system_info>: my host system details
5) INTEL(R) XEON(R) GOLD 6542Y
6) RAM: 256 GB
7) Ubuntu 24.04.1 LTSPlease let me know if you need more information.