All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: poky@yoctoproject.org
Subject: NFS root & shutdown/reboot
Date: Fri, 15 Apr 2011 13:29:16 +0100	[thread overview]
Message-ID: <201104151329.17014.paul.eggleton@linux.intel.com> (raw)

Hi all,

I have been working on smoothing out some things to do with NFS root this week 
and I have come across one situation that I'm not quite sure of. 

At the moment when you shut down a Poky NFS root-based system or reboot it, it 
gets all the way to the end and then hangs, with an error "nfs: server 
myserver not responding, still trying". I tracked this down to the -i option 
that is passed to the final call to shutdown and reboot which is supposed to 
shut down all network interfaces - if you remove this then it works fine.

I'm not sure of the reason for having the -i option, but it was suggested to 
me that it might be in order to release DHCP leases where applicable; also 
some systems might otherwise leave their network adapters powered up when the 
system is shut down in order to receive wake-on-LAN requests, and if you're 
not using that feature you're just wasting power. I'm guessing for most 
situations we would want to retain -i. However, where the system is running 
from an NFS root it would seem that we would have to omit this option, unless 
there is another solution I'm not aware of.

I've done some googling and not come up with anything concrete in terms of how 
this should be handled correctly. Any suggestions?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre (UK)


             reply	other threads:[~2011-04-15 12:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-15 12:29 Paul Eggleton [this message]
2011-04-15 13:11 ` NFS root & shutdown/reboot Bruce Ashfield
2011-04-15 22:41   ` Darren Hart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201104151329.17014.paul.eggleton@linux.intel.com \
    --to=paul.eggleton@linux.intel.com \
    --cc=poky@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.