Return-Path: Date: Fri, 4 Jan 2008 09:05:42 +0800 From: Dave Young To: Gabor Gombas Message-ID: <20080104010542.GA2860@darkstar.te-china.tietoenator.com> References: <20071228173203.GA20690@boogie.lpds.sztaki.hu> <20080102151642.GA7273@boogie.lpds.sztaki.hu> <20080103131620.GA16307@boogie.lpds.sztaki.hu> MIME-Version: 1.0 In-Reply-To: <20080103131620.GA16307@boogie.lpds.sztaki.hu> Cc: linux-kernel@vger.kernel.org, bluez-devel@lists.sf.net Subject: Re: [Bluez-devel] Oops involving RFCOMM and sysfs Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net On Thu, Jan 03, 2008 at 02:16:21PM +0100, Gabor Gombas wrote: > On Wed, Jan 02, 2008 at 04:16:42PM +0100, Gabor Gombas wrote: > > > So the patch referenced above does not help. But I've found a very easy > > way to trigger the bug: > > > > - do a "cat /dev/zero > /dev/rfcomm0" > > - switch the phone off > > - switch the phone on, and the kernel oopses > > FYI I also remember having oopses with 2.6.22. but I do not > have those logs anymore. Also I now booted 2.6.20.7 and it did not oops. Could you try the patch (on 2.6.24-rc6) following and check the debug messages? diff -upr linux/net/bluetooth/rfcomm/tty.c linux.new/net/bluetooth/rfcomm/tty.c --- linux/net/bluetooth/rfcomm/tty.c 2008-01-04 08:58:48.000000000 +0800 +++ linux.new/net/bluetooth/rfcomm/tty.c 2008-01-04 09:01:01.000000000 +0800 @@ -313,6 +313,7 @@ static void rfcomm_dev_del(struct rfcomm { BT_DBG("dev %p", dev); + dump_stack(); set_bit(RFCOMM_TTY_RELEASED, &dev->flags); rfcomm_dev_put(dev); } ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel