public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Ed Tomlinson <edt@aei.ca>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Jerome Glisse <jglisse@redhat.com>,
	dri-devel@lists.sourceforge.net,
	Alan Cox <alan@lxorguk.ukuu.org.uk>, Greg KH <greg@kroah.com>
Subject: Re: 2.6.32-rc8 opps leaving X
Date: Tue, 24 Nov 2009 23:21:35 -0800	[thread overview]
Message-ID: <20091124232135.2a2d5fe4.akpm@linux-foundation.org> (raw)
In-Reply-To: <200911230704.51953.edt@aei.ca>

On Mon, 23 Nov 2009 07:04:51 -0500 Ed Tomlinson <edt@aei.ca> wrote:

> Hi,
> 
> I got the following opps when leaving X with rc8:
>
> [  183.846716] Unpin not necessary for ffff88016bba2200 !

Jerome, Ed's kernel is talking to you!

> [  183.860064] BUG: unable to handle kernel NULL pointer dereference at (null)
> [  183.860069] IP: [<ffffffff8107bd39>] prepare_to_wait+0x19/0x80
> [  183.860078] PGD 155125067 PUD 155126067 PMD 0
> [  183.860082] Oops: 0002 [#1] PREEMPT SMP
> [  183.860085] last sysfs file: /sys/devices/pci0000:00/0000:00:18.3/temp1_input
> [  183.860089] CPU 0
> [  183.860091] Modules linked in: kvm_amd kvm tun sit tunnel4 ipv6 bridge stp llc bnep sco rfcomm l2cap snd_seq_dummy snd_seq_oss snx
> [  183.860140] Pid: 2720, comm: console-kit-dae Not tainted 2.6.32-rc8-crc #42 System Product Name
> [  183.860142] RIP: 0010:[<ffffffff8107bd39>]  [<ffffffff8107bd39>] prepare_to_wait+0x19/0x80
> [  183.860147] RSP: 0018:ffff88015586dc58  EFLAGS: 00010282
> [  183.860149] RAX: ffff88015586dfd8 RBX: 000000005586dce8 RCX: 0000000000000000
> [  183.860151] RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffffffff8175ee40
> [  183.860154] RBP: ffff88015586dc78 R08: 0000000000000000 R09: 0000000000000001
> [  183.860156] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
> [  183.860157] R13: 0000000000000000 R14: ffff880100000000 R15: 0000000000000001
> [  183.860160] FS:  00007f6270fd1710(0000) GS:ffff880028200000(0000) knlGS:0000000000000000
> [  183.860161] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [  183.860163] CR2: 0000000000000000 CR3: 0000000155a62000 CR4: 00000000000006f0
> [  183.860165] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> [  183.860166] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
> [  183.860168] Process console-kit-dae (pid: 2720, threadinfo ffff88015586c000, task ffff880155158000)
> [  183.860169] Stack:
> [  183.860170]  0000000000000000 000000005586dce8 0000000000000000 0000000000000000
> [  183.860173] <0> ffff88015586dcd8 ffffffff812dc45f 0000000000000000 ffff880155158000
> [  183.860175] <0> ffffffff8107bae0 ffff88015586dca0 ffff88015586dca0 0000000000000046
> [  183.860178] Call Trace:
> [  183.860183]  [<ffffffff812dc45f>] vt_event_wait+0xaf/0x140
> [  183.860186]  [<ffffffff8107bae0>] ? autoremove_wake_function+0x0/0x40
> [  183.860188]  [<ffffffff812dc523>] vt_waitactive+0x33/0x60
> [  183.860191]  [<ffffffff812dda35>] vt_ioctl+0x1115/0x1cb0
> [  183.860194]  [<ffffffff814a6f22>] ? _spin_unlock_irq+0x62/0x80
> [  183.860198]  [<ffffffff81090cca>] ? __lock_acquire+0x38a/0x1550
> [  183.860202]  [<ffffffff81142b02>] ? vfs_ioctl+0x22/0xa0
> [  183.860204]  [<ffffffff81131025>] ? fget_light+0x95/0x170
> [  183.860207]  [<ffffffff810b4179>] ? __rcu_read_unlock+0x79/0x2b0
> [  183.860210]  [<ffffffff81130c66>] ? rcu_read_unlock+0x26/0x30
> [  183.860212]  [<ffffffff811310e7>] ? fget_light+0x157/0x170
> [  183.860214]  [<ffffffff81131025>] ? fget_light+0x95/0x170
> [  183.860216]  [<ffffffff811432c9>] ? sys_ioctl+0xb9/0xc0
> [  183.860220]  [<ffffffff8100b99b>] ? system_call_fastpath+0x16/0x1b
> [  183.860221] Code: 74 24 18 49 89 4c 24 20 48 89 11 eb bb 0f 1f 44 00 00 55 48 89 e5 48 83 ec 20 48 89 5d e8 4c 89 65 f0 4c 89 6d
> [  183.860241] RIP  [<ffffffff8107bd39>] prepare_to_wait+0x19/0x80
> [  183.860243]  RSP <ffff88015586dc58>
> [  183.860244] CR2: 0000000000000000
> [  183.860247] ---[ end trace 3acb9156b0436989 ]---
> 

However the remainder points at

: commit 8b92e87d39bfd046e7581e1fe0f40eac40f88608
: Author:     Alan Cox <alan@linux.intel.com>
: AuthorDate: Sat Sep 19 13:13:24 2009 -0700
: Commit:     Live-CD User <linux@linux.site>
: CommitDate: Sat Sep 19 13:13:24 2009 -0700
: 
:     vt: add an event interface

(who is "Live-CD User"?)

I'm a bit surprised that the X server is already using VT_WAITEVENT?

It looks like vt_event_waitqueue got scribbled on.  I can't see how.


  reply	other threads:[~2009-11-25  7:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-23 12:04 2.6.32-rc8 opps leaving X Ed Tomlinson
2009-11-25  7:21 ` Andrew Morton [this message]
2009-11-25  8:56   ` Dave Airlie
2009-11-25 15:59     ` Michael Breuer

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=20091124232135.2a2d5fe4.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=dri-devel@lists.sourceforge.net \
    --cc=edt@aei.ca \
    --cc=greg@kroah.com \
    --cc=jglisse@redhat.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