Bug 1187468 - [abrt] WARNING: CPU: 2 PID: 100 at drivers/thunderbolt/switch.c:95 tb_wait_for_port+0x386/0x420 [thunderbolt]() [thunderbolt] [NEEDINFO]
Summary: [abrt] WARNING: CPU: 2 PID: 100 at drivers/thunderbolt/switch.c:95 tb_wait_fo...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:5deef0c9bef854e0df85fd5e3bd...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-30 06:13 UTC by Scott West
Modified: 2015-12-02 17:15 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-02 08:15:36 UTC
Type: ---
Embargoed:
kernel-team: needinfo?


Attachments (Terms of Use)
File: dmesg (117.14 KB, text/plain)
2015-01-30 06:13 UTC, Scott West
no flags Details

Description Scott West 2015-01-30 06:13:35 UTC
Description of problem:
Just ran sudo powertop --auto-tune

Additional info:
reporter:       libreport-2.3.0
WARNING: CPU: 2 PID: 100 at drivers/thunderbolt/switch.c:95 tb_wait_for_port+0x386/0x420 [thunderbolt]()
thunderbolt 0000:05:00.0: 0:0: does not have PHY
Modules linked in: crct10dif_pclmul crc32_pclmul btusb iTCO_wdt joydev iTCO_vendor_support crc32c_intel bluetooth ghash_clmulni_intel uvcvideo applesmc input_polldev videobuf2_vmalloc snd_hda_codec_hdmi rfkill videobuf2_core snd_hda_codec_cirrus videobuf2_memops snd_hda_codec_generic v4l2_common videodev bcm5974 snd_hda_intel lpc_ich snd_hda_controller media i2c_i801 mfd_core snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm bcma thunderbolt snd_timer sbs sbshc snd mei_me mei apple_bl soundcore shpchp uas usb_storage i915 i2c_algo_bit drm_kms_helper drm video
CPU: 2 PID: 100 Comm: kworker/u16:5 Not tainted 3.18.2-200.fc21.x86_64 #1
Hardware name: Apple Inc. MacBookAir5,2/Mac-2E6FAB96566FE58C, BIOS MBA51.88Z.00EF.B02.1211271028 11/27/2012
Workqueue: thunderbolt tb_handle_hotplug [thunderbolt]
 0000000000000000 00000000dc272fc1 ffff880167113c78 ffffffff8175d976
 0000000000000000 ffff880167113cd0 ffff880167113cb8 ffffffff81099181
 ffff880167113cd8 0000000000000000 ffff8801688e5630 0000000000000000
Call Trace:
 [<ffffffff8175d976>] dump_stack+0x46/0x58
thunderbolt 0000:05:00.0: resetting error on 0:b.
 [<ffffffff81099181>] warn_slowpath_common+0x81/0xa0
 [<ffffffff810991f5>] warn_slowpath_fmt+0x55/0x70
 [<ffffffffa01f54e6>] tb_wait_for_port+0x386/0x420 [thunderbolt]
 [<ffffffffa01f4787>] tb_scan_port+0x67/0x1c0 [thunderbolt]
 [<ffffffffa01f4ab1>] tb_handle_hotplug+0x1d1/0x360 [thunderbolt]
 [<ffffffff810b240d>] process_one_work+0x14d/0x400
 [<ffffffff810b2d9b>] worker_thread+0x6b/0x4a0
 [<ffffffff810b2d30>] ? rescuer_thread+0x2a0/0x2a0
 [<ffffffff810b7fea>] kthread+0xea/0x100
 [<ffffffff810b7f00>] ? kthread_create_on_node+0x1b0/0x1b0
 [<ffffffff8176463c>] ret_from_fork+0x7c/0xb0
 [<ffffffff810b7f00>] ? kthread_create_on_node+0x1b0/0x1b0

Comment 1 Scott West 2015-01-30 06:13:40 UTC
Created attachment 985853 [details]
File: dmesg

Comment 2 Changming Sun 2015-02-02 07:20:24 UTC
I can reproduce this bug on my MBP:
$ uname -a
Linux xxxxxddd.com 3.18.3-201.fc21.x86_64 #1 SMP Mon Jan 19 15:59:31 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux


$ sudo powertop --auto-tune
Loaded 0 prior measurements
RAPL device for cpu 0
RAPL Using PowerCap Sysfs : Domain Mask d
RAPL device for cpu 0
RAPL Using PowerCap Sysfs : Domain Mask d
RAPL device for cpu 0
RAPL Using PowerCap Sysfs : Domain Mask d
Devfreq not enabled
  unknown op '{'
Leaving PowerTOP
*** Error in `powertop': corrupted double-linked list: 0x00000000025d1a70 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7850e)[0x7f8fcfe4f50e]
/lib64/libc.so.6(+0x7eaf3)[0x7f8fcfe55af3]
/lib64/libc.so.6(cfree+0x9cb)[0x7f8fcfe5b57b]
powertop[0x43931a]
/lib64/libc.so.6(+0x39382)[0x7f8fcfe10382]
/lib64/libc.so.6(+0x393d5)[0x7f8fcfe103d5]
/lib64/libc.so.6(__libc_start_main+0xf7)[0x7f8fcfdf6fe7]
powertop[0x407c3c]
======= Memory map: ========
00400000-00477000 r-xp 00000000 08:06 1840705                            /usr/sbin/powertop
00676000-00677000 r--p 00076000 08:06 1840705                            /usr/sbin/powertop
00677000-00678000 rw-p 00077000 08:06 1840705                            /usr/sbin/powertop
00678000-0067b000 rw-p 00000000 00:00 0 
025b8000-03877000 rw-p 00000000 00:00 0                                  [heap]
7f8fc9446000-7f8fcf9b9000 r--p 00000000 08:06 1845215                    /usr/lib/locale/locale-archive
7f8fcf9b9000-7f8fcf9d0000 r-xp 00000000 08:06 1844696                    /usr/lib64/libresolv-2.20.so
7f8fcf9d0000-7f8fcfbcf000 ---p 00017000 08:06 1844696                    /usr/lib64/libresolv-2.20.so
7f8fcfbcf000-7f8fcfbd0000 r--p 00016000 08:06 1844696                    /usr/lib64/libresolv-2.20.so
7f8fcfbd0000-7f8fcfbd1000 rw-p 00017000 08:06 1844696                    /usr/lib64/libresolv-2.20.so
7f8fcfbd1000-7f8fcfbd3000 rw-p 00000000 00:00 0 
7f8fcfbd3000-7f8fcfbd6000 r-xp 00000000 08:06 1844685                    /usr/lib64/libdl-2.20.so
7f8fcfbd6000-7f8fcfdd5000 ---p 00003000 08:06 1844685                    /usr/lib64/libdl-2.20.so
7f8fcfdd5000-7f8fcfdd6000 r--p 00002000 08:06 1844685                    /usr/lib64/libdl-2.20.so
7f8fcfdd6000-7f8fcfdd7000 rw-p 00003000 08:06 1844685                    /usr/lib64/libdl-2.20.so
7f8fcfdd7000-7f8fcff8b000 r-xp 00000000 08:06 1844682                    /usr/lib64/libc-2.20.so
7f8fcff8b000-7f8fd018a000 ---p 001b4000 08:06 1844682                    /usr/lib64/libc-2.20.so
7f8fd018a000-7f8fd018e000 r--p 001b3000 08:06 1844682                    /usr/lib64/libc-2.20.so
7f8fd018e000-7f8fd0190000 rw-p 001b7000 08:06 1844682                    /usr/lib64/libc-2.20.so
7f8fd0190000-7f8fd0194000 rw-p 00000000 00:00 0 
7f8fd0194000-7f8fd01aa000 r-xp 00000000 08:06 1840984                    /usr/lib64/libgcc_s-4.9.2-20141101.so.1
7f8fd01aa000-7f8fd03a9000 ---p 00016000 08:06 1840984                    /usr/lib64/libgcc_s-4.9.2-20141101.so.1
7f8fd03a9000-7f8fd03aa000 r--p 00015000 08:06 1840984                    /usr/lib64/libgcc_s-4.9.2-20141101.so.1
7f8fd03aa000-7f8fd03ab000 rw-p 00016000 08:06 1840984                    /usr/lib64/libgcc_s-4.9.2-20141101.so.1
7f8fd03ab000-7f8fd04b2000 r-xp 00000000 08:06 1844686                    /usr/lib64/libm-2.20.so
7f8fd04b2000-7f8fd06b1000 ---p 00107000 08:06 1844686                    /usr/lib64/libm-2.20.so
7f8fd06b1000-7f8fd06b2000 r--p 00106000 08:06 1844686                    /usr/lib64/libm-2.20.so
7f8fd06b2000-7f8fd06b3000 rw-p 00107000 08:06 1844686                    /usr/lib64/libm-2.20.so
7f8fd06b3000-7f8fd07a3000 r-xp 00000000 08:06 1840987                    /usr/lib64/libstdc++.so.6.0.20
7f8fd07a3000-7f8fd09a3000 ---p 000f0000 08:06 1840987                    /usr/lib64/libstdc++.so.6.0.20
7f8fd09a3000-7f8fd09ab000 r--p 000f0000 08:06 1840987                    /usr/lib64/libstdc++.so.6.0.20
7f8fd09ab000-7f8fd09ad000 rw-p 000f8000 08:06 1840987                    /usr/lib64/libstdc++.so.6.0.20
7f8fd09ad000-7f8fd09c2000 rw-p 00000000 00:00 0 
7f8fd09c2000-7f8fd09d9000 r-xp 00000000 08:06 1844695                    /usr/lib64/libpthread-2.20.so
7f8fd09d9000-7f8fd0bd8000 ---p 00017000 08:06 1844695                    /usr/lib64/libpthread-2.20.so
7f8fd0bd8000-7f8fd0bd9000 r--p 00016000 08:06 1844695                    /usr/lib64/libpthread-2.20.so
7f8fd0bd9000-7f8fd0bda000 rw-p 00017000 08:06 1844695                    /usr/lib64/libpthread-2.20.so
7f8fd0bda000-7f8fd0bde000 rw-p 00000000 00:00 0 
7f8fd0bde000-7f8fd0bea000 r-xp 00000000 08:06 1842295                    /usr/lib64/libpci.so.3.3.0
7f8fd0bea000-7f8fd0de9000 ---p 0000c000 08:06 1842295                    /usr/lib64/libpci.so.3.3.0
7f8fd0de9000-7f8fd0dea000 r--p 0000b000 08:06 1842295                    /usr/lib64/libpci.so.3.3.0
7f8fd0dea000-7f8fd0deb000 rw-p 0000c000 08:06 1842295                    /usr/lib64/libpci.so.3.3.0
7f8fd0deb000-7f8fd0e12000 r-xp 00000000 08:06 1843384                    /usr/lib64/libncurses.so.5.9
7f8fd0e12000-7f8fd1011000 ---p 00027000 08:06 1843384                    /usr/lib64/libncurses.so.5.9
7f8fd1011000-7f8fd1012000 r--p 00026000 08:06 1843384                    /usr/lib64/libncurses.so.5.9
7f8fd1012000-7f8fd1013000 rw-p 00027000 08:06 1843384                    /usr/lib64/libncurses.so.5.9
7f8fd1013000-7f8fd1039000 r-xp 00000000 08:06 1843660                    /usr/lib64/libtinfo.so.5.9
7f8fd1039000-7f8fd1238000 ---p 00026000 08:06 1843660                    /usr/lib64/libtinfo.so.5.9
7f8fd1238000-7f8fd123c000 r--p 00025000 08:06 1843660                    /usr/lib64/libtinfo.so.5.9
7f8fd123c000-7f8fd123d000 rw-p 00029000 08:06 1843660                    /usr/lib64/libtinfo.so.5.9
7f8fd123d000-7f8fd1274000 r-xp 00000000 08:06 1843385                    /usr/lib64/libncursesw.so.5.9
7f8fd1274000-7f8fd1473000 ---p 00037000 08:06 1843385                    /usr/lib64/libncursesw.so.5.9
7f8fd1473000-7f8fd1474000 r--p 00036000 08:06 1843385                    /usr/lib64/libncursesw.so.5.9
7f8fd1474000-7f8fd1475000 rw-p 00037000 08:06 1843385                    /usr/lib64/libncursesw.so.5.9
7f8fd1475000-7f8fd1491000 r-xp 00000000 08:06 1839186                    /usr/lib64/libnl-3.so.200.20.0
7f8fd1491000-7f8fd1690000 ---p 0001c000 08:06 1839186                    /usr/lib64/libnl-3.so.200.20.0
7f8fd1690000-7f8fd1692000 r--p 0001b000 08:06 1839186                    /usr/lib64/libnl-3.so.200.20.0
7f8fd1692000-7f8fd1693000 rw-p 0001d000 08:06 1839186                    /usr/lib64/libnl-3.so.200.20.0
7f8fd1693000-7f8fd1698000 r-xp 00000000 08:06 1839189                    /usr/lib64/libnl-genl-3.so.200.20.0
7f8fd1698000-7f8fd1897000 ---p 00005000 08:06 1839189                    /usr/lib64/libnl-genl-3.so.200.20.0
7f8fd1897000-7f8fd1898000 r--p 00004000 08:06 1839189                    /usr/lib64/libnl-genl-3.so.200.20.0
7f8fd1898000-7f8fd1899000 rw-p 00005000 08:06 1839189                    /usr/lib64/libnl-genl-3.so.200.20.0
7f8fd1899000-7f8fd18ba000 r-xp 00000000 08:06 1836058                    /usr/lib64/ld-2.20.so
7f8fd1a8f000-7f8fd1a98000 rw-p 00000000 00:00 0 
7f8fd1aae000-7f8fd1ab0000 rw-p 00000000 00:00 0 
7f8fd1ab0000-7f8fd1ab7000 r--s 00000000 08:06 2099794                    /usr/lib64/gconv/gconv-modules.cache
7f8fd1ab7000-7f8fd1ab9000 r--p 00000000 08:06 3418062                    /usr/share/locale/en_US/LC_MESSAGES/powertop.mo
7f8fd1ab9000-7f8fd1aba000 rw-p 00000000 00:00 0 
7f8fd1aba000-7f8fd1abb000 r--p 00021000 08:06 1836058                    /usr/lib64/ld-2.20.so
7f8fd1abb000-7f8fd1abc000 rw-p 00022000 08:06 1836058                    /usr/lib64/ld-2.20.so
7f8fd1abc000-7f8fd1abd000 rw-p 00000000 00:00 0 
7ffff8226000-7ffff8247000 rw-p 00000000 00:00 0                          [stack]
7ffff82a4000-7ffff82a6000 r--p 00000000 00:00 0                          [vvar]
7ffff82a6000-7ffff82a8000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]

-----dmesg--------------
[ 1548.936069] Workqueue: thunderbolt tb_handle_hotplug [thunderbolt]
[ 1548.936071]  0000000000000000 00000000a54b3856 ffff8804559fbc08 ffffffff8175da66
[ 1548.936075]  0000000000000000 ffff8804559fbc60 ffff8804559fbc48 ffffffff81099181
[ 1548.936079]  ffff8804559fbc78 ffff880454829400 ffff88039ed68b40 ffff88008a302f60
[ 1548.936083] Call Trace:
[ 1548.936087]  [<ffffffff8175da66>] dump_stack+0x46/0x58
[ 1548.936092]  [<ffffffff81099181>] warn_slowpath_common+0x81/0xa0
[ 1548.936097]  [<ffffffff810991f5>] warn_slowpath_fmt+0x55/0x70
[ 1548.936108]  [<ffffffffa030efec>] tb_cfg_read+0x8c/0xb0 [thunderbolt]
[ 1548.936117]  [<ffffffffa03109a6>] ? tb_switch_alloc+0x46/0x820 [thunderbolt]
[ 1548.936125]  [<ffffffffa03109d7>] tb_switch_alloc+0x77/0x820 [thunderbolt]
[ 1548.936133]  [<ffffffffa0310473>] ? tb_wait_for_port+0x313/0x420 [thunderbolt]
[ 1548.936138]  [<ffffffff810d0f01>] ? put_prev_entity+0x31/0x400
[ 1548.936147]  [<ffffffffa030f856>] tb_scan_port+0x136/0x1c0 [thunderbolt]
[ 1548.936155]  [<ffffffffa030fab1>] tb_handle_hotplug+0x1d1/0x360 [thunderbolt]
[ 1548.936160]  [<ffffffff810b240d>] process_one_work+0x14d/0x400
[ 1548.936166]  [<ffffffff810b2d9b>] worker_thread+0x6b/0x4a0
[ 1548.936171]  [<ffffffff810b2d30>] ? rescuer_thread+0x2a0/0x2a0
[ 1548.936175]  [<ffffffff810b7fea>] kthread+0xea/0x100
[ 1548.936179]  [<ffffffff810b7f00>] ? kthread_create_on_node+0x1b0/0x1b0
[ 1548.936184]  [<ffffffff817646fc>] ret_from_fork+0x7c/0xb0
[ 1548.936188]  [<ffffffff810b7f00>] ? kthread_create_on_node+0x1b0/0x1b0
[ 1548.936191] ---[ end trace 63fe01962ee62722 ]---

Comment 3 Fedora Kernel Team 2015-04-28 18:31:38 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 21 kernel bugs.

Fedora 21 has now been rebased to 3.19.5-200.fc21.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you have moved on to Fedora 22, and are still experiencing this issue, please change the version to Fedora 22.

If you experience different issues, please open a new bug report for those.

Comment 4 Fedora End Of Life 2015-11-04 12:24:42 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '21'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 21 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Fedora End Of Life 2015-12-02 08:15:41 UTC
Fedora 21 changed to end-of-life (EOL) status on 2015-12-01. Fedora 21 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.