Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
hubiOffline
Post subject: Erratic kernel panics  PostPosted: 12.11.2010, 09:21
Moderator


Joined: 2010-09-11
Posts: 228
Location: Vienna (AT)
Status: Offline
On one notebook I experience erratic kernel panics with the error "no init found". Erratic means: every second or third boot works fine and I do not experience any problems when running the box.

I checked CONCURRENCY in rcS, but that's ok. It also does not depend on a kernel version (backup kernels 2.6.35-7.slh.5 and Debian stock 2.6.32-5 do have the same behaviour), and my other two notebooks do not have that problem.

Does anyone have an idea where I can look further?

hubi

_________________
Tilos Rádió Budapest
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
slhOffline
Post subject: RE: Erratic kernel panics  PostPosted: 12.11.2010, 10:16



Joined: 2010-08-25
Posts: 725

Status: Offline
Remove the "quiet" kernel parameter, which might give some further hints. It's likely not a traditional kernel panic, but really "just" a failure to find the root partition, potential causes would be (in no particular order):
- loose cables to the HDD
- bootloader issues, afaik there isn't anything bad known about grub2 right now
- fs corruption
- kernel issues with your HDD controller
- HDDs taking too long to initialize (rootdelay=5 might help here, but this should never happen)
- some other stuff intervening, messing up timing/ probing
 
 View user's profile Send private message  
Reply with quote Back to top
hubiOffline
Post subject: RE: Erratic kernel panics  PostPosted: 12.11.2010, 10:31
Moderator


Joined: 2010-09-11
Posts: 228
Location: Vienna (AT)
Status: Offline
slh, thank you for the checklist.

I fear, it's hardware related. The 2.6.35-7 worked fine when it was his turn (it now has the same behaviour). grub2 works perfectly with the two other notebooks. I remove "quiet" and will have a look.

Well, my old workhorse might be tired.

hubi

_________________
Tilos Rádió Budapest
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
slhOffline
Post subject: RE: Erratic kernel panics  PostPosted: 12.11.2010, 10:48



Joined: 2010-08-25
Posts: 725

Status: Offline
If you have a spare HDD, it might be worth it to try swapping it.

Reading out S.M.A.R.T. values might also give further hints, but keep in mind that S.M.A.R.T. cannot reliably detect broken harddisks (I've seen disks die with no hints in S.M.A.R.T., and horrible S.M.A.R.T. output from disks that continue to work reliable for several years or even brand new ones).
 
 View user's profile Send private message  
Reply with quote Back to top
LatOffline
Post subject: RE: Erratic kernel panics  PostPosted: 14.11.2010, 02:10



Joined: 2010-09-19
Posts: 162

Status: Offline
hubi:

Do you get?:

Kernel Panic -not syncing: No init found.
Try passing init= option to kernel.....

Pid 1, comm: swapper Not tainted 2.6.36....

and do you have a 32bits chroot?
 
 View user's profile Send private message  
Reply with quote Back to top
hubiOffline
Post subject: Re: RE: Erratic kernel panics  PostPosted: 14.11.2010, 10:18
Moderator


Joined: 2010-09-11
Posts: 228
Location: Vienna (AT)
Status: Offline
      Lat wrote:
Do you get?:

Kernel Panic -not syncing: No init found.
Try passing init= option to kernel.....

Pid 1, comm: swapper Not tainted 2.6.36....

Yes, that looks familiar (today it booted through) but I did not write it down (so I say: 95% that's the error output, not sure about the second line).

I don't have a chroot.

btw. it's a 32bit system

hubi

_________________
Tilos Rádió Budapest
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
LatOffline
Post subject: RE: Re: RE: Erratic kernel panics  PostPosted: 15.11.2010, 03:12



Joined: 2010-09-19
Posts: 162

Status: Offline
Do you boot directly from the MBR or do you chainload?

This is how I boot: I have grub in MBR, then I chainload to grub2 in the / partition of aptosid

The workaround for me is to put /lib64/ld-linux-x86-64.so.2 in initrd.img, but since you say it's a 32bits install, I don't think you need ld-linux-x86-64.so.2

Interesting
 
 View user's profile Send private message  
Reply with quote Back to top
hubiOffline
Post subject: RE: Re: RE: Erratic kernel panics  PostPosted: 29.11.2010, 18:46
Moderator


Joined: 2010-09-11
Posts: 228
Location: Vienna (AT)
Status: Offline
rootdelay=5 seems to cure the symptoms. I'll watch it for a few days and if it's not occurring again, I'll mark it as solved.

It was really erratic, e.g. three times rebooting after going into the kernel, then a blank black screen, then a nice long kernel panic list, then the "no init found" screen and finally a boot Wink

hubi

_________________
Tilos Rádió Budapest
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
DeepDayzeOffline
Post subject: Re: RE: Re: RE: Erratic kernel panics  PostPosted: 30.11.2010, 00:07



Joined: 2010-09-11
Posts: 616
Location: USA
Status: Offline
      hubi wrote:
rootdelay=5 seems to cure the symptoms. I'll watch it for a few days and if it's not occurring again, I'll mark it as solved.

It was really erratic, e.g. three times rebooting after going into the kernel, then a blank black screen, then a nice long kernel panic list, then the "no init found" screen and finally a boot Wink

hubi


It could be that your hard drive now takes a long time to initialize and that could be the cause of your spurious kernel panics. I'd consider the possibility that drive could be on its way out as it's probably pretty tired. If you have another good drive, why not test it?
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio