-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check all log locations for if serial console enabled #3614
Open
kat-lsg-dev
wants to merge
1
commit into
microsoft:main
Choose a base branch
from
kat-lsg-dev:katm/serial-console-fix
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
kat-lsg-dev
force-pushed
the
katm/serial-console-fix
branch
from
January 24, 2025 20:24
b807353
to
9b68adf
Compare
squirrelsc
reviewed
Jan 24, 2025
squirrelsc
reviewed
Jan 24, 2025
squirrelsc
reviewed
Jan 24, 2025
Make commits meaningful. |
kat-lsg-dev
force-pushed
the
katm/serial-console-fix
branch
2 times, most recently
from
January 25, 2025 00:05
ad3935a
to
1dfcb9a
Compare
LiliDeng
reviewed
Jan 25, 2025
2. Check expected setting from kernel command line. | ||
2.1. Expected to see 'console=ttyAMA0' for aarch64. | ||
2.2. Expected to see 'console=ttyS0' for x86_64. | ||
2.3. Expected to see 'uart0: console 115200,n,8,1 for FreeBSD. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'uart0: console (115200,n,8,1)'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch, fixed that
…etect serial console enabled
kat-lsg-dev
force-pushed
the
katm/serial-console-fix
branch
from
January 27, 2025 17:13
f820989
to
1229f42
Compare
@LiliDeng LGTM |
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.
There is a potential bug in the logic of this test, where only some log locations are checked for the target substring. I manually ran the commands on an image which failed this test and discovered that the substring could be detected in the journalctl log. The test now checks all possible locations for the substring to ensure that it will be detected if present.