Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764442AbXJSP7r (ORCPT ); Fri, 19 Oct 2007 11:59:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755627AbXJSP7k (ORCPT ); Fri, 19 Oct 2007 11:59:40 -0400 Received: from mtiwmhc12.worldnet.att.net ([204.127.131.116]:47116 "EHLO mtiwmhc12.worldnet.att.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752345AbXJSP7j (ORCPT ); Fri, 19 Oct 2007 11:59:39 -0400 Message-ID: <4718D469.2080606@lwfinger.net> Date: Fri, 19 Oct 2007 10:59:37 -0500 From: Larry Finger User-Agent: Thunderbird 2.0.0.6 (X11/20070801) MIME-Version: 1.0 To: LKML CC: Greg Kroah-Hartman , linux-usb-devel@lists.sourceforge.net Subject: Locking problem in usbserial with 2.6.23-git 5a34417f Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4331 Lines: 95 While attempting to configure a new USB modem, the following locking problem occurred. In addition, shortly after this problem occurred, the computer froze. The log data starts at the point that usbserial was loaded and contains everything that was written to disk before the machine locked up. Some info may be missing from the end of the stack dump. The system is an HP laptop running an x86_64 system. NetworkManager was used to initiate the modem connection. Dump Contents: usbcore: registered new interface driver usbserial drivers/usb/serial/usb-serial.c: USB Serial support registered for generic usbserial_generic 2-5:1.0: Generic device with no bulk out, not allowed. usbserial_generic: probe of 2-5:1.0 failed with error -5 usbserial_generic 2-5:1.1: generic converter detected usb 2-5: generic converter now attached to ttyUSB0 usbcore: registered new interface driver usbserial_generic drivers/usb/serial/usb-serial.c: USB Serial Driver core ifup: modem1 interface modem1 is up Plugin passwordfd.so loaded. PPP generic driver version 2.4.2 pppd 2.4.4 started by root, uid 0 ================================= [ INFO: inconsistent lock state ] 2.6.23-Linus-g5a34417f-dirty #27 --------------------------------- inconsistent {hardirq-on-W} -> {in-hardirq-W} usage. swapper/0 [HC1[1]:SC0[0]:HE0:SE1] takes: (&port->lock){+...}, at: [] usb_serial_generic_read_bulk_callback+0x104/0x179 [usbserial] {hardirq-on-W} state was registered at: [] mark_lock+0x8b/0x49a [] __lock_acquire+0x517/0xd4b [] usb_serial_generic_write+0x8a/0x24f [usbserial] [] lock_acquire+0x85/0xa9 [] usb_serial_generic_write+0x8a/0x24f [usbserial] [] _spin_lock_bh+0x34/0x41 [] usb_serial_generic_write+0x8a/0x24f [usbserial] [] serial_write+0xb2/0xc1 [usbserial] [] write_chan+0x292/0x317 [] default_wake_function+0x0/0xf [] tty_write+0x102/0x20b [] tty_write+0x16d/0x20b [] write_chan+0x0/0x317 [] vfs_write+0xae/0x137 [] sys_write+0x47/0x70 [] tracesys+0xdc/0xe1 [] 0xffffffffffffffff irq event stamp: 2973292 hardirqs last enabled at (2973291): [] default_idle+0x35/0x51 hardirqs last disabled at (2973292): [] trace_hardirqs_off_thunk+0x35/0x37 softirqs last enabled at (2973288): [] __do_softirq+0xe1/0xed softirqs last disabled at (2973281): [] call_softirq+0x1c/0x28 other info that might help us debug this: no locks held by swapper/0. stack backtrace: Call Trace: [] print_usage_bug+0x162/0x173 [] mark_lock+0xdb/0x49a [] __lock_acquire+0x4a8/0xd4b [] :usbserial:usb_serial_generic_read_bulk_callback+0x104/0x179 [] lock_acquire+0x85/0xa9 [] :usbserial:usb_serial_generic_read_bulk_callback+0x104/0x179 [] _spin_lock+0x2f/0x3c [] :usbserial:usb_serial_generic_read_bulk_callback+0x104/0x179 [] :usbcore:usb_hcd_giveback_urb+0x84/0x [] :ohci_hcd:finish_urb+0x74/0xb6 [] :ohci_hcd:takeback_td+0x42/0xb5 [] :ohci_hcd:dl_done_list+0x12b/0x13c [] :ohci_hcd:ohci_irq+0x19a/0x2d6 [] :usbcore:usb_hcd_irq+0x2c/0x5d [] handle_IRQ_event+0x20/0x55 [] handle_fasteoi_irq+0x9c/0xdc [] default_idle+0x0/0x51 [] do_IRQ+0x70/0xd7 [] default_idle+0x0/0x51 [] ret_from_intr+0x0/0xf [] default_idle+0x37/0x51 [] default_idle+0x35/0x51 [] cpu_idle+0x9e/0xd5 [] start_secondary+0x34c/0x35d Thanks, Larry - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/