← Back to team overview

kernel-packages team mailing list archive

[Bug 1577024] Re: Kernel 4.2.X and 4.4.X - Fix USB3.0 link power management (LPM) claim/release logic in USBFS

 

Tested successfully. Tags updated as requested.

Thank you.

============================================================
Matthew Giassa, MASc, BASc, EIT
Security and Embedded Systems Specialist
linkedin: https://ca.linkedin.com/in/giassa
e-mail:   matthew@xxxxxxxxxx
website:  www.giassa.net

> -------- Original Message --------
> Subject: [Bug 1577024] Re: Kernel 4.2.X and 4.4.X - Fix USB3.0 link
> power management (LPM) claim/release logic in USBFS
> From: Kamal Mostafa <kamal@xxxxxxxxxxxxx>
> Date: Tue, June 14, 2016 7:21 am
> To: matthew@xxxxxxxxxx
> 
> 
> This bug is awaiting verification that the kernel in -proposed solves
> the problem. Please test the kernel and update this bug with the
> results. If the problem is solved, change the tag 'verification-needed-
> xenial' to 'verification-done-xenial'.
> 
> If verification is not done by 5 working days from today, this fix will
> be dropped from the source code, and this bug will be closed.
> 
> See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
> to enable and use -proposed. Thank you!
> 
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1577024
> 
> Title:
>   Kernel 4.2.X and 4.4.X - Fix USB3.0 link power management (LPM)
>   claim/release logic in USBFS
> 
> Status in linux package in Ubuntu:
>   Triaged
> Status in linux source package in Vivid:
>   Fix Committed
> Status in linux source package in Wily:
>   Fix Committed
> Status in linux source package in Xenial:
>   Fix Committed
> 
> Bug description:
>   I am currently carrying out kernel testing and debugging with Alan Stern on the mainline kernel. Alan has proposed a patch to resolve a bug in USBFS that causes USB machine vision cameras to fail on kernels that contain the following patch:
>       commit e951f84074b84a3f5aecbffd01da74576e0068d5
>       Author: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
>       Date:   Tue Jun 16 09:08:26 2015 +0800
>       usb: core: lpm: set lpm_capable for root hub device
>       commit 2d2a316765d956bc5cb6bb367b2ec52ca59ab8e9 upstream.
> 
>   There is an issue in this patch that impacts software that rapidly
>   issues claim/release calls in USBFS, and all of our customers that use
>   Ubuntu 14.04.4 (kernel 4.2.x) and Ubuntu 16.04 (kernel 4.4.x) are
>   unable to communicate with their machine vision cameras using our
>   software stack.
> 
>   The patch for the mainline kernel is being tested, and is currently posted, along with a history of this issue, at:
>   https://bugzilla.kernel.org/show_bug.cgi?id=115961
> 
>   Right now, all of our customers have to either use an older kernel, or
>   manually patch their own kernel with the fix provided by Alan if they
>   are required to use a newer kernel. I am raising this bug so that,
>   once the patch is submitted to the the mainline/linus series, it can
>   be included in the next "monthly" kernel update made available to the
>   general public, and so our customers can just run a normal "vanilla"
>   system without having to rely on manually patching their kernel every
>   time they need to update.
> 
>   I can be contacted at:
>   matthew@xxxxxxxxxx
>   matthew.giassa@xxxxxxxxxx
> 
>   Thank you.
> 
>   ProblemType: Bug
>   DistroRelease: Ubuntu 14.04
>   Package: linux-image-3.13.0-55-generic 3.13.0-55.94
>   ProcVersionSignature: Ubuntu 3.13.0-55.94-generic 3.13.11-ckt20
>   Uname: Linux 3.13.0-55-generic i686
>   NonfreeKernelModules: nvidia
>   ApportVersion: 2.14.1-0ubuntu3.19
>   Architecture: i386
>   AudioDevicesInUse:
>    USER        PID ACCESS COMMAND
>    /dev/snd/controlC0:  owner      4035 F.... pulseaudio
>   CurrentDesktop: Unity
>   Date: Sat Apr 30 10:36:15 2016
>   EcryptfsInUse: Yes
>   HibernationDevice: RESUME=UUID=0287e25d-68d6-4390-aced-c682b8e13b60
>   InstallationDate: Installed on 2013-09-23 (949 days ago)
>   InstallationMedia: Ubuntu 12.04.3 LTS "Precise Pangolin" - Release i386 (20130820.1)
>   IwConfig:
>    lo        no wireless extensions.
>    
>    cscotun0  no wireless extensions.
>    
>    eth0      no wireless extensions.
>   MachineType: Hewlett-Packard HP xw4600 Workstation
>   ProcFB:
>    
>   ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-55-generic root=UUID=292845c9-c333-4592-aa06-bc01f45d3ee6 ro quiet splash
>   RelatedPackageVersions:
>    linux-restricted-modules-3.13.0-55-generic N/A
>    linux-backports-modules-3.13.0-55-generic  N/A
>    linux-firmware                             1.127.19
>   RfKill:
>    
>   SourcePackage: linux
>   UpgradeStatus: Upgraded to trusty on 2014-07-30 (639 days ago)
>   dmi.bios.date: 07/09/2012
>   dmi.bios.vendor: Hewlett-Packard
>   dmi.bios.version: 786F3 v01.34
>   dmi.board.asset.tag: CAC94101JZ
>   dmi.board.name: 0AA0h
>   dmi.board.vendor: Hewlett-Packard
>   dmi.chassis.asset.tag: CAC94101JZ
>   dmi.chassis.type: 6
>   dmi.chassis.vendor: Hewlett-Packard
>   dmi.modalias: dmi:bvnHewlett-Packard:bvr786F3v01.34:bd07/09/2012:svnHewlett-Packard:pnHPxw4600Workstation:pvr:rvnHewlett-Packard:rn0AA0h:rvr:cvnHewlett-Packard:ct6:cvr:
>   dmi.product.name: HP xw4600 Workstation
>   dmi.sys.vendor: Hewlett-Packard
> 
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1577024/+subscriptions


** Tags removed: verification-needed-vivid verification-needed-wily verification-needed-xenial
** Tags added: verification-done-vivid verification-done-wily verification-done-xenial

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

Title:
  Kernel 4.2.X and 4.4.X - Fix USB3.0 link power management (LPM)
  claim/release logic in USBFS

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Vivid:
  Fix Committed
Status in linux source package in Wily:
  Fix Committed
Status in linux source package in Xenial:
  Fix Committed

Bug description:
  I am currently carrying out kernel testing and debugging with Alan Stern on the mainline kernel. Alan has proposed a patch to resolve a bug in USBFS that causes USB machine vision cameras to fail on kernels that contain the following patch:
      commit e951f84074b84a3f5aecbffd01da74576e0068d5
      Author: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
      Date:   Tue Jun 16 09:08:26 2015 +0800
      usb: core: lpm: set lpm_capable for root hub device
      commit 2d2a316765d956bc5cb6bb367b2ec52ca59ab8e9 upstream.

  There is an issue in this patch that impacts software that rapidly
  issues claim/release calls in USBFS, and all of our customers that use
  Ubuntu 14.04.4 (kernel 4.2.x) and Ubuntu 16.04 (kernel 4.4.x) are
  unable to communicate with their machine vision cameras using our
  software stack.

  The patch for the mainline kernel is being tested, and is currently posted, along with a history of this issue, at:
  https://bugzilla.kernel.org/show_bug.cgi?id=115961

  Right now, all of our customers have to either use an older kernel, or
  manually patch their own kernel with the fix provided by Alan if they
  are required to use a newer kernel. I am raising this bug so that,
  once the patch is submitted to the the mainline/linus series, it can
  be included in the next "monthly" kernel update made available to the
  general public, and so our customers can just run a normal "vanilla"
  system without having to rely on manually patching their kernel every
  time they need to update.

  I can be contacted at:
  matthew@xxxxxxxxxx
  matthew.giassa@xxxxxxxxxx

  Thank you.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.13.0-55-generic 3.13.0-55.94
  ProcVersionSignature: Ubuntu 3.13.0-55.94-generic 3.13.11-ckt20
  Uname: Linux 3.13.0-55-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.14.1-0ubuntu3.19
  Architecture: i386
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  owner      4035 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Sat Apr 30 10:36:15 2016
  EcryptfsInUse: Yes
  HibernationDevice: RESUME=UUID=0287e25d-68d6-4390-aced-c682b8e13b60
  InstallationDate: Installed on 2013-09-23 (949 days ago)
  InstallationMedia: Ubuntu 12.04.3 LTS "Precise Pangolin" - Release i386 (20130820.1)
  IwConfig:
   lo        no wireless extensions.
   
   cscotun0  no wireless extensions.
   
   eth0      no wireless extensions.
  MachineType: Hewlett-Packard HP xw4600 Workstation
  ProcFB:
   
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-55-generic root=UUID=292845c9-c333-4592-aa06-bc01f45d3ee6 ro quiet splash
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-55-generic N/A
   linux-backports-modules-3.13.0-55-generic  N/A
   linux-firmware                             1.127.19
  RfKill:
   
  SourcePackage: linux
  UpgradeStatus: Upgraded to trusty on 2014-07-30 (639 days ago)
  dmi.bios.date: 07/09/2012
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: 786F3 v01.34
  dmi.board.asset.tag: CAC94101JZ
  dmi.board.name: 0AA0h
  dmi.board.vendor: Hewlett-Packard
  dmi.chassis.asset.tag: CAC94101JZ
  dmi.chassis.type: 6
  dmi.chassis.vendor: Hewlett-Packard
  dmi.modalias: dmi:bvnHewlett-Packard:bvr786F3v01.34:bd07/09/2012:svnHewlett-Packard:pnHPxw4600Workstation:pvr:rvnHewlett-Packard:rn0AA0h:rvr:cvnHewlett-Packard:ct6:cvr:
  dmi.product.name: HP xw4600 Workstation
  dmi.sys.vendor: Hewlett-Packard

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


References