From 9d69ec26a6a6600d725f17b51e3169ab475540ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Wed, 20 Feb 2019 00:00:02 +0000 Subject: [PATCH] readme: some minor fixes --- README.adoc | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/README.adoc b/README.adoc index daf927e..4c6672e 100644 --- a/README.adoc +++ b/README.adoc @@ -211,7 +211,7 @@ and rebuild with: ./build-modules .... -Now there are two way to test it out, the fast way, and the safe way. +Now there are two ways to test it out: the fast way, and the safe way. The fast way is, without quitting or rebooting QEMU, just directly re-insert the module with: @@ -231,7 +231,7 @@ The fast method is slightly risky because your previously insmodded buggy kernel Such failures are however unlikely, and you should be fine if you don't see anything weird happening. -The safe way, is to fist quit QEMU, rebuild the modules, put them in the root filesystem, and then reboot: +The safe way, is to fist <>, rebuild the modules, put them in the root filesystem, and then reboot: .... ./build-modules @@ -4436,7 +4436,7 @@ although this can be useful when someone gives you a random image. By default, link:build-linux[] generates a `.config` that is a mixture of: -* a base config extracted from Buildroot's minimal per machine `.config`, which has the minimal options needed to boot: <> +* a base config extracted from Buildroot's minimal per machine `.config`, which has the minimal options needed to boot: <> * small overlays put top of that To find out which kernel configs are being used exactly, simply run: @@ -11414,7 +11414,7 @@ So we see in both cases that the `svc` is done, then an exception happens, and t The vector table format is described on <> Table D1-7 "Vector offsets from vector table base address". -A good representation of the format of the vector table can also be found at <> Table 10-2 "Vector table offsets from vector table base address". +A good representation of the format of the vector table can also be found at <> Table 10-2 "Vector table offsets from vector table base address". The first part of the table contains: @@ -12525,16 +12525,14 @@ We have link:https://buildroot.org/downloads/manual/manual.html#ccache[enabled c * absolute paths are used and GDB can find source files * but builds are not reused across separated LKMC directories -=== Rebuild while running +=== Rebuild buildroot while running -Not possible because +It is not possible to rebuild the root filesystem while running QEMU because QEMU holds the file qcow2 file: .... -Text file busy +error while converting qcow2: Failed to get "write" lock .... -openat(AT_FDCWD, "sleep.out", O_WRONLY) = -1 ETXTBSY () - === Simultaneous runs When doing long simulations sweeping across multiple system parameters, it becomes fundamental to do multiple simulations in parallel.