Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759921AbYBOXP6 (ORCPT ); Fri, 15 Feb 2008 18:15:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752450AbYBOXPu (ORCPT ); Fri, 15 Feb 2008 18:15:50 -0500 Received: from el-out-1112.google.com ([209.85.162.178]:44644 "EHLO el-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751892AbYBOXPt (ORCPT ); Fri, 15 Feb 2008 18:15:49 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=SdesM22z51itNK2H7IXXNWlhB0hEBHvrZ6UFJePibY/jNs6i6rB6DQmt/2GAltyGsWeY7jnPpIjkCOfhMU/rnxMRPjaPbqfOPit+uTbmd7w1OjV0DkWbnCa/mywgPquhXwukjuidrV6xJUXYyTdE9XVBbZrPGC97DajfYSVnqTg= Message-ID: Date: Sat, 16 Feb 2008 07:15:47 +0800 From: "Dave Young" To: Barnaby Subject: Re: 2.6.24-git16 Oops @ sysfs_move_dir w/ btdelconn Cc: "Marcel Holtmann" , LKML , bluez-devel@lists.sourceforge.net, "David Miller" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_3766_6990232.1203117348007" References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 10857 Lines: 219 ------=_Part_3766_6990232.1203117348007 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Fri, Feb 15, 2008 at 8:04 AM, Barnaby wrote: > Answers at the bottom.. > > > > On 2/13/08, Dave Young wrote: > > On Feb 8, 2008 12:57 AM, Barnaby wrote: > > > Hello Dave, > > > > Add someone to cc-list > > > > > > > > > > Got your name and email from the 2.6.24-git16 changelog. > > > > > > I get these Oops when suspending or doing.. > > > > > > echo disable > /proc/acpi/ibm/bluetooth > > > or > > > echo 0 > /sys/devices/platform/thinkpad_acpi/bluetooth_enable > > > > > > # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > > > > > Feb 7 09:19:47 BUG: unable to handle kernel NULL pointer dereference > > > at 00000008 > > > Feb 7 09:19:47 IP: [] sysfs_move_dir+0x16/0x1ab > > > Feb 7 09:19:47 *pde = 00000000 > > > Feb 7 09:19:47 Oops: 0000 [#1] PREEMPT > > > Feb 7 09:19:47 Modules linked in: xt_tcpudp hidp l2cap snd_seq > > > snd_seq_device snd_pcm_oss snd_mixer_oss sr_mod cdrom iptable_filter > > > iptable_nat nf_conntrack_ipv4 iptable_mangle ipt_LOG xt_state ipt_ttl > > > ipt_MASQUERADE nf_nat nf_conntrack xt_DSCP ip_tables x_tables usbhid > > > ipw2200 ieee80211 ieee80211_crypt thinkpad_acpi backlight acpi_cpufreq > > > radeon drm intel_agp agpgart snd_intel8x0 snd_ac97_codec ac97_bus > > > snd_pcm snd_timer snd soundcore snd_page_alloc button > > > thermal processor hci_usb bluetooth > > > Feb 7 09:19:47 > > > Feb 7 09:19:47 Pid: 1412, comm: btdelconn Not tainted (2.6.24-git16 #1) > > > Feb 7 09:19:47 EIP: 0060:[] EFLAGS: 00010246 CPU: 0 > > > Feb 7 09:19:47 EIP is at sysfs_move_dir+0x16/0x1ab > > > Feb 7 09:19:47 EAX: c039476c EBX: f7dd0480 ECX: f6da9f58 EDX: f7dd0480 > > > Feb 7 09:19:47 ESI: 00000000 EDI: f5ea0c40 EBP: fffffff4 ESP: f6da9f30 > > > Feb 7 09:19:47 DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 > > > Feb 7 09:19:47 Process btdelconn (pid: 1412, ti=f6da8000 > > > task=f6fd1550 task.ti=f6da8000) > > > Feb 7 09:19:47 Stack: f56f4ea4 f7dd0480 f5ea0c40 f56f4ea4 f7dd0480 > > > f5ea0c40 fffffff4 c01c71a0 > > > Feb 7 09:19:47 f5ea0800 c034a793 f5ea0c40 f5ea0800 f5ea0800 00000000 > > > f56f4e3c 00000000 > > > Feb 7 09:19:47 00000000 f7dd0480 c0219d48 f56f4ea4 ffffffea f56f4e3c > > > f5fc7c88 f5fc7c00 > > > Feb 7 09:19:47 Call Trace: > > > Feb 7 09:19:47 [] kobject_move+0x9e/0xeb > > > Feb 7 09:19:47 [] device_move+0x41/0xdf > > > Feb 7 09:19:47 [] del_conn+0x0/0x43 [bluetooth] > > > Feb 7 09:19:47 [] del_conn+0x11/0x43 [bluetooth] > > > Feb 7 09:19:47 [] run_workqueue+0x83/0x10e > > > Feb 7 09:19:47 [] worker_thread+0x0/0xb5 > > > Feb 7 09:19:47 [] worker_thread+0xab/0xb5 > > > Feb 7 09:19:47 [] autoremove_wake_function+0x0/0x2d > > > Feb 7 09:19:47 [] kthread+0x36/0x5c > > > Feb 7 09:19:47 [] kthread+0x0/0x5c > > > Feb 7 09:19:47 [] kernel_thread_helper+0x7/0x10 > > > Feb 7 09:19:47 ======================= > > > Feb 7 09:19:47 Code: ff b8 6c 47 39 c0 e8 64 f1 15 00 89 f0 83 c4 10 > > > 5b 5e 5f 5d c3 55 57 56 53 89 d3 83 ec 0c 8b 70 1c b8 6c 47 39 c0 e8 > > > 3a f1 15 00 <8b> 56 08 85 d2 75 04 0f 0b eb fe 8b 5b 1c b8 a0 47 39 c0 > > > 85 db > > > Feb 7 09:19:47 EIP: [] sysfs_move_dir+0x16/0x1ab SS:ESP > > > 0068:f6da9f30 > > > Feb 7 09:19:47 ---[ end trace e0c3df2b167f1367 ]--- > > > Feb 7 09:27:44 usb 4-1: new full speed USB device using uhci_hcd and address 4 > > > Feb 7 09:27:44 usb 4-1: configuration #1 chosen from 1 choice > > > Feb 7 09:28:06 BUG: unable to handle kernel NULL pointer dereference > > > at 00000020 > > > Feb 7 09:28:06 IP: [] sysfs_addrm_start+0x1e/0x7a > > > Feb 7 09:28:06 *pde = 00000000 > > > Feb 7 09:28:06 Oops: 0000 [#2] PREEMPT > > > Feb 7 09:28:06 Modules linked in: xt_tcpudp hidp l2cap snd_seq > > > snd_seq_device snd_pcm_oss snd_mixer_oss sr_mod cdrom iptable_filter > > > iptable_nat nf_conntrack_ipv4 iptable_mangle ipt_LOG xt_state ipt_ttl > > > ipt_MASQUERADE nf_nat nf_conntrack xt_DSCP ip_tables x_tables usbhid > > > ipw2200 ieee80211 ieee80211_crypt thinkpad_acpi backlight acpi_cpufreq > > > radeon drm intel_agp agpgart snd_intel8x0 snd_ac97_codec ac97_bus > > > snd_pcm snd_timer snd soundcore snd_page_alloc button > > > thermal processor hci_usb bluetooth > > > Feb 7 09:28:06 > > > Feb 7 09:28:06 Pid: 11774, comm: hidd Tainted: G D (2.6.24-git16 #1) > > > Feb 7 09:28:06 EIP: 0060:[] EFLAGS: 00010246 CPU: 0 > > > Feb 7 09:28:06 EIP is at sysfs_addrm_start+0x1e/0x7a > > > Feb 7 09:28:06 EAX: c0394760 EBX: 00000000 ECX: 00000000 EDX: 00000000 > > > Feb 7 09:28:06 ESI: f3733cb4 EDI: f3733cc4 EBP: 00000000 ESP: f3733ca4 > > > Feb 7 09:28:06 DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068 > > > Feb 7 09:28:06 Process hidd (pid: 11774, ti=f3732000 task=f3673550 > > > task.ti=f3732000) > > > Feb 7 09:28:06 Stack: f6c14680 f7f9d6ec fffffff4 c0182e80 00000000 > > > 00000000 00000000 00000000 > > > Feb 7 09:28:06 f6c14680 f6c14680 fffffffe f56d563c c0182ee1 f3733cdc > > > c01c6daa f5fa4c48 > > > Feb 7 09:28:06 c01c6eb9 f6e660f0 00000000 f6c14680 f6e660f0 f56d563c > > > c01c6fe9 f3733d30 > > > Feb 7 09:28:06 Call Trace: > > > Feb 7 09:28:06 [] create_dir+0x33/0x6b > > > Feb 7 09:28:06 [] sysfs_create_dir+0x29/0x3b > > > Feb 7 09:28:06 [] kobject_get+0xf/0x13 > > > Feb 7 09:28:06 [] kobject_add_internal+0xab/0x144 > > > Feb 7 09:28:06 [] kobject_add_varg+0x39/0x42 > > > Feb 7 09:28:06 [] kobject_add+0x4a/0x4e > > > Feb 7 09:28:06 [] get_device_parent+0xd7/0xfb > > > Feb 7 09:28:06 [] device_add+0x79/0x418 > > > Feb 7 09:28:06 [] snprintf+0x1c/0x1f > > > Feb 7 09:28:06 [] input_register_device+0xb2/0x188 > > > Feb 7 09:28:06 [] hidinput_connect+0x24ff/0x2530 > > > Feb 7 09:28:06 [] hidp_send_report+0x143/0x14f [hidp] > > > Feb 7 09:28:06 [] hidp_sock_ioctl+0xe2/0x1fa [hidp] > > > Feb 7 09:28:06 [] enqueue_hrtimer+0xd7/0xe2 > > > Feb 7 09:28:06 [] hrtick_set+0x6a/0xc3 > > > Feb 7 09:28:06 [] do_notify_resume+0x5e3/0x644 > > > Feb 7 09:28:06 [] sock_ioctl+0x1ab/0x1cd > > > Feb 7 09:28:06 [] sock_ioctl+0x0/0x1cd > > > Feb 7 09:28:06 [] do_ioctl+0x1c/0x5d > > > Feb 7 09:28:06 [] vfs_ioctl+0x22c/0x23f > > > Feb 7 09:28:06 [] sys_socketcall+0xd2/0x181 > > > Feb 7 09:28:06 [] sys_ioctl+0x2c/0x44 > > > Feb 7 09:28:06 [] sysenter_past_esp+0x5f/0x85 > > > Feb 7 09:28:06 [] piix_init_one+0x1a7/0x525 > > > Feb 7 09:28:06 ======================= > > > Feb 7 09:28:06 Code: 89 f8 e8 3d ff ff ff 31 c0 5b 5e 5f c3 57 b9 04 > > > 00 00 00 56 89 c6 53 31 c0 89 d3 89 f7 f3 ab b8 60 47 39 c0 89 16 e8 > > > 29 f8 15 00 <8b> 53 20 b9 e3 27 18 c0 a1 fc 19 40 c0 53 e8 0c e0 fd ff > > > 5b 85 > > > Feb 7 09:28:06 EIP: [] sysfs_addrm_start+0x1e/0x7a SS:ESP > > > 0068:f3733ca4 > > > Feb 7 09:28:06 ---[ end trace e0c3df2b167f1367 ]--- > > > > > > # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > > > > > This does not happen in 2.6.22 > > > > > > Please let me know if you need more info, or need me to report this elsewhere. > > > > > > Does 2.6.24 work? > > Just had an oops w/ 2.6.24.2 and was about to send the attached to > lkml. Although it happens less frequently in 2.6.24.2 and I don't see > btdelconn in the single Oops I've had in 2.6.24.2 > > > > How do you use bluetooth, just as hid devices? > > Just one bluetooth mouse. > > > > Could you post full dmesg? > > I'll attach the plain text file will most of the output requested by > > /usr/src/linux/REPORTING-BUGS > > the outpu of DMESG from after booting to recover from the Oops is at the bottom. > > > Regards > > > > dave > > Thank you! > > Barnaby > Hi, Please try the attached patch and help to verify. Regards dave ------=_Part_3766_6990232.1203117348007 Content-Type: application/octet-stream; name=diff Content-Transfer-Encoding: base64 X-Attachment-Id: f_fcpcya481 Content-Disposition: attachment; filename=diff U2lnbmVkLW9mZi1ieTogRGF2ZSBZb3VuZyA8aGlkYXZlLmRhcmtzdGFyQGdtYWlsLmNvbT4gCgot LS0KbmV0L2JsdWV0b290aC9oY2lfY29ubi5jICB8ICAgIDEgLQpuZXQvYmx1ZXRvb3RoL2hjaV9z eXNmcy5jIHwgICAgNSArKysrLQoyIGZpbGVzIGNoYW5nZWQsIDQgaW5zZXJ0aW9ucygrKSwgMiBk ZWxldGlvbnMoLSkKCmRpZmYgLXVwciBsaW51eC9uZXQvYmx1ZXRvb3RoL2hjaV9jb25uLmMgbGlu dXgubmV3L25ldC9ibHVldG9vdGgvaGNpX2Nvbm4uYwotLS0gbGludXgvbmV0L2JsdWV0b290aC9o Y2lfY29ubi5jCTIwMDgtMDItMTYgMDY6Mzg6NTYuMDAwMDAwMDAwICswODAwCisrKyBsaW51eC5u ZXcvbmV0L2JsdWV0b290aC9oY2lfY29ubi5jCTIwMDgtMDItMTYgMDY6NTQ6MTcuMDAwMDAwMDAw ICswODAwCkBAIC0yNjAsNyArMjYwLDYgQEAgaW50IGhjaV9jb25uX2RlbChzdHJ1Y3QgaGNpX2Nv bm4gKmNvbm4pCiAJdG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V2X3B1dChoZGV2KTsKIH0KIAogdm9pZCBoY2lfY29ubl9kZWxf c3lzZnMoc3RydWN0IGhjaV9jb25uICpjb25uKQo= ------=_Part_3766_6990232.1203117348007-- -- 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/