From: "John Z. Bohach" <jzb2@aexorsyst.com>
To: linux-kernel@vger.kernel.org
Subject: Kernel bug in root=nfsroot codepath
Date: Sat, 11 Jun 2011 20:06:16 -0700 [thread overview]
Message-ID: <201106112006.16407.jzb2@aexorsyst.com> (raw)
There is a problem with S5 and nfsroot.
The kernel will NOT enter S5 if and only if root=nfsroot.
With the same rootfs burned to disk, it works fine. I've tracked this
done to the
__raw_notifier_call_chain()
function. The call trace is sequence is:
kernel_power_off()
...
disable_nonboot_cpus()
_cpu_down()
...
cpu_die()
cpu_notify_nofail()
cpu_notify()
...
__cpu_notify()
__raw_notifier_call_chain()
notifier_call_chain()
?? strange second call from unknown location to:
__raw_notifier_call_chain()
then it just stops...
Machine does not hang as I can see NFS timeout messages after a few
minutes (probably interrupt context), but no further printk's are
manifest, and system stays in this state until physically reset and is
unresponsive.
This is the third time I'm posting this...any ideas? If I simply skip
the disable_nonboot_cpus() call, then it powers down fine. This only
happens with root=nfsroot. This happens with multiple kernels and goes
back to at least 2.6.16 and is there even with today's latest kernel.
To try to duplicate this, boot an nfsroot-ed machine into run-level 1,
and run 'halt -n -d -f -p'.
Thanks,
John
reply other threads:[~2011-06-12 3:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=201106112006.16407.jzb2@aexorsyst.com \
--to=jzb2@aexorsyst.com \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®