FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 05-09-2008, 07:27 PM
Tim Gardner
 
Default Suspend issues with ehci-hcd

Matthew,

I've encountered several suspend issues lately involving ehci-hcd. I'm
considering what might be the side effects of adding it to pm-utils as a
normal operation, e.g., add ehci-hcd to the list of modules that are
always removed before suspend.

What happens to a USB disk mounted as root? Will it fix corruption
issues where non-root USB drives don't get flushed?

Removing ehci-hcd prior to suspend does fix a whole class of bluetooth
issues.

Thanks

rtg
--
Tim Gardner tim.gardner@ubuntu.com

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 05-09-2008, 07:42 PM
Matthew Garrett
 
Default Suspend issues with ehci-hcd

On Fri, May 09, 2008 at 01:27:33PM -0600, Tim Gardner wrote:
> Matthew,
>
> I've encountered several suspend issues lately involving ehci-hcd. I'm
> considering what might be the side effects of adding it to pm-utils as a
> normal operation, e.g., add ehci-hcd to the list of modules that are
> always removed before suspend.

We used to do that, but stopped when USB gained reasonable
suspend/resume support.

> What happens to a USB disk mounted as root? Will it fix corruption
> issues where non-root USB drives don't get flushed?

If you have a USB disk mounted as root, you'll lose your root
filesystem. I'm not aware of any situations where data should hit USB
devices on removal but not on suspend, but it's possible.

> Removing ehci-hcd prior to suspend does fix a whole class of bluetooth
> issues.

Is this not because it ends up destroying and recreating the bluetooth
device?
--
Matthew Garrett | mjg59@srcf.ucam.org

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 05-10-2008, 02:36 PM
Tim Gardner
 
Default Suspend issues with ehci-hcd

Matthew Garrett wrote:
> On Fri, May 09, 2008 at 01:27:33PM -0600, Tim Gardner wrote:
>> Matthew,
>>
>> I've encountered several suspend issues lately involving ehci-hcd. I'm
>> considering what might be the side effects of adding it to pm-utils as a
>> normal operation, e.g., add ehci-hcd to the list of modules that are
>> always removed before suspend.
>
> We used to do that, but stopped when USB gained reasonable
> suspend/resume support.
>
>> What happens to a USB disk mounted as root? Will it fix corruption
>> issues where non-root USB drives don't get flushed?
>
> If you have a USB disk mounted as root, you'll lose your root
> filesystem. I'm not aware of any situations where data should hit USB
> devices on removal but not on suspend, but it's possible.
>
>> Removing ehci-hcd prior to suspend does fix a whole class of bluetooth
>> issues.
>
> Is this not because it ends up destroying and recreating the bluetooth
> device?

Right - removing ehci-hcd also removes all dependent modules, among
which are bluetooth. I attempted removing just the root bluetooth module
on suspend, but found I couldn't get the Dell laptop I was using to even
finish the suspend, much less resume.

So, if I've read this correctly, removing ehci-hcd on suspend is
generally OK except when your root device is USB. Which means its
probably not a good idea to add ehci-hcd to pm-utils default removal
targets.

--
Tim Gardner tim.gardner@ubuntu.com

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 05:31 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org