Kernel panic, Ubuntu Server [Solved]

Hello people, it’s me!

I have a really annoying problem at the moment. About last week, I believe my server started acting strange by turning itself off, and then restarting. Usually it just sits in the corner of the room, doing it’s thing and I don’t take any other notice of it. Most of the stuff on my server, is actually stuff I need to get to, and at this present time, I can’t.

It’s sucking really badly because I need to get to the files. I have a few projects which are due for Monday, and I’ve not been able to access them.

Instead of coming here as a first resort, I decided I’d instigate the problem myself. So I checked over the logs, everything seemed fine, I looked over the updates, and it was just the usual security updates from Canonical. So I logged out, and thought nothing of it, until my server started not showing on the network. This was peculiar, because normally it always shows up when it’s on. But it didn’t.

I think I’ve come to the conclusion that one way or another some hijacked my network somehow, which has gotten me security conscious yet again. In order to preserve what little security I had left, I encrypted everything, and set every file to root, read permission only.

I then went turned off the server via SSH using:

shutdown -r now

Thinking it was probably a good time to update from 10.04 to 12.04 Ubuntu Server, I went and downloaded it. Burned the disc via my lappy no problem.

As I turn the server on again, I’m confronted with a kernel panic. Keyboard is flashing at me, and I get this screen:

[Click here, because it’s too big for the forum]

I also took a video of the start-up process, for your laughing pleasure. :smiley:

When trying to install Ubuntu Server 12.04, everything is fine until I hit “Install Ubuntu Server” and the server then goes back into a kernel panic. I’m honestly not sure what the problem is. All I know is that I need help figuring this one out. I have tried before hitting “Install Ubuntu Server” pressing F6, and choosing nomodeset then going to the boot options and removing “quite” so I can see what happens, but again, it’ll go straight to a kernel panic.

Have you got another HDD you can try ? … I have a feeling it might be a failing/failed HDD.

If you’re getting a kernel panic in BOTH versions, probably something hardware causing it … try removing, disabling ALL uneseccary hardware untilo you find what it is.

Why does everyone think every problem is some kind of intrusion ?

What do you mean by “I encrypted everything, and set every file to root, read permission only.” ?

If you’re

Hmm… I seem to have a recollection that you ended up with 10.04 because you could not install 12.04 when you set up your server.

If that’s true … which version of 12.04 are you trying ? 12.04.3 ?

All hardware was disconnected and I tried with only the primary HDD and the CD drive. Again, got a kernel panic.

What do you mean by "I encrypted everything, and set every file to root, read permission only." ?

I have 2 accounts on there. Root & my account which is just a normal user account with sudo privileges. I set all the folders, etc, I use so that only the person with the root account password (me) can look at those files, but not be able to make any changes to them.

I have 4 HDDs, three of which are primarily used for the OS, documents, applications and 3D files. Another is only 20GB and has some Wallpapers (there’s like 100 or something) on it.

Sezo - Yeah I think that was when I didn’t have a PS/2 keyboard, I wasn’t able to select the language. I have a PS/2 keyboard now though, and I also downloaded 12.04.3 to save myself from a ton of updates.

So you get a kernel panic from a 10.04 CD as well ?

I lost that CD, don’t know where I put it, but I would suspect yes, because when I turned on the CD drive, I slipped GParted in there, and it did the same thing with GParted when it went to load the actual OS info.

What does memtest do ?

So it was working up untill you:

I encrypted everything, and set every file to root, read permission only.

Memtest does runs the tests. I did it last night, and there was nothing failed, or nothing that didn’t pass.

Nope, it was working, up until it didn’t start showing on the network. So I had to physically use the keyboard attach to the server, and change everything.

I think he said it was acting a bit weird … then the network dropped out.

So I’m thinking there’s a hardware issue … possibly network adapter or HDD, and the minute the kernel attempts to probe (or write to) the hardware it crashes.

Which is why I said to try a different HDD and remove all unnecessary hardware.

@ BkS

Can you attempt to boot a LiveCD (desktop edition) with no HDD’s attached … and/or disable the network adapter (and anything else) in the BIOS.

Memtest does runs the tests. I did it last night, and there was nothing failed, or nothing that didn't pass.

convinces me even more it’s a failed piece of hardware.

Sorry, I meant that you started to get the kernel panic after the encrypting.

Sure thing, will do it when Formula Drift goes to half time break. :slight_smile:

Sorry, I meant that you started to get the kernel panic after the encrypting.

Kernel panic only started happening when I turned off the server and then turned it back on. :confused:

But that was the first time you’d powered down since encrypting ?

No it was the third time. The other two before that were just reboots as I went into the BIOS to check if everything was ok, and it was.

Same difference, first boot into the OS after encrypting and making all files read only.
I guess there might be an underlying hardware issue, but without a (semi) working system it would be nay impossible to diagnose.

Ok, is it possible you’ve run an i386 CD upgrade on a 64 bit system ??

Ok, so following Mark’s suggestions of disabling onboard LAN, and running only the CD drive, it still yields the same results.

That being, computer will start up, as soon as it goes to probe the hardware, I get a kernel panic.

Sorry for bumping an old thread btw, I’ve only just got back around to this issue. Seems the HDD’s live to see another day (thank god!)

and you’ve disabled/removed ALL non necessary hardware ?

such as audio cards, USB controllers (in BIOS), modems, etc ?

Yep, everything was removed apart from the CD drive, the ram, CPU and PSU.