Re: blank screen with LCD off after waking up from suspend

2015-12-01 Thread Aaron Miller
On Tue, Dec 1, 2015 at 12:48 AM, Mike Larkin  wrote:
>
> On Sat, Nov 21, 2015 at 01:29:18AM -0800, aaron.mille...@gmail.com wrote:
> > >Synopsis:sometimes, waking up from suspend results in a black screen 
> > >with the LCD turned off
> > >Category:system kernel amd64
> > >Environment:
> >   System  : OpenBSD 5.8
> >   Details : OpenBSD 5.8-current (GENERIC.MP) #1616: Sun Nov 15 
> > 20:58:13 MST 2015
> >
> > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> >
> >   Architecture: OpenBSD.amd64
> >   Machine : amd64
> > >Description:
> >   I had X with KDE running on my laptop, and I closed the lid, which
> >   caused a suspend. When I opened the lid again sometime later, I 
> > didn't see
> >   anything on the screen, and the LCD backlight was turned off. Caps 
> > Lock turned
> >   on and off the indicator light, so the keyboard was working.
> >
> >   The dmesg and usbdevs info in this bug report is from after I forced 
> > a restart.
> > >How-To-Repeat:
> >   Unfortunately, I'm not sure how to replicate this. It doesn't happen 
> > every time -- so far it's only happened once.
> > >Fix:
> >   I don't know how to fix it.
> >
>
> Should this happen again, it may be sitting in ddb.
>
> Try ssh'ing into the machine and if that works, do a dmesg remotely
> and see if it gives any hints.
>
> If ssh doesn't work. you can (blindly) try:
>
> trace
> boot reboot
>
> ("boot reboot" reboots the machine from ddb)
>
> Then check if your dmesg survived across the reboot on the next boot.
> Sometimes more than one "boot reboot" is needed (all typed blindiy).

Thanks, Mike!

It seems unlikely to me that sshing will work because the wifi dongle
LED was not lit, indicating no connection. I'll try it anyway, though.
The ethernet port on this laptop doesn't work due to a coffee spill,
so there's no other way to connect to the network with the hardware I
have on hand.

If it's sitting at the ddb prompt, that would explain why there's no
hard drive accesses. I'll try those commands and report back if I get
a dmesg.

--Aaron



Re: blank screen with LCD off after waking up from suspend

2015-12-01 Thread Mike Larkin
On Sat, Nov 21, 2015 at 01:29:18AM -0800, aaron.mille...@gmail.com wrote:
> >Synopsis:sometimes, waking up from suspend results in a black screen 
> >with the LCD turned off
> >Category:system kernel amd64
> >Environment:
>   System  : OpenBSD 5.8
>   Details : OpenBSD 5.8-current (GENERIC.MP) #1616: Sun Nov 15 
> 20:58:13 MST 2015
>
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 
>   Architecture: OpenBSD.amd64
>   Machine : amd64
> >Description:
>   I had X with KDE running on my laptop, and I closed the lid, which
>   caused a suspend. When I opened the lid again sometime later, I didn't 
> see
>   anything on the screen, and the LCD backlight was turned off. Caps Lock 
> turned
>   on and off the indicator light, so the keyboard was working.
> 
>   The dmesg and usbdevs info in this bug report is from after I forced a 
> restart.
> >How-To-Repeat:
>   Unfortunately, I'm not sure how to replicate this. It doesn't happen 
> every time -- so far it's only happened once.
> >Fix:
>   I don't know how to fix it.
> 

Should this happen again, it may be sitting in ddb.

Try ssh'ing into the machine and if that works, do a dmesg remotely
and see if it gives any hints.

If ssh doesn't work. you can (blindly) try:

trace
boot reboot

("boot reboot" reboots the machine from ddb)

Then check if your dmesg survived across the reboot on the next boot.
Sometimes more than one "boot reboot" is needed (all typed blindiy).

-ml

> 
> dmesg:
> OpenBSD 5.8-current (GENERIC.MP) #1616: Sun Nov 15 20:58:13 MST 2015
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 8464150528 (8072MB)
> avail mem = 8203472896 (7823MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb270 (42 entries)
> bios0: vendor American Megatrends Inc. version "4.6.5" date 05/24/2012
> bios0: CLEVO CO. W240EU/W250EUQ/W270EUQ
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP APIC FPDT MCFG SSDT HPET SSDT SSDT SSDT
> acpi0: wakeup devices P0P1(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) 
> USB6(S3) USB7(S3) PXSX(S5) RP01(S4) PXSX(S5) RP02(S4) PXSX(S5) RP03(S4) 
> PXSX(S5) RP04(S4) [...]
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz, 2394.92 MHz
> cpu0: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT
> cpu0: 256KB 64b/line 8-way L2 cache
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
> cpu0: apic clock running at 99MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
> cpu1 at mainbus0: apid 2 (application processor)
> cpu1: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz, 2394.57 MHz
> cpu1: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT
> cpu1: 256KB 64b/line 8-way L2 cache
> cpu1: smt 0, core 1, package 0
> cpu2 at mainbus0: apid 4 (application processor)
> cpu2: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz, 2394.57 MHz
> cpu2: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT
> cpu2: 256KB 64b/line 8-way L2 cache
> cpu2: smt 0, core 2, package 0
> cpu3 at mainbus0: apid 6 (application processor)
> cpu3: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz, 2394.57 MHz
> cpu3: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT
> cpu3: 256KB 64b/line 8-way L2 cache
> cpu3: smt 0, core 3, package 0
> cpu4 at mainbus0: apid 1 (application processor)
> cpu4: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz, 2394.57 MHz
> cpu4: 
>