cirosantilli / linux-kernel-module-cheat

The perfect emulation setup to study and develop the Linux kernel v5.4.3, kernel modules, QEMU, gem5 and x86_64, ARMv7 and ARMv8 userland and baremetal assembly, ANSI C, C++ and POSIX. GDB step debug and KGDB just work. Powered by Buildroot and crosstool-NG. Highly automated. Thoroughly documented. Automated tests. "Tested" in an Ubuntu 24.04 host.
https://cirosantilli.com/linux-kernel-module-cheat
GNU General Public License v3.0
4.21k stars 605 forks source link

crosstool-ng ./bootstrap step is unstoppable unkillable indestructible with Ctrl+C or Ctrl+/ from terminal #69

Open cirosantilli opened 5 years ago

cirosantilli commented 5 years ago

At lkmc 8eb312c58d585d2727e68b7917d9768ccf0a7ac4 ctng d5900debd397b8909d9cafeb9a1093fb7a5dc6e6

./build-crosstool-ng -aa

then wait for the following line to appear:

+ /path/to/linux-kernel-module-cheat/out/crosstool-ng/build/default/source/bootstrap

Now, before that step is over, I can't kill it from terminal.

Ctrl+C gets ignore, Ctrl+/ kills Python and gives me shell, but the thing keeps running on background and showing stdout on my terminal for a few seconds more.

Can't reproduce with a manual ./bootstrap | cat, ctrl+c works there :-(