From owner-freebsd-stable@freebsd.org Wed Apr 28 20:05:12 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 4DE3C5FFCD5 for ; Wed, 28 Apr 2021 20:05:12 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail.madpilot.net (vogon.madpilot.net [159.69.1.99]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FVqP25WsMz3K4K for ; Wed, 28 Apr 2021 20:05:10 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 4FVqNv2rKSz6dTH; Wed, 28 Apr 2021 22:05:03 +0200 (CEST) Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10026) with ESMTP id qgWGJ2uyU_FK; Wed, 28 Apr 2021 22:05:01 +0200 (CEST) From: Guido Falsi Subject: Re: Updated to 13-STABLE in VirtualBox; on shutdown stuck after uhub[01] being detached To: parv , freebsd-stable@freebsd.org References: Message-ID: Date: Wed, 28 Apr 2021 22:05:00 +0200 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FVqP25WsMz3K4K X-Spamd-Bar: - X-Spamd-Result: default: False [-1.25 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[159.69.1.99:from]; R_DKIM_ALLOW(-0.20)[madpilot.net:s=bjowvop61wgh]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MISSING_MIME_VERSION(2.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[159.69.1.99:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[madpilot.net:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[madpilot.net,quarantine]; NEURAL_HAM_SHORT(-0.25)[-0.249]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-stable] 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: Wed, 28 Apr 2021 20:05:12 -0000 On 28/04/21 00:12, parv wrote: > Hi there, > > I had updated FreeBSD, in VirtualBox 5.22 on Windows with EFI, from > 12-STABLE > to 13-STABLE; upgraded the ZFS pools & the EFI boot loader. Currently > testing with 13 GENERIC kernel. You mean you enabled EFI inside virtualbox? Why do you need that? EFI support in VirtualBox is experimental and is available for OSes unable to boot without EFI. FreeBSD is perfectly able to boot in virtualbox without EFI so no need for it. Now I understand reconfiguring the VM to not use EFI can be annoying, but you should really verify if the problem goes away without EFI. Also can you try installing another FreeBSD VM and verify the problem happens for that one too? This could help understand if the problem is with virtualization or specific to the VM. > > Now on shutdown, "shutdown -p now" (in single user mode, after manually > unmounting > ZFS datasets via "zfs unmount -a"), the shutting down process gets stuck, > and > CPU use jumps to 80% (Intel i5 6300U, 3 CPUs given to VM, of Thinkpad > X260). Last > few lines are ... > > ... > All buffers synced. > Uptime: > uhub0: detached > uhub1: detached > > > In the end I chose "Power Off" from VirutalBox menu. "Reset" reboots the > machine. > None of these have any effect ... > - Send the shutdown signal > - ACPI Shutdown > > Help please. NOt sure even which further information to ask about this, but to be sure I understand correctly, FreeBSD is the guest here, correct? -- Guido Falsi