mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 10:15:57 +01:00
Document m5 exit
This commit is contained in:
10
README.adoc
10
README.adoc
@@ -866,11 +866,19 @@ TODOs:
|
||||
|
||||
* only managed to run in the terminal interface (but weirdly a blank QEMU window is still opened)
|
||||
* GDB not connecting to KGDB. Possibly linked to `-serial stdio`. See also: https://stackoverflow.com/questions/14155577/how-to-use-kgdb-on-arm
|
||||
* `/poweroff.out` does not exit QEMU, the terminal just hangs: https://stackoverflow.com/questions/31990487/how-to-cleanly-exit-qemu-after-executing-bare-metal-program-without-user-interve A blunt resolution is:
|
||||
* `/poweroff.out` does not exit QEMU nor GEM5, the terminal just hangs: https://stackoverflow.com/questions/31990487/how-to-cleanly-exit-qemu-after-executing-bare-metal-program-without-user-interve
|
||||
+
|
||||
A blunt resolution for QEMU is on host:
|
||||
+
|
||||
....
|
||||
pkill qemu
|
||||
....
|
||||
+
|
||||
On GEM5, it is possible to use the `m5` instrumentation from guest as a good workaround:
|
||||
+
|
||||
....
|
||||
m5 exit
|
||||
....
|
||||
* GDB step debugging of kernel modules broke at some point. This was noticed at 6420c31986e064c81561da8f2be0bd33483af598 and a likely candidate was the recent move to kernel v4.15, but this has to be bisected.
|
||||
+
|
||||
Just afte GDB connects, we get the following message from the kernel GDB Python scripts:
|
||||
|
||||
Reference in New Issue
Block a user