[patch kexec] Fix test for loaded kernel

Simon Horman horms at verge.net.au
Mon Sep 15 03:03:29 EDT 2008


On Mon, Sep 15, 2008 at 11:48:56AM +0530, Mohan Kumar M wrote:
> Hi Geoff,
>
>>
>> The only way to fix the NFS problem is to change the init scripts to
>> pass the -x option to kexec.
>
> Can we simply call ifup (that function does not exist now) to bring up  
> the network interface while returning from main() in kexec.c? This will  
> be executed only if kexec'ing a kernel fails.

Good greif, that ifdown() stuff seems horrible. I wonder what the
motivation for it is/was.

-- 
Simon Horman
  VA Linux Systems Japan K.K., Sydney, Australia Satellite Office
  H: www.vergenet.net/~horms/             W: www.valinux.co.jp/en




More information about the kexec mailing list