test.yml: use inject-cmdline-to-template.sh to append no_timer_check kernel command line option#2541
Merged
AkihiroSuda merged 1 commit intolima-vm:masterfrom Aug 18, 2024
Conversation
AkihiroSuda
reviewed
Aug 12, 2024
4937906 to
2410ffa
Compare
no_timer_check kernel parameterinject-cmdline-to-template.sh to append no_timer_check kernel command line option
AkihiroSuda
reviewed
Aug 17, 2024
AkihiroSuda
reviewed
Aug 17, 2024
…ck` kernel command line option This change aims to avoid kernel panics in the integration tests and vmnet tests. ```console ==> /Users/runner/.lima/default/serial.log <== [ 0.015000] setup_IO_APIC+0x2c3/0x370 [ 0.015000] ? enable_IO_APIC+0x1af/0x290 [ 0.015000] apic_intr_mode_init+0x61/0x130 [ 0.015000] x86_late_time_init+0x24/0x40 [ 0.015000] start_kernel+0x2be/0x450 [ 0.015000] x86_64_start_reservations+0x18/0x30 [ 0.015000] x86_64_start_kernel+0xbf/0x110 [ 0.015000] secondary_startup_64_no_verify+0x184/0x18b [ 0.015000] </TASK> [ 0.015000] ---[ end Kernel panic - not syncing: IO-APIC + timer doesn't work! Boot with apic=debug and send a report. Then try booting with the 'noapic' option. ]--- ``` The reason `no_timer_check` is used instead of `noapic`, as shown in the kernel panic log, is because I read the following page. https://lore.kernel.org/all/18354be1-8dba-84f1-bdf5-6821a5013d78@oracle.com/T/ Signed-off-by: Norio Nomura <norio.nomura@gmail.com> inject-cmdline-to-template.sh: resolve shfmt issue Signed-off-by: Norio Nomura <norio.nomura@gmail.com> test.yml: add link to issue lima-vm#84 Signed-off-by: Norio Nomura <norio.nomura@gmail.com> inject-cmdline-to-template.sh: add comment lines to explain what this script does Signed-off-by: Norio Nomura <norio.nomura@gmail.com>
1541149 to
9fbd193
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change aims to avoid kernel panics in the integration tests and the vmnet tests.
The reason
no_timer_checkis used instead ofnoapic, as shown in the kernel panic log, is because I read the following page.https://lore.kernel.org/all/18354be1-8dba-84f1-bdf5-6821a5013d78@oracle.com/T/