-
Notifications
You must be signed in to change notification settings - Fork 57.1k
Make the kernel cute #1290
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
Open
nambona890
wants to merge
14
commits into
torvalds:master
Choose a base branch
from
nambona890:master
base: master
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.
+231
−2
Open
Make the kernel cute #1290
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
233236b
Made perf-archive.sh cute
nambona890 8aa32bb
Made sound cute
nambona890 3a54934
Made security cute
nambona890 0aaf21d
Made accessibility cute
nambona890 d0c314a
Made kernel panic cute
nambona890 6cf9ee4
Made an important clarification for arch/Kconfig
nambona890 38f7ef0
Made FAT cute
nambona890 7b640b3
Made Xen cute
nambona890 6d3caa0
Made 9p cute
nambona890 1fa3c7d
Made shrinker.h cute
nambona890 e4352d9
Made errata.h cute
nambona890 83b70d7
Made README cute
nambona890 5161db8
Fixed a formatting issue with the cute kernel panic
nambona890 4aae763
Made kernel panic even cuter
nambona890 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# i use arch btw | ||
# SPDX-License-Identifier: GPL-2.0 | ||
# | ||
# General architecture dependent options | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,19 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
obj-y += braille/ | ||
obj-$(CONFIG_SPEAKUP) += speakup/ | ||
|
||
# ⣿⣿⣿⠿⣿⡵⡀⣀⠁⠘⠛⠛⠛⠓⠒⠒⠂⠤⠀⠐⠶⣤⣄⡀⠀⠀⠀⠀⠀⠀ | ||
# ⣿⣿⡇⠀⢀⣬⣷⣿⠟⠉⠀⠴⠚⠍⠟⠛⠓⠒⠂⠀⠀⠐⠫⢭⡙⠲⠀⠀⠀⠀ | ||
# ⠿⠎⠃⠘⠛⢻⠟⠁⠀⠀⠀⠀⠀⠀⣀⣀⣀⣤⡠⢀⡆⠀⠀⢿⣶⡄⠀⠀⠀⠀ | ||
# ⠀⠀⠀⠀⠀⠁⠀⢀⣤⢀⣴⣿⣱⣾⣿⣿⣿⢹⣿⢸⣷⠀⠀⠀⡽⡿⡄⠀⠀⠀ | ||
# ⠀⠀⠀⠀⠀⠀⣰⣿⣷⣾⣧⣬⡙⣿⣿⣿⣿⡀⣿⡌⠙⠀⠀⠀⠻⠈⠁⠀⠀⠀ | ||
# ⡠⠀⠂⠀⠀⠠⠟⠛⠛⠻⣿⣿⣿⣿⣿⣿⣿⣷⣿⣷⡀⠀⠀⡄⠀⠂⠀⠀⠀⠀ | ||
# ⣧⡞⠀⡠⣦⡄⠀⠀⢀⣀⣼⣿⣿⣿⣿⣿⣿⣿⣿⣿⢷⠄⠀⣧⠀⠀⠀⠀⠀⠀ | ||
# ⢰⠀⢰⣿⣿⡿⢄⣀⣶⣼⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⡐⡻⠀⠀⠀⠀⠀⠀ | ||
# ⠀⢠⣿⣿⣿⣿⣿⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⠉⠉⠙⢿⣿⣿⡎⠀⠀⠀⠀⠀⠀ | ||
# ⠀⣾⣿⣿⣿⣿⣿⣿⣿⣿⣻⣿⣿⣿⣿⣿⡛⠀⠀⠀⠀⢹⡟⠀⠀⠀⠀⠀⠀⠀ | ||
# ⠀⢹⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⠣⣀⣀⡀⢦⢠⣵⠂⠀⠀⢀⡆⠀⠀ | ||
# ⠀⠈⣿⣿⣿⣯⢉⣻⣿⣿⣿⣿⣿⣿⣿⣿⣷⣭⣭⣶⣥⣾⣧⠂⠠⠰⡟⠀⠀⠀ | ||
# ⠀⠀⠘⣿⣿⣿⣿⣿⣿⡿⣿⡛⣿⣿⣿⣿⣿⣿⣿⣿⣿⠟⠁⠁⠀⠀⠀⠀⠀⠀ | ||
# ⠀⠀⠀⠘⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀ | ||
# ⢀⣀⣄⣴⣭⣝⣻⡿⠿⠿⠿⠿⠿⠟⠛⠛⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -373,7 +373,23 @@ void panic(const char *fmt, ...) | |
if (len && buf[len - 1] == '\n') | ||
buf[len - 1] = '\0'; | ||
|
||
pr_emerg("Kernel panic - not syncing: %s\n", buf); | ||
pr_emerg( | ||
"⡧⣾⣿⡿⣫⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣟⣿⣿⣿⣿⣷⣿⣻⣿⣮⡻⣿⣿⣿⣿\n" | ||
"⠇⠛⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⣿⣿⣿⣿⣿⣿⣿⣿⣾⣿⣿⣞⢿⠋⠁\n" | ||
"⣿⣻⣳⣿⣿⣿⣿⣿⣿⡿⣿⣿⣿⣿⣿⣽⣧⣿⣿⣿⣿⣿⣿⣿⣷⡽⠿⠃⠀⠀\n" | ||
"⢾⢳⣿⣿⣿⡝⣿⣿⣿⣧⡽⣿⣿⣿⣿⣷⣻⢳⣿⣿⡿⣿⣿⣿⣭⣥⣤⣤⣶⠀\n" | ||
"⡟⣿⣿⣿⣿⣇⣿⡇⣿⣿⣿⡵⡻⣿⣿⣿⣯⢾⣿⣿⣟⠆⡘⡿⣮⡛⡿⣿⣟⠗\n" | ||
"⣿⣿⣿⣿⣿⡷⣿⣧⣜⠾⣿⣿⣵⣟⠿⡏⣿⣯⢿⣿⣿⠿⠎⠘⠓⠿⣬⢰⣿⣵\n" | ||
"⣾⣿⣿⣿⣿⣿⣹⢿⣯⢸⡷⣶⣮⣥⣲⣜⢿⣿⣞⣏⡥⠒⠉⠩⠟⢧⣾⣼⡿⣿\n" | ||
"⢿⣿⣿⣿⣿⣿⣯⡾⠟⣋⡩⠥⠤⢭⣻⣿⣿⣯⣻⢹⣄⣀⣐⣠⣤⣿⣿⣏⣿⣏\n" | ||
"⢘⣹⣿⣿⣿⣿⣱⢴⡟⠁⠀⢄⠉⢉⣿⣿⣿⣿⣿⡿⣿⣿⣿⣿⣿⣿⣿⣿⡾⣿\n" | ||
"⠇⢎⣿⣿⣿⣿⣿⣷⢷⣾⣼⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⡿\n" | ||
"⡕⣾⠼⣿⣿⣿⣯⢿⣟⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⢻⡾\n" | ||
"⡹⢗⢰⣻⣿⣿⣿⣮⢿⡾⣿⣿⣿⣿⣿⣿⣿⣿⣟⣿⣿⣿⣿⣿⣿⣿⠟⠙⡾⠁\n" | ||
"⣷⡽⣲⡢⣳⣻⣿⣿⣏⢿⡽⣿⣿⣿⣿⣿⣾⣿⣿⣿⣿⣿⣿⣿⢿⣿⡞⠇⣕⠐\n" | ||
"⢴⠁⠀⠻⣷⣽⡽⣿⣿⣦⠿⡍⠻⣻⣿⠿⣿⣿⣿⣿⠿⠿⠋⠁⢸⣿⡇⡔⢀⣧\n" | ||
"⣰⣾⣦⣀⠈⠻⣾⡾⢿⣿⣷⡘⠄⠉⠛⠉⠉⠛⠻⠋⠀⠀⠀⠀⢸⣿⡇⠀⢸⣿\n" | ||
"⢸⣿⣿⣿⣷⣦⣀⠙⠳⠹⣿⣧⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣼⣿⠇⣴⠀⣿\n%s\n", buf); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. aqua sama ❤️ |
||
#ifdef CONFIG_DEBUG_BUGVERBOSE | ||
/* | ||
* Avoid nested stack-dumping if a panic occurs during oops processing | ||
|
@@ -482,7 +498,22 @@ void panic(const char *fmt, ...) | |
#if defined(CONFIG_S390) | ||
disabled_wait(); | ||
#endif | ||
pr_emerg("---[ end Kernel panic - not syncing: %s ]---\n", buf); | ||
pr_emerg("---[\n" | ||
"⣿⣿⣿⠀⡜⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡧⢻⡿⣼⡷⡹⣿⣿⡾⣿⣿⣿" | ||
"⡏⣿⡝⢆⣷⠹⡿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠃⢸⢣⢟⣵⣿⡽⣿⣧⢸⣿⣿" | ||
"⡇⢿⡇⣦⣌⠓⠙⠿⠛⣿⣿⣿⣿⣿⣿⣿⣿⡿⠀⣈⣴⣿⣿⣿⣷⣹⣿⠈⠈⢻" | ||
"⣸⢸⡇⣿⣿⣿⣗⠀⠀⠀⢿⣿⣿⣿⣿⣿⣿⡆⣸⣿⣿⣿⣿⣿⣿⡇⣿⠀⠀⠀" | ||
"⣿⣧⠃⣿⣿⡿⠿⠋⢧⡁⠘⠿⢿⣿⣿⢿⡿⠀⠽⠋⠻⠟⣿⣿⣿⡇⢧⣆⠀⠀" | ||
"⠸⣿⣧⣿⠋⣀⣀⠀⠀⠀⣦⠀⠀⠹⠉⣹⢃⢀⣠⣄⠀⠀⠀⠙⣿⣧⣿⣿⡄⠗" | ||
"⠀⢿⣿⠇⣾⠿⠋⠀⠀⠘⣿⣷⡀⠀⠀⢀⣾⣿⠿⠋⠀⠀⠀⢳⡘⣿⣿⣿⡇⢔" | ||
"⡳⡸⣿⢸⣿⠀⢀⢀⣄⠀⣿⣿⣷⡀⢀⣾⣿⣿⠀⣠⡄⣠⠀⢸⡇⣿⣿⣿⡇⠀" | ||
"⣧⡀⣿⣾⣿⠀⢸⣿⡏⢀⣿⣿⣿⣿⣿⣿⣿⣿⡄⢹⣿⡿⠀⣸⣿⣿⣿⣿⠇⠀" | ||
"⠋⢶⣿⣿⣿⣷⣄⣉⣠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣷⣤⣀⣠⣴⣿⣿⣿⣿⠟⣀⡤" | ||
"⠐⠂⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢧⣿⣾" | ||
"⠀⠀⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⠘⠋⠁" | ||
"⠀⠀⠀⠙⢿⣿⣿⣿⣿⣿⣿⣿⣟⣻⣟⡛⢿⣿⣿⣿⣿⣿⣿⣿⠿⠋⠀⠀⠀⠀" | ||
"⠄⠀⠀⠀⠀⠈⠙⠻⠿⣿⣿⣷⣶⣶⣶⣶⣾⣿⣿⡿⠿⠛⢉⠁⠀⠀⠀⠀⠀⠀" | ||
"⠀⠀⠀⠀⠀⠀⡴⠋⢐⣤⣉⠛⠻⠿⠿⠟⣛⣩⢕⣠⣴⠈⠉⣳⡀⠀⠀⠀⠀⠀\n%s ]---\n", buf); | ||
|
||
/* Do not scroll important messages printed above */ | ||
suppress_printk = 1; | ||
|
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
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
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
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
Oops, something went wrong.
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 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.
How exactly is this related to panic? Needs a comment with an explanation.
Need to provide information about the origin of this image and a copyright notice.
Braille might not display well in the serial console.
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.
The "not syncing" message (whatever it means) was lost in this commit.