Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755314AbYANHFb (ORCPT ); Mon, 14 Jan 2008 02:05:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752048AbYANHFX (ORCPT ); Mon, 14 Jan 2008 02:05:23 -0500 Received: from hs-out-0708.google.com ([64.233.178.247]:52562 "EHLO hs-out-2122.google.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751901AbYANHFV (ORCPT ); Mon, 14 Jan 2008 02:05:21 -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:content-transfer-encoding:content-disposition:references; b=xiXZK76SMQw2uLhWP71XwnLQz/44oL8ttxZs4aEpQTnDEV3nHiuVi2KB6yY1W0YZBFe5PQ6lO6GHivqHOA++krduIRjEk0Fm50aoQeJ5LrcNOzZZuDZIdltWsuDsyqLuNx4oEo7LwzAZ8+O1M6tpUfhxtI+37by9E7kFwOS1Guc= Message-ID: Date: Mon, 14 Jan 2008 15:05:19 +0800 From: "Dave Young" To: "Gabor Gombas" Subject: Re: [Bluez-devel] Oops involving RFCOMM and sysfs Cc: "Tejun Heo" , "Al Viro" , linux-kernel@vger.kernel.org, bluez-devel@lists.sourceforge.net, kay.sievers@vrfy.org, "Greg KH" , "Marcel Holtmann" , davem@davemloft.net In-Reply-To: <20080111230929.GA7052@boogie.lpds.sztaki.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080105075039.GF27894@ZenIV.linux.org.uk> <20080107141300.GB12763@boogie.lpds.sztaki.hu> <47824415.80703@gmail.com> <20080107210024.GA13537@boogie.lpds.sztaki.hu> <47834593.1000506@gmail.com> <20080108133215.GA15814@boogie.lpds.sztaki.hu> <478490D2.5050902@gmail.com> <20080110011117.GA3968@darkstar.te-china.tietoenator.com> <20080111230929.GA7052@boogie.lpds.sztaki.hu> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 5737 Lines: 95 On Jan 12, 2008 7:09 AM, Gabor Gombas wrote: > On Thu, Jan 10, 2008 at 09:11:17AM +0800, Dave Young wrote: > > > For bluetooth device_move, the only child device of hci_conn dev is > > the rfcomm tty_dev. How about the following patch, please verify : > > There is now no oops, instead the keyboard becomes almost completely > unresponsible when I switch off & on the phone. The mouse still works > (tested both with X and with the VGA console), but terminal input and VT > switching is dead. On the VGA console, even scrolling using Shift+PgUp > stops working. > > Alt+SysRq+w works, trace is below. Ctrl+Alt+Del also works, but then > init complains about hung processes and that it can not umount the file > systems and cannot stop the RAID arrays. Once it still rebooted though, > the second time it got hung after trying to umount the filesystems, and > I had to use Alt+SysRq+b. > > If I can choose then I prefer the Oops... > > Jan 11 23:46:35 twister kernel: SysRq : Emergency Sync > Jan 11 23:46:35 twister kernel: Emergency Sync complete > Jan 11 23:46:42 twister kernel: SysRq : Show Blocked State > Jan 11 23:46:42 twister kernel: task PC stack pid father > Jan 11 23:46:42 twister kernel: events/0 D ffffffff80487190 0 5 2 > Jan 11 23:46:42 twister kernel: ffff8100bf84fd40 0000000000000046 ffff8100ae7f2600 ffff8100bf84fd00 > Jan 11 23:46:42 twister kernel: ffff8100bf84a830 ffff8100bd872000 ffffffff80652ae0 0000000100000100 > Jan 11 23:46:42 twister kernel: 0000000000000000 7fffffffffffffff 7fffffffffffffff 0000000000000002 > Jan 11 23:46:42 twister kernel: Call Trace: > Jan 11 23:46:42 twister kernel: [] schedule_timeout+0x1e/0xad > Jan 11 23:46:42 twister kernel: [] dput+0x26/0x103 > Jan 11 23:46:42 twister kernel: [] sysfs_move_dir+0x1ee/0x1fd > Jan 11 23:46:42 twister kernel: [] wait_for_common+0xc4/0x129 > Jan 11 23:46:42 twister kernel: [] default_wake_function+0x0/0xe > Jan 11 23:46:42 twister kernel: [] klist_del+0x15/0x2e > Jan 11 23:46:42 twister kernel: [] device_move+0x80/0x111 > Jan 11 23:46:42 twister kernel: [] :bluetooth:hci_conn_move_child+0x0/0xf > Jan 11 23:46:42 twister kernel: [] :bluetooth:hci_conn_move_child+0xb/0xf > Jan 11 23:46:42 twister kernel: [] device_for_each_child+0x22/0x4d > Jan 11 23:46:42 twister kernel: [] :bluetooth:del_conn+0x0/0x22 > Jan 11 23:46:42 twister kernel: [] :bluetooth:del_conn+0x19/0x22 > Jan 11 23:46:42 twister kernel: [] run_workqueue+0x74/0xee > Jan 11 23:46:42 twister kernel: [] worker_thread+0x0/0xe7 > Jan 11 23:46:42 twister kernel: [] worker_thread+0xda/0xe7 > Jan 11 23:46:42 twister kernel: [] autoremove_wake_function+0x0/0x2e > Jan 11 23:46:42 twister kernel: [] worker_thread+0x0/0xe7 > Jan 11 23:46:42 twister kernel: [] kthread+0x47/0x73 > Jan 11 23:46:42 twister kernel: [] child_rip+0xa/0x12 > Jan 11 23:46:42 twister kernel: [] kthread+0x0/0x73 > Jan 11 23:46:42 twister kernel: [] child_rip+0x0/0x12 > Jan 11 23:46:42 twister kernel: > Jan 11 23:46:42 twister kernel: cat D 7fffffffffffffff 0 3978 3965 > Jan 11 23:46:42 twister kernel: ffff81009e857ce8 0000000000000086 ffff8100ae7f2900 ffff81009e857ca8 > Jan 11 23:46:42 twister kernel: ffff8100bd872000 ffff8100bf9e7060 ffffffff80652ae0 00000001000000c0 > Jan 11 23:46:42 twister kernel: 0000000000000000 7fffffffffffffff 7fffffffffffffff 0000000000000002 > Jan 11 23:46:42 twister kernel: Call Trace: > Jan 11 23:46:42 twister kernel: [] schedule_timeout+0x1e/0xad > Jan 11 23:46:42 twister kernel: [] __dequeue_entity+0x1c/0x32 > Jan 11 23:46:42 twister kernel: [] set_next_entity+0x23/0x73 > Jan 11 23:46:42 twister kernel: [] wait_for_common+0xc4/0x129 > Jan 11 23:46:42 twister kernel: [] default_wake_function+0x0/0xe > Jan 11 23:46:42 twister kernel: [] flush_cpu_workqueue+0x50/0x58 > Jan 11 23:46:42 twister kernel: [] wq_barrier_func+0x0/0x9 > Jan 11 23:46:42 twister kernel: [] flush_workqueue+0x9/0x12 > Jan 11 23:46:42 twister kernel: [] release_dev+0x47c/0x5e2 > Jan 11 23:46:42 twister kernel: [] do_page_fault+0x2ff/0x65a > Jan 11 23:46:42 twister kernel: [] tty_release+0xc/0x10 > Jan 11 23:46:42 twister kernel: [] __fput+0xb1/0x16f > Jan 11 23:46:42 twister kernel: [] filp_close+0x5d/0x65 > Jan 11 23:46:42 twister kernel: [] sys_close+0x73/0xa6 > Jan 11 23:46:42 twister kernel: [] tracesys+0xdc/0xe1 > Jan 11 23:46:42 twister kernel: > > If I'm not mistaken the "cat" above is the "cat /dev/zero > > /dev/rfcomm0" command. > Any idea about this? Add marcel and davem in cc-list. > > Gabor > > -- > --------------------------------------------------------- > MTA SZTAKI Computer and Automation Research Institute > Hungarian Academy of Sciences > --------------------------------------------------------- > -- 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/