r/Ubuntu • • Dec 18 '19

Kernel panic along with failed memtest86

Post image
89 Upvotes

30 comments sorted by

7

u/tezdhar Dec 18 '19

While booting Ubuntu 16.04LTS on my i3 machine it returned:

kernel-panic-not-syncing-attempted-to-kill-init-exitcode-0x0000000b

It happened many times after reboot and even recovery mode gets stuck with just a cursor blinking and no output. I then tried running memtest86 which also failed after 3 hours 45 mins. with above screenshot.

Unexpected Interrupt - Halting CPU0 Type: Gen_Prot

How can I recover and boot into my machine?

36

u/Niarbeht Dec 18 '19

If memtest is showing failures, you've got hardware issues. I mean, you've got an error count of over 48 million in memtest.

First thing I'd try is reseating the memory. Then, a single stick of memory at a time. Then, completely different RAM.

12

u/[deleted] Dec 18 '19

Holy shit I thought maybe the RAM was just unstable, like a bad overclock or something, but 48 million errors is actually quite funny it's that bad.

11

u/Niarbeht Dec 18 '19

From what's visible in the picture, Haswell-era i3 with DDR3-1600. Everything clocks-wise and timings-wise looks reasonable, but the memory failure rate implies either there's a bad connection somewhere, or a bad stick somewhere.

4

u/ouyawei Dec 18 '19

It doesn't even detect the CPU cache and the ram is supposedly running at 800MHz even though it's DDR3 - there might be something wrong beyond RAM.

→ More replies (2)

3

u/AlexVie Dec 18 '19

It likely just died without user's fault.

Timings look ok for any decent quality RAM and if it worked before and now does no longer, a hardware fault is very likely the cause.

It happens, I've seen dead RAM modules ever since I deal with PCs and that's been for a long, long time. Even quality RAM sometimes just dies.

The other possibility is a mainboard problem, it can never be ruled out completely. Voltage regulators becoming unstable will cause RAM to fail, for example and than it's bye bye for the main board.

Get new RAM, re-test, if the errors go away, it was a bad memory module.

10

u/Treczoks Dec 18 '19 edited Dec 18 '19

Get some working RAM first. This looks like a hardware problem, and it should be fixed before you attempt to boot your system.

  • Re-seat your RAM. Run Memtest. Works? -> You're good.

  • Re-seat extension cards like graphics cards, M2 SSDs, or USB port cards. Run Memtest. Works? ->You're good.

  • Reduce the amount of RAM in your machine to the bare minimum, i.e. if you have four banks, remove all but the first. Run Memtest. Works? -> Add another bank and run Memtest. Fails? -> Swap first bank with modules from one of the removed banks. Run Memtest.

  • If you have identified the bad RAM, look whether it is covered under Guarantee.

  • If you tried several RAM banks in the first slot and they all give a fail, treat yourself to a new mainboard and/or CPU.

Did I forget anything?

Regardless of what you do: Do not try to boot your normal system before Memtest comes up clear. Something corrupts your system, and this could damage file systems. Stay with Memtest until you get good results.

→ More replies (1)

7

u/HeidiH0 Dec 18 '19

That is a hardware issue, obviously. This is a OS forum. You aren't going to 'recover'. You are going to buy hardware.

50

u/ThiefClashRoyale Dec 18 '19

It feels like you solved your own problem. Buy new ram.

16

u/goar101reddit Dec 18 '19

A lot of RAM has lifetime warranties. If you can claim the warranty.

4

u/ThiefClashRoyale Dec 18 '19

Yup good point!

→ More replies (1)

22

u/tricheboars Dec 18 '19

Sorry dude but everyone else here is correct. Your ram just died. It happens.

I'm a sysadmin and hardware guy. If you replace your ram you should be fine.

This is not software from the results of that memtest.

2

u/SpiderFnJerusalem Dec 19 '19

Actually I would maybe try pulling it out and cleaning the slots first, then test again for at least 24 hours.

But yeah it's probably borked.

9

u/el_seano Dec 18 '19

Here's hoping the RAM isn't soldered onto the motherboard

5

u/[deleted] Dec 18 '19

Every time I see a computer that someone has chucked out sitting by the bins I open it up and remove the RAM,

the hard drives and DVD drives. 90% of the time all of those work OK. So I have a large reserve of RAM things (what are they called?) for the computers that I use in my school as well as anyone else who gets in a pickle.

All you need is a screwdriver and a couple of those small sandwich bags in the pocket of your coat.

3

u/[deleted] Dec 19 '19

Really?

I found a computer just set on the side of the road for trash. No RAM or HDD installed, and the case was just a frame with no walls/doors, otherwise it was complete.

I took it home, slapped in some old ddr2 ram, and it worked just fine. I swapped the PSU and threw in a grahpics card for a super budget gaming machine (it was old hardware though, ended up using a Phenom II x4 CPU in it IIRC)

2

u/nhaines Dec 18 '19

So I have a large reserve of RAM things (what are they called?)

They used to be called SIMMs (single inline memory modules), but now we use DIMMs (dual inline memory modules).

3

u/[deleted] Dec 19 '19

Guess I was feeling a bit "DIMM" yesterday.

Sorry, that was just too good to resist.

3

u/ouyawei Dec 18 '19

L1 Cache: unknown? - wtf?

2

u/[deleted] Dec 19 '19

Did this happen all of a sudden or did you change something?

It CAN be (a) bad RAM module(s) but I've also gotten Memtest errors from bad BIOS settings before.

What I'd do:

  1. Reset BIOS to complete standard settings

  2. Take all RAM out

  3. Put 1 stick in the first slot, make sure it sits properly

  4. Re-run the test

  5. Repeat 2-4 until you have tested every module, if they all show error, try the next slot, and so on.

This way, you'll find out if it's either thesettings, a bad module or a malfunctioning slot.

2

u/fschein Dec 19 '19 edited Dec 19 '19

Nobody expects an interrupt!

2

u/BitingChaos Dec 19 '19

If you haven't, yet, try MemTest86 (the newer commercial one from 2019, not MemTest86+, the older free one from 2013).

MemTest86+ will give errors and crash for me on some newer systems (that otherwise seem fine). While MemTest86 will complete 100% without error.

https://www.memtest86.com

1

u/[deleted] Dec 18 '19

I've encountered this when updating several servers last year. They were ECC memory as well. Still failed and out of the box. Sorry this happened to you, but if you want some input, try pulling out a stick and re-run the test and just replace that stick or just get a kit of memory for your system. RAM isn't as expensive as it was a year ago, but everyone's financial situation is different.

Its rare that memory goes bad, but it does happen.

Sorry :(

1

u/[deleted] Dec 18 '19

Nice

1

u/[deleted] Dec 19 '19

Make sure you replace it with RAM that is compatible for your motherboard.