Advertisement
Guest User

Untitled

a guest
Sep 8th, 2017
445
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.56 KB | None | 0 0
  1. <3>BUG: soft lockup - CPU#0 stuck for 25s! [pppd:3976]
  2. <4>Modules linked in: i2c_bit2(P) i2c_bit1(P)
  3. <4>
  4. <4>Pid: 3976, comm: pppd
  5. <4>CPU: 0 Tainted: P (2.6.30 #2)
  6. <4>PC is at __do_softirq+0x4c/0x104
  7. <4>LR is at __do_softirq+0x38/0x104
  8. <4>pc : [<c003b988>] lr : [<c003b974>] psr: 20000013
  9. <4>sp : c39d9d50 ip : c39d9d50 fp : 00000000
  10. <4>r10: 0000000a r9 : 00000000 r8 : 00000001
  11. <4>r7 : 00000008 r6 : c39d8000 r5 : 00000000 r4 : c0304320
  12. <4>r3 : 20000013 r2 : c39d8000 r1 : 00000003 r0 : 00000000
  13. <4>Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
  14. <4>Control: 0005317f Table: 23b94000 DAC: 00000015
  15. <4>[<c0029580>] (unwind_backtrace+0x0/0xdc) from [<c005f5dc>] (softlockup_tick+0x134/0x19c)
  16. <4>[<c005f5dc>] (softlockup_tick+0x134/0x19c) from [<c0040d9c>] (update_process_times+0x2c/0x5c)
  17. <4>[<c0040d9c>] (update_process_times+0x2c/0x5c) from [<c0057180>] (tick_sched_timer+0x88/0xbc)
  18. <4>[<c0057180>] (tick_sched_timer+0x88/0xbc) from [<c004efc8>] (__run_hrtimer+0x64/0x130)
  19. <4>[<c004efc8>] (__run_hrtimer+0x64/0x130) from [<c004fd38>] (hrtimer_interrupt+0x18c/0x218)
  20. <4>[<c004fd38>] (hrtimer_interrupt+0x18c/0x218) from [<c01bfa70>] (ch2_irq+0x24/0x30)
  21. <4>[<c01bfa70>] (ch2_irq+0x24/0x30) from [<c005fc70>] (handle_IRQ_event+0x40/0x114)
  22. <4>[<c005fc70>] (handle_IRQ_event+0x40/0x114) from [<c0061aec>] (handle_level_irq+0xbc/0x138)
  23. <4>[<c0061aec>] (handle_level_irq+0xbc/0x138) from [<c0024050>] (_text+0x50/0x78)
  24. <4>[<c0024050>] (_text+0x50/0x78) from [<c0024a68>] (__irq_svc+0x48/0x8c)
  25. <4>Exception stack(0xc39d9d08 to 0xc39d9d50)
  26. <4>9d00: 00000000 00000003 c39d8000 20000013 c0304320 00000000
  27. <4>9d20: c39d8000 00000008 00000001 00000000 0000000a 00000000 c39d9d50 c39d9d50
  28. <4>9d40: c003b974 c003b988 20000013 ffffffff
  29. <4>[<c0024a68>] (__irq_svc+0x48/0x8c) from [<c003b974>] (__do_softirq+0x38/0x104)
  30. <4>[<c003b974>] (__do_softirq+0x38/0x104) from [<c003ba84>] (irq_exit+0x44/0x98)
  31. <4>[<c003ba84>] (irq_exit+0x44/0x98) from [<c0024060>] (_text+0x60/0x78)
  32. <4>[<c0024060>] (_text+0x60/0x78) from [<c0024a68>] (__irq_svc+0x48/0x8c)
  33. <4>Exception stack(0xc39d9d98 to 0xc39d9de0)
  34. <4>9d80: c030c600 800008be
  35. <4>9da0: c4868000 000f0000 c00008c2 c030c600 c3adbb60 0000013e a0000013 c397e910
  36. <4>9dc0: 00004b00 c3adbb60 0000000a c39d9de0 c015b800 c015b814 60000013 ffffffff
  37. <4>[<c0024a68>] (__irq_svc+0x48/0x8c) from [<c015b800>] (atmel_set_termios+0x1e8/0x22c)
  38. <4>[<c015b800>] (atmel_set_termios+0x1e8/0x22c) from [<c0157d70>] (uart_change_speed+0x70/0x74)
  39. <4>[<c0157d70>] (uart_change_speed+0x70/0x74) from [<c01584d8>] (uart_set_termios+0x64/0x2f8)
  40. <4>[<c01584d8>] (uart_set_termios+0x64/0x2f8) from [<c0147eec>] (change_termios+0x258/0x2d4)
  41. <4>[<c0147eec>] (change_termios+0x258/0x2d4) from [<c0148288>] (set_termios+0x1e0/0x1f4)
  42. <4>[<c0148288>] (set_termios+0x1e0/0x1f4) from [<c01483b8>] (tty_mode_ioctl+0x11c/0x418)
  43. <4>[<c01483b8>] (tty_mode_ioctl+0x11c/0x418) from [<c0143ee4>] (tty_ioctl+0x608/0x664)
  44. <4>[<c0143ee4>] (tty_ioctl+0x608/0x664) from [<c0095364>] (vfs_ioctl+0x2c/0x8c)
  45. <4>[<c0095364>] (vfs_ioctl+0x2c/0x8c) from [<c009593c>] (do_vfs_ioctl+0x268/0x2a0)
  46. <4>[<c009593c>] (do_vfs_ioctl+0x268/0x2a0) from [<c00959ac>] (sys_ioctl+0x38/0x5c)
  47. <4>[<c00959ac>] (sys_ioctl+0x38/0x5c) from [<c0024e40>] (ret_fast_syscall+0x0/0x2c)
  48.  
  49.  
  50. [frogger@hardanger:linux-2.6 (master)]$ git show 0ccad87012c6c2e7446e4dc0f0894cf182a5270a
  51. commit 0ccad87012c6c2e7446e4dc0f0894cf182a5270a
  52. Author: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
  53. Date: Tue Jun 16 17:02:03 2009 +0100
  54.  
  55. atmel_serial: fix hang in set_termios when crtscts is enabled
  56.  
  57. After enabling hardware flow control, any subsequent termios call may hang
  58. waiting for the transmitter to drain. This appears to be caused by a
  59. busy-loop in set_termios() waiting for the transmitter to become empty,
  60. which may take a very long time (or hang indefinitely) if the device at
  61. the other end is blocking us.
  62.  
  63. A quick look through the tty and serial_core code indicates that any
  64. necessary flushing (which is optional) has already been done at this
  65. point, so there's no need for the driver to flush the transmitter on its
  66. own.
  67.  
  68. Fix it by removing the busy-loop altogether.
  69.  
  70. Tested-by: Eirik Aanonsen <eaa@wprmedical.com>
  71. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
  72. Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
  73. Signed-off-by: Alan Cox <alan@linux.intel.com>
  74. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement