How to log Kernel Panic?












0















I got Ubuntu 18.04 running on old kernel 4.4 and 4.9, maybe some in between or after would work as well, but these work for me and I can boot into them.



Edit: 4.13 works as well.



Issue I have is that past 4.14 no kernel work and each one of them gives kernel panic on boot.



I tried looking into logs to find what causes panic but there was no logs(makes sense, because journal isn't started at time.).



I tried doing kernel panic force that I found on Wiki but non successfully.
Can someone give me step by step guide on how to do it, so that I can figure out why I have those panics. Or give suggestions on how to figure why is all this happening.



I can't read almost anything from console output during boot/panic because resolution is very small ,so very little text stays on screen for me to read.
Exit code is 0x00000009.



If it means, I tried putting boot usb Arch and I also had kernel panic.










share|improve this question

























  • Ubuntu never used/supported kernel 4.9, so the only images available will likely be created for testing purposes without support. The only supported kernel later than 4.4 is 4.15 or higher, so the old 16.04 (non-HWE) kernel is your best for support/security-wise considerations in Ubuntu. As for kernel panics; all logs must be before the panic as the system cannot log anything once panic has occurred

    – guiverc
    2 hours ago











  • I installed 4.13 now which works, 4.14 and higher(both HWE and non HWE) doesn't work. I understand the fact that I need to log before panic, but I don't know how to do that. If any ideas, guides, would be highly appreciated.

    – Alek95
    2 hours ago











  • Kernel 4.13 received it's last update before or on 13-Jan-2018 which means your system should be off-line for security reasons. The only times I've had kernel panic was after a change I made, or newer upgrade where I looked at what changed; exploring change-logs & usually knew pretty well where to focus my attention on before going near dumps. I don't know what research you've done as you're devoid of detail, but this may help - help.ubuntu.com/lts/serverguide/kernel-crash-dump.html.en

    – guiverc
    2 hours ago











  • I understand that security is at risk, I'm just trying to see which kernels are and which aren't working. I don't know why its going to panic, because since install of it(dual boot) I had issues with panic. I tried doing those steps from that link, but I assume I don't know to do it well enough, to get logs from kernels that are panicing. I do have some log from "forced" panic from kernel that is working.

    – Alek95
    2 hours ago













  • ps: when i mentioned exploring change-logs in the prior comment, I didn't mean logs on the pc, but change-logs of what changes were made to the new kernel/kernel-modules to try and guess if they'd impact my hardware and thus could be ignored, or potentially needed to be further explored.

    – guiverc
    2 hours ago
















0















I got Ubuntu 18.04 running on old kernel 4.4 and 4.9, maybe some in between or after would work as well, but these work for me and I can boot into them.



Edit: 4.13 works as well.



Issue I have is that past 4.14 no kernel work and each one of them gives kernel panic on boot.



I tried looking into logs to find what causes panic but there was no logs(makes sense, because journal isn't started at time.).



I tried doing kernel panic force that I found on Wiki but non successfully.
Can someone give me step by step guide on how to do it, so that I can figure out why I have those panics. Or give suggestions on how to figure why is all this happening.



I can't read almost anything from console output during boot/panic because resolution is very small ,so very little text stays on screen for me to read.
Exit code is 0x00000009.



If it means, I tried putting boot usb Arch and I also had kernel panic.










share|improve this question

























  • Ubuntu never used/supported kernel 4.9, so the only images available will likely be created for testing purposes without support. The only supported kernel later than 4.4 is 4.15 or higher, so the old 16.04 (non-HWE) kernel is your best for support/security-wise considerations in Ubuntu. As for kernel panics; all logs must be before the panic as the system cannot log anything once panic has occurred

    – guiverc
    2 hours ago











  • I installed 4.13 now which works, 4.14 and higher(both HWE and non HWE) doesn't work. I understand the fact that I need to log before panic, but I don't know how to do that. If any ideas, guides, would be highly appreciated.

    – Alek95
    2 hours ago











  • Kernel 4.13 received it's last update before or on 13-Jan-2018 which means your system should be off-line for security reasons. The only times I've had kernel panic was after a change I made, or newer upgrade where I looked at what changed; exploring change-logs & usually knew pretty well where to focus my attention on before going near dumps. I don't know what research you've done as you're devoid of detail, but this may help - help.ubuntu.com/lts/serverguide/kernel-crash-dump.html.en

    – guiverc
    2 hours ago











  • I understand that security is at risk, I'm just trying to see which kernels are and which aren't working. I don't know why its going to panic, because since install of it(dual boot) I had issues with panic. I tried doing those steps from that link, but I assume I don't know to do it well enough, to get logs from kernels that are panicing. I do have some log from "forced" panic from kernel that is working.

    – Alek95
    2 hours ago













  • ps: when i mentioned exploring change-logs in the prior comment, I didn't mean logs on the pc, but change-logs of what changes were made to the new kernel/kernel-modules to try and guess if they'd impact my hardware and thus could be ignored, or potentially needed to be further explored.

    – guiverc
    2 hours ago














0












0








0








I got Ubuntu 18.04 running on old kernel 4.4 and 4.9, maybe some in between or after would work as well, but these work for me and I can boot into them.



Edit: 4.13 works as well.



Issue I have is that past 4.14 no kernel work and each one of them gives kernel panic on boot.



I tried looking into logs to find what causes panic but there was no logs(makes sense, because journal isn't started at time.).



I tried doing kernel panic force that I found on Wiki but non successfully.
Can someone give me step by step guide on how to do it, so that I can figure out why I have those panics. Or give suggestions on how to figure why is all this happening.



I can't read almost anything from console output during boot/panic because resolution is very small ,so very little text stays on screen for me to read.
Exit code is 0x00000009.



If it means, I tried putting boot usb Arch and I also had kernel panic.










share|improve this question
















I got Ubuntu 18.04 running on old kernel 4.4 and 4.9, maybe some in between or after would work as well, but these work for me and I can boot into them.



Edit: 4.13 works as well.



Issue I have is that past 4.14 no kernel work and each one of them gives kernel panic on boot.



I tried looking into logs to find what causes panic but there was no logs(makes sense, because journal isn't started at time.).



I tried doing kernel panic force that I found on Wiki but non successfully.
Can someone give me step by step guide on how to do it, so that I can figure out why I have those panics. Or give suggestions on how to figure why is all this happening.



I can't read almost anything from console output during boot/panic because resolution is very small ,so very little text stays on screen for me to read.
Exit code is 0x00000009.



If it means, I tried putting boot usb Arch and I also had kernel panic.







boot system-installation kernel log






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 hours ago







Alek95

















asked 3 hours ago









Alek95Alek95

12




12













  • Ubuntu never used/supported kernel 4.9, so the only images available will likely be created for testing purposes without support. The only supported kernel later than 4.4 is 4.15 or higher, so the old 16.04 (non-HWE) kernel is your best for support/security-wise considerations in Ubuntu. As for kernel panics; all logs must be before the panic as the system cannot log anything once panic has occurred

    – guiverc
    2 hours ago











  • I installed 4.13 now which works, 4.14 and higher(both HWE and non HWE) doesn't work. I understand the fact that I need to log before panic, but I don't know how to do that. If any ideas, guides, would be highly appreciated.

    – Alek95
    2 hours ago











  • Kernel 4.13 received it's last update before or on 13-Jan-2018 which means your system should be off-line for security reasons. The only times I've had kernel panic was after a change I made, or newer upgrade where I looked at what changed; exploring change-logs & usually knew pretty well where to focus my attention on before going near dumps. I don't know what research you've done as you're devoid of detail, but this may help - help.ubuntu.com/lts/serverguide/kernel-crash-dump.html.en

    – guiverc
    2 hours ago











  • I understand that security is at risk, I'm just trying to see which kernels are and which aren't working. I don't know why its going to panic, because since install of it(dual boot) I had issues with panic. I tried doing those steps from that link, but I assume I don't know to do it well enough, to get logs from kernels that are panicing. I do have some log from "forced" panic from kernel that is working.

    – Alek95
    2 hours ago













  • ps: when i mentioned exploring change-logs in the prior comment, I didn't mean logs on the pc, but change-logs of what changes were made to the new kernel/kernel-modules to try and guess if they'd impact my hardware and thus could be ignored, or potentially needed to be further explored.

    – guiverc
    2 hours ago



















  • Ubuntu never used/supported kernel 4.9, so the only images available will likely be created for testing purposes without support. The only supported kernel later than 4.4 is 4.15 or higher, so the old 16.04 (non-HWE) kernel is your best for support/security-wise considerations in Ubuntu. As for kernel panics; all logs must be before the panic as the system cannot log anything once panic has occurred

    – guiverc
    2 hours ago











  • I installed 4.13 now which works, 4.14 and higher(both HWE and non HWE) doesn't work. I understand the fact that I need to log before panic, but I don't know how to do that. If any ideas, guides, would be highly appreciated.

    – Alek95
    2 hours ago











  • Kernel 4.13 received it's last update before or on 13-Jan-2018 which means your system should be off-line for security reasons. The only times I've had kernel panic was after a change I made, or newer upgrade where I looked at what changed; exploring change-logs & usually knew pretty well where to focus my attention on before going near dumps. I don't know what research you've done as you're devoid of detail, but this may help - help.ubuntu.com/lts/serverguide/kernel-crash-dump.html.en

    – guiverc
    2 hours ago











  • I understand that security is at risk, I'm just trying to see which kernels are and which aren't working. I don't know why its going to panic, because since install of it(dual boot) I had issues with panic. I tried doing those steps from that link, but I assume I don't know to do it well enough, to get logs from kernels that are panicing. I do have some log from "forced" panic from kernel that is working.

    – Alek95
    2 hours ago













  • ps: when i mentioned exploring change-logs in the prior comment, I didn't mean logs on the pc, but change-logs of what changes were made to the new kernel/kernel-modules to try and guess if they'd impact my hardware and thus could be ignored, or potentially needed to be further explored.

    – guiverc
    2 hours ago

















Ubuntu never used/supported kernel 4.9, so the only images available will likely be created for testing purposes without support. The only supported kernel later than 4.4 is 4.15 or higher, so the old 16.04 (non-HWE) kernel is your best for support/security-wise considerations in Ubuntu. As for kernel panics; all logs must be before the panic as the system cannot log anything once panic has occurred

– guiverc
2 hours ago





Ubuntu never used/supported kernel 4.9, so the only images available will likely be created for testing purposes without support. The only supported kernel later than 4.4 is 4.15 or higher, so the old 16.04 (non-HWE) kernel is your best for support/security-wise considerations in Ubuntu. As for kernel panics; all logs must be before the panic as the system cannot log anything once panic has occurred

– guiverc
2 hours ago













I installed 4.13 now which works, 4.14 and higher(both HWE and non HWE) doesn't work. I understand the fact that I need to log before panic, but I don't know how to do that. If any ideas, guides, would be highly appreciated.

– Alek95
2 hours ago





I installed 4.13 now which works, 4.14 and higher(both HWE and non HWE) doesn't work. I understand the fact that I need to log before panic, but I don't know how to do that. If any ideas, guides, would be highly appreciated.

– Alek95
2 hours ago













Kernel 4.13 received it's last update before or on 13-Jan-2018 which means your system should be off-line for security reasons. The only times I've had kernel panic was after a change I made, or newer upgrade where I looked at what changed; exploring change-logs & usually knew pretty well where to focus my attention on before going near dumps. I don't know what research you've done as you're devoid of detail, but this may help - help.ubuntu.com/lts/serverguide/kernel-crash-dump.html.en

– guiverc
2 hours ago





Kernel 4.13 received it's last update before or on 13-Jan-2018 which means your system should be off-line for security reasons. The only times I've had kernel panic was after a change I made, or newer upgrade where I looked at what changed; exploring change-logs & usually knew pretty well where to focus my attention on before going near dumps. I don't know what research you've done as you're devoid of detail, but this may help - help.ubuntu.com/lts/serverguide/kernel-crash-dump.html.en

– guiverc
2 hours ago













I understand that security is at risk, I'm just trying to see which kernels are and which aren't working. I don't know why its going to panic, because since install of it(dual boot) I had issues with panic. I tried doing those steps from that link, but I assume I don't know to do it well enough, to get logs from kernels that are panicing. I do have some log from "forced" panic from kernel that is working.

– Alek95
2 hours ago







I understand that security is at risk, I'm just trying to see which kernels are and which aren't working. I don't know why its going to panic, because since install of it(dual boot) I had issues with panic. I tried doing those steps from that link, but I assume I don't know to do it well enough, to get logs from kernels that are panicing. I do have some log from "forced" panic from kernel that is working.

– Alek95
2 hours ago















ps: when i mentioned exploring change-logs in the prior comment, I didn't mean logs on the pc, but change-logs of what changes were made to the new kernel/kernel-modules to try and guess if they'd impact my hardware and thus could be ignored, or potentially needed to be further explored.

– guiverc
2 hours ago





ps: when i mentioned exploring change-logs in the prior comment, I didn't mean logs on the pc, but change-logs of what changes were made to the new kernel/kernel-modules to try and guess if they'd impact my hardware and thus could be ignored, or potentially needed to be further explored.

– guiverc
2 hours ago










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1128388%2fhow-to-log-kernel-panic%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1128388%2fhow-to-log-kernel-panic%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

GameSpot

connect to host localhost port 22: Connection refused

Getting a Wifi WPA2 wifi connection