Re: ThinkPad X1 Carbon Gen3

2015-06-29 Thread Masao Uebayashi
Filed a bug report: http://marc.info/?l=openbsd-bugsm=143554782402152w=2

Just for reference.

(Next time I buy a new machine I'll go directly to sendbug(1).)



Re: ThinkPad X1 Carbon Gen3

2015-06-28 Thread Mike Larkin
On Sun, Jun 28, 2015 at 10:39:12AM +0900, Masao Uebayashi wrote:
 On Sat, Jun 27, 2015 at 11:45:01AM -0700, Mike Larkin wrote:
  On Sat, Jun 27, 2015 at 12:37:23PM +0900, Masao Uebayashi wrote:
   - zzz
 - I can almost resume it from RAM with Security Chip (TPM) disabled
   in the BIOS setting.  Except display remains off.  With TPM enabled,
   I couldn't power on the machine after suspend to RAM.
   
   - ZZZ
 - Disabling TPM doesn't help hibernation.
 - I tried disabling various devices (iwm, em, xhci, ehci, ...).  Didn't
   help instability of hibernation.
 - Most failures are not recognizing hibernation (`/ was not properly
   unmounted')
 - Unhibernation succeeds when you are really lucky. :)
   
  
  Does it start to unpack the hibernated image, then reboot?
 
 I've tried 50 ZZZ and never seen this (reboot).
 
 I also believe that in some cases, unpacking failed and booted normally.
 
  Or does it not find any image in the signature block? (eg failed to
  write out the image?)
 
 Yes.  (As mentioned above; ``not recognizing hibernation''.)
 
 Success ratio is like 10%.
 

Still no proper bug report though. I've officially lost interest.

-ml



Re: ThinkPad X1 Carbon Gen3

2015-06-27 Thread Raf Czlonka
On Sat, Jun 27, 2015 at 04:37:23AM BST, Masao Uebayashi wrote:
 - zzz
   - I can almost resume it from RAM with Security Chip (TPM) disabled
 in the BIOS setting.  Except display remains off.  With TPM enabled,
 I couldn't power on the machine after suspend to RAM.
 
 - ZZZ
   - Disabling TPM doesn't help hibernation.
   - I tried disabling various devices (iwm, em, xhci, ehci, ...).  Didn't
 help instability of hibernation.
   - Most failures are not recognizing hibernation (`/ was not properly
 unmounted')
   - Unhibernation succeeds when you are really lucky. :)

Hi Masao,

The sendbug(1) utility is the best way to report bugs :^)

Regards,

Raf



Re: ThinkPad X1 Carbon Gen3

2015-06-27 Thread Mike Larkin
On Sat, Jun 27, 2015 at 12:37:23PM +0900, Masao Uebayashi wrote:
 - zzz
   - I can almost resume it from RAM with Security Chip (TPM) disabled
 in the BIOS setting.  Except display remains off.  With TPM enabled,
 I couldn't power on the machine after suspend to RAM.
 
 - ZZZ
   - Disabling TPM doesn't help hibernation.
   - I tried disabling various devices (iwm, em, xhci, ehci, ...).  Didn't
 help instability of hibernation.
   - Most failures are not recognizing hibernation (`/ was not properly
 unmounted')
   - Unhibernation succeeds when you are really lucky. :)
 

Does it start to unpack the hibernated image, then reboot?

Or does it not find any image in the signature block? (eg failed to
write out the image?)

Your bug report leaves a lot to be desired.

-ml



Re: ThinkPad X1 Carbon Gen3

2015-06-27 Thread Masao Uebayashi
On Sat, Jun 27, 2015 at 11:45:01AM -0700, Mike Larkin wrote:
 On Sat, Jun 27, 2015 at 12:37:23PM +0900, Masao Uebayashi wrote:
  - zzz
- I can almost resume it from RAM with Security Chip (TPM) disabled
  in the BIOS setting.  Except display remains off.  With TPM enabled,
  I couldn't power on the machine after suspend to RAM.
  
  - ZZZ
- Disabling TPM doesn't help hibernation.
- I tried disabling various devices (iwm, em, xhci, ehci, ...).  Didn't
  help instability of hibernation.
- Most failures are not recognizing hibernation (`/ was not properly
  unmounted')
- Unhibernation succeeds when you are really lucky. :)
  
 
 Does it start to unpack the hibernated image, then reboot?

I've tried 50 ZZZ and never seen this (reboot).

I also believe that in some cases, unpacking failed and booted normally.

 Or does it not find any image in the signature block? (eg failed to
 write out the image?)

Yes.  (As mentioned above; ``not recognizing hibernation''.)

Success ratio is like 10%.



Re: ThinkPad X1 Carbon Gen3

2015-06-27 Thread Masao Uebayashi
On Sun, Jun 28, 2015 at 10:40:42AM +0900, Masao Uebayashi wrote:
 On Sat, Jun 27, 2015 at 10:33:50PM +0200, David Dahlberg wrote:
  
  
   Am 27.06.2015 um 05:37 schrieb Masao Uebayashi uebay...@tombiinc.com:
   
   - ZZZ
- Disabling TPM doesn't help hibernation.
- I tried disabling various devices (iwm, em, xhci, ehci, ...).  Didn't
  help instability of hibernation.
- Most failures are not recognizing hibernation (`/ was not properly
  unmounted')
- Unhibernation succeeds when you are really lucky. :)
  
  Cannot confirm this here. Unhibernation  works fine. Did you disable that 
  Intel Rapid Start thingy in the BIOS' Power settings?
 
 Do you mean hibernation has never failed there?  That's great.
 
 I've disabled Rapid Start and Security Chip in BIOS.

Disabling Intel(R) AMT and Intel(R) NFF seeems to make ZZZ very
reliable.  Those BIOS functions seem to have been added lately.  From
BIOS Main menu of mine:

 UEFI BIOS Version N14ET29W (1.07 )
 UEFI BIOS Date (Year-Month-Day)   2015-05-08
 Embedded Controller Version   N14HT30W (1.03 )
 ME Firmware Version   10.0.29.1000
 Machine Type Model20BSCT01WW
:



Re: ThinkPad X1 Carbon Gen3

2015-06-27 Thread David Dahlberg
 Am 27.06.2015 um 05:37 schrieb Masao Uebayashi uebay...@tombiinc.com:
 
 - ZZZ
  - Disabling TPM doesn't help hibernation.
  - I tried disabling various devices (iwm, em, xhci, ehci, ...).  Didn't
help instability of hibernation.
  - Most failures are not recognizing hibernation (`/ was not properly
unmounted')
  - Unhibernation succeeds when you are really lucky. :)

Cannot confirm this here. Unhibernation  works fine. Did you disable that 
Intel Rapid Start thingy in the BIOS' Power settings?



Re: ThinkPad X1 Carbon Gen3

2015-06-27 Thread Masao Uebayashi
On Sat, Jun 27, 2015 at 10:33:50PM +0200, David Dahlberg wrote:
 
 
  Am 27.06.2015 um 05:37 schrieb Masao Uebayashi uebay...@tombiinc.com:
  
  - ZZZ
   - Disabling TPM doesn't help hibernation.
   - I tried disabling various devices (iwm, em, xhci, ehci, ...).  Didn't
 help instability of hibernation.
   - Most failures are not recognizing hibernation (`/ was not properly
 unmounted')
   - Unhibernation succeeds when you are really lucky. :)
 
 Cannot confirm this here. Unhibernation  works fine. Did you disable that 
 Intel Rapid Start thingy in the BIOS' Power settings?

Do you mean hibernation has never failed there?  That's great.

I've disabled Rapid Start and Security Chip in BIOS.



Re: ThinkPad X1 Carbon Gen3

2015-06-27 Thread Masao Uebayashi
On Sun, Jun 28, 2015 at 11:19:02AM +0900, Masao Uebayashi wrote:
 On Sun, Jun 28, 2015 at 10:40:42AM +0900, Masao Uebayashi wrote:
  On Sat, Jun 27, 2015 at 10:33:50PM +0200, David Dahlberg wrote:
   
   
Am 27.06.2015 um 05:37 schrieb Masao Uebayashi uebay...@tombiinc.com:

- ZZZ
 - Disabling TPM doesn't help hibernation.
 - I tried disabling various devices (iwm, em, xhci, ehci, ...).  Didn't
   help instability of hibernation.
 - Most failures are not recognizing hibernation (`/ was not properly
   unmounted')
 - Unhibernation succeeds when you are really lucky. :)
   
   Cannot confirm this here. Unhibernation  works fine. Did you disable that 
   Intel Rapid Start thingy in the BIOS' Power settings?
  
  Do you mean hibernation has never failed there?  That's great.
  
  I've disabled Rapid Start and Security Chip in BIOS.
 
 Disabling Intel(R) AMT and Intel(R) NFF seeems to make ZZZ very
 reliable.  Those BIOS functions seem to have been added lately.  From

I spoke too early...

I did see 5 sucessive successful ZZZ, from minimal, single user + apmd
setup, after applying said BIOS settings.

Then I tried ZZZ from within X, and failed, and afterwards my failure
ratio goes back to 10%. :(((

 BIOS Main menu of mine:
 
  UEFI BIOS Version N14ET29W (1.07 )
  UEFI BIOS Date (Year-Month-Day)   2015-05-08
  Embedded Controller Version   N14HT30W (1.03 )
  ME Firmware Version   10.0.29.1000
  Machine Type Model20BSCT01WW
 :