From owner-freebsd-stable@freebsd.org Thu Mar 4 07:59:07 2021 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 18D865654DA for ; Thu, 4 Mar 2021 07:59:07 +0000 (UTC) (envelope-from bengt.ahlgren@ri.se) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4Drjtf5gJMz4nPv for ; Thu, 4 Mar 2021 07:59:06 +0000 (UTC) (envelope-from bengt.ahlgren@ri.se) Received: by mailman.nyi.freebsd.org (Postfix) id C27B25654D9; Thu, 4 Mar 2021 07:59:06 +0000 (UTC) Delivered-To: stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C23B45650E8 for ; Thu, 4 Mar 2021 07:59:06 +0000 (UTC) (envelope-from bengt.ahlgren@ri.se) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30089.outbound.protection.outlook.com [40.107.3.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Drjtd0n2rz4nY3 for ; Thu, 4 Mar 2021 07:59:04 +0000 (UTC) (envelope-from bengt.ahlgren@ri.se) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UCzNbvUR37B7GqIOfMB9cWDqaQRFX047/VTnyVwz/aWipfAhZF28V6GdLmg0ARIGn2BC9esmGockixbx0kxv/OD+SNehv6Pk+6bjGwLdzvyv9pD/0LMC7CEz8RjWdO5cLlWiiy3G2hvcgEXcuvdTMM63KfIbpSf9uL4J2gFjWvcXBMM6CCzbPitBWwLV0iAW3DkWAAn64bgzITbidaeZiEk4Hj+zSXbnE75fbp2W4l7yOtNUnb6YlL8/FH1e7ebWHpqThrDKxlcSUVuIOJ2RlGZ9Rcm+zbR0zfLWUYS/ZPJEwkxRmkLLP7w3+WE1Vsmjco5oZg8qi5UQmDJrFvhbVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4xCbseAkHrOtIH9ECVeTGAbfMTJulzeABhX1dTa0T8s=; b=YokYl7MkoHUW7wnOT3qaKRiPpASvdyCq3lW1vrwYwlcAmeIeRnZdu2g7b72hKCZo3Kt+oY9BLXzNUEW7Gl+FOaAFDiDclFCEKcUSdfIPDESjOO9neCsDE0L8pAK+II6cxLBB5m3lB/nKqToW9klZqDsLv/vWfzaLgo1ntU4adtK8GZJYKV689ynakgtHr+HzxS/oeELluJ2OKMes8utsRx7yhbOkU7VOidVb7BE055ZPK+OCkpGnrvGgt0biBKObux/nMXPb5IiXRKvbz8eOS3b7RuscCGinorHR7RhEcpvFTS1OkUw6B89TE1F53xRpmrjWS0jf+Sg5lLG/Mf7KEQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ri.se; dmarc=pass action=none header.from=ri.se; dkim=pass header.d=ri.se; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ri.se; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4xCbseAkHrOtIH9ECVeTGAbfMTJulzeABhX1dTa0T8s=; b=PldEbGpTGhU8ZHTHO9tT48uFGOsZ701dLVzaGvFyI/FWJ0hMiSO4Zk+J6jq2rQ3qdeApPJ8U+sDRp8WmuUP39FN83Eu2wE2zHm9uXP34+fglFK4TYUC1WBnrjE1n9VqeHSaQ4A61UZjSpzrlhWF7LqK/YLV7Ihkq/h31hnBT+TI= Received: from HE1P18901MB0011.EURP189.PROD.OUTLOOK.COM (2603:10a6:3:9c::8) by HE1P18901MB0169.EURP189.PROD.OUTLOOK.COM (2603:10a6:3:9a::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17; Thu, 4 Mar 2021 07:59:02 +0000 Received: from HE1P18901MB0011.EURP189.PROD.OUTLOOK.COM ([fe80::5840:4533:270c:b192]) by HE1P18901MB0011.EURP189.PROD.OUTLOOK.COM ([fe80::5840:4533:270c:b192%8]) with mapi id 15.20.3912.022; Thu, 4 Mar 2021 07:59:02 +0000 X-Authentication-Warning: P142.sics.se: bengta set sender to bengt.ahlgren@ri.se using -f From: Bengt Ahlgren To: stable@freebsd.org Subject: Re: Suspend/resume (to/from RAM), kern.vty, and x11/nvidia-driver In-Reply-To: (David Wolfskill's message of "Wed, 3 Mar 2021 17:02:16 -0800") References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (berkeley-unix) Date: Thu, 04 Mar 2021 08:59:01 +0100 Message-ID: Content-Type: text/plain X-Originating-IP: [2001:2002:3e14:df69:6af7:28ff:fe68:c2dd] X-ClientProxiedBy: HE1P18901CA0017.EURP189.PROD.OUTLOOK.COM (2603:10a6:3:8b::27) To HE1P18901MB0011.EURP189.PROD.OUTLOOK.COM (2603:10a6:3:9c::8) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from P142.sics.se (2001:2002:3e14:df69:6af7:28ff:fe68:c2dd) by HE1P18901CA0017.EURP189.PROD.OUTLOOK.COM (2603:10a6:3:8b::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17 via Frontend Transport; Thu, 4 Mar 2021 07:59:02 +0000 Received: from P142.sics.se (localhost [127.0.0.1]) by P142.sics.se (8.16.1/8.16.1) with ESMTPS id 1247x1Pl001757 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 4 Mar 2021 08:59:01 +0100 (CET) (envelope-from bengt.ahlgren@ri.se) Received: (from bengta@localhost) by P142.sics.se (8.16.1/8.16.1/Submit) id 1247x1bA001756; Thu, 4 Mar 2021 08:59:01 +0100 (CET) (envelope-from bengt.ahlgren@ri.se) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: de7ca5c4-6689-44ea-8608-08d8dee3600d X-MS-TrafficTypeDiagnostic: HE1P18901MB0169: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NLzkgZF/kTck+GWR/0sRHOIdQpkXv1QhUye5vsETZ5wEsAK1IiWEPlRrUUWAN16MVrNweGEnWwx/5hUDoFNJ3bK/AJ5QV+qOJavh0VCQYdzG2i+ZjGo93FNlhRtEPMqrhthXJiGccnyfmM1lQY+mIFIc38mspaOlnWma/HOr7VzduFRK3AT0s4w/ZAiHFIrR3mI6SyUWPw7/nFNKTXSZKHh8TfZ7N/YqOHo1t8bGZxX3wbYDVhxfn1OQMXv+3xySaMVPAEPP6IuCOnHCVuiia/iEbYW/rRwwokzvlg2FU5G+EHPKm9HJVv7U1dRUTOLYIM18+gj4M0aXarFAUc3Hb20YvhOfv/6WoNr9JdmPdz5MlMq9w2B5RuXroD5B3U4pkdppaCqhRv2vsLVv/OGA6aVUkk1niWvXtiNvYUqHUFMwkkwIXMZR3zh+Seo6b35nLYuOyT/lg+qlsx52oiWsv0D5uiQhAUpaL25yCPd0IBnFWDVeEzvXpgdNC2KslwQS/I2oePgUlGIf5oVm4vV4x3HD0Js8atW8YfSi/ZiZ3lsyn5sRTaUWYuDcbo9id2R8RQGusNo/TMswxsiYQ49dW/W9ZYkbBw0VV40UYeV56gA= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1P18901MB0011.EURP189.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(4636009)(366004)(136003)(346002)(396003)(376002)(39850400004)(8676002)(478600001)(52116002)(15650500001)(86362001)(5660300002)(66556008)(42186006)(66476007)(316002)(66946007)(186003)(44832011)(966005)(83380400001)(8936002)(2906002)(6916009)(9686003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?PzAgb0ArTZOZUy7v9+P5vpEFSAqWv3ImRZ3h74SNzUI/jHbv/JQO5vZ5Mc92?= =?us-ascii?Q?apC0LUTnwdhHR28/pPoy9E+Knf7uRkG1GE4mIjIZ9EgHDyo4YtWCfefzAq7L?= =?us-ascii?Q?XY8pdIelWz/EZdUcxWEQPIy+OuGsg29GKUqfir964WV5Rkj6isc2JoRrBn6r?= =?us-ascii?Q?JC4i5rqslGVqauyiyFaEah/I+FEe/woNNYKwlWk0VWxXbpkuJ0zLfV+KW1Bo?= =?us-ascii?Q?4Ce2/og8zunYhDp3AMx8a8yldM7LmQBV77fRTIQlnFnONI61pqB9epVvsSbZ?= =?us-ascii?Q?fL41x6J7E2lf2fXPaesb/rdK4MgxLAjnkxXcYuasdgUtccZOshy9JjWH+gFQ?= =?us-ascii?Q?I9dk8i7wJo09PbRxhBkbp5Wd51E9CKYrW7eiYOcMJcjDXSlFZOrzAc8g8tIg?= =?us-ascii?Q?e3Rada82rAM+tILZDVyGcLeBJ9I8llCt9gLiH3Uhjjn6Q3s6JhfoqSzkcjbG?= =?us-ascii?Q?GdKCVldb4nvreb1CC5zDMNgxohPlc1JTyUY6r8zDtU3cFnmWPLQOgPFgqoT8?= =?us-ascii?Q?1QiwleWGaUNUFwW3SFEKyjaNIvFK9EHSDbKFvR5dO0brVhoNhEkeCK5NcyeF?= =?us-ascii?Q?nSCIiWkOSxAGsX1EH+naA+iLDeRAEwsAP10CN2SEzFWXbfVE4XwvyNgjKc4c?= =?us-ascii?Q?27Nr9yjw1GgGvBmgIkrE0s1Dxs/uAiLZjRS517z+yAI/xn2VZ2ubnTrwF+vg?= =?us-ascii?Q?kXw5uqD0QlKkkLiX9IdfulJ921SvG578+PiM5H7sTuAkm//0MmpAH17k1Bbx?= =?us-ascii?Q?n1CEJT7pz8Hs4GmOoyvxF5vct1svuESN7fGeAQexkXNYv+qDVMFqWJ1ADHPG?= =?us-ascii?Q?Rr/MwcXlpgnaTs7e89YwkKayWy0SwMKabsDB6anCxSuWH2SabUflRm3t92Gk?= =?us-ascii?Q?CYeBEPiaMiTiSn6FN7dRHCma1epfp80/7zBQYTFBMDMzaVkxmrfM7MqV9p16?= =?us-ascii?Q?r8R/XQIc2vBs/IKPlFflSGhNuqw7mH4DaabI9bWdrPXcfH+zrbQpEUc0DPLg?= =?us-ascii?Q?/3MZDDcD9ompLOqRBci2MZrP97GP+iYZnWExo6PnTgeGgwVXRjXx2BhVFP/g?= =?us-ascii?Q?4U+2Sx/FcBr7bA0ar/A9dXZGcLwBnqVe3lGSuWcYvqWhGld8ifhLH0E4kehR?= =?us-ascii?Q?QowwOV5hJSVysF0MBPszPHJmqYaVUMUYFPE+1tBc8uPTt/LRpVugpMXORd2B?= =?us-ascii?Q?7XMCuvjyYZSWfeQvReNW124i/TXjrtGK29nPf+f+nNx/vJXKHsQW3L8XNxDJ?= =?us-ascii?Q?vC/Dafs2nSjMFdN8FnHpw6QTQ/Q7/VemVOP/mSnTkmioH7sPuHFetUJIk2U/?= =?us-ascii?Q?8GQSwMBuvjvSXas/NzzrArJwnTs/u+CnZTpftG5ncQCQVdsVuTLCs1fedvva?= =?us-ascii?Q?aJh1ADnNvoIdvc5Tarhe6e5FkOyx?= X-OriginatorOrg: ri.se X-MS-Exchange-CrossTenant-Network-Message-Id: de7ca5c4-6689-44ea-8608-08d8dee3600d X-MS-Exchange-CrossTenant-AuthSource: HE1P18901MB0011.EURP189.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Mar 2021 07:59:02.5125 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 5a9809cf-0bcb-413a-838a-09ecc40cc9e8 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: mHn+Wmy8hjAb3ct3Z2ZdIsngCDsp4ry2lFRWNL0joAmHEn5iroN9NeOdmJ7q2LptUj75+L9PhIuAkKrEXx++7Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1P18901MB0169 X-Rspamd-Queue-Id: 4Drjtd0n2rz4nY3 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ri.se header.s=selector1 header.b=PldEbGpT; arc=pass (microsoft.com:s=arcselector9901:i=1); dmarc=pass (policy=none) header.from=ri.se; spf=pass (mx1.freebsd.org: domain of bengt.ahlgren@ri.se designates 40.107.3.89 as permitted sender) smtp.mailfrom=bengt.ahlgren@ri.se X-Spamd-Result: default: False [-5.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RBL_DBL_DONT_QUERY_IPS(0.00)[40.107.3.89:from]; RCVD_COUNT_FIVE(0.00)[5]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; R_DKIM_ALLOW(-0.20)[ri.se:s=selector1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:40.107.0.0/16]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[40.107.3.89:from:127.0.2.255]; DKIM_TRACE(0.00)[ri.se:+]; DMARC_POLICY_ALLOW(-0.50)[ri.se,none]; RCVD_IN_DNSWL_NONE(0.00)[40.107.3.89:from]; NEURAL_HAM_SHORT(-1.00)[-0.998]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:8075, ipnet:40.104.0.0/14, country:US]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; MAILMAN_DEST(0.00)[stable]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.107.3.89:from] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2021 07:59:07 -0000 David Wolfskill writes: > I have a couple of Dell laptops -- an older (Precision M4800) and > a newer (Precision 7520) on which I've been tracking FreeBSD > stable/12, head, and (lately) stable/13 (with a daily cadence). I > also update installed ports on each every day. Each uses > x11/nvidia-driver for graphics. > > Each runs FreeBSD itself ... well. And I recently found out that the > mouse/touchpad on the 7520 now works under head and stable/13 (by > loading the iichid.ko kernel module, as the device communicates over > I2C). (I tried the sysutils/iichid port under stable/12, but have not > been able to get the mouse to work yet under stable/12.) > > And suspend/resume works... under stable/12, where I have been using > kern.vty="sc" (in /boot/loader.conf). (I recall having tried letting > kern.vty default to "vt" -- that seems to cause resume to fail: the > screen never lights up again, nor can I ssh into the laptop. Yes, I > configured the laptops to be able to ssh into them for various reasons > -- such as testing suspend/resume.) > > In order to test some recent (vbe-related) loader changes, however, I > needed to change kern.vty back to the default value of "vt" -- and that > appears to cause resume to fail (still). > > How may I help figure out what's wrong? The newer (7520) laptop, in > particular, is idle most of the day, so experimenting with it should be > OK. I recently stumbled over this post that provides an explanation: https://forums.freebsd.org/threads/what-to-backup.63727/#post-372549 That post says that "options VESA" is the problem, and that vt will not work! I have a desktop with nvidia that used to suspend/resume just fine with stable/9 (maybe also stable/10), but then failed to resume properly. I have not yet tried the suggestions in that post, though. Bengt