mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Valdis.Kletnieks@vt.edu
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, mm-commits@vger.kernel.org
Subject: mmotm 2009-06-30-12-50 dies during early boot
Date: Thu, 02 Jul 2009 21:52:28 -0400	[thread overview]
Message-ID: <11314.1246585948@turing-police.cc.vt.edu> (raw)
In-Reply-To: Your message of "Tue, 30 Jun 2009 12:51:30 PDT." <200906301951.n5UJpUSY013305@imap1.linux-foundation.org>

[-- Attachment #1: Type: text/plain, Size: 6756 bytes --]

On Tue, 30 Jun 2009 12:51:30 PDT, akpm@linux-foundation.org said:
> The mm-of-the-moment snapshot 2009-06-30-12-50 has been uploaded to
> 
>    http://userweb.kernel.org/~akpm/mmotm/

(Would have gotten this out the door earlier, but I got confused about what
that 'G' in the 'Tainted' meant, and put off reporting till I could reproduce
it without the NVidia driver. Turns out it was untainted except for the
warning I already reported...)

Dies fairly early during boot, somewhere in the first few lines of rc.sysinit.

It *looks* like it dies in this call:

	wake_up_interruptible(&current->real_parent->signal->wait_chldexit);

in selinux_bprm_committed_creds().  Not sure which part of that is the duff
pointer, though...

[   16.829082] hub 1-2:1.0: hub_suspend
[   16.848165] usb 1-2: unlink qh256-0001/ffff88007e053140 start 1 [1/0 us]
[   16.867813] usb 1-2: usb auto-suspend
[   17.827106] cat used greatest stack depth: 4280 bytes left
[   17.846392] Oops: 0000 [#1] PREEMPT SMP 
[   17.847007] last sysfs file: /sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda2/dev
[   17.847007] CPU 0 
[   17.847007] Modules linked in:
[   17.847007] Pid: 887, comm: mount Tainted: G        W  2.6.31-rc1-mmotm0630 #1 Latitude D820                   
[   17.847007] RIP: 0010:[<ffffffff81040873>]  [<ffffffff81040873>] child_wait_callback+0x3d/0x5f
[   17.847007] RSP: 0018:ffff88007f051c28  EFLAGS: 00010046
[   17.847007] RAX: 000000000000000e RBX: 0000000000000001 RCX: 0000000000000000
[   17.847007] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff88007eb9bf20
[   17.847007] RBP: ffff88007f051c28 R08: 0000000000000000 R09: 0000000000000001
[   17.847007] R10: ffff88007f051c68 R11: ffff88007f051c68 R12: 0000000000000001
[   17.847007] R13: ffff88007f9965e0 R14: 0000000000000000 R15: 0000000000000000
[   17.847007] FS:  00007fa8f6c646f0(0000) GS:ffff880002121000(0000) knlGS:0000000000000000
[   17.847007] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[   17.847007] CR2: 0000000000000270 CR3: 000000007fb3f000 CR4: 00000000000006f0
[   17.847007] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   17.847007] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[   17.847007] Process mount (pid: 887, threadinfo ffff88007f050000, task ffff88007eb96a80)
[   17.847007] Stack:
[   17.847007]  ffff88007f051c78 ffffffff8102df4a 0000000000000000 ffff88007f9965f8
[   17.847007] <0> ffff88007f051c78 ffff88007f9965c8 0000000000000282 ffff88007e3acbc0
[   17.847007] <0> ffff88007f051f58 00007fd172b0faf0 ffff88007f051cb8 ffffffff810305d8
[   17.847007] Call Trace:
[   17.847007]  [<ffffffff8102df4a>] __wake_up_common+0x49/0x7f
[   17.847007]  [<ffffffff810305d8>] __wake_up+0x34/0x48
[   17.847007]  [<ffffffff81176a19>] selinux_bprm_committed_creds+0x11d/0x132
[   17.847007]  [<ffffffff8105be4d>] ? commit_creds+0x1d5/0x1df
[   17.847007]  [<ffffffff8116dc46>] security_bprm_committed_creds+0x11/0x13
[   17.847007]  [<ffffffff810d5420>] install_exec_creds+0x30/0x35
[   17.847007]  [<ffffffff81110de5>] load_elf_binary+0x10d1/0x1990
[   17.847007]  [<ffffffff814a8bc0>] ? sub_preempt_count+0x35/0x48
[   17.847007]  [<ffffffff810d5101>] search_binary_handler+0xbd/0x2cc
[   17.847007]  [<ffffffff8110fd14>] ? load_elf_binary+0x0/0x1990
[   17.847007]  [<ffffffff810d69e8>] do_execve+0x26e/0x3c2
[   17.847007]  [<ffffffff81009b15>] sys_execve+0x5b/0x78
[   17.847007]  [<ffffffff8100b7ca>] stub_execve+0x6a/0xc0
[   17.847007] Code: 81 00 03 00 00 eb 14 89 c0 48 6b c0 18 48 03 81 c0 02 00 00 48 8b 80 00 03 00 00 48 3b 47 e0 75 21 8b 47 dc 41 89 c0 41 c1 e8 1f <83> b9 70 02 00 00 11 41 0f 95 c1 45 38 c1 74 0b a9 00 00 00 40 
[   17.847007] RIP  [<ffffffff81040873>] child_wait_callback+0x3d/0x5f
[   17.847007]  RSP <ffff88007f051c28>
[   17.847007] CR2: 0000000000000270
[   17.847007] ---[ end trace a7919e7f17c0a727 ]---
[   17.847007] note: mount[887] exited with preempt_count 2
[   27.655913] usb 1-8.3: khubd timed out on ep0in len=0/64
[   27.655958] BUG: scheduling while atomic: mount/887/0x10000003
[   27.655960] INFO: lockdep is turned off.
[   27.655962] Modules linked in:
[   27.655965] Pid: 887, comm: mount Tainted: G      D W  2.6.31-rc1-mmotm0630 #1
[   27.655967] Call Trace:
[   27.655973]  [<ffffffff81065361>] ? __debug_show_held_locks+0x1b/0x24
[   27.655978]  [<ffffffff81034afb>] __schedule_bug+0x6d/0x72
[   27.655982]  [<ffffffff814a339e>] schedule+0xf0/0x934
[   27.655987]  [<ffffffff810e73ef>] ? mntput_no_expire+0x24/0x145
[   27.655991]  [<ffffffff810cb61d>] ? __cache_free+0x45/0xf1
[   27.655996]  [<ffffffff81035abf>] __cond_resched+0x24/0x39
[   27.655999]  [<ffffffff814a3dad>] _cond_resched+0x2d/0x38
[   27.656017]  [<ffffffff81040ca0>] put_files_struct+0x6c/0xbe
[   27.656020]  [<ffffffff81040d38>] exit_files+0x46/0x4f
[   27.656024]  [<ffffffff81042a58>] do_exit+0x3a6/0x97d
[   27.656028]  [<ffffffff814a732e>] oops_end+0x89/0x8e
[   27.656032]  [<ffffffff81025a6c>] no_context+0x1f1/0x200
[   27.656036]  [<ffffffff81025c21>] __bad_area_nosemaphore+0x1a6/0x1ef
[   27.656040]  [<ffffffff81065b01>] ? trace_hardirqs_on_caller+0x1f/0x145
[   27.656044]  [<ffffffff81064e9f>] ? trace_hardirqs_off_caller+0x1f/0xa2
[   27.656047]  [<ffffffff81064f2f>] ? trace_hardirqs_off+0xd/0xf
[   27.656051]  [<ffffffff81064e9f>] ? trace_hardirqs_off_caller+0x1f/0xa2
[   27.656055]  [<ffffffff81034117>] ? get_parent_ip+0x11/0x41
[   27.656058]  [<ffffffff81025c78>] bad_area_nosemaphore+0xe/0x10
[   27.656062]  [<ffffffff814a8913>] do_page_fault+0x204/0x47c
[   27.656066]  [<ffffffff814a5739>] ? trace_hardirqs_off_thunk+0x3a/0x3c
[   27.656070]  [<ffffffff814a674f>] page_fault+0x1f/0x30
[   27.656074]  [<ffffffff81040873>] ? child_wait_callback+0x3d/0x5f
[   27.656079]  [<ffffffff811bca7e>] ? _raw_spin_lock+0xe3/0x196
[   27.656083]  [<ffffffff8102df4a>] __wake_up_common+0x49/0x7f
[   27.656087]  [<ffffffff810305d8>] __wake_up+0x34/0x48
[   27.656091]  [<ffffffff81176a19>] selinux_bprm_committed_creds+0x11d/0x132
[   27.656095]  [<ffffffff8105be4d>] ? commit_creds+0x1d5/0x1df
[   27.656098]  [<ffffffff8116dc46>] security_bprm_committed_creds+0x11/0x13
[   27.656102]  [<ffffffff810d5420>] install_exec_creds+0x30/0x35
[   27.656106]  [<ffffffff81110de5>] load_elf_binary+0x10d1/0x1990
[   27.656111]  [<ffffffff814a8bc0>] ? sub_preempt_count+0x35/0x48
[   27.656114]  [<ffffffff810d5101>] search_binary_handler+0xbd/0x2cc
[   27.656118]  [<ffffffff8110fd14>] ? load_elf_binary+0x0/0x1990
[   27.656122]  [<ffffffff810d69e8>] do_execve+0x26e/0x3c2
[   27.656126]  [<ffffffff81009b15>] sys_execve+0x5b/0x78
[   27.656130]  [<ffffffff8100b7ca>] stub_execve+0x6a/0xc0
[   27.656157] mount used greatest stack depth: 3920 bytes left


[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]

  parent reply	other threads:[~2009-07-03  1:52 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-30 19:51 mmotm 2009-06-30-12-50 uploaded akpm
2009-06-30 20:15 ` Valdis.Kletnieks
2009-06-30 20:19   ` Randy Dunlap
2009-06-30 20:35     ` Andrew Morton
2009-06-30 20:39       ` Randy Dunlap
2009-06-30 20:27   ` Valdis.Kletnieks
2009-06-30 20:38     ` Andrew Morton
2009-07-01  9:21       ` KOSAKI Motohiro
2009-07-02 13:51       ` Valdis.Kletnieks
2009-06-30 21:49 ` [PATCH mmotm] hwmon: fix lis3-spi for CONFIG_PM=n Randy Dunlap
2009-07-02 19:16 ` mmotm 2009-06-30-12-50 uploaded Valdis.Kletnieks
2009-07-02 19:47   ` Andrew Morton
2009-07-02 20:21     ` Valdis.Kletnieks
2009-07-03 10:25     ` Valdis.Kletnieks
2009-07-03  1:52 ` Valdis.Kletnieks [this message]
2009-07-03  2:20   ` mmotm 2009-06-30-12-50 dies during early boot Andrew Morton
2009-07-03  8:20     ` Oleg Nesterov
2009-07-03  9:23       ` [PATCH] selinux_bprm_committed_creds: use __wake_up_parent() Oleg Nesterov
2009-07-03  9:39         ` James Morris
2009-07-03 10:12         ` Valdis.Kletnieks
2009-07-03 10:46           ` Oleg Nesterov
2009-07-03 16:11         ` Andrew Morton
2009-07-04  8:14           ` Oleg Nesterov
2009-07-03 10:16       ` David Howells

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=11314.1246585948@turing-police.cc.vt.edu \
    --to=valdis.kletnieks@vt.edu \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mm-commits@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®