From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753761AbZEIHDW (ORCPT ); Sat, 9 May 2009 03:03:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751956AbZEIHDN (ORCPT ); Sat, 9 May 2009 03:03:13 -0400 Received: from nn7.de ([85.214.94.156]:53156 "EHLO nn7.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751670AbZEIHDM (ORCPT ); Sat, 9 May 2009 03:03:12 -0400 X-Greylist: delayed 400 seconds by postgrey-1.27 at vger.kernel.org; Sat, 09 May 2009 03:03:11 EDT Subject: regression 2.6.30-rc4+git: oops in rfcomm_tty_open klist_add_tail From: Soeren Sonnenburg To: Linux Kernel Cc: Marcel Holtmann Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Sat, 09 May 2009 08:56:26 +0200 Message-Id: <1241852186.14865.63.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear all, I am seeing the oops below as soon as I try to bring up my internet connection over rfcomm via a bluetooth device. I think that things were working ok with 2.6.30-rc3 still but now I see this oops even after a clean reboot, reproducibly ... Any ideas? Soeren ------------[ cut here ]------------ WARNING: at kernel/workqueue.c:371 flush_cpu_workqueue+0x7d/0x80() Hardware name: NC10 Modules linked in: ath5k mac80211 cfg80211 tun ppp_mppe ppp_async crc_ccitt ppp_generic slhc rfcomm l2cap fuse binfmt_misc snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer uvcvideo snd_seq_device videodev v4l1_compat btusb bluetooth psmouse snd i2c_i801 rtc_cmos rtc_core rtc_lib sky2 evdev soundcore snd_page_alloc [last unloaded: cfg80211] Pid: 1418, comm: bluetooth Not tainted 2.6.30-rc4-sonne #8 Call Trace: [] ? printk+0x18/0x21 [] warn_slowpath+0x73/0xd0 [] ? update_curr+0x99/0x1d0 [] ? set_next_entity+0xa7/0x190 [] ? finish_task_switch+0x97/0xd0 [] ? __schedule+0x4e8/0xb20 [] ? set_next_entity+0xa7/0x190 [] ? finish_task_switch+0x97/0xd0 [] flush_cpu_workqueue+0x7d/0x80 [] flush_workqueue+0x30/0x50 [] add_conn+0x16/0x40 [bluetooth] [] ? worker_thread+0x0/0x250 [] worker_thread+0x15a/0x250 [] ? add_conn+0x0/0x40 [bluetooth] [] ? autoremove_wake_function+0x0/0x50 [] ? worker_thread+0x0/0x250 [] kthread+0x46/0x80 [] ? kthread+0x0/0x80 [] kernel_thread_helper+0x7/0x18 ---[ end trace c91b55c4d7c5c20d ]--- BUG: unable to handle kernel NULL pointer dereference at 0000000c IP: [] klist_node_init+0x2b/0x60 *pde = 00000000 Oops: 0000 [#1] PREEMPT SMP last sysfs file: /sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/net/wlan1/statistics/collisions Modules linked in: ath5k mac80211 cfg80211 tun ppp_mppe ppp_async crc_ccitt ppp_generic slhc rfcomm l2cap fuse binfmt_misc snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer uvcvideo snd_seq_device videodev v4l1_compat btusb bluetooth psmouse snd i2c_i801 rtc_cmos rtc_core rtc_lib sky2 evdev soundcore snd_page_alloc [last unloaded: cfg80211] Pid: 13288, comm: pppd Tainted: G W (2.6.30-rc4-sonne #8) NC10 EIP: 0060:[] EFLAGS: 00010246 CPU: 1 EIP is at klist_node_init+0x2b/0x60 EAX: e89da560 EBX: e89da554 ECX: c200cae0 EDX: e89da554 ESI: 00000000 EDI: ffffffea EBP: f697dd98 ESP: f697dd84 DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 Process pppd (pid: 13288, ti=f697c000 task=e8926b70 task.ti=f697c000) Stack: c0679ce3 e1e527a0 e1e527a0 00000000 e89da554 f697dda8 c050ae6a eaacf840 00000000 f697ddd0 c03cb1a3 00000000 00000001 eaacf848 eba32edc eba32ed4 eba32e00 eba32e16 e88d6f80 f697de30 f91c7330 00000004 e88d6f80 eb9d4a58 Call Trace: [] ? klist_add_tail+0x1a/0x50 [] ? device_move+0x83/0x230 [] ? rfcomm_tty_open+0x300/0x330 [rfcomm] [] ? check_tty_count+0x51/0xc0 [] ? default_wake_function+0x0/0x10 [] ? tty_open+0x1aa/0x4c0 [] ? exact_lock+0xa/0x20 [] ? kobj_lookup+0x17c/0x190 [] ? chrdev_open+0xf2/0x1d0 [] ? __dentry_open+0xd2/0x2c0 [] ? nameidata_to_filp+0x59/0x70 [] ? chrdev_open+0x0/0x1d0 [] ? do_filp_open+0x1c1/0x7d0 [] ? ptep_set_access_flags+0x35/0x50 [] ? do_wp_page+0x143/0x680 [] ? alloc_fd+0xe8/0x100 [] ? do_sys_open+0x59/0xf0 [] ? sys_open+0x29/0x40 [] ? sysenter_do_call+0x12/0x26 Code: 55 89 e5 83 ec 14 89 75 fc 89 c6 8d 42 04 89 5d f8 89 d3 89 42 04 89 42 08 8d 42 0c e8 af 2e dd ff f7 c6 01 00 00 00 89 33 75 15 <8b> 56 0c 85 d2 74 04 89 d8 ff d2 8b 5d f8 8b 75 fc 89 ec 5d c3 EIP: [] klist_node_init+0x2b/0x60 SS:ESP 0068:f697dd84 CR2: 000000000000000c ---[ end trace c91b55c4d7c5c20e ]---