ValveSoftware / SteamOS

SteamOS community tracker
1.51k stars 69 forks source link

[Brewmaster] SteamOS freezes when attaching additional XBOX360 controlers #364

Closed jazz1138 closed 8 years ago

jazz1138 commented 8 years ago

Hi, I noticed last week that The entire system locks up (e.g. video freezes audio goes into loop, no network ping) when powering on/off a second wireless XBOX360 controller or even attaching a second wired controller in SteamOS brewmaster-beta on my Alienware Alpha. I had friends coming over to play Rocket League split screen so I didn't investigate at the time and just reverted to Alchemist. I have now just done a clean install of Brewmaster on the Beta channel. The same thing occurs.

Here is a tail of /var/log/syslog. The bit after the gap is where I powered of the second controller. (It was booted with the second controller powered on). The same occurs if you boot with it powered off and then switch it on while in the OS.

Aug 30 20:52:46 steamos kernel: [ 14.927151] [] ? xpad_init_input+0x3b9/0x3e0 [xpad] Aug 30 20:52:46 steamos kernel: [ 14.927153] [] ? presence_work_function+0x22/0x60 [xpad] Aug 30 20:52:46 steamos kernel: [ 14.927156] [] ? process_one_work+0x14e/0x3f0 Aug 30 20:52:46 steamos kernel: [ 14.927158] [] ? worker_thread+0x6b/0x4a0 Aug 30 20:52:46 steamos kernel: [ 14.927160] [] ? rescuer_thread+0x290/0x290 Aug 30 20:52:46 steamos kernel: [ 14.927162] [] ? kthread+0xd3/0xf0 Aug 30 20:52:46 steamos kernel: [ 14.927163] [] ? kthread_create_on_node+0x180/0x180 Aug 30 20:52:46 steamos kernel: [ 14.927166] [] ? ret_from_fork+0x58/0x90 Aug 30 20:52:46 steamos kernel: [ 14.927168] [] ? kthread_create_on_node+0x180/0x180 Aug 30 20:52:46 steamos kernel: [ 14.927169] ---[ end trace 35dcd3fe75ffd823 ]---

Aug 30 20:54:32 steamos kernel: [ 120.423463] ------------[ cut here ]------------ Aug 30 20:54:32 steamos kernel: [ 120.423469] WARNING: CPU: 2 PID: 51 at /usr/src/packages/BUILD/linux-3.18.19/fs/sysfs/dir.c:31 sysfs_warn_dup+0x5f/0x70() Aug 30 20:54:32 steamos kernel: [ 120.423470] sysfs: cannot create duplicate filename '/devices/pci0000:00/0000:00:14.0/usb3/3-9/leds/xpad0' Aug 30 20:54:32 steamos kernel: [ 120.423471] Modules linked in: bnep ecb ir_lirc_codec ir_xmp_decoder lirc_dev ir_mce_kbd_decoder ir_sharp_decoder ir_sanyo_decoder ir_sony_decoder ir_rc6_decoder ir_jvc_decoder ir_nec_decoder ir_rc5_decoder rc_rc6_mce joydev xpad btusb ff_memless bluetooth mceusb rc_core snd_hda_codec_hdmi arc4 nls_utf8 nls_cp437 vfat fat x86_pkg_temp_thermal intel_powerclamp intel_rapl coretemp nvidia(PO) kvm_intel wl(PO) iwlmvm snd_hda_codec_realtek snd_hda_codec_generic mac80211 kvm iTCO_wdt crct10dif_pclmul iTCO_vendor_support alienware_wmi crc32_pclmul ghash_clmulni_intel snd_hda_intel snd_hda_controller efi_pstore snd_hda_codec snd_hwdep psmouse aesni_intel snd_pcm aes_x86_64 snd_timer lrw gf128mul iwlwifi glue_helper ablk_helper cryptd efivars serio_raw cfg80211 pcspkr drm snd i2c_i801 soundcore rfkill i2c_core lpc_ich mfd_core 8250_fintek shpchp battery mei_me mei processor evdev fuse autofs4 ext4 crc16 mbcache jbd2 hid_logitech_dj usbhid hid sg sd_mod ahci libahci libata scsi_mod crc32c_intel xhci_pci xhci_hcd ehci_pci ehci_hcd r8169 mii usbcore usb_common fan thermal wmi video thermal_sys button Aug 30 20:54:32 steamos kernel: [ 120.423516] CPU: 2 PID: 51 Comm: kworker/2:1 Tainted: P W O 3.18.0-trunk+steamos2-amd64 #1 Debian 3.18.19-0+steamos2 Aug 30 20:54:32 steamos kernel: [ 120.423517] Hardware name: Alienware ASM100/03V3TG, BIOS A04 07/14/2015 Aug 30 20:54:32 steamos kernel: [ 120.423520] Workqueue: events presence_work_function [xpad] Aug 30 20:54:32 steamos kernel: [ 120.423521] 0000000000000000 0000000000000009 ffffffff81541f77 ffff8800dae4bb18 Aug 30 20:54:32 steamos kernel: [ 120.423523] ffffffff8106b117 ffff88020a3c7000 ffff8801fb0129e0 ffff880212eac5c8 Aug 30 20:54:32 steamos kernel: [ 120.423524] ffff8800daf2ac00 ffff880212f44890 ffffffff8106b17a ffffffff81736db8 Aug 30 20:54:32 steamos kernel: [ 120.423526] Call Trace: Aug 30 20:54:32 steamos kernel: [ 120.423529] [] ? dump_stack+0x41/0x51 Aug 30 20:54:32 steamos kernel: [ 120.423533] [] ? warn_slowpath_common+0x77/0x90 Aug 30 20:54:32 steamos kernel: [ 120.423534] [] ? warn_slowpath_fmt+0x4a/0x50 Aug 30 20:54:32 steamos kernel: [ 120.423537] [] ? kernfs_path+0x47/0x60 Aug 30 20:54:32 steamos kernel: [ 120.423538] [] ? sysfs_warn_dup+0x5f/0x70 Aug 30 20:54:32 steamos kernel: [ 120.423540] [] ? sysfs_create_dir_ns+0x7e/0x90 Aug 30 20:54:32 steamos kernel: [ 120.423543] [] ? kobject_add_internal+0xc8/0x450 Aug 30 20:54:32 steamos kernel: [ 120.423545] [] ? string.isra.7+0x36/0xe0 Aug 30 20:54:32 steamos kernel: [ 120.423546] [] ? kobject_add+0x66/0xb0 Aug 30 20:54:32 steamos kernel: [ 120.423549] [] ? device_add+0x11b/0x6c0 Aug 30 20:54:32 steamos kernel: [ 120.423551] [] ? device_create_groups_vargs+0xe8/0x100 Aug 30 20:54:32 steamos kernel: [ 120.423552] [] ? device_create_with_groups+0x33/0x40 Aug 30 20:54:32 steamos kernel: [ 120.423554] [] ? snprintf+0x39/0x40 Aug 30 20:54:32 steamos kernel: [ 120.423556] [] ? led_classdev_register+0x3b/0x150 Aug 30 20:54:32 steamos kernel: [ 120.423558] [] ? xpad_init_input+0x34f/0x3e0 [xpad] Aug 30 20:54:32 steamos kernel: [ 120.423560] [] ? presence_work_function+0x22/0x60 [xpad] Aug 30 20:54:32 steamos kernel: [ 120.423563] [] ? process_one_work+0x14e/0x3f0 Aug 30 20:54:32 steamos kernel: [ 120.423565] [] ? worker_thread+0x6b/0x4a0 Aug 30 20:54:32 steamos kernel: [ 120.423567] [] ? rescuer_thread+0x290/0x290 Aug 30 20:54:32 steamos kernel: [ 120.423569] [] ? kthread+0xd3/0xf0 Aug 30 20:54:32 steamos kernel: [ 120.423571] [] ? kthread_create_on_node+0x180/0x180 Aug 30 20:54:32 steamos kernel: [ 120.423573] [] ? ret_from_fork+0x58/0x90 Aug 30 20:54:32 steamos kernel: [ 120.423575] [] ? kthread_create_on_node+0x180/0x180 Aug 30 20:54:32 steamos kernel: [ 120.423576] ---[ end trace 35dcd3fe75ffd824 ]--- Aug 30 20:54:32 steamos kernel: [ 120.423577] ------------[ cut here ]------------ Aug 30 20:54:32 steamos kernel: [ 120.423579] WARNING: CPU: 2 PID: 51 at /usr/src/packages/BUILD/linux-3.18.19/lib/kobject.c:240 kobject_add_internal+0x3d4/0x450() Aug 30 20:54:32 steamos kernel: [ 120.423580] kobject_add_internal failed for xpad0 with -EEXIST, don't try to register things with the same name in the same directory. Aug 30 20:54:32 steamos kernel: [ 120.423580] Modules linked in: bnep ecb ir_lirc_codec ir_xmp_decoder lirc_dev ir_mce_kbd_decoder ir_sharp_decoder ir_sanyo_decoder ir_sony_decoder ir_rc6_decoder ir_jvc_decoder ir_nec_decoder ir_rc5_decoder rc_rc6_mce joydev xpad btusb ff_memless bluetooth mceusb rc_core snd_hda_codec_hdmi arc4 nls_utf8 nls_cp437 vfat fat x86_pkg_temp_thermal intel_powerclamp intel_rapl coretemp nvidia(PO) kvm_intel wl(PO) iwlmvm snd_hda_codec_realtek snd_hda_codec_generic mac80211 kvm iTCO_wdt crct10dif_pclmul iTCO_vendor_support alienware_wmi crc32_pclmul ghash_clmulni_intel snd_hda_intel snd_hda_controller efi_pstore snd_hda_codec snd_hwdep psmouse aesni_intel snd_pcm aes_x86_64 snd_timer lrw gf128mul iwlwifi glue_helper ablk_helper cryptd efivars serio_raw cfg80211 pcspkr drm snd i2c_i801 soundcore rfkill i2c_core lpc_ich mfd_core 8250_fintek shpchp battery mei_me mei processor evdev fuse autofs4 ext4 crc16 mbcache jbd2 hid_logitech_dj usbhid hid sg sd_mod ahci libahci libata scsi_mod crc32c_intel xhci_pci xhci_hcd ehci_pci ehci_hcd r8169 mii usbcore usb_common fan thermal wmi video thermal_sys button Aug 30 20:54:32 steamos kernel: [ 120.423608] CPU: 2 PID: 51 Comm: kworker/2:1 Tainted: P W O 3.18.0-trunk+steamos2-amd64 #1 Debian 3.18.19-0+steamos2 Aug 30 20:54:32 steamos kernel: [ 120.423608] Hardware name: Alienware ASM100/03V3TG, BIOS A04 07/14/2015 Aug 30 20:54:32 steamos kernel: [ 120.423610] Workqueue: events presence_work_function [xpad] Aug 30 20:54:32 steamos kernel: [ 120.423611] 0000000000000000 0000000000000009 ffffffff81541f77 ffff8800dae4bb68 Aug 30 20:54:32 steamos kernel: [ 120.423612] ffffffff8106b117 ffff8800daf2ac10 00000000ffffffef ffff8800dbbfb5c0 Aug 30 20:54:32 steamos kernel: [ 120.423614] ffff8800daf2ac00 ffff880212f44890 ffffffff8106b17a ffffffff81751830 Aug 30 20:54:32 steamos kernel: [ 120.423615] Call Trace: Aug 30 20:54:32 steamos kernel: [ 120.423616] [] ? dump_stack+0x41/0x51 Aug 30 20:54:32 steamos kernel: [ 120.423618] [] ? warn_slowpath_common+0x77/0x90 Aug 30 20:54:32 steamos kernel: [ 120.423620] [] ? warn_slowpath_fmt+0x4a/0x50 Aug 30 20:54:32 steamos kernel: [ 120.423621] [] ? sysfs_create_dir_ns+0x7e/0x90 Aug 30 20:54:32 steamos kernel: [ 120.423623] [] ? kobject_add_internal+0x3d4/0x450 Aug 30 20:54:32 steamos kernel: [ 120.423625] [] ? string.isra.7+0x36/0xe0 Aug 30 20:54:32 steamos kernel: [ 120.423626] [] ? kobject_add+0x66/0xb0 Aug 30 20:54:32 steamos kernel: [ 120.423628] [] ? device_add+0x11b/0x6c0 Aug 30 20:54:32 steamos kernel: [ 120.423630] [] ? device_create_groups_vargs+0xe8/0x100 Aug 30 20:54:32 steamos kernel: [ 120.423631] [] ? device_create_with_groups+0x33/0x40 Aug 30 20:54:32 steamos kernel: [ 120.423632] [] ? snprintf+0x39/0x40 Aug 30 20:54:32 steamos kernel: [ 120.423634] [] ? led_classdev_register+0x3b/0x150 Aug 30 20:54:32 steamos kernel: [ 120.423636] [] ? xpad_init_input+0x34f/0x3e0 [xpad] Aug 30 20:54:32 steamos kernel: [ 120.423638] [] ? presence_work_function+0x22/0x60 [xpad] Aug 30 20:54:32 steamos kernel: [ 120.423640] [] ? process_one_work+0x14e/0x3f0 Aug 30 20:54:32 steamos kernel: [ 120.423642] [] ? worker_thread+0x6b/0x4a0 Aug 30 20:54:32 steamos kernel: [ 120.423643] [] ? rescuer_thread+0x290/0x290 Aug 30 20:54:32 steamos kernel: [ 120.423645] [] ? kthread+0xd3/0xf0 Aug 30 20:54:32 steamos kernel: [ 120.423646] [] ? kthread_create_on_node+0x180/0x180 Aug 30 20:54:32 steamos kernel: [ 120.423648] [] ? ret_from_fork+0x58/0x90 Aug 30 20:54:32 steamos kernel: [ 120.423650] [] ? kthread_create_on_node+0x180/0x180 Aug 30 20:54:32 steamos kernel: [ 120.423650] ---[ end trace 35dcd3fe75ffd825 ]--- Aug 30 20:54:32 steamos kernel: [ 120.423654] input input10: unable to init device

ekianjo commented 8 years ago

I confirm I have the same issue. I was playing Dirt:Showdown on SteamOS yesterday and when I tried to connect the second wireless Xbox360 pad, the whole system froze and I had to do a hard reset. That's disappointing.

mdeguzis commented 8 years ago

@jazz1138 , please use a gist for large output.

Hydroptix commented 8 years ago

I have been having the same issue on the newest Brewmaster build. When connecting a wireless xbox 360 controller the OS freezes.

lemonadecbc commented 8 years ago

Yes, this seems to be regression as xbox 360 controllers started to crash the kernel. Did not happen before upgrading Brewmaster v 2.44 with kernel 3.18+63+steamos6 .

syslog just before crash: https://gist.github.com/lemonadecbc/0488808abecf375b9f52

Tanren commented 8 years ago

Same problem for me in Brewmaster, it works in Alchemist.

johnv-valve commented 8 years ago

Should be fixed in the latest brewmaster beta update. http://steamcommunity.com/groups/steamuniverse/discussions/1/523897653296978764/