Return-Path: From: Bastien Nocera To: bluez-devel@lists.sourceforge.net In-Reply-To: <1141188501.29216.1.camel@localhost> References: <20060222091231.GM19185@null.research.nokia.com> <1140607245.4519.7.camel@localhost> <20060222125425.GQ19185@null.research.nokia.com> <20060224110357.GT19185@null.research.nokia.com> <1141188501.29216.1.camel@localhost> Date: Sun, 27 May 2007 12:30:56 +0100 Message-Id: <1180265456.3030.9.camel@cookie.hadess.net> Mime-Version: 1.0 Subject: Re: [Bluez-devel] Soft lockup 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 Wed, 2006-03-01 at 05:48 +0100, Marcel Holtmann wrote: > Hi Ville, > > > Now I have more information about this problem. > > > > I had debuggin enabled in net/bluetooth/rfcomm/core.c and I noticed that > > for some reson rfcomm_dlc_clear_timer() is called for allready freed > > dlc and lock_timer_base() gets stuck because it's trying to use invalid > > timer pointer. I also tried to reproduce bug in i386 without success. > > Also then debugging is on the bug much harder to reproduse. To me this > > looks like dlc locking doens't work as it should work. > > > > And other notice. rfcomm_dlc_clear_timeri() uses timer_pending() > > together with del_timer() which allready calls timer_pending(). So > > timer_pending() is useless in rfcomm_dlc_clear_timer(). > > this all looks like we are missing a memory barrier somewhere. This > could also be the reason why it only gets triggered on OMAP systems. Any > further ideas? I'm getting the same kind of trace (on both x86-64 and i386) when testing the gnome-vfs2-obexftp package with a patch to use the new serial service[1]. It happens on 2.6.19-1.2895.fc6 (x86-64) and 2.6.21-1.3191.fc7 (i386). Here's what I could capture from the i386 crash: BUG warning at lib/kref.c:32/kref_get() kref_get kobject_get get_device device_move rfcomm_tty_close release_dev rfcomm_dlc_send rfcomm_tty_write file_has_perm tty_release __fput filp_close sys_close syscall_call wext_handle_ioctl BUG unable to handle kernel paging request at virtual address ffffffff rfcomm_dlc_send rfcomm_dlc_write file_has_perm tty_release __fput filp_close sys_close syscall_call wext_handle_ioctl BUG unable to handle kernel paging request at virtual address ffffffff last sysfs file: /class/tty/rfcomm0/dev [... Memory corruption dump] The ffffffff address is the one in the actual oops. [1]: Package at: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=231005 -- Bastien Nocera ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel