[Kernel-packages] [Bug 1349879] Re: powering off an usb3 device causes kernel to resume immediately after suspend

2015-11-26 Thread b3nmore
Tested again with latest mainline kernel (4.4.0-040400rc2-generic):
Still the same issue.

-- 
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/1349879

Title:
  powering off an usb3 device causes kernel to resume immediately after
  suspend

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  After powering off an usb3 disk (e.g. udisksctl power-off -b /dev/sdc)
  the system immediately resumes after suspend. This does not happen, if
  I umount the device and disconnect it. Usb devices < 3.0 seem not to
  be affected.

  How to reproduce:
  1) plug an usb3 device to an usb3 port and mount it
  2) umount it
  3) power it off: udisksctl power-off -b /dev/sdX
  4) suspend: (e.g. echo mem > /sys/power/state)

  result: system suspends and immediately resumes

  Package: udisks2 (2.1.3-1)

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1349879] Re: powering off an usb3 device causes kernel to resume immediately after suspend

2015-08-26 Thread Kaarel
I've filed a bug report about the same issue (#1486581) and found two
other bug reports about this (#1454253 and #1389990).

-- 
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/1349879

Title:
  powering off an usb3 device causes kernel to resume immediately after
  suspend

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  After powering off an usb3 disk (e.g. udisksctl power-off -b /dev/sdc)
  the system immediately resumes after suspend. This does not happen, if
  I umount the device and disconnect it. Usb devices  3.0 seem not to
  be affected.

  How to reproduce:
  1) plug an usb3 device to an usb3 port and mount it
  2) umount it
  3) power it off: udisksctl power-off -b /dev/sdX
  4) suspend: (e.g. echo mem  /sys/power/state)

  result: system suspends and immediately resumes

  Package: udisks2 (2.1.3-1)

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1349879] Re: powering off an usb3 device causes kernel to resume immediately after suspend

2014-10-16 Thread b3nmore
Tested again with v3.17.1-utopic: still the same issue.

-- 
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/1349879

Title:
  powering off an usb3 device causes kernel to resume immediately after
  suspend

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  After powering off an usb3 disk (e.g. udisksctl power-off -b /dev/sdc)
  the system immediately resumes after suspend. This does not happen, if
  I umount the device and disconnect it. Usb devices  3.0 seem not to
  be affected.

  How to reproduce:
  1) plug an usb3 device to an usb3 port and mount it
  2) umount it
  3) power it off: udisksctl power-off -b /dev/sdX
  4) suspend: (e.g. echo mem  /sys/power/state)

  result: system suspends and immediately resumes

  Package: udisks2 (2.1.3-1)

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1349879] Re: powering off an usb3 device causes kernel to resume immediately after suspend

2014-08-07 Thread Joseph Salisbury
Would it be possible for you to test the latest upstream kernel? Refer
to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
v3.16 kernel[0].

If this bug is fixed in the mainline kernel, please add the following
tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag:
'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, 
please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as 
Confirmed.


Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.16-utopic/


** Changed in: linux (Ubuntu)
   Importance: Undecided = Medium

-- 
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/1349879

Title:
  powering off an usb3 device causes kernel to resume immediately after
  suspend

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  After powering off an usb3 disk (e.g. udisksctl power-off -b /dev/sdc)
  the system immediately resumes after suspend. This does not happen, if
  I umount the device and disconnect it. Usb devices  3.0 seem not to
  be affected.

  How to reproduce:
  1) plug an usb3 device to an usb3 port and mount it
  2) umount it
  3) power it off: udisksctl power-off -b /dev/sdX
  4) suspend: (e.g. echo mem  /sys/power/state)

  result: system suspends and immediately resumes

  Package: udisks2 (2.1.3-1)

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1349879] Re: powering off an usb3 device causes kernel to resume immediately after suspend

2014-08-07 Thread b3nmore
 Would it be possible for you to test the latest upstream kernel? Refer
to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
v3.16 kernel[0].

Done. No changes.

** Changed in: linux (Ubuntu)
   Status: Incomplete = Confirmed

** Tags added: kernel-bug-exists-upstream

-- 
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/1349879

Title:
  powering off an usb3 device causes kernel to resume immediately after
  suspend

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  After powering off an usb3 disk (e.g. udisksctl power-off -b /dev/sdc)
  the system immediately resumes after suspend. This does not happen, if
  I umount the device and disconnect it. Usb devices  3.0 seem not to
  be affected.

  How to reproduce:
  1) plug an usb3 device to an usb3 port and mount it
  2) umount it
  3) power it off: udisksctl power-off -b /dev/sdX
  4) suspend: (e.g. echo mem  /sys/power/state)

  result: system suspends and immediately resumes

  Package: udisks2 (2.1.3-1)

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1349879] Re: powering off an usb3 device causes kernel to resume immediately after suspend

2014-08-02 Thread b3nmore
I've tested kernel 3.16-rc7 from mainline, with the same results.

Another thing I've tested, is disabling acpi wakeups for usb related
devices: If I disable wakeup for ALL usb related devices (in my case
EHC1, EHC2, XHC) suspend works correctly. Any other combination (e.g.
disable only XHC and leave EHCx enabled) prevents suspending.

Attached is the dmesg output of a successful suspend/resume using this
workaround.

/proc/acpi/wakeup for successful suspend looks in my case:
$ cat /proc/acpi/wakeup
Device  S-state   Status   Sysfs node
UAR1  S4*disabled  pnp:00:0b
RP01  S4*disabled  pci::00:1c.0
PXSX  S4*disabled
RP03  S4*disabled  pci::00:1c.2
PXSX  S4*enabled   pci::03:00.0
GLAN  S4*disabled
EHC1  S4*disabled  pci::00:1d.0
EHC2  S4*disabled  pci::00:1a.0
XHC   S4*disabled  pci::00:14.0
HDEF  S4*disabled  pci::00:1b.0
PEG0  S4*disabled  pci::00:01.0
PEGP  S4*disabled
PEG1  S4*disabled
PEG2  S4*disabled


** Attachment added: dmesg_acpi_disabled.log
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1349879/+attachment/4167943/+files/dmesg_acpi_disabled.log

-- 
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/1349879

Title:
  powering off an usb3 device causes kernel to resume immediately after
  suspend

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  After powering off an usb3 disk (e.g. udisksctl power-off -b /dev/sdc)
  the system immediately resumes after suspend. This does not happen, if
  I umount the device and disconnect it. Usb devices  3.0 seem not to
  be affected.

  How to reproduce:
  1) plug an usb3 device to an usb3 port and mount it
  2) umount it
  3) power it off: udisksctl power-off -b /dev/sdX
  4) suspend: (e.g. echo mem  /sys/power/state)

  result: system suspends and immediately resumes

  Package: udisks2 (2.1.3-1)

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1349879] Re: powering off an usb3 device causes kernel to resume immediately after suspend

2014-08-01 Thread b3nmore
I did some further testing with following results: I can reestablish the
correct suspend behavior by plugging in the drive, mounting, unmounting
and unplugging the drive without powering down. This has to be done on
exactly the same port, which triggered the misbehavior (other ports will
not work).

-- 
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/1349879

Title:
  powering off an usb3 device causes kernel to resume immediately after
  suspend

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  After powering off an usb3 disk (e.g. udisksctl power-off -b /dev/sdc)
  the system immediately resumes after suspend. This does not happen, if
  I umount the device and disconnect it. Usb devices  3.0 seem not to
  be affected.

  How to reproduce:
  1) plug an usb3 device to an usb3 port and mount it
  2) umount it
  3) power it off: udisksctl power-off -b /dev/sdX
  4) suspend: (e.g. echo mem  /sys/power/state)

  result: system suspends and immediately resumes

  Package: udisks2 (2.1.3-1)

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1349879] Re: powering off an usb3 device causes kernel to resume immediately after suspend

2014-07-31 Thread Martin Pitt
can you please do dmesg  /tmp/dmesg.txt after such a resume and
attach /tmp/dmesg.txt here? Thanks!

** Package changed: udisks2 (Ubuntu) = linux (Ubuntu)

** Changed in: linux (Ubuntu)
   Status: New = Incomplete

-- 
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/1349879

Title:
  powering off an usb3 device causes kernel to resume immediately after
  suspend

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  After powering off an usb3 disk (e.g. udisksctl power-off -b /dev/sdc)
  the system immediately resumes after suspend. This does not happen, if
  I umount the device and disconnect it. Usb devices  3.0 seem not to
  be affected.

  How to reproduce:
  1) plug an usb3 device to an usb3 port and mount it
  2) umount it
  3) power it off: udisksctl power-off -b /dev/sdX
  4) suspend: (e.g. echo mem  /sys/power/state)

  result: system suspends and immediately resumes

  Package: udisks2 (2.1.3-1)

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1349879] Re: powering off an usb3 device causes kernel to resume immediately after suspend

2014-07-31 Thread b3nmore
 can you please do dmesg  /tmp/dmesg.txt after such a resume and
attach /tmp/dmesg.txt here? Thanks!

Rebooted and executed the steps mentioned above. dmesg is attached.

** Attachment added: dmesg.log
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1349879/+attachment/4166687/+files/dmesg.log

-- 
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/1349879

Title:
  powering off an usb3 device causes kernel to resume immediately after
  suspend

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  After powering off an usb3 disk (e.g. udisksctl power-off -b /dev/sdc)
  the system immediately resumes after suspend. This does not happen, if
  I umount the device and disconnect it. Usb devices  3.0 seem not to
  be affected.

  How to reproduce:
  1) plug an usb3 device to an usb3 port and mount it
  2) umount it
  3) power it off: udisksctl power-off -b /dev/sdX
  4) suspend: (e.g. echo mem  /sys/power/state)

  result: system suspends and immediately resumes

  Package: udisks2 (2.1.3-1)

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp