Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933674AbXEEVZH (ORCPT ); Sat, 5 May 2007 17:25:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933790AbXEEVZH (ORCPT ); Sat, 5 May 2007 17:25:07 -0400 Received: from py-out-1112.google.com ([64.233.166.179]:49531 "EHLO py-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933674AbXEEVZF (ORCPT ); Sat, 5 May 2007 17:25:05 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=e96Qtbzhwk1UKREuEbwRfPjwV7pWhigEEt8GK7xRh9mqFmas4YbnVd6PlD4G2I2UwZzGaGj+rLFWKM2vifx6e5XuY4+W0GokR2tOBXtLfWk3bogFrHzkqLHsxISQm1wlfDU03+jMkRfcxtszJas5OgPXcJmQJATXLQ/R2bDI+qE= Message-ID: <2c0942db0705051425kd878e7exf9484ee8d03cd3bb@mail.gmail.com> Date: Sat, 5 May 2007 14:25:03 -0700 From: "Ray Lee" To: LKML , "Pavel Machek" , "Rafael J. Wysocki" , "Max Krasnyansky" , marcel@holtmann.org, "pm list" Subject: BUG: sleeping function called from invalid context at net/core/sock.c:1523 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: e56e2854fe626565 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2768 Lines: 54 Upon resume (from suspend to RAM) of my laptop, I'm getting the following. (Not a regression, it's been there a while.) This is under 2.6.21. Everything *seems* fine afterward, but... -- it's not like I use bluetooth all that often. My laptop has the bluetooth adapter hooked via USB insternally, so it's the hci_usb driver. Authors cc:d. [ 1.329537] BUG: sleeping function called from invalid context at net/core/sock.c:1523 [ 1.329574] in_atomic():1, irqs_disabled():0 [ 1.329576] INFO: lockdep is turned off. [ 1.329578] [ 1.329578] Call Trace: [ 1.329585] [] debug_show_held_locks+0x1c/0x30 [ 1.329598] [] __might_sleep+0xe5/0xf0 [ 1.329603] [] lock_sock_nested+0x2c/0x120 [ 1.329617] [] :bluetooth:hci_sock_dev_event+0x4a/0xf0 [ 1.329627] [] :bluetooth:hci_sock_dev_event+0xc7/0xf0 [ 1.329634] [] notifier_call_chain+0x2f/0x50 [ 1.329639] [] atomic_notifier_call_chain+0x39/0x70 [ 1.329649] [] :bluetooth:hci_notify+0x16/0x20 [ 1.329657] [] :bluetooth:hci_unregister_dev+0x5b/0x80 [ 1.329664] [] :hci_usb:hci_usb_disconnect+0x56/0x90 [ 1.329683] [] :usbcore:usb_unbind_interface+0x4e/0xa0 [ 1.329690] [] __device_release_driver+0x93/0xc0 [ 1.329694] [] device_release_driver+0x46/0x70 [ 1.329699] [] bus_remove_device+0x78/0x90 [ 1.329703] [] device_del+0x187/0x200 [ 1.329717] [] :usbcore:usb_disable_device+0x82/0x110 [ 1.329731] [] :usbcore:usb_disconnect+0xba/0x140 [ 1.329746] [] :usbcore:hub_thread+0x400/0xcc0 [ 1.329757] [] autoremove_wake_function+0x0/0x40 [ 1.329772] [] :usbcore:hub_thread+0x0/0xcc0 [ 1.329775] [] keventd_create_kthread+0x0/0x90 [ 1.329781] [] kthread+0xd3/0x110 [ 1.329784] [] schedule_tail+0x0/0xe0 [ 1.329791] [] child_rip+0xa/0x12 [ 1.329796] [] restore_args+0x0/0x30 [ 1.329802] [] kthread+0x0/0x110 [ 1.329806] [] child_rip+0x0/0x12 [ 1.329809] dmesg and lspci -vvv at http://madrabbit.org/~ray/2.6.21-dmesg http://madrabbit.org/~ray/nx6125.lspci Ray - 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/