I am happy to provide any information necessary apart from this.
I have noticed the problem today. I have been using fedora on my laptop for over a year now without any issues. Suddenly today when I suspended it is didn’t wake up. I was forced to kill it and restart but it didn’t go past decryption. After the 3rd time it worked but I was already alarmed.
Thorough the day I kept having some issues but usually a forced restart worked.
Unfortunately it started getting worst. It crashed on login in, sometimes it turns the scree black sometimes it just stays there. One time I just saw a cursor while booting but it didn’t move.
After several retries I usually managed to boot it and log in than it works just fine. The automatic bug detection didn’t detect anything. Fortunately (or not) I just managed to capture a crash window on boot and there seems to be some NULL pointer reference on a very small address which is something I encountered 1 week ago but that time the address was different and I didn’t have any issues so I ignored it.
Here are the pic of the error I managed to catch:
//I seem to be having issues posting the pictures so I will work on that while here are the key points
Starting initrd-switch-root.service - Switch Root…
BUG: kernel NULL pointer dereference address: 0000000000000052 #PE: error_code(0x0000)
I will try to upload more if I get to
Sorry if I have missed posting anything important. I’m still quite new so please just tell me if you need any further information. Thank you very much for any help
So for now I decided that I fixed it to a point where it mostly works. It crashed on me while trying to login but restarting mostly works now. I have been reading about it a bit and I think it’s a kernel version issue. I will switch to older one for now and see if I get the same issues. For anyone trying to solve it I’m sorry but that’s the only solution I managed to find so far. I have exams coming and I don’t want to spend too much time on it. Since I didn’t do anything with the system myself kernel having some bug seems to be my best guess. I managed to find this System falls in to emergency mode due initrd-switch-root.service entered failed state - Red Hat Customer Portal
which is sth pretty similar but due to the fact it was 1 year ago it might be a different issue.
I wish you all best of luck and if anyone has any idea what caused the issue and how to debug I’m still happy to provide any logs.
If the problem started immediately after updating your software then it could well be a bug, but if the problem wasn’t triggered by a software update it could be a hardware failure. In that case you should start with the current Memtest86+.
If you think the problem is related to software, it is probably triggered by the particular combination of hardware and software you have, so you should post (as text, using the </> button) the output from inxi -Fzx. Note that many such problems are fixed by recent updates, so if you have not updated both the vendor firmware (“BIOS”) and Fedora packages to current versions, you should do so. That way anyone with similar hardware can also have the same software.
Agree with needing to test your hardware. I think you have a hardware issue from the kernel output. Memory test as George suggested will be a first step.
If your laptop has memory that is plugged into sockets try removing the memory and reinstalling. I am assuming that may clean conttacts.
If laptop is designed to be opened up may be worthy checking for dust clogging any fans. And that fans work.
Thank you very much for all of your responses. I was afraid it might be memory but considering that’s it works most of the time now (after just backing up my documents etc.) I assumed it’s kernel problem. I will run Memtest86+ later in the day but hopefully if there is anything it will just require re-installation of RAM or sth.