From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265176AbTLZNAh (ORCPT ); Fri, 26 Dec 2003 08:00:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265177AbTLZNAh (ORCPT ); Fri, 26 Dec 2003 08:00:37 -0500 Received: from caramon.arm.linux.org.uk ([212.18.232.186]:55815 "EHLO caramon.arm.linux.org.uk") by vger.kernel.org with ESMTP id S265176AbTLZNAf (ORCPT ); Fri, 26 Dec 2003 08:00:35 -0500 Date: Fri, 26 Dec 2003 13:00:31 +0000 From: Russell King To: Linux Kernel List , irda-users@lists.sourceforge.net Subject: (irda) Badness in local_bh_enable at kernel/softirq.c:121 Message-ID: <20031226130031.A14007@flint.arm.linux.org.uk> Mail-Followup-To: Linux Kernel List , irda-users@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi, I've just been testing w83977af_ir with ircomm on a NetWinder (ARM) and a Nokia mobile phone, and, while closing down the connection by exiting minicom, I saw this which looks particularly evil. I'm not sure exactly when this occurred because I was running minicom over ssh. ircomm_param_service_type(), services in common=04 ircomm_param_service_type(), resulting service type=0x04 ircomm_param_port_type(), port type=1 ircomm_param_port_type(), port type=1 ircomm_param_xon_xoff(), XON/XOFF = 0x11,0x13 ircomm_param_enq_ack(), ENQ/ACK = 0x13,0x11 ircomm_tty_check_modem_status() ircomm_tty_check_modem_status() ircomm_tty_check_modem_status() ircomm_tty_check_modem_status() ircomm_tty_close() ircomm_tty_shutdown() ircomm_tty_detach_cable() Badness in local_bh_enable at kernel/softirq.c:121 [] (local_bh_enable+0x0/0x84) from [] (dev_queue_xmit+0x108/0x20c) [] (dev_queue_xmit+0x0/0x20c) from [] (irlap_send_data_primary_poll+0xdc/0x1c4 [irda]) [] (irlap_send_data_primary_poll+0x0/0x1c4 [irda]) from [] (irlap_state_xmit_p+0x1a4/0x308 [irda]) [] (irlap_state_xmit_p+0x0/0x308 [irda]) from [] (irlap_do_event+0xd8/0x1f0 [irda]) [] (irlap_do_event+0x0/0x1f0 [irda]) from [] (irlap_data_request+0x174/0x1a8 [irda]) [] (irlap_data_request+0x0/0x1a8 [irda]) from [] (irlmp_state_dtr+0x17c/0x328 [irda]) [] (irlmp_state_dtr+0x0/0x328 [irda]) from [] (irlmp_do_lsap_event+0xb8/0xe8 [irda]) [] (irlmp_do_lsap_event+0x0/0xe8 [irda]) from [] (irlmp_disconnect_request+0x138/0x2f0 [irda]) [] (irlmp_disconnect_request+0x0/0x2f0 [irda]) from [] (irttp_disconnect_request+0x220/0x274 [irda]) [] (irttp_disconnect_request+0x0/0x274 [irda]) from [] (ircomm_state_conn+0xbc/0xf0 [ircomm]) [] (ircomm_state_conn+0x0/0xf0 [ircomm]) from [] (ircomm_do_event+0x6c/0x88 [ircomm]) [] (ircomm_do_event+0x0/0x88 [ircomm]) from [] (ircomm_disconnect_request+0x94/0xc0 [ircomm]) [] (ircomm_disconnect_request+0x0/0xc0 [ircomm]) from [] (ircomm_tty_state_ready+0x58/0xfc [ircomm_tty]) [] (ircomm_tty_state_ready+0x0/0xfc [ircomm_tty]) from [] (ircomm_tty_do_event+0xc0/0xf4 [ircomm_tty]) [] (ircomm_tty_do_event+0x0/0xf4 [ircomm_tty]) from [] (ircomm_tty_detach_cable+0xcc/0x10c [ircomm_tty]) [] (ircomm_tty_detach_cable+0x0/0x10c [ircomm_tty]) from [] (ircomm_tty_shutdown+0x128/0x178 [ircomm_tty]) [] (ircomm_tty_shutdown+0x0/0x178 [ircomm_tty]) from [] (ircomm_tty_close+0x15c/0x240 [ircomm_tty]) [] (ircomm_tty_close+0x0/0x240 [ircomm_tty]) from [] (release_dev+0x1d8/0x5a4) [] (release_dev+0x0/0x5a4) from [] (tty_release+0x14/0x1c) [] (tty_release+0x0/0x1c) from [] (__fput+0x58/0x13c) [] (__fput+0x0/0x13c) from [] (filp_close+0x84/0x90) [] (filp_close+0x0/0x90) from [] (ret_fast_syscall+0x0/0x2c) ircomm_close() Obviously, uniprocessor configuration, irda built completely modular. -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/ 2.6 Serial core