← Back to team overview

kernel-packages team mailing list archive

[Bug 1564901] Re: xpad rumble causes full system hang

 

It may be worth mentioning that while that patch fixes the bug, it also
introduces this regression: https://github.com/paroj/xpad/issues/27

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-lts-utopic in Ubuntu.
https://bugs.launchpad.net/bugs/1564901

Title:
  xpad rumble causes full system hang

Status in linux package in Ubuntu:
  In Progress
Status in linux-lts-utopic package in Ubuntu:
  In Progress
Status in linux-lts-vivid package in Ubuntu:
  In Progress
Status in linux source package in Trusty:
  In Progress
Status in linux source package in Wily:
  In Progress
Status in linux source package in Xenial:
  In Progress

Bug description:
  To reproduce:

  1. Have a wired xbox controller.
  2. Modify the SDL2 testrumble.c so it runs forever. (attached)
  3. Build and run it.
  4. Kill it with sigkill from another terminal.

  Expected result: The program should stop running.

  Actual result: Entire computer freezes. Soundcard continuously plays
  the last second of audio. No response from any input devices or the
  network.

  The bug can also be reproduced by playing the game Borderlands 2 while
  having a wired xbox controller connected. The system will randomly
  freeze in the exact same way.

  The bug has existed since at least 14.04.

  The last thing the kernel prints is this:

  Apr  1 03:38:29 al-desktop kernel: [94142.404218] usb 7-3: new full-speed USB device number 2 using ohci-pci
  Apr  1 03:38:29 al-desktop kernel: [94142.565264] usb 7-3: New USB device found, idVendor=045e, idProduct=0288
  Apr  1 03:38:29 al-desktop kernel: [94142.565268] usb 7-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
  Apr  1 03:38:29 al-desktop kernel: [94142.567304] hub 7-3:1.0: USB hub found
  Apr  1 03:38:29 al-desktop kernel: [94142.569259] hub 7-3:1.0: 3 ports detected
  Apr  1 03:38:29 al-desktop kernel: [94142.852248] usb 7-3.1: new full-speed USB device number 3 using ohci-pci
  Apr  1 03:38:29 al-desktop kernel: [94142.949301] usb 7-3.1: New USB device found, idVendor=045e, idProduct=0289
  Apr  1 03:38:29 al-desktop kernel: [94142.949308] usb 7-3.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
  Apr  1 03:38:29 al-desktop kernel: [94142.982402] input: Microsoft X-Box pad v2 (US) as /devices/pci0000:00/0000:00:13.0/usb7/7-3/7-3.1/7-3.1:1.0/input/input23
  Apr  1 03:38:29 al-desktop kernel: [94142.982503] usbcore: registered new interface driver xpad
  Apr  1 03:40:09 al-desktop kernel: [94242.318271] ------------[ cut here ]------------
  Apr  1 03:40:09 al-desktop kernel: [94242.318280] WARNING: CPU: 3 PID: 16529 at /build/linux-_Kv5oI/linux-4.2.0/drivers/usb/core/urb.c:339 usb_submit_urb+0x51/0x70()
  Apr  1 03:40:09 al-desktop kernel: [94242.318282] URB ffff880106cbacc0 submitted while active
  Apr  1 03:40:09 al-desktop kernel: [94242.318283] Modules linked in: joydev xpad ff_memless nvidia_uvm(POE) rfcomm pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) rc_pinnacle_pctv_hd em28xx_rc tda18271 cxd2820r em28xx_dvb d
  vb_core em28xx binfmt_misc bnep snd_hda_codec_hdmi rc_hauppauge ir_kbd_i2c tuner_simple tuner_types input_leds tuner uvcvideo videobuf2_vmalloc kvm_amd videobuf2_memops kvm btusb videobuf2_core btrtl snd_seq_midi btbcm snd_seq_midi_event 
  btintel snd_usb_audio snd_usbmidi_lib snd_hda_codec_via msp3400 snd_hda_codec_generic snd_rawmidi bluetooth nvidia(POE) snd_seq serio_raw snd_hda_intel snd_seq_device snd_hda_codec snd_hda_core snd_hwdep bttv k10temp tea575x tveeprom edac
  _core videobuf_dma_sg edac_mce_amd rc_core videobuf_core snd_bt87x v4l2_common videodev snd_pcm media i2c_algo_bit snd_timer i2c_piix4 snd soundcore drm shpchp wmi 8250_fintek asus_atk0110 mac_hid parport_pc ppdev lp parport autofs4 uas u
  sb_storage hid_generic usbhid hid pata_acpi psmouse pata_atiixp ahci libahci r8169 mii
  Apr  1 03:40:09 al-desktop kernel: [94242.318324] CPU: 3 PID: 16529 Comm: testrumble Tainted: P           OE   4.2.0-34-generic #39-Ubuntu
  Apr  1 03:40:09 al-desktop kernel: [94242.318326] Hardware name: System manufacturer System Product Name/M4A79XTD EVO, BIOS 2102    06/17/2010
  Apr  1 03:40:09 al-desktop kernel: [94242.318328]  0000000000000000 000000004da02d75 ffff88010a9c3ba8 ffffffff817ebed3
  Apr  1 03:40:09 al-desktop kernel: [94242.318330]  0000000000000000 ffff88010a9c3c00 ffff88010a9c3be8 ffffffff8107b986
  Apr  1 03:40:09 al-desktop kernel: [94242.318331]  ffff88010a9c3bd8 0000000000000010 ffff880103216f08 ffff88010a9c3cd0
  Apr  1 03:40:09 al-desktop kernel: [94242.318333] Call Trace:
  Apr  1 03:40:09 al-desktop kernel: [94242.318337]  [<ffffffff817ebed3>] dump_stack+0x45/0x57
  Apr  1 03:40:09 al-desktop kernel: [94242.318340]  [<ffffffff8107b986>] warn_slowpath_common+0x86/0xc0
  Apr  1 03:40:09 al-desktop kernel: [94242.318342]  [<ffffffff8107ba15>] warn_slowpath_fmt+0x55/0x70
  Apr  1 03:40:09 al-desktop kernel: [94242.318345]  [<ffffffff815e0c61>] usb_submit_urb+0x51/0x70
  Apr  1 03:40:09 al-desktop kernel: [94242.318348]  [<ffffffffc0bd82a0>] xpad_play_effect+0x130/0x240 [xpad]
  Apr  1 03:40:09 al-desktop kernel: [94242.318351]  [<ffffffffc0bd3744>] ml_play_effects+0x104/0x6b0 [ff_memless]
  Apr  1 03:40:09 al-desktop kernel: [94242.318353]  [<ffffffffc0bd3db5>] ml_ff_playback+0x85/0x100 [ff_memless]
  Apr  1 03:40:09 al-desktop kernel: [94242.318355]  [<ffffffff81638ff1>] input_ff_event+0x61/0x90
  Apr  1 03:40:09 al-desktop kernel: [94242.318357]  [<ffffffff81637cf7>] input_handle_event+0x77/0x4f0
  Apr  1 03:40:09 al-desktop kernel: [94242.318359]  [<ffffffff81638278>] input_inject_event+0x88/0x90
  Apr  1 03:40:09 al-desktop kernel: [94242.318360]  [<ffffffff8163c026>] evdev_write+0x1b6/0x230
  Apr  1 03:40:09 al-desktop kernel: [94242.318363]  [<ffffffff811fd2f8>] __vfs_write+0x18/0x40
  Apr  1 03:40:09 al-desktop kernel: [94242.318364]  [<ffffffff811fdc86>] vfs_write+0xa6/0x1a0
  Apr  1 03:40:09 al-desktop kernel: [94242.318366]  [<ffffffff811fe975>] SyS_write+0x55/0xc0
  Apr  1 03:40:09 al-desktop kernel: [94242.318368]  [<ffffffff817f2cf2>] entry_SYSCALL_64_fastpath+0x16/0x75
  Apr  1 03:40:09 al-desktop kernel: [94242.318369] ---[ end trace 49879d5abf54403b ]---

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: linux-image-4.2.0-34-generic 4.2.0-34.39
  ProcVersionSignature: Ubuntu 4.2.0-34.39-generic 4.2.8-ckt4
  Uname: Linux 4.2.0-34-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC3:  al         1628 F.... pulseaudio
   /dev/snd/controlC1:  al         1628 F.... pulseaudio
   /dev/snd/controlC0:  al         1628 F.... pulseaudio
  CurrentDesktop: XFCE
  Date: Fri Apr  1 14:12:05 2016
  HibernationDevice: RESUME=UUID=5a0bdae5-ddc6-4b6f-aead-360c2949313a
  InstallationDate: Installed on 2015-07-12 (264 days ago)
  InstallationMedia: Xubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422.1)
  IwConfig:
   eth0      no wireless extensions.
   
   lo        no wireless extensions.
  MachineType: System manufacturer System Product Name
  ProcFB:
   
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-34-generic root=UUID=283ec8d4-031f-4703-9de4-8dfe31132378 ro quiet splash
  RelatedPackageVersions:
   linux-restricted-modules-4.2.0-34-generic N/A
   linux-backports-modules-4.2.0-34-generic  N/A
   linux-firmware                            1.149.3
  RfKill:
   0: hci0: Bluetooth
   	Soft blocked: no
   	Hard blocked: no
  SourcePackage: linux
  UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
  UpgradeStatus: Upgraded to wily on 2015-12-31 (91 days ago)
  dmi.bios.date: 06/17/2010
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 2102
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: M4A79XTD EVO
  dmi.board.vendor: ASUSTeK Computer INC.
  dmi.board.version: Rev X.0X
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2102:bd06/17/2010:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM4A79XTDEVO:rvrRevX.0X:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.name: System Product Name
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1564901/+subscriptions


References