<div dir="ltr">Hi Frank,<div><br></div><div>for some reason I don't have this file. I have "package-generated.h", "product-generated.h", "version-generated.h", but no "revision-generated.h".</div><div>I only have "revision.kmk" there which contains</div><div><br></div><div>export VBOX_SVN_REV=480<br></div><div><br></div><div>Kind regards,</div><div>Mikhail</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Jul 27, 2017 at 12:52 PM Frank Mehnert <<a href="mailto:frank.mehnert@oracle.com">frank.mehnert@oracle.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Mikhail,<br>
<br>
could you provide the content of<br>
<br>
  out/win.amd64/release/revision-generated.h<br>
<br>
?<br>
<br>
I've attached a patch which could fix your issue but I'm not 100% sure that<br>
the wrong revision is really the problem.<br>
<br>
Kind regards,<br>
<br>
Frank<br>
<br>
On Donnerstag, 27. Juli 2017 06:21:24 CEST Mikhail Kovalev wrote:<br>
> Hi Andreas,<br>
><br>
> thnx a lot for a fast response! A patch or something like that would be<br>
> great!<br>
><br>
> Kind regards,<br>
> Mikhail<br>
><br>
> On Wed, Jul 26, 2017 at 9:47 AM Andreas Löffler <<a href="mailto:andreas.loeffler@oracle.com" target="_blank">andreas.loeffler@oracle.com</a>><br>
> wrote:<br>
><br>
> > Hi Mikhail,<br>
> ><br>
> > the error on the custom-built OSE version high likely comes from<br>
> > two revision checks we have in our code, specifically in DevHDA.cpp /<br>
> > hdaLoadExec():<br>
> ><br>
> > if (SSMR3HandleRevision(pSSM) >= 116273)<br>
> ><br>
> > As the OSE version has a different SVN revision than our official<br>
> > versions, this code path won't be taken and therefore the loading fails.<br>
> ><br>
> > I'll see if I somehow can work around this.<br>
> ><br>
> > Andreas<br>
> ><br>
> ><br>
> ><br>
> > Kind regards / Mit freundlichen Grüßen<br>
> ><br>
> > ******************************************************************<br>
> > Andreas Löffler             | VirtualBox Engineering<br>
> > Principal Software Engineer | Oracle Virtualization<br>
> ><br>
> > ORACLE Deutschland B.V. & Co. KG<br>
> > Hauptverwaltung: Riesstraße 25, D-80992 München<br>
> > Registergericht: Amtsgericht München, HRA 95603<br>
> ><br>
> > Komplementärin: ORACLE Deutschland Verwaltung B.V.<br>
> > Hertogswetering 163/167, 3543 AS Utrecht, Niederlande<br>
> > Handelsregister der Handelskammer Midden-Nederland, Nr. 30143697<br>
> > Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher<br>
> ><br>
> > Green Oracle <<a href="http://www.oracle.com/commitment" rel="noreferrer" target="_blank">http://www.oracle.com/commitment</a>><br>
> > Oracle is committed to developing practices and products that<br>
> > help protect the environment<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > On 26.07.2017 08:21, Mikhail Kovalev wrote:<br>
> > > Hi all,<br>
> > ><br>
> > > we have a custom-built OSE version of VirtualBox 5.1.24 for windows.<br>
> > > When "Intel HDA" is selected as an audio adapter and I create an online<br>
> > > snapshot, power off the VM, revert the snapshot and then start the VM<br>
> > > again I get an error message "Failed to load unit 'hda'<br>
> > > (VERR_SMM_LOADED_TOO_LITTLE)" or "Failed to load unit 'hda'<br>
> > > (VERR_SSM_STRUCTURE_MAGIC)".<br>
> > ><br>
> > > With AC97 all works fine. And I cannot reproduce the problem on the<br>
> > > official 5.1.24 build. So there must be something in our build<br>
> > > environment that makes it fail. However, our build environment didn't<br>
> > > change from version VirtualBox 5.1.22 and with 5.1.22 we didn't have any<br>
> > > problems.<br>
> > ><br>
> > > Does anyone have a hint where the problem could be? And whether there<br>
> > > were changes in between 5.1.22 and 5.1.24 that could cause the problem?<br>
> > ><br>
> > > Here is the relevant part of the log with "VERR_SSM_STRUCTURE_MAGIC"<br>
> > > failure and the content of the "hda" unit.<br>
> > ><br>
> > > 000004796 00:00:04.795395 EMT      VMSetError:<br>
> > ><br>
> > C:\jenkins\workspace\VirtualBox-x86-amd64\devel\5.1.24\src\VBox\VMM\VMMR3\SSM.cpp(8707)<br>
> > > int __cdecl ssmR3LoadExecV2(struct VM *,struct SSMHANDLE *);<br>
> > > rc=VERR_SSM_STRUCTURE_MAGIC<br>
> > > 000004796 00:00:04.795418 EMT      VMSetError: Failed to load unit 'hda'<br>
> > > 000004796 00:00:04.795450 main     GUI:<br>
> > > UIMachineLogicNormal::sltCheckForRequestedVisualStateType:<br>
> > > Requested-state=0, Machine-state=13<br>
> > > 000004796 00:00:04.795460 main     GUI: UISession::sltAdditionsChange:<br>
> > > GA state change event came, notifying listeners.<br>
> > > 000004796 00:00:04.795461 main     GUI:<br>
> > > UIMachineLogicNormal::sltCheckForRequestedVisualStateType:<br>
> > > Requested-state=0, Machine-state=13<br>
> > > 000004796 00:00:04.795478 EMT      SSM: Unit 'hda' contents:<br>
> > > 000004796 00:00:04.795479 EMT      0x00000000: 1c 00 00 00 02 01 20<br>
> > > 19-00 80 76 84 83 00 00 00  ...... ...v.....<br>
> > > 000004796 00:00:04.795480 EMT      0x00000010: 00 01 34 10 00 00 00<br>
> > > 00-00 01 00 01 00 00 00 00  ..4.............<br>
> > > 000004796 00:00:04.795481 EMT      0x00000020: 00 00 00 00 00 00 00<br>
> > > 00-00 00 00 00 00 00 00 00  ................<br>
> > > .....<br>
> > > 000004797 00:00:04.796248 EMT      0x00004090: 00 ba 00 be 00 be 00<br>
> > > c0-00 c1 00 c0 00 c0 00 b8  ................<br>
> > > 000004797 00:00:04.796248 EMT      0x000040a0: 00 b7 00 af 00 af 00<br>
> > > ac-00 ac 00 a6 00 a6 00 97  ................<br>
> > > 000004797 00:00:04.796249 EMT      0x000040b0: 00 96 00 86 00 85 00<br>
> > > 75-00 76 00 66 00 66 00 57  .......u.v.f.f.W<br>
> > > 000004797 00:00:04.796250 EMT      0x000040c0: 00 56 00 49 00 49 00<br>
> > > 40-00 40 00 32 00 33 00 26  .V.I.I.@.@.2.3.&<br>
> > > 000004797 00:00:04.796265 EMT      0x000040d0: 00 25 00               -<br>
> > >                         .%.<br>
> > > ....<br>
> > ><br>
> > > I would really appreciate any help you can provide.<br>
> > ><br>
> > > Best regards,<br>
> > > Mikhail<br>
> > ><br>
> > ><br>
> > > _______________________________________________<br>
> > > vbox-dev mailing list<br>
> > > <a href="mailto:vbox-dev@virtualbox.org" target="_blank">vbox-dev@virtualbox.org</a><br>
> > > <a href="https://www.virtualbox.org/mailman/listinfo/vbox-dev" rel="noreferrer" target="_blank">https://www.virtualbox.org/mailman/listinfo/vbox-dev</a><br>
> > ><br>
> > _______________________________________________<br>
> > vbox-dev mailing list<br>
> > <a href="mailto:vbox-dev@virtualbox.org" target="_blank">vbox-dev@virtualbox.org</a><br>
> > <a href="https://www.virtualbox.org/mailman/listinfo/vbox-dev" rel="noreferrer" target="_blank">https://www.virtualbox.org/mailman/listinfo/vbox-dev</a><br>
> ><br>
><br>
<br>
<br>
--<br>
Dr.-Ing. Frank Mehnert | Software Development Director, VirtualBox<br>
ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | 71384 Weinstadt, Germany<br>
<br>
ORACLE Deutschland B.V. & Co. KG<br>
Hauptverwaltung: Riesstraße 25, D-80992 München<br>
Registergericht: Amtsgericht München, HRA 95603<br>
<br>
Komplementärin: ORACLE Deutschland Verwaltung B.V.<br>
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande<br>
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697<br>
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher_______________________________________________<br>
vbox-dev mailing list<br>
<a href="mailto:vbox-dev@virtualbox.org" target="_blank">vbox-dev@virtualbox.org</a><br>
<a href="https://www.virtualbox.org/mailman/listinfo/vbox-dev" rel="noreferrer" target="_blank">https://www.virtualbox.org/mailman/listinfo/vbox-dev</a><br>
</blockquote></div>