Author Topic: Kernel panic, Ubuntu Server [Solved]  (Read 3159 times)

0 Members and 1 Guest are viewing this topic.

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1662
  • Karma: 49
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Kernel panic, Ubuntu Server [Solved]
« on: September 14, 2013, 08:17:40 pm »
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:

Code: [Select]
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.  :D

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.
« Last Edit: January 01, 2014, 06:26:16 pm by BkS »
If you try to look through Windows, you can see what the person is doing.
If you try to look through a Penguin, it WILL bite you.

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14009
  • Karma: 348
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Kernel panic, Ubuntu Server
« Reply #1 on: September 14, 2013, 08:50:29 pm »
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
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1525
  • Karma: 120
  • Gender: Male
    • View Profile
    • Awards
Re: Kernel panic, Ubuntu Server
« Reply #2 on: September 14, 2013, 08:54:28 pm »
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.

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14009
  • Karma: 348
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Kernel panic, Ubuntu Server
« Reply #3 on: September 14, 2013, 09:03:41 pm »
If that's true .. which version of 12.04 are you trying ? 12.04.3 ?
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1662
  • Karma: 49
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Kernel panic, Ubuntu Server
« Reply #4 on: September 14, 2013, 09:05:53 pm »
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

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

Quote
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.
If you try to look through Windows, you can see what the person is doing.
If you try to look through a Penguin, it WILL bite you.

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14009
  • Karma: 348
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Kernel panic, Ubuntu Server
« Reply #5 on: September 14, 2013, 09:09:40 pm »
So you get a kernel panic from a 10.04 CD as well ?
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1662
  • Karma: 49
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Kernel panic, Ubuntu Server
« Reply #6 on: September 14, 2013, 09:17:35 pm »
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.
If you try to look through Windows, you can see what the person is doing.
If you try to look through a Penguin, it WILL bite you.

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14009
  • Karma: 348
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Kernel panic, Ubuntu Server
« Reply #7 on: September 14, 2013, 09:18:30 pm »
What does memtest do ?
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1525
  • Karma: 120
  • Gender: Male
    • View Profile
    • Awards
Re: Kernel panic, Ubuntu Server
« Reply #8 on: September 14, 2013, 09:43:48 pm »
So it was working up untill you:
Quote
I encrypted everything, and set every file to root, read permission only.

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1662
  • Karma: 49
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Kernel panic, Ubuntu Server
« Reply #9 on: September 14, 2013, 09:47:45 pm »
Quote from: Mark Greaves
What does memtest do ?

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

So it was working up untill you:
Quote
I encrypted everything, and set every file to root, read permission only.

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.
If you try to look through Windows, you can see what the person is doing.
If you try to look through a Penguin, it WILL bite you.

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14009
  • Karma: 348
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Kernel panic, Ubuntu Server
« Reply #10 on: September 14, 2013, 09:53:01 pm »
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.

Quote
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.
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1525
  • Karma: 120
  • Gender: Male
    • View Profile
    • Awards
Re: Kernel panic, Ubuntu Server
« Reply #11 on: September 14, 2013, 09:55:40 pm »
Sorry, I meant that you started to get the kernel panic after the encrypting.

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1662
  • Karma: 49
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Kernel panic, Ubuntu Server
« Reply #12 on: September 14, 2013, 10:08:10 pm »
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.

Quote
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.

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

Quote
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. :/
If you try to look through Windows, you can see what the person is doing.
If you try to look through a Penguin, it WILL bite you.

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14009
  • Karma: 348
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Kernel panic, Ubuntu Server
« Reply #13 on: September 14, 2013, 10:10:31 pm »
But that was the first time you'd powered down since encrypting ?
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1662
  • Karma: 49
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Kernel panic, Ubuntu Server
« Reply #14 on: September 14, 2013, 10:39:17 pm »
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.
If you try to look through Windows, you can see what the person is doing.
If you try to look through a Penguin, it WILL bite you.

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal