Re: [Fwd: 2.6.31-rc3: circular locking: option_resume / usb_extern,al_resume_device]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ming Lei wrote:
2009/7/27 Thiemo Nagel <thiemo.nagel@xxxxxxxxx>:

[ 3343.551575]
[ 3343.551575] -> #0 (&port->mutex){+.+...}:
[ 3343.551575]        [<c104fcbe>] __lock_acquire+0x8af/0xb0c
[ 3343.551575]        [<c104ffc3>] lock_acquire+0xa8/0xc5
[ 3343.551575]        [<c126acb0>] __mutex_lock_common+0x3e/0x390
[ 3343.551575]        [<c126b08b>] mutex_lock_nested+0x29/0x31
[ 3343.551575]        [<f8274322>] option_resume+0xd9/0x16f [option]
[ 3343.551575]        [<f82c282c>] usb_serial_resume+0x1e/0x29 [usbserial]
[ 3343.551575]        [<c11c23b2>] usb_resume_interface+0xbf/0x12a
[ 3343.551575]        [<c11c2813>] usb_resume_both+0xe6/0x108
[ 3343.551575]        [<c11c314e>] usb_external_resume_device+0x2e/0x60
[ 3343.551575]        [<c11c5aa9>] set_level+0xba/0x140
[ 3343.551575]        [<c11a78af>] dev_attr_store+0x1b/0x23
[ 3343.551575]        [<c10f099a>] sysfs_write_file+0xb9/0xe4
[ 3343.551575]        [<c10ae820>] vfs_write+0x84/0xdf
[ 3343.551575]        [<c10ae914>] sys_write+0x3b/0x60
[ 3343.551575]        [<c1002f04>] sysenter_do_call+0x12/0x32
[ 3343.551575]        [<ffffffff>] 0xffffffff
[ 3343.551575]

port->mutex has been removed from option_resume by Oliver's patch:

       http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/usb/usb-serial-full-autosuspend-support-for-the-option-driver.patch

so this may cut off the lock dependency on port->mutex, would you mind
testing against greg-kh tree or next tree?

Is it safe to apply that patch against 2.6.31-rc4? If yes, I'd rather try that.

Kind regards,

Thiemo

--
+-----------------------------------+--------------------------+
| Dipl.-Phys. Thiemo Nagel          |                          |
| Technische Universitaet Muenchen  | Room    PH1 3276         |
| Physik-Department E18             |                          |
| James-Franck-Strasse              | Phone  +49 89 289-12379  |
| D-85747 Garching                  | Fax    +49 89 289-12570  |
+-----------------------------------+--------------------------+
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux