Re: Problem spawning init from script
From: Joe Schulz (joe_at_spamfilter.de)
Date: 05/01/04
- Previous message: Bartlomiej Zolnierkiewicz: "Re: libata + siI3112 + 2.6.5-rc3 hang"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua> Date: Sat, 01 May 2004 17:24:04 +0200
On Fr, 2004-04-30 at 23:14, Denis Vlasenko wrote:
> > Kernel panic: Attempted to kill init!
>
> This typically means that process #1 exited. Kernel does not like that.
> I always use 'exec /path/something' as the last command in my sh scripts
> which I start instead of 'standard' /sbin/init.
>
> Post your script.
I have found the reason. Due to a linking problem, the exec'ed process
always quietly died. Of course only in the boot process, not during
dry-run testing. So I had falsely assumed that exec'ing from #1 might
always lead to a panic if you don't use the initrd procedure.
Thanks four your kind advice.
br, Joe
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Bartlomiej Zolnierkiewicz: "Re: libata + siI3112 + 2.6.5-rc3 hang"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|