NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/52131: Machine needs SSH connection to wake up properly

>Number:         52131
>Category:       kern
>Synopsis:       Machine needs SSH connection to wake up properly
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 03 08:05:00 +0000 2017
>Originator:     Reinoud Zandijk
>Release:        NetBSD 7.99.58
System: NetBSD 7.99.58 NetBSD 7.99.58 (GENERIC) #1: Fri Jan 13 14:39:40 CET 2017 amd64
Architecture: x86_64
Machine: amd64

Explicitly set:
hw.acpi.sleep.vbios = 2
hw.acpi.wake.* =1

Slept when using X by typing in commands in an Xterm.

radeon0 at pci2 dev 0 function 0: vendor 1002 product 9440 (rev. 0x00)
radeon0: info: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M
radeon0: info: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF
drm: radeon: 1024M of VRAM memory ready
drm: radeon: 1024M of GTT memory ready.
radeon0: info: WB enabled
radeon0: info: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu
addr 0x0xffff8000d9739c00
radeon0: info: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu
addr 0x0xffff8000d9739c0c
radeon0: interrupting at ioapic1 pin 0 (radeon)
drm: radeon: irq initialized.
radeondrmkmsfb0 at radeon0
radeon0: info: registered panic notifier
radeondrmkmsfb0: framebuffer at 0xffff8000d9b70000, size 1600x1200, depth 32,
stride 6400
wsdisplay0 at radeondrmkmsfb0 kbdmux 1: console (default, vt100 emulation),
using wskbd0


After I put the machine to sleep using "sync; sysctl -w hw.acpi.sleep.state=3"
the machine only wakes up by pressing the power button even though it ought to
work by keyboard, but thats another minor issue.

After pressing the power key, the machine wakes up, reinits the display and
starts up generally fine. However the display is displaying random static
noise. The keyboard works fine but is not echoing as expecting but there are
no screen modifications either even though the xterm ought to update. TTY
swiching has no effect.

Even though the machine pings fine, its display is ONLY restored by SSH-ing
into the machine. The login is not needed, just the mere act of setting up an
SSH connection restores the screen.

Start X,
execute "sync; sysctl -w hw.acpi.sleep.state=3"
press power button
notice that screen is filled with static noise
Start setting up an SSH from any remote machine and its display gets restored

Start an SSH connection from a remote machine to get a usable screen again.



Home | Main Index | Thread Index | Old Index