From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754555AbYCIVQh (ORCPT ); Sun, 9 Mar 2008 17:16:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751309AbYCIVQ3 (ORCPT ); Sun, 9 Mar 2008 17:16:29 -0400 Received: from ns2.g-housing.de ([81.169.133.75]:39420 "EHLO mail.g-house.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751002AbYCIVQ3 (ORCPT ); Sun, 9 Mar 2008 17:16:29 -0400 Date: Sun, 9 Mar 2008 22:16:24 +0100 (CET) From: Christian Kujau X-X-Sender: evil@sheep.housecafe.de To: bruno.roussel@free.fr cc: LKML , i2c@lm-sensors.org, jikos@jikos.cz Subject: Re: possible recursive locking detected In-Reply-To: <1205082504.47d41988f0db5@imp.free.fr> Message-ID: References: <1205082504.47d41988f0db5@imp.free.fr> User-Agent: Alpine 1.00 (DEB 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 9 Mar 2008, bruno.roussel@free.fr wrote: > I have this report in dmesg : > > saa7146_vv: saa7146 (0): registered device video0 [v4l2] > saa7146_vv: saa7146 (0): registered device vbi0 [v4l2] > usb-storage: device found at 2 > usb-storage: waiting for device to settle before scanning > dvb-usb: found a 'Hauppauge WinTV-NOVA-T usb2' in warm state. > dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer. > DVB: registering new adapter (Hauppauge WinTV-NOVA-T usb2) > dvb-usb: MAC address: 00:0d:fe:00:00:00 > DVB: registering frontend 1 (DiBcom 3000MC/P)... > > ============================================= > [ INFO: possible recursive locking detected ] > 2.6.24.2-1mdv #1 > --------------------------------------------- Hm, strange: a similiar looking issue has been reported back in 2006, it even comes with a patch: http://lkml.org/lkml/2006/10/14/38 ..but I cannot tell if the patch made it into mainline. I've Cc'ed the i2c folks, maybe they can tell what's going on here. C. > modprobe/2082 is trying to acquire lock: > (&adap->bus_lock){--..}, at: [] i2c_transfer+0x2c/0x4b [i2c_core] > > but task is already holding lock: > (&adap->bus_lock){--..}, at: [] i2c_transfer+0x2c/0x4b [i2c_core] > > other info that might help us debug this: > 1 lock held by modprobe/2082: > #0: (&adap->bus_lock){--..}, at: [] i2c_transfer+0x2c/0x4b > [i2c_core] > > stack backtrace: > Pid: 2082, comm: modprobe Not tainted 2.6.24.2-1mdv #1 > [] show_trace_log_lvl+0x1a/0x2f > [] show_trace+0x12/0x14 > [] dump_stack+0x6a/0x70 > [] __lock_acquire+0x16b/0xc32 > [] lock_acquire+0x70/0x92 > [] mutex_lock_nested+0xf9/0x2a4 > [] i2c_transfer+0x2c/0x4b [i2c_core] > [] dibx000_i2c_gated_tuner_xfer+0x172/0x18c [dibx000_common] > [] i2c_transfer+0x39/0x4b [i2c_core] > [] mt2060_readreg+0x48/0x68 [mt2060] > [] mt2060_attach+0x49/0x1ef [mt2060] > [] dibusb_dib3000mc_tuner_attach+0x145/0x1fb [dvb_usb_dibusb_common] > [] dvb_usb_adapter_frontend_init+0xc4/0xe8 [dvb_usb] > [] dvb_usb_device_init+0x3e8/0x4ce [dvb_usb] > [] nova_t_probe+0x1c/0x1e [dvb_usb_nova_t_usb2] > [] usb_probe_interface+0xd5/0x112 [usbcore] > [] driver_probe_device+0xca/0x14d > [] __driver_attach+0x4a/0x7f > [] bus_for_each_dev+0x38/0x5a > [] driver_attach+0x19/0x1b > [] bus_add_driver+0x76/0x194 > [] driver_register+0x67/0x6c > [] usb_register_driver+0x7e/0xe5 [usbcore] > [] nova_t_module_init+0x1b/0x38 [dvb_usb_nova_t_usb2] > [] sys_init_module+0x12c6/0x1394 > [] sysenter_past_esp+0x6b/0xc9 > ======================= > input: IR-receiver inside an USB DVB receiver as /class/input/input2 > dvb-usb: schedule remote query interval to 100 msecs. > dvb-usb: Hauppauge WinTV-NOVA-T usb2 successfully initialized and connected. > usbcore: registered new interface driver dvb_usb_nova_t_usb2 > DVB: registering frontend 0 (ST STV0299 DVB-S)... > input: DVB on-card IR receiver as /class/input/input3 > dvb-ttpci: found av7110-0. > -- -- BOFH excuse #274: It was OK before you touched it.