Not getting login prompt after CPU entered into cpu_idle() state
From: j.neuschaefer@gmx.net (Jonathan Neuschäfer)
Date: 2012-07-05 18:02:56
From: j.neuschaefer@gmx.net (Jonathan Neuschäfer)
Date: 2012-07-05 18:02:56
On Fri, Jul 06, 2012 at 12:56:45AM +0700, Mulyadi Santosa wrote:
Hi... On Thu, Jul 5, 2012 at 12:12 PM, Srinidhi M [off-list ref] wrote:quoted
.....@ <arch/arm/kernel/sys_arm.c> <kernel_execve> <271> ret = 0 : /sbin/initFYI 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.
Only if 0 is already in use. But isn't that exec and not open? Thanks, Jonathan