Daniel Barlow on Nostr: I spent two days (not full time) trying to make kexec work in qemu mips, without much ...
I spent two days (not full time) trying to make kexec work in qemu mips, without much success. Apparently it’s possible - and easy, because I’ve done it by accident - to configure the kernel in such a way that it has SMP support but lacks the hook to disable non-boot CPUs before execing the new kernel.
I can probably figure this out … but the whole reason I wanted to use kexec is to reboot from other people’s kernels, so if it’s this easy for me to build a kernel that accidentally doesn’t support it, maybe it’s easy for everyone else as well?
Published at
2023-11-16 22:33:46Event JSON
{
"id": "68aa877de375b4ba9f10bead397a49af5846f3843cfce2e9015fe9f714483e72",
"pubkey": "812db992454a1550905d4db08a38632ec64977e67671cfcd73eacaec44a3b389",
"created_at": 1700174026,
"kind": 1,
"tags": [
[
"proxy",
"https://brvt.telent.net/objects/c482b93e-657e-4b1d-bc01-c9fec49b4938",
"activitypub"
]
],
"content": "I spent two days (not full time) trying to make kexec work in qemu mips, without much success. Apparently it’s possible - and easy, because I’ve done it by accident - to configure the kernel in such a way that it has SMP support but lacks the hook to disable non-boot CPUs before execing the new kernel.\n\nI can probably figure this out … but the whole reason I wanted to use kexec is to reboot from other people’s kernels, so if it’s this easy for me to build a kernel that accidentally doesn’t support it, maybe it’s easy for everyone else as well?",
"sig": "5c518ac2ee79bd6ffb0430f4a8132e03234ff6f8ba92852b67eaf69d3bd4ef0de987db5a483b73867e878ab14d539485c41505f3aa22b409cb019a681b67b10a"
}