[SRU][Xenial][Yakkety][PATCH 0/1] usb: hub: Fix auto-remount of safely removed or ejected USB-3 devices

Thadeu Lima de Souza Cascardo cascardo at canonical.com
Thu Jan 26 17:39:35 UTC 2017


On Fri, Jan 20, 2017 at 07:46:14PM +0000, Luis Henriques wrote:
> Hi!
> 
> On Fri, Jan 20, 2017 at 11:49:09AM -0500, Joseph Salisbury wrote:
> > BugLink: http://bugs.launchpad.net/bugs/792085
> > 
> > == SRU Justification ==
> > When a user chooses "Safely remove drive" context menu entry for an external 
> > USB drive within a nautilus window or directly clicking on the desktop icon, 
> > after about 10 seconds the drive is automatically remounted and a Nautilus 
> > window showing the root folder opens.
> > 
> > This bug affects quite a few users and has been opened for a few years.  There
> > is a patch now avaiable upstream that fixes this bug.
> > 
> > This bug is now fixed by commit 37be66767e3c.  This commit landed in mainline
> > as of 4.10-rc1.  The commit was cc'd to stable but has not landed in Ubuntu
> > yet.  This commit is a clean cherry pick for Xenial and Yakkety.  However, 
> > Precise and Trusty require a backport, so the SRU request for them will be
> > sent seperate.  Zesty will get this fix when it is rebased to 4.10.
> >  
> > 
> > == Fix ==
> > Commit 37be66767e3cae4fd16e064d8bb7f9f72bf5c045
> > Author: Mathias Nyman <mathias.nyman at linux.intel.com>
> > Date:   Thu Nov 17 11:14:14 2016 +0200
> > 
> >     usb: hub: Fix auto-remount of safely removed or ejected USB-3 devices
> 
> This fix is already in yakkety master-next branch as part of upstream
> stable kernel release 4.8.16 (applied earlier today).
> 

It's also part of 4.4.40, which has been merged to xenial master-next and is
part of Ubuntu-4.4.0-60.81.

Cascardo.

> I guess you're probably aware of the use of the 'kernel-bug-break-fix'?
> In a nutshell, to have the bug automatically 'fix released' you just set
> the bug to 'fix committed' and use this tag.  Finally, you add a
> 'break-fix: <break-sha1> <fix-sha1>' at the end of the bug description.
> In this case, something like:
> 
>   break-fix: - 37be66767e3cae4fd16e064d8bb7f9f72bf5c045
> 
> (The '-' means you don't know/care about the commit that introduced the
> bug.)
> 
> Cheers,
> --
> Luís
> 
> 
> > == Test Case ==
> > A test kernel was built with this patch and tested by the original bug reporter.
> > The bug reporter states the test kernel resolved the bug.
> > 
> > 
> > 
> > Mathias Nyman (1):
> >   usb: hub: Fix auto-remount of safely removed or ejected USB-3 devices
> > 
> >  drivers/usb/core/hub.c | 101 ++++++++++++++++++-------------------------------
> >  1 file changed, 36 insertions(+), 65 deletions(-)
> > 
> > -- 
> > 2.7.4
> > 
> > 
> > -- 
> > kernel-team mailing list
> > kernel-team at lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/kernel-team
> 
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team




More information about the kernel-team mailing list