Bug#874641: linux-image-4.9.0-3-amd64: system freezes when disconnecting bluetooth mouse sometimes

2017-11-07 Thread Matthew Harm Bekkema
Control: reassign -1 linux-image-4.9.0-4-amd64 
linux-image-4.9.0-4-amd64/4.9.51-1

It happened again today. Here's the log:

Nov 07 18:12:08 thorium kernel: [ cut here ]
Nov 07 18:12:08 thorium kernel: WARNING: CPU: 3 PID: 691 at 
/build/linux-EAZfyE/linux-4.9.51/lib/list_debug.c:29 __list_add+0x5c/0xb0
Nov 07 18:12:08 thorium kernel: list_add corruption. next->prev should be prev 
(95b64c652148), but was dead0200. (next=aa90c9337e78).
Nov 07 18:12:08 thorium kernel: Modules linked in: uinput rfcomm hidp fuse bnep 
ip6table_filter ip6_tables xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 
xt_conntrack nf_conntrack iptable_filter binfmt_misc intel_rapl 
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass arc4 
snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic ath9k 
intel_cstate ath9k_common ath9k_hw ath mac80211 iTCO_wdt eeepc_wmi asus_wmi 
iTCO_vendor_support sparse_keymap intel_uncore efi_pstore btusb btrtl 
intel_rapl_perf btbcm snd_hda_intel btintel cfg80211 bluetooth snd_hda_codec 
snd_hda_core snd_hwdep joydev snd_pcm evdev rfkill serio_raw efivars i915 sg 
snd_timer snd drm_kms_helper soundcore drm mei_me video battery mei 
i2c_algo_bit shpchp wmi ie31200_edac lpc_ich mfd_core edac_core button sunrpc 
efivarfs ip_tables x_tables
Nov 07 18:12:09 thorium kernel:  autofs4 ext4 crc16 jbd2 crc32c_generic 
fscrypto ecb mbcache algif_skcipher af_alg dm_crypt dm_mod hid_generic usbhid 
hid sr_mod cdrom sd_mod uas usb_storage crct10dif_pclmul crc32_pclmul 
crc32c_intel ahci libahci libata ghash_clmulni_intel scsi_mod aesni_intel 
aes_x86_64 lrw gf128mul psmouse glue_helper ablk_helper cryptd xhci_pci 
ehci_pci xhci_hcd ehci_hcd i2c_i801 i2c_smbus r8169 mii usbcore usb_common fan 
thermal
Nov 07 18:12:09 thorium kernel: CPU: 3 PID: 691 Comm: bluetoothd Not tainted 
4.9.0-4-amd64 #1 Debian 4.9.51-1
Nov 07 18:12:09 thorium kernel: Hardware name: System manufacturer System 
Product Name/P8Z77-V LX, BIOS 0610 05/08/2012
Nov 07 18:12:09 thorium kernel:   a8729974 
aa90c21c7a20 
Nov 07 18:12:09 thorium kernel:  a8476eae 95b40f276178 
aa90c21c7a78 aa90c9337e78
Nov 07 18:12:09 thorium kernel:  aa90c21c7c6c  
aa90c21c7bec a8476f2f
Nov 07 18:12:09 thorium kernel: Call Trace:
Nov 07 18:12:09 thorium kernel:  [] ? dump_stack+0x5c/0x78
Nov 07 18:12:09 thorium kernel:  [] ? __warn+0xbe/0xe0
Nov 07 18:12:09 thorium kernel:  [] ? 
warn_slowpath_fmt+0x5f/0x80
Nov 07 18:12:09 thorium kernel:  [] ? __list_add+0x5c/0xb0
Nov 07 18:12:09 thorium kernel:  [] ? add_wait_queue+0x2b/0x40
Nov 07 18:12:09 thorium kernel:  [] ? bt_sock_poll+0x3a/0x1c0 
[bluetooth]
Nov 07 18:12:09 thorium kernel:  [] ? sock_poll+0x79/0x90
Nov 07 18:12:09 thorium kernel:  [] ? do_sys_poll+0x26e/0x550
Nov 07 18:12:09 thorium kernel:  [] ? poll_initwait+0x40/0x40
Nov 07 18:12:09 thorium kernel:  [] ? 
poll_select_copy_remaining+0x150/0x150
Nov 07 18:12:09 thorium kernel:  [] ? 
poll_select_copy_remaining+0x150/0x150
Nov 07 18:12:09 thorium kernel:  [] ? 
poll_select_copy_remaining+0x150/0x150
Nov 07 18:12:09 thorium kernel:  [] ? 
poll_select_copy_remaining+0x150/0x150
Nov 07 18:12:09 thorium kernel:  [] ? 
poll_select_copy_remaining+0x150/0x150
Nov 07 18:12:09 thorium kernel:  [] ? 
poll_select_copy_remaining+0x150/0x150
Nov 07 18:12:09 thorium kernel:  [] ? 
poll_select_copy_remaining+0x150/0x150
Nov 07 18:12:09 thorium kernel:  [] ? 
poll_select_copy_remaining+0x150/0x150
Nov 07 18:12:09 thorium kernel:  [] ? 
poll_select_copy_remaining+0x150/0x150
Nov 07 18:12:09 thorium kernel:  [] ? SyS_poll+0xdf/0x120
Nov 07 18:12:09 thorium kernel:  [] ? 
system_call_fast_compare_end+0xc/0x9b
Nov 07 18:12:09 thorium kernel: ---[ end trace 4e01b8f83082745e ]---
Nov 07 18:12:09 thorium kernel: general protection fault:  [#1] SMP
Nov 07 18:12:09 thorium kernel: Modules linked in: uinput rfcomm hidp fuse bnep 
ip6table_filter ip6_tables xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 
xt_conntrack nf_conntrack iptable_filter binfmt_misc intel_rapl 
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass arc4 
snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic ath9k 
intel_cstate ath9k_common ath9k_hw ath mac80211 iTCO_wdt eeepc_wmi asus_wmi 
iTCO_vendor_support sparse_keymap intel_uncore efi_pstore btusb btrtl 
intel_rapl_perf btbcm snd_hda_intel btintel cfg80211 bluetooth snd_hda_codec 
snd_hda_core snd_hwdep joydev snd_pcm evdev rfkill serio_raw efivars i915 sg 
snd_timer snd drm_kms_helper soundcore drm mei_me video battery mei 
i2c_algo_bit shpchp wmi ie31200_edac lpc_ich mfd_core edac_core button sunrpc 
efivarfs ip_tables x_tables
Nov 07 18:12:09 thorium kernel:  autofs4 ext4 crc16 jbd2 crc32c_generic 
fscrypto ecb mbcache algif_skcipher af_alg dm_crypt dm_mod hid_generic usbhid 
hid sr_mod cdrom sd_mod uas usb_storage crct10dif_pclmul crc32_pclmul 
crc32c_intel ahci libahci 

Bug#874641: linux-image-4.9.0-3-amd64: system freezes when disconnecting bluetooth mouse sometimes

2017-09-08 Thread Matthew Harm Bekkema
Package: src:linux
Version: 4.9.30-2+deb9u3
Severity: normal

Sometimes, disconnecting my bluetooth mouse causes my entire system to freeze. I
cannot even ssh in and need to hard reboot the computer. It doesn't happen all
the time. 99% of the time, when I disconnect my mouse, the computer does not
crash.

So far, this has happened around 6 times, but this is the first time that it
left any messages in the syslog.


-- Package-specific info:
** Version:
Linux version 4.9.0-3-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 
20170516 (Debian 6.3.0-18) ) #1 SMP Debian 4.9.30-2+deb9u3 (2017-08-06)

** Command line:
BOOT_IMAGE=/vmlinuz ro root=/dev/mapper/sda_crypt

** Not tainted

** Kernel log:
Sep  8 20:32:45 thorium kernel: [165282.673872] [ cut here 
]
Sep  8 20:32:45 thorium kernel: [165282.673879] WARNING: CPU: 0 PID: 704 at 
/build/linux-me40Ry/linux-4.9.30/lib/list_debug.c:29 __list_add+0x5c/0xb0
Sep  8 20:32:45 thorium kernel: [165282.673881] list_add corruption. next->prev 
should be prev (8b70b2e634c8), but was dead0200. 
(next=9f28c3f77e58).
Sep  8 20:32:45 thorium kernel: [165282.673882] Modules linked in: uinput hidp 
rfcomm fuse bnep ip6table_filter ip6_tables xt_tcpudp nf_conntrack_ipv4 
nf_defrag_ipv4 xt_conntrack nf_conntrack iptable_filter binfmt_misc intel_rapl 
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass 
efi_pstore arc4 intel_cstate iTCO_wdt iTCO_vendor_support eeepc_wmi asus_wmi 
sparse_keymap snd_hda_codec_hdmi snd_hda_codec_realtek intel_uncore ath9k i915 
snd_hda_codec_generic ath9k_common intel_rapl_perf ath9k_hw ath mac80211 
efivars snd_hda_intel serio_raw snd_hda_codec btusb snd_hda_core btrtl btbcm 
snd_hwdep btintel snd_pcm drm_kms_helper ie31200_edac cfg80211 drm bluetooth 
evdev joydev snd_timer snd rfkill mei_me sg i2c_algo_bit soundcore mei lpc_ich 
shpchp mfd_core edac_core battery wmi video button sunrpc efivarfs ip_tables 
x_tables
Sep  8 20:32:45 thorium kernel: [165282.673919]  autofs4 ext4 crc16 jbd2 
crc32c_generic fscrypto ecb mbcache algif_skcipher af_alg dm_crypt dm_mod 
hid_generic usbhid hid sr_mod cdrom sd_mod uas usb_storage crct10dif_pclmul 
crc32_pclmul crc32c_intel ahci libahci xhci_pci xhci_hcd ghash_clmulni_intel 
aesni_intel ehci_pci aes_x86_64 lrw gf128mul glue_helper ehci_hcd ablk_helper 
cryptd psmouse i2c_i801 i2c_smbus libata scsi_mod r8169 usbcore mii usb_common 
fan thermal
Sep  8 20:32:45 thorium kernel: [165282.673941] CPU: 0 PID: 704 Comm: 
bluetoothd Not tainted 4.9.0-3-amd64 #1 Debian 4.9.30-2+deb9u3
Sep  8 20:32:45 thorium kernel: [165282.673943] Hardware name: System 
manufacturer System Product Name/P8Z77-V LX, BIOS 0610 05/08/2012
Sep  8 20:32:45 thorium kernel: [165282.673945]   
9cf28574 9f28c20eba20 
Sep  8 20:32:45 thorium kernel: [165282.673947]  9cc76ebe 
8b70c88aa4b8 9f28c20eba78 9f28c3f77e58
Sep  8 20:32:45 thorium kernel: [165282.673949]  9f28c20ebc6c 
 9f28c20ebc54 9cc76f3f
Sep  8 20:32:45 thorium kernel: [165282.673951] Call Trace:
Sep  8 20:32:45 thorium kernel: [165282.673955]  [] ? 
dump_stack+0x5c/0x78
Sep  8 20:32:45 thorium kernel: [165282.673959]  [] ? 
__warn+0xbe/0xe0
Sep  8 20:32:45 thorium kernel: [165282.673961]  [] ? 
warn_slowpath_fmt+0x5f/0x80
Sep  8 20:32:45 thorium kernel: [165282.673962]  [] ? 
__list_add+0x5c/0xb0
Sep  8 20:32:45 thorium kernel: [165282.673965]  [] ? 
add_wait_queue+0x2b/0x40
Sep  8 20:32:45 thorium kernel: [165282.673988]  [] ? 
bt_sock_poll+0x3a/0x1c0 [bluetooth]
Sep  8 20:32:45 thorium kernel: [165282.673991]  [] ? 
sock_poll+0x79/0x90
Sep  8 20:32:45 thorium kernel: [165282.673993]  [] ? 
do_sys_poll+0x26e/0x550
Sep  8 20:32:45 thorium kernel: [165282.673995]  [] ? 
poll_initwait+0x40/0x40
Sep  8 20:32:45 thorium kernel: [165282.673997]  [] ? 
poll_select_copy_remaining+0x150/0x150
Sep  8 20:32:45 thorium kernel: [165282.673998]  [] ? 
poll_select_copy_remaining+0x150/0x150
Sep  8 20:32:45 thorium kernel: [165282.674000]  [] ? 
poll_select_copy_remaining+0x150/0x150
Sep  8 20:32:45 thorium kernel: [165282.674001]  [] ? 
poll_select_copy_remaining+0x150/0x150
Sep  8 20:32:45 thorium kernel: [165282.674002]  [] ? 
poll_select_copy_remaining+0x150/0x150
Sep  8 20:32:45 thorium kernel: [165282.674004]  [] ? 
poll_select_copy_remaining+0x150/0x150
Sep  8 20:32:45 thorium kernel: [165282.674005]  [] ? 
poll_select_copy_remaining+0x150/0x150
Sep  8 20:32:45 thorium kernel: [165282.674007]  [] ? 
poll_select_copy_remaining+0x150/0x150
Sep  8 20:32:45 thorium kernel: [165282.674008]  [] ? 
poll_select_copy_remaining+0x150/0x150
Sep  8 20:32:45 thorium kernel: [165282.674010]  [] ? 
SyS_poll+0xdf/0x120
Sep  8 20:32:45 thorium kernel: [165282.674013]  [] ? 
system_call_fast_compare_end+0xc/0x9b
Sep  8 20:32:45 thorium kernel: [165282.674014] ---[ end trace 14108208e55137ca 
]---
Sep  8 20:32:45 thorium acpid: input device has been