From owner-freebsd-emulation@freebsd.org Mon Sep 3 17:02:26 2018 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EDC73FEECE7 for ; Mon, 3 Sep 2018 17:02:25 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 80FA88C496 for ; Mon, 3 Sep 2018 17:02:25 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 3B85DFEECE2; Mon, 3 Sep 2018 17:02:25 +0000 (UTC) Delivered-To: emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 010D4FEECE1; Mon, 3 Sep 2018 17:02:25 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oi0-x22e.google.com (mail-oi0-x22e.google.com [IPv6:2607:f8b0:4003:c06::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 90AAD8C493; Mon, 3 Sep 2018 17:02:24 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-oi0-x22e.google.com with SMTP id k81-v6so1967423oib.9; Mon, 03 Sep 2018 10:02:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Zpjep8psPHYkLtWWYa7tRF6xoSHdlPncKIvOq8G8SYI=; b=PwY5FsaN8u9CHNggeAO0ItySQMHU3AM9wi+1CfwkzYMQEWXbBaaub+4Q+YnEy/tpkh o/hYNOU5v3/sig2VyA+j0fBFt2kiSrF4KcPfti3PNbINFaTzAmI6TyC59DUDK38rvwOO +HutLzFPzv/ODh7kAzHQfQHdDEkiyCbPEHyhu/tUUJg3Ebe+PlwqrY18duWJpQyfyHOR +RMHU/xhWmFuMvwiirN0ZvLyGxJLdvX4MztJN9WJAfMUjN7f+VykVfp6HNGj5JyMlw82 CezDR7w+QCPjMeRNDoeXYj5RW/yuh7xH1lJTVcokF+cMJzL0fo0uqUYr/tF8Dmu+Y8GR S/Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Zpjep8psPHYkLtWWYa7tRF6xoSHdlPncKIvOq8G8SYI=; b=YgTUQwDjWn2bHLTtEE9O1dnvoPe0QW/So2Ecx2KMV5jOxGWIp3lX3l1Y65mpCZbG8G 36glBv4+zs1lynVbccKgjtdtMpryiLH6vzPtZOCZUWCEKiOcpHFoUWyNPEcuFlSvMMyK m6HWNyz0Lw4Sh+Y8Pff1mgjUxIxrYQZZdlOocoU+ewggN/rIJ7CawbEBQ4qq9outz8zf eX2wmZdnbXdMbbB9r9GDLRFzCY+cMK8egUadksI4vExere9/OLap9/DttXkXm37v/mmi YDavO16LKnNBwlLEnOm2lw9mD1I31IO2Q8x9aEQKZ2v0xAoIPEmlo37o6Jv84FUR8ohv 7vqg== X-Gm-Message-State: APzg51BM8iCYTweP/Lm8LwICQS/eK6vC2Qv89TT+qwf22IKImdyqY8DM nXJ5VtKOgibYD5hkOPdBoYmtWNW5K0TvcW5ZP/BzpDek X-Google-Smtp-Source: ANB0VdYlENb9rkp7/+R6mh5dgQozABysaBxaZGTmMkso25fBfPRoBIkGQvJI+slskaOPCDkvC5ZfS3BjuJ4GqoHPRzM= X-Received: by 2002:aca:a04:: with SMTP id 4-v6mr21425101oik.203.1535994143728; Mon, 03 Sep 2018 10:02:23 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Kevin Oberman Date: Mon, 3 Sep 2018 10:02:06 -0700 Message-ID: Subject: Re: VirtualBox W7 guest not resuming To: Adam Vande More Cc: "freebsd-emulation@freebsd.org" , "freebsd-x11@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2018 17:02:26 -0000 On Mon, Sep 3, 2018 at 7:28 AM Adam wrote: > On Mon, Sep 3, 2018 at 1:36 AM Kevin Oberman wrote: > >> On Sun, Sep 2, 2018 at 6:45 PM Adam wrote: >> >>> On Sun, Sep 2, 2018 at 8:30 PM Kevin Oberman >>> wrote: >>> >>>> I can no longer sresume my Windows 7 virtual system. I get the error: >>>> Failed to open a session for the virtual machine Win7. >>>> >>>> Failed to load unit 'vga' (VERR_SSM_LOADED_TOO_MUCH). >>>> >>>> Result Code: NS_ERROR_FAILURE (0x80004005) >>>> Component: ConsoleWrap >>>> Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed} >>>> >>>> I suspect this may be tied to my upgrade to drm-stabe-kmod-g20180822 >>>> back >>>> on Aug. 23. I have not booted my system since then, so my boot last >>>> night >>>> loaded the kernel module for the first time. >>>> >>>> I have no idea I m guessing that this is a drm kernel issue, but I am >>>> not >>>> at all sure, so am sending this to both lists. >>>> 11.2-STABLE r337832 All ports are current. >>>> >>> >>> I'm not sure this is related to the drm module but maybe. Does the >>> guest log contain any clues? >>> >>> -- >>> Adam >>> >> >> Rolling back drm-stable-kmod to the last version (*477762* >> ) fixed >> the problem. >> >> While it is possible that something that the vbox port was doing >> something wrong that the prior versions were allowing, I think that is >> quite unlikely. It is almost certainly the drm module that is the culprit. >> >> Where can I find the guest log? O have searched the C: disk for vbox.log >> files and find none. >> >> Tomorrow I will >> > > The guest Vbox logs are on the host-side, for me they reside at: > > ~/VirtualBox\ VMs/Windows/Logs/ > > My windows 7 works fine with the latest drm, but I don't ever try to > resume either. I always cold boot, and do my snapshots from ZFS. > > -- > Adam > I have nothing in my VirtualBox VMs directory other then my vdi file for the Windows7 VM. A bit of searching led me to an Oracle article that pointed me to ~/.VirtualBox/Machines/VM_NAME/Logs and there they were. The failure is when the guest extensions load. 00:00:15.003600 VMMDev: Guest Additions information report: Interface = 0x00010004 osType = 0x00037000 (Windows 7, 32-bit) 00:00:15.003777 AssertLogRel /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.18/src/VBox/VMM/VMMR3/SSM.cpp(6140) int ssmR3DataReadRecHdrV2(PSSMHANDLE): !pSSM->u.Read.fEndOfData 00:00:15.003789 SSM: LoadExec failed for 'vga' instance #0 (version 19, pass 0xffffffff): VERR_SSM_LOADED_TOO_MUCH 00:00:15.003803 SSM: Unit at 0x6c64f270, current position: offUnit=0x1ab4 offUnitUser=0x2731 00:00:15.003811 VMSetError: /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.18/src/VBox/VMM/VMMR3/SSM.cpp(8707) int ssmR3LoadExecV2(PVM, PSSMHANDLE); rc=VERR_SSM_LOADED_TOO_MUCH 00:00:15.003815 VMSetError: Failed to load unit 'vga' The problem goes away when I downgrade the drm kernel modules. I will now try shutting down the VM and restarting wit the latest kernel modules. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683