Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758388AbZKYHWX (ORCPT ); Wed, 25 Nov 2009 02:22:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758036AbZKYHWW (ORCPT ); Wed, 25 Nov 2009 02:22:22 -0500 Received: from smtp1.linux-foundation.org ([140.211.169.13]:50546 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753371AbZKYHWV (ORCPT ); Wed, 25 Nov 2009 02:22:21 -0500 Date: Tue, 24 Nov 2009 23:21:35 -0800 From: Andrew Morton To: Ed Tomlinson Cc: Linux Kernel Mailing List , Jerome Glisse , dri-devel@lists.sourceforge.net, Alan Cox , Greg KH Subject: Re: 2.6.32-rc8 opps leaving X Message-Id: <20091124232135.2a2d5fe4.akpm@linux-foundation.org> In-Reply-To: <200911230704.51953.edt@aei.ca> References: <200911230704.51953.edt@aei.ca> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.5; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4202 Lines: 78 On Mon, 23 Nov 2009 07:04:51 -0500 Ed Tomlinson 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: [] 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:[] [] 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] [] vt_event_wait+0xaf/0x140 > [ 183.860186] [] ? autoremove_wake_function+0x0/0x40 > [ 183.860188] [] vt_waitactive+0x33/0x60 > [ 183.860191] [] vt_ioctl+0x1115/0x1cb0 > [ 183.860194] [] ? _spin_unlock_irq+0x62/0x80 > [ 183.860198] [] ? __lock_acquire+0x38a/0x1550 > [ 183.860202] [] ? vfs_ioctl+0x22/0xa0 > [ 183.860204] [] ? fget_light+0x95/0x170 > [ 183.860207] [] ? __rcu_read_unlock+0x79/0x2b0 > [ 183.860210] [] ? rcu_read_unlock+0x26/0x30 > [ 183.860212] [] ? fget_light+0x157/0x170 > [ 183.860214] [] ? fget_light+0x95/0x170 > [ 183.860216] [] ? sys_ioctl+0xb9/0xc0 > [ 183.860220] [] ? 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 [] prepare_to_wait+0x19/0x80 > [ 183.860243] RSP > [ 183.860244] CR2: 0000000000000000 > [ 183.860247] ---[ end trace 3acb9156b0436989 ]--- > However the remainder points at : commit 8b92e87d39bfd046e7581e1fe0f40eac40f88608 : Author: Alan Cox : AuthorDate: Sat Sep 19 13:13:24 2009 -0700 : Commit: Live-CD User : 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. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/