[Kernel-packages] [Bug 1800859] Re: Fail to wake from suspend in Ubuntu 18.10

2018-11-01 Thread Tony Corbett
Another failure to suspend on 4.19 (booted into 4.18 on restart) ...

Nov  1 10:42:56 g0wfv kernel: [ 4694.900806] atkbd serio0: Unknown key pressed 
(translated set 2, code 0xd8 on isa0060/serio0).
Nov  1 10:42:56 g0wfv kernel: [ 4694.900852] atkbd serio0: Use 'setkeycodes 
e058 ' to make it known.
Nov  1 10:42:56 g0wfv kernel: [ 4694.909888] atkbd serio0: Unknown key released 
(translated set 2, code 0xd8 on isa0060/serio0).
Nov  1 10:42:56 g0wfv kernel: [ 4694.909892] atkbd serio0: Use 'setkeycodes 
e058 ' to make it known.
Nov  1 10:42:56 g0wfv kernel: [ 4695.122164] wlo1: deauthenticating from 
c0:ff:d4:71:dd:c8 by local choice (Reason: 3=DEAUTH_LEAVING)
Nov  1 10:43:00 g0wfv kernel: [ 4699.048317] PM: suspend entry (deep)
Nov  1 12:13:08 g0wfv kernel: [0.00] Linux version 4.18.0-10-generic 
(buildd@lgw01-amd64-060) (gcc version 8.2.0 (Ubuntu 8.2.0-7ubuntu1)) #11-Ubuntu 
SMP Thu Oct 11 15:13:55 UTC 2018 (Ubuntu 4.18.0-10.11-generic 4.18.12)


** Summary changed:

- Fail to wake from suspend in Ubuntu 18.10
+ Fail to suspend properly in Ubuntu 18.10 (Also occurred in 18.04)

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

Title:
  Fail to suspend properly in Ubuntu 18.10 (Also occurred in 18.04)

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  This has all the hallmarks of Bug #1774950 excepting that no amount of
  kernel reversion seems to solve the problem.

  System sporadically works fine, but mostly fails to suspend properly
  according to /var/log/kern.log ...

  $ lsb_release -rd
  Description:  Ubuntu 18.10
  Release:  18.10

  $ cat /proc/version_signature 
  Ubuntu 4.18.0-10.11-generic 4.18.12

  $ lscpu
  Architecture:x86_64
  CPU op-mode(s):  32-bit, 64-bit
  Byte Order:  Little Endian
  CPU(s):  4
  On-line CPU(s) list: 0-3
  Thread(s) per core:  2
  Core(s) per socket:  2
  Socket(s):   1
  NUMA node(s):1
  Vendor ID:   AuthenticAMD
  CPU family:  21
  Model:   101
  Model name:  AMD A12-9700P RADEON R7, 10 COMPUTE CORES 4C+6G
  Stepping:1
  CPU MHz: 1582.715
  CPU max MHz: 2500.
  CPU min MHz: 1300.
  BogoMIPS:4990.76
  Virtualisation:  AMD-V
  L1d cache:   32K
  L1i cache:   96K
  L2 cache:1024K
  NUMA node0 CPU(s):   0-3
  Flags:   fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb 
rdtscp lm constant_tsc rep_good acc_power nopl nonstop_tsc cpuid extd_apicid 
aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes 
xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a 
misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm 
topoext perfctr_core perfctr_nb bpext ptsc mwaitx cpb hw_pstate ssbd vmmcall 
fsgsbase bmi1 avx2 smep bmi2 xsaveopt arat npt lbrv svm_lock nrip_save 
tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic 
v_vmsave_vmload vgif overflow_recov

  $ sudo lspci -vnvn 
  00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h 
(Models 60h-6fh) Processor Root Complex [1022:1576]
Subsystem: Hewlett-Packard Company Family 15h (Models 60h-6fh) 
Processor Root Complex [103c:81f9]
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- 
Capabilities: [64] MSI: Enable+ Count=1/4 Maskable- 64bit+
Address: fee08004  Data: 4021
Capabilities: [74] HyperTransport: MSI Mapping Enable+ Fixed+

  00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] [1002:9874] (rev c9) (prog-if 00 [VGA 
controller])
Subsystem: Hewlett-Packard Company Wani [Radeon R5/R6/R7 Graphics] 
[103c:81f9]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- 
Capabilities: [50] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Express (v2) Root Complex Integrated Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0
ExtTag+ RBE+
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- 
Unsupported-
RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr- 

[Kernel-packages] [Bug 1800859] Re: Fail to wake from suspend in Ubuntu 18.10

2018-11-01 Thread Tony Corbett
The above failure was exactly what I was originally experiencing in
18.04 with 4.15.0-38-generic; The only way to recover is to power off
and back on.

The AMDGPU failure seems to be another (sporadic) issue - it's the first
time I've seen it fail this way ...

More watching and testing required!

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

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

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

Title:
  Fail to wake from suspend in Ubuntu 18.10

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  This has all the hallmarks of Bug #1774950 excepting that no amount of
  kernel reversion seems to solve the problem.

  System sporadically works fine, but mostly fails to suspend properly
  according to /var/log/kern.log ...

  $ lsb_release -rd
  Description:  Ubuntu 18.10
  Release:  18.10

  $ cat /proc/version_signature 
  Ubuntu 4.18.0-10.11-generic 4.18.12

  $ lscpu
  Architecture:x86_64
  CPU op-mode(s):  32-bit, 64-bit
  Byte Order:  Little Endian
  CPU(s):  4
  On-line CPU(s) list: 0-3
  Thread(s) per core:  2
  Core(s) per socket:  2
  Socket(s):   1
  NUMA node(s):1
  Vendor ID:   AuthenticAMD
  CPU family:  21
  Model:   101
  Model name:  AMD A12-9700P RADEON R7, 10 COMPUTE CORES 4C+6G
  Stepping:1
  CPU MHz: 1582.715
  CPU max MHz: 2500.
  CPU min MHz: 1300.
  BogoMIPS:4990.76
  Virtualisation:  AMD-V
  L1d cache:   32K
  L1i cache:   96K
  L2 cache:1024K
  NUMA node0 CPU(s):   0-3
  Flags:   fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb 
rdtscp lm constant_tsc rep_good acc_power nopl nonstop_tsc cpuid extd_apicid 
aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes 
xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a 
misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm 
topoext perfctr_core perfctr_nb bpext ptsc mwaitx cpb hw_pstate ssbd vmmcall 
fsgsbase bmi1 avx2 smep bmi2 xsaveopt arat npt lbrv svm_lock nrip_save 
tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic 
v_vmsave_vmload vgif overflow_recov

  $ sudo lspci -vnvn 
  00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h 
(Models 60h-6fh) Processor Root Complex [1022:1576]
Subsystem: Hewlett-Packard Company Family 15h (Models 60h-6fh) 
Processor Root Complex [103c:81f9]
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- 
Capabilities: [64] MSI: Enable+ Count=1/4 Maskable- 64bit+
Address: fee08004  Data: 4021
Capabilities: [74] HyperTransport: MSI Mapping Enable+ Fixed+

  00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] [1002:9874] (rev c9) (prog-if 00 [VGA 
controller])
Subsystem: Hewlett-Packard Company Wani [Radeon R5/R6/R7 Graphics] 
[103c:81f9]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- 
Capabilities: [50] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Express (v2) Root Complex Integrated Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0
ExtTag+ RBE+
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- 
Unsupported-
RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- 
TransPend-
DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, 
OBFF Not Supported
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, 
OBFF Disabled
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: fee0  Data: 
Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 
Len=010 
Capabilities: [270 v1] #19
Capabilities: [2b0 v1] Address Translation Service (ATS)
ATSCap: Invalidate Queue Depth: 00
ATSCtl: Enable+, Smallest Translation Unit: 00
Capabilities: [2c0 v1] Page Request Interface (PRI)
   

[Kernel-packages] [Bug 1800859] Re: Fail to wake from suspend in Ubuntu 18.10

2018-11-01 Thread Tony Corbett
This one failed to suspend properly on 14.9 ...

Nov  1 08:30:24 g0wfv kernel: [  282.955728] atkbd serio0: Unknown key pressed 
(translated set 2, code 0xd8 on isa0060/serio0).
Nov  1 08:30:24 g0wfv kernel: [  282.955736] atkbd serio0: Use 'setkeycodes 
e058 ' to make it known.
Nov  1 08:30:24 g0wfv kernel: [  282.964593] atkbd serio0: Unknown key released 
(translated set 2, code 0xd8 on isa0060/serio0).
Nov  1 08:30:24 g0wfv kernel: [  282.964600] atkbd serio0: Use 'setkeycodes 
e058 ' to make it known.
Nov  1 08:30:24 g0wfv kernel: [  283.290474] wlo1: deauthenticating from 
c0:ff:d4:71:dd:c8 by local choice (Reason: 3=DEAUTH_LEAVING)
Nov  1 08:30:28 g0wfv kernel: [  287.130650] PM: suspend entry (deep)
Nov  1 09:13:18 g0wfv kernel: [0.00] Linux version 
4.19.0-041900-generic (kernel@tangerine) (gcc version 8.2.0 (Ubuntu 
8.2.0-7ubuntu1)) #201810221809 SMP Mon Oct 22 22:11:45 UTC 2018

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

Title:
  Fail to wake from suspend in Ubuntu 18.10

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  This has all the hallmarks of Bug #1774950 excepting that no amount of
  kernel reversion seems to solve the problem.

  System sporadically works fine, but mostly fails to suspend properly
  according to /var/log/kern.log ...

  $ lsb_release -rd
  Description:  Ubuntu 18.10
  Release:  18.10

  $ cat /proc/version_signature 
  Ubuntu 4.18.0-10.11-generic 4.18.12

  $ lscpu
  Architecture:x86_64
  CPU op-mode(s):  32-bit, 64-bit
  Byte Order:  Little Endian
  CPU(s):  4
  On-line CPU(s) list: 0-3
  Thread(s) per core:  2
  Core(s) per socket:  2
  Socket(s):   1
  NUMA node(s):1
  Vendor ID:   AuthenticAMD
  CPU family:  21
  Model:   101
  Model name:  AMD A12-9700P RADEON R7, 10 COMPUTE CORES 4C+6G
  Stepping:1
  CPU MHz: 1582.715
  CPU max MHz: 2500.
  CPU min MHz: 1300.
  BogoMIPS:4990.76
  Virtualisation:  AMD-V
  L1d cache:   32K
  L1i cache:   96K
  L2 cache:1024K
  NUMA node0 CPU(s):   0-3
  Flags:   fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb 
rdtscp lm constant_tsc rep_good acc_power nopl nonstop_tsc cpuid extd_apicid 
aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes 
xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a 
misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm 
topoext perfctr_core perfctr_nb bpext ptsc mwaitx cpb hw_pstate ssbd vmmcall 
fsgsbase bmi1 avx2 smep bmi2 xsaveopt arat npt lbrv svm_lock nrip_save 
tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic 
v_vmsave_vmload vgif overflow_recov

  $ sudo lspci -vnvn 
  00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h 
(Models 60h-6fh) Processor Root Complex [1022:1576]
Subsystem: Hewlett-Packard Company Family 15h (Models 60h-6fh) 
Processor Root Complex [103c:81f9]
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- 
Capabilities: [64] MSI: Enable+ Count=1/4 Maskable- 64bit+
Address: fee08004  Data: 4021
Capabilities: [74] HyperTransport: MSI Mapping Enable+ Fixed+

  00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] [1002:9874] (rev c9) (prog-if 00 [VGA 
controller])
Subsystem: Hewlett-Packard Company Wani [Radeon R5/R6/R7 Graphics] 
[103c:81f9]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- 
Capabilities: [50] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Express (v2) Root Complex Integrated Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0
ExtTag+ RBE+
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- 
Unsupported-
RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- 
TransPend-
DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, 
OBFF Not Supported
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, 

[Kernel-packages] [Bug 1800859] Re: Fail to wake from suspend in Ubuntu 18.10

2018-11-01 Thread Tony Corbett
That would be a good idea  (silly me!)

Booted into 14.9 ... just testing as we speak!

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

Title:
  Fail to wake from suspend in Ubuntu 18.10

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  This has all the hallmarks of Bug #1774950 excepting that no amount of
  kernel reversion seems to solve the problem.

  System sporadically works fine, but mostly fails to suspend properly
  according to /var/log/kern.log ...

  $ lsb_release -rd
  Description:  Ubuntu 18.10
  Release:  18.10

  $ cat /proc/version_signature 
  Ubuntu 4.18.0-10.11-generic 4.18.12

  $ lscpu
  Architecture:x86_64
  CPU op-mode(s):  32-bit, 64-bit
  Byte Order:  Little Endian
  CPU(s):  4
  On-line CPU(s) list: 0-3
  Thread(s) per core:  2
  Core(s) per socket:  2
  Socket(s):   1
  NUMA node(s):1
  Vendor ID:   AuthenticAMD
  CPU family:  21
  Model:   101
  Model name:  AMD A12-9700P RADEON R7, 10 COMPUTE CORES 4C+6G
  Stepping:1
  CPU MHz: 1582.715
  CPU max MHz: 2500.
  CPU min MHz: 1300.
  BogoMIPS:4990.76
  Virtualisation:  AMD-V
  L1d cache:   32K
  L1i cache:   96K
  L2 cache:1024K
  NUMA node0 CPU(s):   0-3
  Flags:   fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb 
rdtscp lm constant_tsc rep_good acc_power nopl nonstop_tsc cpuid extd_apicid 
aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes 
xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a 
misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm 
topoext perfctr_core perfctr_nb bpext ptsc mwaitx cpb hw_pstate ssbd vmmcall 
fsgsbase bmi1 avx2 smep bmi2 xsaveopt arat npt lbrv svm_lock nrip_save 
tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic 
v_vmsave_vmload vgif overflow_recov

  $ sudo lspci -vnvn 
  00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h 
(Models 60h-6fh) Processor Root Complex [1022:1576]
Subsystem: Hewlett-Packard Company Family 15h (Models 60h-6fh) 
Processor Root Complex [103c:81f9]
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- 
Capabilities: [64] MSI: Enable+ Count=1/4 Maskable- 64bit+
Address: fee08004  Data: 4021
Capabilities: [74] HyperTransport: MSI Mapping Enable+ Fixed+

  00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] [1002:9874] (rev c9) (prog-if 00 [VGA 
controller])
Subsystem: Hewlett-Packard Company Wani [Radeon R5/R6/R7 Graphics] 
[103c:81f9]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- 
Capabilities: [50] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Express (v2) Root Complex Integrated Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0
ExtTag+ RBE+
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- 
Unsupported-
RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- 
TransPend-
DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, 
OBFF Not Supported
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, 
OBFF Disabled
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: fee0  Data: 
Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 
Len=010 
Capabilities: [270 v1] #19
Capabilities: [2b0 v1] Address Translation Service (ATS)
ATSCap: Invalidate Queue Depth: 00
ATSCtl: Enable+, Smallest Translation Unit: 00
Capabilities: [2c0 v1] Page Request Interface (PRI)
PRICtl: Enable+ Reset-
PRISta: RF- UPRGI- Stopped+
Page Request Capacity: 0020, Page Request Allocation: 
0020
Capabilities: [2d0 v1] Process Address Space ID (PASID)
PASIDCap: Exec- Priv-, Max PASID Width: 10
PASIDCtl: Enable+ 

[Kernel-packages] [Bug 1800859] Re: Fail to wake from suspend in Ubuntu 18.10

2018-11-01 Thread Kai-Heng Feng
AMDGPU stops working after resume.

Please disable secure boot to test upstream kernel.

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

Title:
  Fail to wake from suspend in Ubuntu 18.10

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  This has all the hallmarks of Bug #1774950 excepting that no amount of
  kernel reversion seems to solve the problem.

  System sporadically works fine, but mostly fails to suspend properly
  according to /var/log/kern.log ...

  $ lsb_release -rd
  Description:  Ubuntu 18.10
  Release:  18.10

  $ cat /proc/version_signature 
  Ubuntu 4.18.0-10.11-generic 4.18.12

  $ lscpu
  Architecture:x86_64
  CPU op-mode(s):  32-bit, 64-bit
  Byte Order:  Little Endian
  CPU(s):  4
  On-line CPU(s) list: 0-3
  Thread(s) per core:  2
  Core(s) per socket:  2
  Socket(s):   1
  NUMA node(s):1
  Vendor ID:   AuthenticAMD
  CPU family:  21
  Model:   101
  Model name:  AMD A12-9700P RADEON R7, 10 COMPUTE CORES 4C+6G
  Stepping:1
  CPU MHz: 1582.715
  CPU max MHz: 2500.
  CPU min MHz: 1300.
  BogoMIPS:4990.76
  Virtualisation:  AMD-V
  L1d cache:   32K
  L1i cache:   96K
  L2 cache:1024K
  NUMA node0 CPU(s):   0-3
  Flags:   fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb 
rdtscp lm constant_tsc rep_good acc_power nopl nonstop_tsc cpuid extd_apicid 
aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes 
xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a 
misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm 
topoext perfctr_core perfctr_nb bpext ptsc mwaitx cpb hw_pstate ssbd vmmcall 
fsgsbase bmi1 avx2 smep bmi2 xsaveopt arat npt lbrv svm_lock nrip_save 
tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic 
v_vmsave_vmload vgif overflow_recov

  $ sudo lspci -vnvn 
  00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h 
(Models 60h-6fh) Processor Root Complex [1022:1576]
Subsystem: Hewlett-Packard Company Family 15h (Models 60h-6fh) 
Processor Root Complex [103c:81f9]
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- 
Capabilities: [64] MSI: Enable+ Count=1/4 Maskable- 64bit+
Address: fee08004  Data: 4021
Capabilities: [74] HyperTransport: MSI Mapping Enable+ Fixed+

  00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] [1002:9874] (rev c9) (prog-if 00 [VGA 
controller])
Subsystem: Hewlett-Packard Company Wani [Radeon R5/R6/R7 Graphics] 
[103c:81f9]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- 
Capabilities: [50] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Express (v2) Root Complex Integrated Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0
ExtTag+ RBE+
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- 
Unsupported-
RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- 
TransPend-
DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, 
OBFF Not Supported
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, 
OBFF Disabled
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: fee0  Data: 
Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 
Len=010 
Capabilities: [270 v1] #19
Capabilities: [2b0 v1] Address Translation Service (ATS)
ATSCap: Invalidate Queue Depth: 00
ATSCtl: Enable+, Smallest Translation Unit: 00
Capabilities: [2c0 v1] Page Request Interface (PRI)
PRICtl: Enable+ Reset-
PRISta: RF- UPRGI- Stopped+
Page Request Capacity: 0020, Page Request Allocation: 
0020
Capabilities: [2d0 v1] Process Address Space ID (PASID)
PASIDCap: Exec- Priv-, Max PASID Width: 10
PASIDCtl: Enable+ 

[Kernel-packages] [Bug 1800859] Re: Fail to wake from suspend in Ubuntu 18.10

2018-10-31 Thread Tony Corbett
Unable to boot 4.19 upstream kernel (invalid signature)

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

Title:
  Fail to wake from suspend in Ubuntu 18.10

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  This has all the hallmarks of Bug #1774950 excepting that no amount of
  kernel reversion seems to solve the problem.

  System sporadically works fine, but mostly fails to suspend properly
  according to /var/log/kern.log ...

  $ lsb_release -rd
  Description:  Ubuntu 18.10
  Release:  18.10

  $ cat /proc/version_signature 
  Ubuntu 4.18.0-10.11-generic 4.18.12

  $ lscpu
  Architecture:x86_64
  CPU op-mode(s):  32-bit, 64-bit
  Byte Order:  Little Endian
  CPU(s):  4
  On-line CPU(s) list: 0-3
  Thread(s) per core:  2
  Core(s) per socket:  2
  Socket(s):   1
  NUMA node(s):1
  Vendor ID:   AuthenticAMD
  CPU family:  21
  Model:   101
  Model name:  AMD A12-9700P RADEON R7, 10 COMPUTE CORES 4C+6G
  Stepping:1
  CPU MHz: 1582.715
  CPU max MHz: 2500.
  CPU min MHz: 1300.
  BogoMIPS:4990.76
  Virtualisation:  AMD-V
  L1d cache:   32K
  L1i cache:   96K
  L2 cache:1024K
  NUMA node0 CPU(s):   0-3
  Flags:   fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb 
rdtscp lm constant_tsc rep_good acc_power nopl nonstop_tsc cpuid extd_apicid 
aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes 
xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a 
misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm 
topoext perfctr_core perfctr_nb bpext ptsc mwaitx cpb hw_pstate ssbd vmmcall 
fsgsbase bmi1 avx2 smep bmi2 xsaveopt arat npt lbrv svm_lock nrip_save 
tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic 
v_vmsave_vmload vgif overflow_recov

  $ sudo lspci -vnvn 
  00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h 
(Models 60h-6fh) Processor Root Complex [1022:1576]
Subsystem: Hewlett-Packard Company Family 15h (Models 60h-6fh) 
Processor Root Complex [103c:81f9]
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- 
Capabilities: [64] MSI: Enable+ Count=1/4 Maskable- 64bit+
Address: fee08004  Data: 4021
Capabilities: [74] HyperTransport: MSI Mapping Enable+ Fixed+

  00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] [1002:9874] (rev c9) (prog-if 00 [VGA 
controller])
Subsystem: Hewlett-Packard Company Wani [Radeon R5/R6/R7 Graphics] 
[103c:81f9]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- 
Capabilities: [50] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Express (v2) Root Complex Integrated Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0
ExtTag+ RBE+
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- 
Unsupported-
RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- 
TransPend-
DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, 
OBFF Not Supported
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, 
OBFF Disabled
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: fee0  Data: 
Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 
Len=010 
Capabilities: [270 v1] #19
Capabilities: [2b0 v1] Address Translation Service (ATS)
ATSCap: Invalidate Queue Depth: 00
ATSCtl: Enable+, Smallest Translation Unit: 00
Capabilities: [2c0 v1] Page Request Interface (PRI)
PRICtl: Enable+ Reset-
PRISta: RF- UPRGI- Stopped+
Page Request Capacity: 0020, Page Request Allocation: 
0020
Capabilities: [2d0 v1] Process Address Space ID (PASID)
PASIDCap: Exec- Priv-, Max PASID Width: 10
PASIDCtl: Enable+ Exec- Priv-
Kernel driver in 

[Kernel-packages] [Bug 1800859] Re: Fail to wake from suspend in Ubuntu 18.10

2018-10-31 Thread Tony Corbett
Failed wake after suspend ...

Oct 31 15:55:08 g0wfv kernel: [ 3212.930714] atkbd serio0: Unknown key pressed 
(translated set 2, code 0xd8 on isa0060/serio0).
Oct 31 15:55:08 g0wfv kernel: [ 3212.930721] atkbd serio0: Use 'setkeycodes 
e058 ' to make it known.
Oct 31 15:55:08 g0wfv kernel: [ 3212.940557] atkbd serio0: Unknown key released 
(translated set 2, code 0xd8 on isa0060/serio0).
Oct 31 15:55:08 g0wfv kernel: [ 3212.940564] atkbd serio0: Use 'setkeycodes 
e058 ' to make it known.
Oct 31 15:55:09 g0wfv kernel: [ 3213.238559] wlo1: deauthenticating from 
c0:ff:d4:71:dd:c8 by local choice (Reason: 3=DEAUTH_LEAVING)
Oct 31 15:55:12 g0wfv kernel: [ 3216.833285] PM: suspend entry (deep)
Oct 31 18:04:32 g0wfv kernel: [ 3216.833293] PM: Syncing filesystems ... done.
Oct 31 18:04:32 g0wfv kernel: [ 3217.556685] Freezing user space processes ... 
(elapsed 0.003 seconds) done.
Oct 31 18:04:32 g0wfv kernel: [ 3217.560474] OOM killer disabled.
Oct 31 18:04:32 g0wfv kernel: [ 3217.560476] Freezing remaining freezable tasks 
... (elapsed 0.002 seconds) done.
Oct 31 18:04:32 g0wfv kernel: [ 3217.562636] Suspending console(s) (use 
no_console_suspend to debug)
Oct 31 18:04:32 g0wfv kernel: [ 3217.583712] sd 0:0:0:0: [sda] Synchronizing 
SCSI cache
Oct 31 18:04:32 g0wfv kernel: [ 3217.791855] sd 0:0:0:0: [sda] Stopping disk
Oct 31 18:04:32 g0wfv kernel: [ 3218.954069] ACPI: EC: interrupt blocked
Oct 31 18:04:32 g0wfv kernel: [ 3218.974774] snd_hda_intel :00:09.2: 
Refused to change power state, currently in D0
Oct 31 18:04:32 g0wfv kernel: [ 3218.994804] ACPI: Preparing to enter system 
sleep state S3
Oct 31 18:04:32 g0wfv kernel: [ 3219.002312] ACPI: EC: event blocked
Oct 31 18:04:32 g0wfv kernel: [ 3219.002314] ACPI: EC: EC stopped
Oct 31 18:04:32 g0wfv kernel: [ 3219.002315] PM: Saving platform NVS memory
Oct 31 18:04:32 g0wfv kernel: [ 3219.002397] Disabling non-boot CPUs ...
Oct 31 18:04:32 g0wfv kernel: [ 3219.016440] smpboot: CPU 1 is now offline
Oct 31 18:04:32 g0wfv kernel: [ 3219.040670] smpboot: CPU 2 is now offline
Oct 31 18:04:32 g0wfv kernel: [ 3219.072570] smpboot: CPU 3 is now offline
Oct 31 18:04:32 g0wfv kernel: [ 3219.075473] ACPI: Low-level resume complete
Oct 31 18:04:32 g0wfv kernel: [ 3219.075557] ACPI: EC: EC started
Oct 31 18:04:32 g0wfv kernel: [ 3219.075558] PM: Restoring platform NVS memory
Oct 31 18:04:32 g0wfv kernel: [ 3219.075659] LVT offset 0 assigned for vector 
0x400
Oct 31 18:04:32 g0wfv kernel: [ 3219.075942] Enabling non-boot CPUs ...
Oct 31 18:04:32 g0wfv kernel: [ 3219.076051] x86: Booting SMP configuration:
Oct 31 18:04:32 g0wfv kernel: [ 3219.076052] smpboot: Booting Node 0 Processor 
1 APIC 0x11
Oct 31 18:04:32 g0wfv kernel: [ 3219.078382]  cache: parent cpu1 should not be 
sleeping
Oct 31 18:04:32 g0wfv kernel: [ 3219.078473] microcode: CPU1: 
patch_level=0x06006115
Oct 31 18:04:32 g0wfv kernel: [ 3219.078630] CPU1 is up
Oct 31 18:04:32 g0wfv kernel: [ 3219.078664] smpboot: Booting Node 0 Processor 
2 APIC 0x12
Oct 31 18:04:32 g0wfv kernel: [ 3219.081154]  cache: parent cpu2 should not be 
sleeping
Oct 31 18:04:32 g0wfv kernel: [ 3219.081262] microcode: CPU2: 
patch_level=0x06006115
Oct 31 18:04:32 g0wfv kernel: [ 3219.081655] CPU2 is up
Oct 31 18:04:32 g0wfv kernel: [ 3219.081721] smpboot: Booting Node 0 Processor 
3 APIC 0x13
Oct 31 18:04:32 g0wfv kernel: [ 3219.084110]  cache: parent cpu3 should not be 
sleeping
Oct 31 18:04:32 g0wfv kernel: [ 3219.084209] microcode: CPU3: 
patch_level=0x06006115
Oct 31 18:04:32 g0wfv kernel: [ 3219.084643] CPU3 is up
Oct 31 18:04:32 g0wfv kernel: [ 3219.085315] ACPI: Waking up from system sleep 
state S3
Oct 31 18:04:32 g0wfv kernel: [ 3219.112587] ACPI: EC: interrupt unblocked
Oct 31 18:04:32 g0wfv kernel: [ 3219.158205] ACPI: EC: event unblocked
Oct 31 18:04:32 g0wfv kernel: [ 3219.158986] [drm] PCIE GART of 1024M enabled 
(table at 0x00F4).
Oct 31 18:04:32 g0wfv kernel: [ 3219.159425] sd 0:0:0:0: [sda] Starting disk
Oct 31 18:04:32 g0wfv kernel: [ 3219.191933] [drm] UVD initialized successfully.
Oct 31 18:04:32 g0wfv kernel: [ 3219.391445] [drm] VCE initialized successfully.
Oct 31 18:04:32 g0wfv kernel: [ 3219.392666] r8169 :01:00.0 enp1s0: link 
down
Oct 31 18:04:32 g0wfv kernel: [ 3219.392717] amdgpu :00:01.0: AMD-Vi: Event 
logged [IO_PAGE_FAULT domain=0x address=0x0001f1cf4040 flags=0x0050]
Oct 31 18:04:32 g0wfv kernel: [ 3219.392720] amdgpu :00:01.0: AMD-Vi: Event 
logged [IO_PAGE_FAULT domain=0x address=0x0001f175c560 flags=0x0070]
Oct 31 18:04:32 g0wfv kernel: [ 3219.392722] amdgpu :00:01.0: AMD-Vi: Event 
logged [IO_PAGE_FAULT domain=0x address=0x0001f175c570 flags=0x0070]
Oct 31 18:04:32 g0wfv kernel: [ 3219.392725] amdgpu :00:01.0: AMD-Vi: Event 
logged [IO_PAGE_FAULT domain=0x address=0x0001f175c570 flags=0x0070]
Oct 31 18:04:32 g0wfv kernel: [ 3219.415471] usb 1-1.4: reset full-speed USB 
device number 3 using ehci-pci
Oct 31 18:04:32 g0wfv kernel: [ 

[Kernel-packages] [Bug 1800859] Re: Fail to wake from suspend in Ubuntu 18.10

2018-10-31 Thread Tony Corbett
I'm waiting for it to fail again before posting more info.  Once it does
I will try the upstream kernel.

But to answer the question, this was happening in 18.04 (kernel version
4.15.0-38-generic) prior to upgrade, and has failed once since upgrade
to 18.10 earlier this afternoon. (But as luck would have it, it won't
fail on demand for me now!)

Last time I can remember this particular system resuming from suspend
reliably was probably just prior to install of 18.04 from new -
previously it was running 18.04 upgraded from 17.10 (and earlier!)

I'll keep an eye on it and report back.  Annoyingly, for now though, it
seems to be resuming OK!

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

Title:
  Fail to wake from suspend in Ubuntu 18.10

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  This has all the hallmarks of Bug #1774950 excepting that no amount of
  kernel reversion seems to solve the problem.

  System sporadically works fine, but mostly fails to suspend properly
  according to /var/log/kern.log ...

  $ lsb_release -rd
  Description:  Ubuntu 18.10
  Release:  18.10

  $ cat /proc/version_signature 
  Ubuntu 4.18.0-10.11-generic 4.18.12

  $ lscpu
  Architecture:x86_64
  CPU op-mode(s):  32-bit, 64-bit
  Byte Order:  Little Endian
  CPU(s):  4
  On-line CPU(s) list: 0-3
  Thread(s) per core:  2
  Core(s) per socket:  2
  Socket(s):   1
  NUMA node(s):1
  Vendor ID:   AuthenticAMD
  CPU family:  21
  Model:   101
  Model name:  AMD A12-9700P RADEON R7, 10 COMPUTE CORES 4C+6G
  Stepping:1
  CPU MHz: 1582.715
  CPU max MHz: 2500.
  CPU min MHz: 1300.
  BogoMIPS:4990.76
  Virtualisation:  AMD-V
  L1d cache:   32K
  L1i cache:   96K
  L2 cache:1024K
  NUMA node0 CPU(s):   0-3
  Flags:   fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb 
rdtscp lm constant_tsc rep_good acc_power nopl nonstop_tsc cpuid extd_apicid 
aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes 
xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a 
misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm 
topoext perfctr_core perfctr_nb bpext ptsc mwaitx cpb hw_pstate ssbd vmmcall 
fsgsbase bmi1 avx2 smep bmi2 xsaveopt arat npt lbrv svm_lock nrip_save 
tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic 
v_vmsave_vmload vgif overflow_recov

  $ sudo lspci -vnvn 
  00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h 
(Models 60h-6fh) Processor Root Complex [1022:1576]
Subsystem: Hewlett-Packard Company Family 15h (Models 60h-6fh) 
Processor Root Complex [103c:81f9]
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- 
Capabilities: [64] MSI: Enable+ Count=1/4 Maskable- 64bit+
Address: fee08004  Data: 4021
Capabilities: [74] HyperTransport: MSI Mapping Enable+ Fixed+

  00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] [1002:9874] (rev c9) (prog-if 00 [VGA 
controller])
Subsystem: Hewlett-Packard Company Wani [Radeon R5/R6/R7 Graphics] 
[103c:81f9]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- 
Capabilities: [50] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Express (v2) Root Complex Integrated Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0
ExtTag+ RBE+
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- 
Unsupported-
RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- 
TransPend-
DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, 
OBFF Not Supported
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, 
OBFF Disabled
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: fee0  Data: 
Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 
Len=010 
Capabilities: [270 v1] #19

[Kernel-packages] [Bug 1800859] Re: Fail to wake from suspend in Ubuntu 18.10

2018-10-31 Thread Tony Corbett
apport information

** Tags added: apport-collected

** Description changed:

  This has all the hallmarks of Bug #1774950 excepting that no amount of
  kernel reversion seems to solve the problem.
  
  System sporadically works fine, but mostly fails to suspend properly
  according to /var/log/kern.log ...
  
  $ lsb_release -rd
  Description:  Ubuntu 18.10
  Release:  18.10
  
  $ cat /proc/version_signature 
  Ubuntu 4.18.0-10.11-generic 4.18.12
  
  $ lscpu
  Architecture:x86_64
  CPU op-mode(s):  32-bit, 64-bit
  Byte Order:  Little Endian
  CPU(s):  4
  On-line CPU(s) list: 0-3
  Thread(s) per core:  2
  Core(s) per socket:  2
  Socket(s):   1
  NUMA node(s):1
  Vendor ID:   AuthenticAMD
  CPU family:  21
  Model:   101
  Model name:  AMD A12-9700P RADEON R7, 10 COMPUTE CORES 4C+6G
  Stepping:1
  CPU MHz: 1582.715
  CPU max MHz: 2500.
  CPU min MHz: 1300.
  BogoMIPS:4990.76
  Virtualisation:  AMD-V
  L1d cache:   32K
  L1i cache:   96K
  L2 cache:1024K
  NUMA node0 CPU(s):   0-3
  Flags:   fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb 
rdtscp lm constant_tsc rep_good acc_power nopl nonstop_tsc cpuid extd_apicid 
aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes 
xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a 
misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm 
topoext perfctr_core perfctr_nb bpext ptsc mwaitx cpb hw_pstate ssbd vmmcall 
fsgsbase bmi1 avx2 smep bmi2 xsaveopt arat npt lbrv svm_lock nrip_save 
tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic 
v_vmsave_vmload vgif overflow_recov
  
  $ sudo lspci -vnvn 
  00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h 
(Models 60h-6fh) Processor Root Complex [1022:1576]
Subsystem: Hewlett-Packard Company Family 15h (Models 60h-6fh) 
Processor Root Complex [103c:81f9]
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- 
Capabilities: [64] MSI: Enable+ Count=1/4 Maskable- 64bit+
Address: fee08004  Data: 4021
Capabilities: [74] HyperTransport: MSI Mapping Enable+ Fixed+
  
  00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] [1002:9874] (rev c9) (prog-if 00 [VGA 
controller])
Subsystem: Hewlett-Packard Company Wani [Radeon R5/R6/R7 Graphics] 
[103c:81f9]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- 
Capabilities: [50] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Express (v2) Root Complex Integrated Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0
ExtTag+ RBE+
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- 
Unsupported-
RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- 
TransPend-
DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, 
OBFF Not Supported
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, 
OBFF Disabled
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: fee0  Data: 
Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 
Len=010 
Capabilities: [270 v1] #19
Capabilities: [2b0 v1] Address Translation Service (ATS)
ATSCap: Invalidate Queue Depth: 00
ATSCtl: Enable+, Smallest Translation Unit: 00
Capabilities: [2c0 v1] Page Request Interface (PRI)
PRICtl: Enable+ Reset-
PRISta: RF- UPRGI- Stopped+
Page Request Capacity: 0020, Page Request Allocation: 
0020
Capabilities: [2d0 v1] Process Address Space ID (PASID)
PASIDCap: Exec- Priv-, Max PASID Width: 10
PASIDCtl: Enable+ Exec- Priv-
Kernel driver in use: amdgpu
Kernel modules: amdgpu
  
  00:01.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Kabini 
HDMI/DP Audio [1002:9840]
Subsystem: Hewlett-Packard Company Kabini HDMI/DP Audio [103c:81f9]
Control: I/O+ 

[Kernel-packages] [Bug 1800859] Re: Fail to wake from suspend in Ubuntu 18.10

2018-10-31 Thread Cristian Aravena Romero
Did this issue start happening after an update/upgrade? Was there a
prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer
to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
v4.19 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'.

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/v4.19

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

Title:
  Fail to wake from suspend in Ubuntu 18.10

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  This has all the hallmarks of Bug #1774950 excepting that no amount of
  kernel reversion seems to solve the problem.

  System sporadically works fine, but mostly fails to suspend properly
  according to /var/log/kern.log ...

  $ lsb_release -rd
  Description:  Ubuntu 18.10
  Release:  18.10

  $ cat /proc/version_signature 
  Ubuntu 4.18.0-10.11-generic 4.18.12

  $ lscpu
  Architecture:x86_64
  CPU op-mode(s):  32-bit, 64-bit
  Byte Order:  Little Endian
  CPU(s):  4
  On-line CPU(s) list: 0-3
  Thread(s) per core:  2
  Core(s) per socket:  2
  Socket(s):   1
  NUMA node(s):1
  Vendor ID:   AuthenticAMD
  CPU family:  21
  Model:   101
  Model name:  AMD A12-9700P RADEON R7, 10 COMPUTE CORES 4C+6G
  Stepping:1
  CPU MHz: 1582.715
  CPU max MHz: 2500.
  CPU min MHz: 1300.
  BogoMIPS:4990.76
  Virtualisation:  AMD-V
  L1d cache:   32K
  L1i cache:   96K
  L2 cache:1024K
  NUMA node0 CPU(s):   0-3
  Flags:   fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb 
rdtscp lm constant_tsc rep_good acc_power nopl nonstop_tsc cpuid extd_apicid 
aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes 
xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a 
misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm 
topoext perfctr_core perfctr_nb bpext ptsc mwaitx cpb hw_pstate ssbd vmmcall 
fsgsbase bmi1 avx2 smep bmi2 xsaveopt arat npt lbrv svm_lock nrip_save 
tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic 
v_vmsave_vmload vgif overflow_recov

  $ sudo lspci -vnvn 
  00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h 
(Models 60h-6fh) Processor Root Complex [1022:1576]
Subsystem: Hewlett-Packard Company Family 15h (Models 60h-6fh) 
Processor Root Complex [103c:81f9]
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- 
Capabilities: [64] MSI: Enable+ Count=1/4 Maskable- 64bit+
Address: fee08004  Data: 4021
Capabilities: [74] HyperTransport: MSI Mapping Enable+ Fixed+

  00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] [1002:9874] (rev c9) (prog-if 00 [VGA 
controller])
Subsystem: Hewlett-Packard Company Wani [Radeon R5/R6/R7 Graphics] 
[103c:81f9]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- 
Capabilities: [50] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Express (v2) Root Complex Integrated Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0
ExtTag+ RBE+
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- 
Unsupported-
RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- 
TransPend-
DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, 
OBFF Not Supported
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, 
OBFF Disabled
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: fee0  Data: 
Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 
Len=010 
Capabilities: [270 

[Kernel-packages] [Bug 1800859] Re: Fail to wake from suspend in Ubuntu 18.10

2018-10-31 Thread Tony Corbett
/var/log/kern.log (Correct suspend)
---

Oct 31 14:49:13 g0wfv kernel: [ 1526.582399] atkbd serio0: Unknown key pressed 
(translated set 2, code 0xd8 on isa0060/serio0).
Oct 31 14:49:13 g0wfv kernel: [ 1526.582406] atkbd serio0: Use 'setkeycodes 
e058 ' to make it known.
Oct 31 14:49:13 g0wfv kernel: [ 1526.591522] atkbd serio0: Unknown key released 
(translated set 2, code 0xd8 on isa0060/serio0).
Oct 31 14:49:13 g0wfv kernel: [ 1526.591529] atkbd serio0: Use 'setkeycodes 
e058 ' to make it known.
Oct 31 14:49:13 g0wfv kernel: [ 1526.929334] wlo1: deauthenticating from 
c0:ff:d4:71:dd:c8 by local choice (Reason: 3=DEAUTH_LEAVING)
Oct 31 14:49:17 g0wfv kernel: [ 1530.941539] PM: suspend entry (deep)
Oct 31 14:49:17 g0wfv kernel: [ 1530.941544] PM: Syncing filesystems ... done.
Oct 31 14:49:23 g0wfv kernel: [ 1531.403144] Freezing user space processes ... 
(elapsed 0.003 seconds) done.
Oct 31 14:49:23 g0wfv kernel: [ 1531.406255] OOM killer disabled.
Oct 31 14:49:23 g0wfv kernel: [ 1531.406256] Freezing remaining freezable tasks 
... (elapsed 0.001 seconds) done.
Oct 31 14:49:23 g0wfv kernel: [ 1531.408315] Suspending console(s) (use 
no_console_suspend to debug)
Oct 31 14:49:23 g0wfv kernel: [ 1531.425977] sd 0:0:0:0: [sda] Synchronizing 
SCSI cache
Oct 31 14:49:23 g0wfv kernel: [ 1531.607574] sd 0:0:0:0: [sda] Stopping disk
Oct 31 14:49:23 g0wfv kernel: [ 1532.762024] ACPI: EC: interrupt blocked
Oct 31 14:49:23 g0wfv kernel: [ 1532.781877] pci_raw_set_power_state: 31 
callbacks suppressed
Oct 31 14:49:23 g0wfv kernel: [ 1532.781885] snd_hda_intel :00:09.2: 
Refused to change power state, currently in D0
Oct 31 14:49:23 g0wfv kernel: [ 1532.801924] ACPI: Preparing to enter system 
sleep state S3
Oct 31 14:49:23 g0wfv kernel: [ 1532.810201] ACPI: EC: event blocked
Oct 31 14:49:23 g0wfv kernel: [ 1532.810203] ACPI: EC: EC stopped
Oct 31 14:49:23 g0wfv kernel: [ 1532.810204] PM: Saving platform NVS memory
Oct 31 14:49:23 g0wfv kernel: [ 1532.810283] Disabling non-boot CPUs ...
Oct 31 14:49:23 g0wfv kernel: [ 1532.826448] IRQ 37: no longer affine to CPU1
Oct 31 14:49:23 g0wfv kernel: [ 1532.827561] smpboot: CPU 1 is now offline
Oct 31 14:49:23 g0wfv kernel: [ 1532.850783] IRQ 35: no longer affine to CPU2
Oct 31 14:49:23 g0wfv kernel: [ 1532.851832] smpboot: CPU 2 is now offline
Oct 31 14:49:23 g0wfv kernel: [ 1532.882702] IRQ 18: no longer affine to CPU3
Oct 31 14:49:23 g0wfv kernel: [ 1532.882725] IRQ 28: no longer affine to CPU3
Oct 31 14:49:23 g0wfv kernel: [ 1532.882731] IRQ 29: no longer affine to CPU3
Oct 31 14:49:23 g0wfv kernel: [ 1532.882740] IRQ 33: no longer affine to CPU3
Oct 31 14:49:23 g0wfv kernel: [ 1532.883787] smpboot: CPU 3 is now offline
Oct 31 14:49:23 g0wfv kernel: [ 1532.888683] ACPI: Low-level resume complete
Oct 31 14:49:23 g0wfv kernel: [ 1532.888725] ACPI: EC: EC started
Oct 31 14:49:23 g0wfv kernel: [ 1532.888726] PM: Restoring platform NVS memory
Oct 31 14:49:23 g0wfv kernel: [ 1532.26] LVT offset 0 assigned for vector 
0x400
Oct 31 14:49:23 g0wfv kernel: [ 1532.889090] Enabling non-boot CPUs ...
Oct 31 14:49:23 g0wfv kernel: [ 1532.889171] x86: Booting SMP configuration:
Oct 31 14:49:23 g0wfv kernel: [ 1532.889172] smpboot: Booting Node 0 Processor 
1 APIC 0x11
Oct 31 14:49:23 g0wfv kernel: [ 1532.891503]  cache: parent cpu1 should not be 
sleeping
Oct 31 14:49:23 g0wfv kernel: [ 1532.891594] microcode: CPU1: 
patch_level=0x06006115
Oct 31 14:49:23 g0wfv kernel: [ 1532.891750] CPU1 is up
Oct 31 14:49:23 g0wfv kernel: [ 1532.891813] smpboot: Booting Node 0 Processor 
2 APIC 0x12
Oct 31 14:49:23 g0wfv kernel: [ 1532.894309]  cache: parent cpu2 should not be 
sleeping
Oct 31 14:49:23 g0wfv kernel: [ 1532.894431] microcode: CPU2: 
patch_level=0x06006115
Oct 31 14:49:23 g0wfv kernel: [ 1532.894666] CPU2 is up
Oct 31 14:49:23 g0wfv kernel: [ 1532.894686] smpboot: Booting Node 0 Processor 
3 APIC 0x13
Oct 31 14:49:23 g0wfv kernel: [ 1532.897085]  cache: parent cpu3 should not be 
sleeping
Oct 31 14:49:23 g0wfv kernel: [ 1532.897192] microcode: CPU3: 
patch_level=0x06006115
Oct 31 14:49:23 g0wfv kernel: [ 1532.897635] CPU3 is up
Oct 31 14:49:23 g0wfv kernel: [ 1532.898310] ACPI: Waking up from system sleep 
state S3
Oct 31 14:49:23 g0wfv kernel: [ 1532.925268] ACPI: EC: interrupt unblocked
Oct 31 14:49:23 g0wfv kernel: [ 1532.965438] ACPI: EC: event unblocked
Oct 31 14:49:23 g0wfv kernel: [ 1532.966134] [drm] PCIE GART of 1024M enabled 
(table at 0x00F4).
Oct 31 14:49:23 g0wfv kernel: [ 1532.966918] sd 0:0:0:0: [sda] Starting disk
Oct 31 14:49:23 g0wfv kernel: [ 1532.998225] [drm] UVD initialized successfully.
Oct 31 14:49:23 g0wfv kernel: [ 1533.198643] [drm] VCE initialized successfully.
Oct 31 14:49:23 g0wfv kernel: [ 1533.200161] r8169 :01:00.0 enp1s0: link 
down
Oct 31 14:49:23 g0wfv kernel: [ 1533.222588] usb 1-1.4: reset full-speed USB 
device number 3 using ehci-pci
Oct 31 14:49:23 g0wfv kernel: [ 1533.770442] ata2: SATA