From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?RXJpYyBCw6luYXJk?= Subject: Re: [PATCH 2/2] n_gsm: add a documentation Date: Tue, 08 Mar 2011 01:27:28 +0100 Message-ID: <4D7577F0.2030901@eukrea.com> References: <1299543872-14580-1-git-send-email-eric@eukrea.com> <1299543872-14580-2-git-send-email-eric@eukrea.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from smtp3-g21.free.fr ([212.27.42.3]:42685 "EHLO smtp3-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752323Ab1CHA1g (ORCPT ); Mon, 7 Mar 2011 19:27:36 -0500 In-Reply-To: <1299543872-14580-2-git-send-email-eric@eukrea.com> Sender: linux-serial-owner@vger.kernel.org List-Id: linux-serial@vger.kernel.org To: linux-serial@vger.kernel.org Cc: alan@lxorguk.ukuu.org.uk Hi, On 08/03/2011 01:24, Eric B=C3=A9nard wrote: > +6- first close all virtual ports before closing the physical port. > + here is what I get when closing the physical serial port and when a vir= tual=20 port is still open : [ 1051.950000] ------------[ cut here ]------------ [ 1051.950000] WARNING: at drivers/tty/tty_mutex.c:31 tty_lock+0x30/0x5= 0() [ 1051.960000] Modules linked in: [ 1051.960000] [] (unwind_backtrace+0x0/0xe4) from []=20 (warn_slowpath_common+0x4c/0x64) [ 1051.970000] [] (warn_slowpath_common+0x4c/0x64) from []=20 (warn_slowpath_null+0x18/0x1c) [ 1051.980000] [] (warn_slowpath_null+0x18/0x1c) from []=20 (tty_lock+0x30/0x50) [ 1051.990000] [] (tty_lock+0x30/0x50) from []=20 (__tty_hangup+0x78/0x47c) [ 1052.000000] [] (__tty_hangup+0x78/0x47c) from []= =20 (gsm_cleanup_mux+0x198/0x214) [ 1052.010000] [] (gsm_cleanup_mux+0x198/0x214) from []=20 (gsmld_close+0x28/0x4c) [ 1052.020000] [] (gsmld_close+0x28/0x4c) from []=20 (tty_ldisc_close+0x58/0x64) [ 1052.030000] [] (tty_ldisc_close+0x58/0x64) from []=20 (tty_ldisc_release+0x38/0x70) [ 1052.040000] [] (tty_ldisc_release+0x38/0x70) from []=20 (tty_release+0x41c/0x480) [ 1052.050000] [] (tty_release+0x41c/0x480) from []= =20 (fput+0x108/0x200) [ 1052.060000] [] (fput+0x108/0x200) from []=20 (filp_close+0x60/0x6c) [ 1052.070000] [] (filp_close+0x60/0x6c) from []=20 (put_files_struct+0x80/0xdc) [ 1052.080000] [] (put_files_struct+0x80/0xdc) from []=20 (do_exit+0x1b8/0x6bc) [ 1052.080000] [] (do_exit+0x1b8/0x6bc) from []=20 (do_group_exit+0xc0/0xf4) [ 1052.090000] [] (do_group_exit+0xc0/0xf4) from []= =20 (get_signal_to_deliver+0x3ac/0x40c) [ 1052.100000] [] (get_signal_to_deliver+0x3ac/0x40c) from=20 [] (do_signal+0x68/0x614) [ 1052.110000] [] (do_signal+0x68/0x614) from []=20 (do_notify_resume+0x18/0x60) [ 1052.120000] [] (do_notify_resume+0x18/0x60) from []=20 (work_pending+0x24/0x28) [ 1052.130000] ---[ end trace ac06c34c1914deef ]--- Eric -- To unsubscribe from this list: send the line "unsubscribe linux-serial"= in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html