kernel panic

Taking care of your Linux box.
Post Reply
azfar
Captain
Posts: 598
Joined: Tue Mar 23, 2004 1:16 am
Location: Karachi
Contact:

kernel panic

Post by azfar »

After a bad shutdown I am not able to boot my box.

below is the screenshot where system hangs.

ImageImage

any idea how to fix it.
Azfar Hashmi
Email : azfarhashmi@hotmail.com
x2oxen
Major General
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Location: Faisalabad
Contact:

Post by x2oxen »

have you recompiled your kernel?? you missed something i think.
Muhammad Usman
+92-321-6640501
Chemonics International
http://usmanpk.com
mejam
Havaldaar
Posts: 127
Joined: Sat Oct 18, 2008 12:30 pm
Location: Lahore
Contact:

Post by mejam »

this usually happens when any of kernel modules goes down...
Regards
Abdulrehman
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

can you boot into single-user mode and fsck the filesystem? or boot off a cd and fsck/mount the filesystem?
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
x2oxen
Major General
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Location: Faisalabad
Contact:

Post by x2oxen »

Dear lambda

can fsck fix kernel issues as well??
Muhammad Usman
+92-321-6640501
Chemonics International
http://usmanpk.com
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

read the error carefully. the process that's failing near the end is 'rm'. if the problem is with the kernel, it shouldn't get this far - before any rm process can execute, the system has to run init, a few sh processes, maybe mount and fsck as well. the problem can be with the filesystem - maybe with initrd.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
azfar
Captain
Posts: 598
Joined: Tue Mar 23, 2004 1:16 am
Location: Karachi
Contact:

Post by azfar »

same problem in single user mode so I cant run fsck from there. I will try the rescue mode.

btw i didnt recompiled the kernel, its just happened after a power failure.
Azfar Hashmi
Email : azfarhashmi@hotmail.com
azfar
Captain
Posts: 598
Joined: Tue Mar 23, 2004 1:16 am
Location: Karachi
Contact:

Post by azfar »

did fsck in rescue mode every thing was cleaned but kernek still panicing.
Azfar Hashmi
Email : azfarhashmi@hotmail.com
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

do you get any errors when you do "gzip -dc /initrd.img |cpio -t > /dev/null"?
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
azfar
Captain
Posts: 598
Joined: Tue Mar 23, 2004 1:16 am
Location: Karachi
Contact:

Post by azfar »

let me check it.
Azfar Hashmi
Email : azfarhashmi@hotmail.com
syedbilalmasaud
Naib Subedar
Posts: 347
Joined: Thu Aug 18, 2005 9:25 am
Location: Attock
Contact:

Post by syedbilalmasaud »

Azfar ,


try to change your hardware configuration of your virtual machine , might it will help you
Cheers :)

:D B I L A L :D
Post Reply