Re: Not getting login prompt after CPU entered into cpu_idle() state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi...

On Thu, Jul 5, 2012 at 12:12 PM, Srinidhi M <srinidhi.m26@xxxxxxxxx> wrote:
> .....@ <arch/arm/kernel/sys_arm.c>  <kernel_execve>  <271> ret = 0 : /sbin/init

FYI I absolutely has no hands on experience on this kind of hack, so
this is purely speculation.

I am thinking, ret=0 when calling /sbin/init? AFAIK, a successful
open() operation should return something bigger than 0 as the file
descriptor.

Also, init should call /sbin/login or something similar. maybe
something is wrong when reading /etc/fstab or anything similar for
your kernel?



-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux