Guest User

FTDI_SIO deadlock debug files

a guest
Apr 24th, 2014
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ========================== DMESG =================================
  2.  
  3. [62640.105166] INFO: task XXXXXXX:2336 blocked for more than 120 seconds.
  4. [62640.105279] Not tainted 3.14.0-XXXXXX+ #3
  5. [62640.105349] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
  6. [62640.105452] XXXXXXX D de7c8000 0 2336 2266 0x00000000
  7. [62640.105564] de7d1e5c 00200086 c17d8de0 de7c8000 de7d1e00 c17d8de0 00200246 c17d8e00
  8. [62640.105758] de7d1e44 de7c8000 de7d1fec de7c8000 c179b560 00200246 c17d8e00 de7d1e44
  9. [62640.105983] de7c8000 0000007b c104eb7e c17d0000 00000000 ffffffcf c154c2d5 de7d1e44
  10. [62640.106249] Call Trace:
  11. [62640.106345] [<c104eb7e>] ? preempt_count_sub+0xb/0xac
  12. [62640.106436] [<c154c2d5>] ? _raw_spin_unlock_irqrestore+0x27/0x45
  13. [62640.106531] [<c154c2df>] ? _raw_spin_unlock_irqrestore+0x31/0x45
  14. [62640.106634] [<c1055899>] ? prepare_to_wait_event+0x60/0xb5
  15. [62640.106727] [<c134af26>] ? usb_put_dev+0x14/0x16
  16. [62640.106818] [<c1548be3>] schedule+0x22/0x54
  17. [62640.106934] [<c1353ac1>] usb_kill_urb+0x51/0x80
  18. [62640.107019] [<c10554a7>] ? bit_waitqueue+0x54/0x54
  19. [62640.107189] [<dfff1408>] usb_serial_generic_close+0x63/0x72 [usbserial]
  20. [62640.107301] [<dffef01f>] serial_port_shutdown+0x1f/0x21 [usbserial]
  21. [62640.107405] [<c12c0307>] tty_port_shutdown+0x5b/0x7c
  22. [62640.107496] [<c12c0a43>] tty_port_close+0x20/0x3d
  23. [62640.107592] [<dffef595>] serial_close+0x23/0x25 [usbserial]
  24. [62640.107683] [<c12b94c0>] tty_release+0xa4/0x52a
  25. [62640.107767] [<c1116a63>] ? locks_remove_posix+0xe/0x94
  26. [62640.107858] [<c105d432>] ? do_raw_spin_unlock+0x9/0x78
  27. [62640.107978] [<c110c40f>] ? fsnotify+0xe/0x287
  28. [62640.108111] [<c110c40f>] ? fsnotify+0xe/0x287
  29. [62640.108209] [<c10d791e>] __fput+0x89/0x1ec
  30. [62640.108293] [<c10d7ab5>] ____fput+0xd/0xf
  31. [62640.108371] [<c1044225>] task_work_run+0x66/0x89
  32. [62640.108457] [<c1001f2b>] do_notify_resume+0x5c/0x5e
  33. [62640.108542] [<c154c759>] ? syscall_exit+0x8/0x1b
  34. [62640.108625] [<c154c812>] work_notifysig+0x24/0x2a
  35. [62640.108714] [<c1540000>] ? set_gssp_clnt+0xb3/0x125
  36. [62640.108792] 2 locks held by SAXIOMgr/2336:
  37. [62640.108884] #0: (&tty->legacy_mutex){......}, at: [<c154c580>] tty_lock_nested+0x37/0x80
  38. [62640.111449] #1: (&port->mutex){......}, at: [<c12c02ca>] tty_port_shutdown+0x1e/0x7c
  39.  
  40. ===================================== DEBUGFS =========================================
  41.  
  42. # mount -t debugfs none /sys/kernel/debug/
  43. root@LCU:~# ls -l /sys/kernel/debug/usb/
  44. -r--r--r-- 1 root root 0 Jan 1 00:00 devices
  45. drwxr-xr-x 3 root root 0 Jan 1 00:00 ohci
  46. root@LCU:~# ls -l /sys/kernel/debug/usb/ohci/
  47. drwxr-xr-x 2 root root 0 Jan 1 00:00 0000:00:0f.4
  48. root@LCU:~# ls -l /sys/kernel/debug/usb/ohci/0000\:00\:0f.4/
  49. -r--r--r-- 1 root root 0 Jan 1 00:00 async
  50. -r--r--r-- 1 root root 0 Jan 1 00:00 periodic
  51. -r--r--r-- 1 root root 0 Jan 1 00:00 registers
  52.  
  53. # cat /sys/kernel/debug/usb/devices
  54.  
  55. T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 4
  56. B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
  57. D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
  58. P: Vendor=1d6b ProdID=0001 Rev= 3.14
  59. S: Manufacturer=Linux 3.14.0-XXXXXX+ ohci_hcd
  60. S: Product=OHCI PCI host controller
  61. S: SerialNumber=0000:00:0f.4
  62. C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
  63. I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
  64. E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
  65.  
  66. T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
  67. D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
  68. P: Vendor=0403 ProdID=6015 Rev=10.00
  69. S: Manufacturer=XXXXXX
  70. S: Product=XXXXXX
  71. S: SerialNumber=XXXXXX
  72. C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 90mA
  73. I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=ftdi_sio
  74. E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
  75. E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
  76.  
  77. T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 4
  78. B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
  79. D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
  80. P: Vendor=1d6b ProdID=0002 Rev= 3.14
  81. S: Manufacturer=Linux 3.14.0-XXXXXXX+ ehci_hcd
  82. S: Product=EHCI Host Controller
  83. S: SerialNumber=0000:00:0f.5
  84. C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
  85. I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
  86. E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
  87.  
  88.  
  89. # for file in /sys/kernel/debug/usb/ohci/0000\:00\:0f.4/*; do echo "== ${file} =="; cat ${file}; echo; done
  90. == /sys/kernel/debug/usb/ohci/0000:00:0f.4/async ==
  91.  
  92. == /sys/kernel/debug/usb/ohci/0000:00:0f.4/periodic ==
  93. size = 32
  94.  
  95. == /sys/kernel/debug/usb/ohci/0000:00:0f.4/registers ==
  96. bus pci, device 0000:00:0f.4
  97. OHCI PCI host controller
  98. ohci_hcd
  99. OHCI 1.0, NO legacy support registers, rh state running
  100. control 0x283 RWC HCFS=operational CBSR=3
  101. cmdstatus 0x00000 SOC=0
  102. intrstatus 0x00000020 FNO
  103. intrenable 0x8000005e MIE RHSC UE RD SF WDH
  104. ed_controlhead 00157000
  105. ed_bulkhead 00157040
  106. hcca frame 0xa41f
  107. fmintvl 0xa7782edf FIT FSMPS=0xa778 FI=0x2edf
  108. fmremaining 0x8000059a FRT FR=0x059a
  109. periodicstart 0x2a2f
  110. lsthresh 0x0628
  111. hub poll timer off
  112. roothub.a 03000204 POTPGT=3 NPS NDP=4(4)
  113. roothub.b 00000000 PPCM=0000 DR=0000
  114. roothub.status 00008000 DRWE
  115. roothub.portstatus [0] 0x00000103 PPS PES CCS
  116. roothub.portstatus [1] 0x00000100 PPS
  117. roothub.portstatus [2] 0x00000100 PPS
  118. roothub.portstatus [3] 0x00000100 PPS
Advertisement
Add Comment
Please, Sign In to add comment