From nobody Mon Nov 28 07:18:46 2022 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NLGzn5nYzz4jMNY for ; Mon, 28 Nov 2022 07:19:01 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NLGzn10bZz4R2g for ; Mon, 28 Nov 2022 07:19:01 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=n2akljij; spf=pass (mx1.freebsd.org: domain of michaelsprivate@gmail.com designates 2a00:1450:4864:20::230 as permitted sender) smtp.mailfrom=michaelsprivate@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-lj1-x230.google.com with SMTP id b9so12085423ljr.5 for ; Sun, 27 Nov 2022 23:19:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=JFA/TiDqZc2MH/y8dIn0IiFaGvpGSUAQxqBWcdazEwg=; b=n2akljijNbjUYJkT6hP/fPfqulkrq/AtuOvYtKzrSHD9aOSg0B4I+zSQvQHGUYf9O7 zCI8Pnr3T8IjOKjZudkqwTWcbAgVDySc1ssqnc+NBNtr+2JiDfenGRC8J+582CZRlAyA 3WLb5t3ihi9JD1G+5bMHQzP/bccWuH9Yxf80o5EmbzpblFppQu0sIszM6Vgptpygvnzm lMOz3iCvaD3uDoHEGe2MmXEmnHDcCS0C1zDGGJUxm9A1KS8X3+j7epVu77cze11WtRX8 BiI+6nAEeF3Mk74xkIlVnEsOXS4zXgGXGybfNPgkDK0gSpCVcEkbnLSbgIqF8a5Y5Qd3 VCGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JFA/TiDqZc2MH/y8dIn0IiFaGvpGSUAQxqBWcdazEwg=; b=aAyLaQSDN1qpwGU2yvghDFi8xEE27HqCpkQPxdrpliPO5+IS7ESFb7nLi/DBk+2aTd XJECcVLPTu9LUJ5pFfu1ttS1TsRqm4KlvRP0pNUg48i0Mub1xmcW19nTGeMzcL/O20D1 HbSHaOQoVBORE7XD0LRybA3s7iPidiXkzQk5pnAOF/iFNPeUXzN4rPNS6v75w2LgD719 DuF0Lv7+wIb+yZUaSlT+wNs+c8xHHmo6dMjuKVWUFXvSF3ZAlI/hWsrNvZjX+WD1+JO/ 2UOHAWVM8Miinv5HtlCKVLDo2zpfg4x31ySKivGK4l+Jtj/seyoqaWYmWqQKbpdCw85J p/iw== X-Gm-Message-State: ANoB5pkBjAhzdsmmFaM/ClfkwCAXa/O/tMRActVxVuSVmfEafnyWDK30 s94Iikj0IJHpar+ukmnNqUWqh5F1/E8++AXHwuY= X-Google-Smtp-Source: AA0mqf4ZaX9OEXSaYcIDjx6oLJ0DE+XJs0JOgPN/RLFarMCp1pDDzp2iizxO82xwDDAPPMUrdZP+apLrFegLVtiUcsw= X-Received: by 2002:a2e:9c14:0:b0:277:5665:2404 with SMTP id s20-20020a2e9c14000000b0027756652404mr17074357lji.155.1669619937921; Sun, 27 Nov 2022 23:18:57 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Michael Schuster Date: Mon, 28 Nov 2022 08:18:46 +0100 Message-ID: Subject: Re: Thinkpad T61 display won't wake from hibernate To: klu Cc: FreeBSD Questions Mailing List Content-Type: text/plain; charset="UTF-8" X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::230:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4NLGzn10bZz4R2g X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On Sun, Nov 27, 2022 at 1:09 AM klu wrote: > > I have FreeBsd 13.1 installed on a Thinkpad T61p laptop. I try to make > hibernate work so it can save power between uses. > > If I type `sudo zzz`, it successfully goes to hibernate mode. When I > open the lid again, I can hear the computer is waking up. However the > screen does not come back. What you describe sounds a lot like an issue with the graphics driver ... I recall from a previous life (2nd-hand, no expertise myself, I'm afraid) that those can be a major stumbling block for getting resume to work properly. A few questions that may help you and others set you right: Has this ever worked before? if yes: what did you change? if no: make sure your graphics driver actually works for the HW. I have an old T60p that I test-drove a while with 12.something, IIRC (via ghostbsd ... it's been a while), that I think did S&R just fine (no guarantees though). HTH Michael > > I can type blindly `sudo reboot`, which > will bring back the screen to show the shutting down messages. > > I wonder what kind diagnostics I can do and how to fix this issue? Thanks! > > > root@t60:~ # cat /etc/rc.conf > hostname="t60" > wlans_wpi0="wlan0" > ifconfig_wlan0="WPA DHCP" > sshd_enable="YES" > ntpd_enable="YES" > powerd_enable="YES" > # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable > dumpdev="NO" > zfs_enable="YES" > linux_enable="YES" > kld_list="i915kms acpi_video" > > > > root@t60:~ # cat /boot/loader.conf > kern.geom.label.disk_ident.enable="0" > kern.geom.label.gptid.enable="0" > cryptodev_load="YES" > zfs_load="YES" > kern.geom.label.disk_ident.enable="0" > kern.geom.label.gptid.enable="0" > cryptodev_load="YES" > zfs_load="YES" > hw.vga.textmode=0 > kern.vty=vt > acpi_ibm_load="YES" > > > root@t60:~ # kldstat > Id Refs Address Size Name > 1 92 0xffffffff80200000 1f30470 kernel > 2 1 0xffffffff82131000 8710 acpi_ibm.ko > 3 1 0xffffffff8213a000 a158 cryptodev.ko > 4 1 0xffffffff82146000 5b93a8 zfs.ko > 5 1 0xffffffff82b20000 1848b8 i915kms.ko > 6 1 0xffffffff82ca5000 739e0 drm.ko > 7 2 0xffffffff82d19000 5220 linuxkpi_gplv2.ko > 8 3 0xffffffff82d1f000 62d8 dmabuf.ko > 9 1 0xffffffff82d26000 4350 acpi_video.ko > 10 1 0xffffffff82d2b000 21e8 acpi_dock.ko > 11 1 0xffffffff82d2e000 3250 ichsmb.ko > 12 1 0xffffffff82d32000 2180 smbus.ko > 13 1 0xffffffff82d35000 4d00 ng_ubt.ko > 14 6 0xffffffff82d3a000 aac8 netgraph.ko > 15 2 0xffffffff82d45000 a238 ng_hci.ko > 16 4 0xffffffff82d50000 25a8 ng_bluetooth.ko > 17 1 0xffffffff82d53000 e250 ng_l2cap.ko > 18 1 0xffffffff82d62000 1bee8 ng_btsocket.ko > 19 1 0xffffffff82d7e000 39c0 ng_socket.ko > 20 1 0xffffffff82d82000 38070 linux.ko > 21 4 0xffffffff82dbb000 10ab0 linux_common.ko > 22 1 0xffffffff82dcc000 32208 linux64.ko > 23 1 0xffffffff82dff000 2260 pty.ko > 24 1 0xffffffff82e02000 3530 fdescfs.ko > 25 1 0xffffffff82e06000 639c linprocfs.ko > 26 1 0xffffffff82e0d000 3284 linsysfs.ko > 27 1 0xffffffff82e11000 2a08 mac_ntpd.ko > > > root@t60:~ # dmesg | grep -i -e freebsd -e cpu -e ibm -e acpi -e power -e nvidia > Copyright (c) 1992-2021 The FreeBSD Project. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 13.1-RELEASE-p3 GENERIC amd64 > FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git > llvmorg-13.0.0-0-gd7b669b3a303) > CPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (1995.07-MHz K8-class CPU) > Features=0xbfebfbff > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > FreeBSD/SMP: 1 package(s) x 2 core(s) > Firmware Warning (ACPI): 32/64X length mismatch in FADT/Gpe0Block: > 64/32 (20201113/tbfadt-748) > Firmware Warning (ACPI): Optional FADT field Gpe1Block has valid > Address but zero Length: 0x000000000000102C/0x0 (20201113/tbfadt-796) > acpi0: > CPU0: local APIC error 0x40 > CPU1: local APIC error 0x40 > acpi_ec0: port 0x62,0x66 on acpi0 > acpi0: Power Button (fixed) > cpu0: on acpi0 > attimer0: port 0x40-0x43 irq 0 on acpi0 > hpet0: iomem 0xfed00000-0xfed003ff on acpi0 > atrtc0: port 0x70-0x71 irq 8 on acpi0 > Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 > acpi_lid0: on acpi0 > acpi_button0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib1: irq 16 at device 1.0 on pci0 > pci1: on pcib1 > pcib2: irq 20 at device 28.0 on pci0 > pci2: on pcib2 > pcib3: irq 21 at device 28.1 on pci0 > pci3: on pcib3 > pcib4: irq 22 at device 28.2 on pci0 > pcib5: irq 23 at device 28.3 on pci0 > pcib6: at device 30.0 on pci0 > pci4: on pcib6 > acpi_tz0: on acpi0 > acpi_tz1: on acpi0 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > WARNING: Device "psm" is Giant locked and may be deleted before FreeBSD 14.0. > battery0: on acpi0 > acpi_acad0: on acpi0 > acpi_ibm0: on acpi0 > acpi_ibm0: Firmware version is 0x100 > est0: on cpu0 > uhub0: 2 ports with 2 removable, self powered > uhub2: 2 ports with 2 removable, self powered > uhub4: 2 ports with 2 removable, self powered > uhub3: 2 ports with 2 removable, self powered > uhub1: 8 ports with 8 removable, self powered > acpi_video0: on vgapci0 > acpi_dock0: on acpi0 > -- Michael Schuster http://recursiveramblings.wordpress.com/ recursion, n: see 'recursion'