Revision dbf520a9d7d4d5ba28d2947be11e34099a5e3e20 authored by Paul Walmsley on 31 March 2013, 00:04:40 UTC, committed by Linus Torvalds on 31 March 2013, 18:38:33 UTC
This reverts commit 6aa9707099c4b25700940eb3d016f16c4434360d.

Commit 6aa9707099c4 ("lockdep: check that no locks held at freeze time")
causes problems with NFS root filesystems.  The failures were noticed on
OMAP2 and 3 boards during kernel init:

  [ BUG: swapper/0/1 still has locks held! ]
  3.9.0-rc3-00344-ga937536 #1 Not tainted
  -------------------------------------
  1 lock held by swapper/0/1:
   #0:  (&type->s_umount_key#13/1){+.+.+.}, at: [<c011e84c>] sget+0x248/0x574

  stack backtrace:
    rpc_wait_bit_killable
    __wait_on_bit
    out_of_line_wait_on_bit
    __rpc_execute
    rpc_run_task
    rpc_call_sync
    nfs_proc_get_root
    nfs_get_root
    nfs_fs_mount_common
    nfs_try_mount
    nfs_fs_mount
    mount_fs
    vfs_kern_mount
    do_mount
    sys_mount
    do_mount_root
    mount_root
    prepare_namespace
    kernel_init_freeable
    kernel_init

Although the rootfs mounts, the system is unstable.  Here's a transcript
from a PM test:

  http://www.pwsan.com/omap/testlogs/test_v3.9-rc3/20130317194234/pm/37xxevm/37xxevm_log.txt

Here's what the test log should look like:

  http://www.pwsan.com/omap/testlogs/test_v3.8/20130218214403/pm/37xxevm/37xxevm_log.txt

Mailing list discussion is here:

  http://lkml.org/lkml/2013/3/4/221

Deal with this for v3.9 by reverting the problem commit, until folks can
figure out the right long-term course of action.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Mandeep Singh Baines <msb@chromium.org>
Cc: Jeff Layton <jlayton@redhat.com>
Cc: Shawn Guo <shawn.guo@linaro.org>
Cc: <maciej.rutecki@gmail.com>
Cc: Fengguang Wu <fengguang.wu@intel.com>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Ben Chan <benchan@chromium.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 13d2080
History
File Mode Size
media
.gitignore -rw-r--r-- 110 bytes
80211.tmpl -rw-r--r-- 20.6 KB
Makefile -rw-r--r-- 7.3 KB
alsa-driver-api.tmpl -rw-r--r-- 3.1 KB
debugobjects.tmpl -rw-r--r-- 15.5 KB
device-drivers.tmpl -rw-r--r-- 15.0 KB
deviceiobook.tmpl -rw-r--r-- 11.0 KB
drm.tmpl -rw-r--r-- 115.3 KB
filesystems.tmpl -rw-r--r-- 13.1 KB
gadget.tmpl -rw-r--r-- 29.9 KB
genericirq.tmpl -rw-r--r-- 16.9 KB
kernel-api.tmpl -rw-r--r-- 8.6 KB
kernel-hacking.tmpl -rw-r--r-- 42.5 KB
kernel-locking.tmpl -rw-r--r-- 66.1 KB
kgdb.tmpl -rw-r--r-- 41.5 KB
libata.tmpl -rw-r--r-- 46.6 KB
librs.tmpl -rw-r--r-- 8.0 KB
lsm.tmpl -rw-r--r-- 12.0 KB
media_api.tmpl -rw-r--r-- 5.1 KB
mtdnand.tmpl -rw-r--r-- 43.6 KB
networking.tmpl -rw-r--r-- 2.9 KB
rapidio.tmpl -rw-r--r-- 4.6 KB
regulator.tmpl -rw-r--r-- 9.8 KB
s390-drivers.tmpl -rw-r--r-- 5.4 KB
scsi.tmpl -rw-r--r-- 14.5 KB
sh.tmpl -rw-r--r-- 2.6 KB
stylesheet.xsl -rw-r--r-- 445 bytes
tracepoint.tmpl -rw-r--r-- 3.3 KB
uio-howto.tmpl -rw-r--r-- 35.9 KB
usb.tmpl -rw-r--r-- 38.4 KB
writing-an-alsa-driver.tmpl -rw-r--r-- 199.3 KB
writing_usb_driver.tmpl -rw-r--r-- 17.0 KB
z8530book.tmpl -rw-r--r-- 14.7 KB

back to top