You are not logged in.

#1 2013-11-19 22:45:01

eDio
Member
From: Ukraine, Kyiv
Registered: 2008-12-02
Posts: 422

[bug] workqueue leaked lock or atomic when connecting Apple Trackpad

Hi.

Recently I reported pretty useless bug into archlinux bugtracker about system freezes caused by Apple Magic Trackpad.
https://bugs.archlinux.org/task/37587

I've been able to reproduce it and dump dmesg output to file. Now I need some help in «decoding» info from dmesg to be able to provide more info into bug ticket or even report a bug upstream
Help me decide, please, what component (hid, bluetooth, etc) causes this bug.

I'm not sure, because unloading hid_magicmouse module stops errors in dmesg. Though hci_rx_work [bluetooth] is mentioned in the log.

[ 2723.850822] BUG: workqueue leaked lock or atomic: kworker/u9:0/0xfffffffe/1692
     last function: hci_rx_work [bluetooth]
[ 2723.850826] CPU: 1 PID: 1692 Comm: kworker/u9:0 Tainted: P        W  O 3.12.0-1-ARCH #1
[ 2723.850827] Hardware name: System manufacturer P5K/P5K, BIOS 1006    03/05/2008
[ 2723.850833] Workqueue: hci0 hci_rx_work [bluetooth]
[ 2723.850835]  ffff8801a3837000 ffff8801a5239e20 ffffffff814ebffb ffff880037f19d80
[ 2723.850838]  ffff8801a5239e68 ffffffff8107dd07 00000000a3837000 ffff88018ccc1500
[ 2723.850842]  ffff8801a3837000 ffff8801a3837018 ffff880037f19db0 ffff8800ca8c88b0
[ 2723.850845] Call Trace:
[ 2723.850849]  [<ffffffff814ebffb>] dump_stack+0x54/0x8d
[ 2723.850852]  [<ffffffff8107dd07>] process_one_work+0x3a7/0x450
[ 2723.850855]  [<ffffffff8107e4d1>] worker_thread+0x121/0x3a0
[ 2723.850858]  [<ffffffff8107e3b0>] ? manage_workers.isra.23+0x2b0/0x2b0
[ 2723.850862]  [<ffffffff81084e60>] kthread+0xc0/0xd0
[ 2723.850865]  [<ffffffff81084da0>] ? kthread_create_on_node+0x120/0x120
[ 2723.850868]  [<ffffffff814faafc>] ret_from_fork+0x7c/0xb0
[ 2723.850871]  [<ffffffff81084da0>] ? kthread_create_on_node+0x120/0x120
[ 2723.850874] BUG: scheduling while atomic: kworker/u9:0/1692/0xffffffff
[ 2723.850875] Modules linked in: hid_magicmouse hidp btusb bnep xt_mac ipt_REJECT xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack iptable_filter ip_tables x_tables coretemp kvm_intel kvm iTCO_wdt iTCO_vendor_support joydev hid_generic hid_logitech_dj usbhid gpio_ich hid evdev i2c_i801 microcode nvidia(PO) serio_raw lpc_ich snd_hda_codec_realtek snd_ice1724 snd_ak4113 snd_pt2258 snd_ak4114 snd_i2c snd_ice17xx_ak4xxx snd_ak4xxx_adda snd_ac97_codec ac97_bus snd_rawmidi snd_seq_device snd_hda_intel snd_hda_codec atl1 snd_hwdep snd_pcm snd_page_alloc snd_timer snd mii drm soundcore i2c_core shpchp asus_atk0110 intel_agp intel_gtt button processor rfcomm bluetooth rfkill nf_conntrack_ftp nf_conntrack ext4 crc16 mbcache jbd2 sd_mod sr_mod cdrom ata_generic pata_acpi firewire_ohci ata_piix firewire_core
[ 2723.850922]  crc_itu_t ahci pata_jmicron libahci libata scsi_mod ehci_pci uhci_hcd ehci_hcd usbcore usb_common [last unloaded: btusb]
[ 2723.850931] CPU: 1 PID: 1692 Comm: kworker/u9:0 Tainted: P        W  O 3.12.0-1-ARCH #1
[ 2723.850932] Hardware name: System manufacturer P5K/P5K, BIOS 1006    03/05/2008
[ 2723.850937]  ffff8801afc944c0 ffff8801a5239d40 ffffffff814ebffb ffff8801a3837000
[ 2723.850940]  ffff8801a5239d50 ffffffff814e95a6 ffff8801a5239e58 ffffffff814f15df
[ 2723.850944]  00000000000144c0 ffff8801a5239fd8 ffff8801a5239fd8 00000000000144c0
[ 2723.850947] Call Trace:
[ 2723.850950]  [<ffffffff814ebffb>] dump_stack+0x54/0x8d
[ 2723.850954]  [<ffffffff814e95a6>] __schedule_bug+0x4d/0x5b
[ 2723.850957]  [<ffffffff814f15df>] __schedule+0x93f/0x950
[ 2723.850961]  [<ffffffff81016f70>] ? show_stack_log_lvl+0xd0/0x1c0
[ 2723.850964]  [<ffffffff81018245>] ? show_stack+0x25/0x50
[ 2723.850967]  [<ffffffff8107db4c>] ? process_one_work+0x1ec/0x450
[ 2723.850970]  [<ffffffff814f1619>] schedule+0x29/0x70
[ 2723.850973]  [<ffffffff8107e578>] worker_thread+0x1c8/0x3a0
[ 2723.850976]  [<ffffffff8107e3b0>] ? manage_workers.isra.23+0x2b0/0x2b0
[ 2723.850980]  [<ffffffff81084e60>] kthread+0xc0/0xd0
[ 2723.850983]  [<ffffffff81084da0>] ? kthread_create_on_node+0x120/0x120
[ 2723.850986]  [<ffffffff814faafc>] ret_from_fork+0x7c/0xb0
[ 2723.850989]  [<ffffffff81084da0>] ? kthread_create_on_node+0x120/0x120
[ 2723.861820] BUG: workqueue leaked lock or atomic: kworker/u9:0/0xfffffffe/1692
     last function: hci_rx_work [bluetooth]
[ 2723.861824] CPU: 1 PID: 1692 Comm: kworker/u9:0 Tainted: P        W  O 3.12.0-1-ARCH #1
[ 2723.861826] Hardware name: System manufacturer P5K/P5K, BIOS 1006    03/05/2008
[ 2723.861831] Workqueue: hci0 hci_rx_work [bluetooth]
[ 2723.861833]  ffff8801a3837000 ffff8801a5239e20 ffffffff814ebffb ffff880037f19d80
[ 2723.861837]  ffff8801a5239e68 ffffffff8107dd07 00000000a3837000 ffff88018ccc1500
[ 2723.861840]  ffff8801a3837000 ffff8801a3837018 ffff880037f19db0 ffff8800ca8c88b0
[ 2723.861843] Call Trace:
[ 2723.861847]  [<ffffffff814ebffb>] dump_stack+0x54/0x8d
[ 2723.861850]  [<ffffffff8107dd07>] process_one_work+0x3a7/0x450
[ 2723.861853]  [<ffffffff8107e4d1>] worker_thread+0x121/0x3a0
[ 2723.861856]  [<ffffffff8107e3b0>] ? manage_workers.isra.23+0x2b0/0x2b0
[ 2723.861859]  [<ffffffff81084e60>] kthread+0xc0/0xd0
[ 2723.861863]  [<ffffffff81084da0>] ? kthread_create_on_node+0x120/0x120
[ 2723.861866]  [<ffffffff814faafc>] ret_from_fork+0x7c/0xb0
[ 2723.861869]  [<ffffffff81084da0>] ? kthread_create_on_node+0x120/0x120
[ 2723.861872] BUG: scheduling while atomic: kworker/u9:0/1692/0xffffffff
[ 2723.861873] Modules linked in: hid_magicmouse hidp btusb bnep xt_mac ipt_REJECT xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack iptable_filter ip_tables x_tables coretemp kvm_intel kvm iTCO_wdt iTCO_vendor_support joydev hid_generic hid_logitech_dj usbhid gpio_ich hid evdev i2c_i801 microcode nvidia(PO) serio_raw lpc_ich snd_hda_codec_realtek snd_ice1724 snd_ak4113 snd_pt2258 snd_ak4114 snd_i2c snd_ice17xx_ak4xxx snd_ak4xxx_adda snd_ac97_codec ac97_bus snd_rawmidi snd_seq_device snd_hda_intel snd_hda_codec atl1 snd_hwdep snd_pcm snd_page_alloc snd_timer snd mii drm soundcore i2c_core shpchp asus_atk0110 intel_agp intel_gtt button processor rfcomm bluetooth rfkill nf_conntrack_ftp nf_conntrack ext4 crc16 mbcache jbd2 sd_mod sr_mod cdrom ata_generic pata_acpi firewire_ohci ata_piix firewire_core
[ 2723.861920]  crc_itu_t ahci pata_jmicron libahci libata scsi_mod ehci_pci uhci_hcd ehci_hcd usbcore usb_common [last unloaded: btusb]
[ 2723.861929] CPU: 1 PID: 1692 Comm: kworker/u9:0 Tainted: P        W  O 3.12.0-1-ARCH #1
[ 2723.861930] Hardware name: System manufacturer P5K/P5K, BIOS 1006    03/05/2008
[ 2723.861935]  ffff8801afc944c0 ffff8801a5239d40 ffffffff814ebffb ffff8801a3837000
[ 2723.861938]  ffff8801a5239d50 ffffffff814e95a6 ffff8801a5239e58 ffffffff814f15df
[ 2723.861941]  00000000000144c0 ffff8801a5239fd8 ffff8801a5239fd8 00000000000144c0
[ 2723.861945] Call Trace:
[ 2723.861948]  [<ffffffff814ebffb>] dump_stack+0x54/0x8d
[ 2723.861951]  [<ffffffff814e95a6>] __schedule_bug+0x4d/0x5b
[ 2723.861955]  [<ffffffff814f15df>] __schedule+0x93f/0x950
[ 2723.861958]  [<ffffffff81016f70>] ? show_stack_log_lvl+0xd0/0x1c0
[ 2723.861962]  [<ffffffff81018245>] ? show_stack+0x25/0x50
[ 2723.861965]  [<ffffffff8107db4c>] ? process_one_work+0x1ec/0x450
[ 2723.861968]  [<ffffffff814f1619>] schedule+0x29/0x70
[ 2723.861971]  [<ffffffff8107e578>] worker_thread+0x1c8/0x3a0
[ 2723.861974]  [<ffffffff8107e3b0>] ? manage_workers.isra.23+0x2b0/0x2b0
[ 2723.861977]  [<ffffffff81084e60>] kthread+0xc0/0xd0
[ 2723.861981]  [<ffffffff81084da0>] ? kthread_create_on_node+0x120/0x120
[ 2723.861983]  [<ffffffff814faafc>] ret_from_fork+0x7c/0xb0
[ 2723.861987]  [<ffffffff81084da0>] ? kthread_create_on_node+0x120/0x120

Offline

Board footer

Powered by FluxBB