From owner-freebsd-virtualization@freebsd.org Sun Sep 6 17:36:41 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6A0279CB4C3 for ; Sun, 6 Sep 2015 17:36:41 +0000 (UTC) (envelope-from eiselekd@gmail.com) Received: from mail-la0-x233.google.com (mail-la0-x233.google.com [IPv6:2a00:1450:4010:c03::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CE00F1929 for ; Sun, 6 Sep 2015 17:36:40 +0000 (UTC) (envelope-from eiselekd@gmail.com) Received: by lamp12 with SMTP id p12so38993491lam.0 for ; Sun, 06 Sep 2015 10:36:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=E8x3/67qETj6dY2yYc1rI0yHMEr88w3mA2p/yYSwPiU=; b=i+OYHaUB/juNZCrBew3DYVPsN+sgGAv+6lg/jXK+AHq4jFG6tprUx9RQf/pDLCEYCU NNWFUap4VtItM6H4pERVAaUcp2GqEI2x/Ktc6rZV3zUVvizFwZL4Y4rsG/AD4VzlcUZ9 sNsnkq0jDFHCzgUTTpiusR6K05GGSJAF2KPWuxUo21/25IBCStoUlpMdo1Wp2oRUqn+u XJ9PH6Jucs+AKCnGXrj3FMF+0YR+YjDdFHIc8ATBau3czdw17Q5quCoHclZtLcOYUovK w2pRQVjO8Dh0NgsvOm+1gjZrWIUmojyypy57UD3UYgNgbBpEIChoTIDx3K+veRWyIWMu kPjg== MIME-Version: 1.0 X-Received: by 10.153.7.172 with SMTP id dd12mr13493447lad.25.1441560998678; Sun, 06 Sep 2015 10:36:38 -0700 (PDT) Received: by 10.112.38.11 with HTTP; Sun, 6 Sep 2015 10:36:38 -0700 (PDT) In-Reply-To: References: Date: Sun, 6 Sep 2015 19:36:38 +0200 Message-ID: Subject: Re: Windows-10 in Virtualbox install From: Konrad Eisele To: freebsd-virtualization@freebsd.org Content-Type: multipart/mixed; boundary=001a11348a4c3fc7b3051f1793ce X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2015 17:36:41 -0000 --001a11348a4c3fc7b3051f1793ce Content-Type: text/plain; charset=UTF-8 I took my HD from a Lenovo T430s (Intel) and switched to a AMD desktop: hw.model: AMD FX(tm)-8350 Eight-Core Processor Now with vbox svn source r57571, appended patch and gcc 4.8.5 I can compile and run vbox in Freebsd 10.2. I can run Windows-10 now. Before the CD install was hanging in the early boot stage, with AMD it is working smoothly. What can be the problem? Is there special Bios requirements T430s? I enabled Intel Vt-x there... // Greetings Konrad 2015-09-03 22:15 GMT+02:00 Konrad Eisele : > Hello, I tried to install Windows-10 in Virtualbox 4.3.30 on Freebsd 10.2. > It starts up and shows the blue 4 tile logo, but then it doesnt continue. > Normally it should show the circle with the dots spinning round, however > Virtualbox loops at 100%. > I then compiled Virtualbox 5.0 on FreeBsd (with some patching) and > got Virtualbox-5.0 to start, however the behaviour is almost the same > only that it loops at ~50% now. (I guess that Windows 8.1 will be the > same). > Windows-7 starts up ok. > I'm not so familiar with Virtualization and wonder weather someone > knows what is missing in the FreeBsd driver so that Windows 10 cannot > start up. Does anyone know what magic Windows does in the beginning? > It does something that is emulated in Linux or OSX. Here Windows 10 > boots. > On FreeBsd, when loading a Windows-10 VBox image created in Linux it starts > and hangs like when installing from CD, however when restarting the > machine, > next time it writes "trying automatic recovery", so it has recorded that > it has started once. Then it hangs again. > I know Bootloader stuff is lowlevel and esoteric and I guess I cannot > fix this myself, but maybe someone can give me a hint where to look > maybe point to the patch that did the trick in the linux driver :-) > // Greetings Konrad > > > > --001a11348a4c3fc7b3051f1793ce Content-Type: text/plain; charset=US-ASCII; name="vbox.diff" Content-Disposition: attachment; filename="vbox.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ie8s72ru0 SW5kZXg6IENvbmZpZy5rbWsKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gQ29uZmlnLmttawkocmV2aXNpb24gNTc1 NzEpCisrKyBDb25maWcua21rCSh3b3JraW5nIGNvcHkpCkBAIC0zODMxLDcgKzM4MzEsNyBAQAog CS1tbm8tM2Rub3cgLW1zb2Z0LWZsb2F0IC1mbm8tYXN5bmNocm9ub3VzLXVud2luZC10YWJsZXMg LVd1bmRlZgogVEVNUExBVEVfVkJPWFIwRFJWX0NYWEZMQUdTICAgICAgICAgICAgPSAtZm5vLWV4 Y2VwdGlvbnMgLWZuby1ydHRpIFwKIAkkKFZCT1hfR0NDX1dBUk4pIC1XcG9pbnRlci1hcml0aCAt V2lubGluZSBcCi0JLU8yIC1mbm8tc3RyaWN0LWFsaWFzaW5nIC1mbm8tY29tbW9uIC1maW5saW5l LWxpbWl0PTgwMDAgXAorCS1PMiAtZm5vLXN0cmljdC1hbGlhc2luZyAtZm5vLWNvbW1vbiAgXAog CSQoVkJPWF9HQ0NfZm5vLXN0YWNrLXByb3RlY3RvcikgJChWQk9YX0dDQ19SMF9PUFQpICQoVkJP WF9HQ0NfUjBfRlApIFwKIAktbm9zdGRpbmMKIFRFTVBMQVRFX1ZCT1hSMERSVl9DWFhGTEFHUy54 ODYgICAgICAgID0gJChURU1QTEFURV9WQk9YUjBEUlZfQ0ZMQUdTLng4NikKSW5kZXg6IGNvbmZp Z3VyZQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09Ci0tLSBjb25maWd1cmUJKHJldmlzaW9uIDU3NTcxKQorKysgY29uZmln dXJlCSh3b3JraW5nIGNvcHkpCkBAIC02NjAsNiArNjYwLDEwIEBACiAgICAgICBlbHNlCiAgICAg ICAgIEZMR1hNTDI9YHBrZy1jb25maWcgbGlieG1sLTIuMCAtLWNmbGFnc2AKICAgICAgICAgSU5D WE1MMj1gc3RyaXBfSSAiJEZMR1hNTDIiYAorCisJZWNobyAiLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tIgorCWVjaG8gJElOQ1hNTDI7CisJCiAgICAgICAgIExJQlhNTDI9YHBrZy1jb25maWcgbGli eG1sLTIuMCAtLWxpYnNgCiAgICAgICAgIGNhdCA+ICRPRElSLnRtcF9zcmMuY2MgPDwgRU9GCiAj aW5jbHVkZSA8Y3N0ZGlvPgpJbmRleDogc3JjL1ZCb3gvRXh0UGFja3MvVkJveERUcmFjZS9pbmNs dWRlL1ZCb3hEVHJhY2VUeXBlcy5oCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIHNyYy9WQm94L0V4dFBhY2tzL1ZC b3hEVHJhY2UvaW5jbHVkZS9WQm94RFRyYWNlVHlwZXMuaAkocmV2aXNpb24gNTc1NzEpCisrKyBz cmMvVkJveC9FeHRQYWNrcy9WQm94RFRyYWNlL2luY2x1ZGUvVkJveERUcmFjZVR5cGVzLmgJKHdv cmtpbmcgY29weSkKQEAgLTUyLDcgKzUyLDEzIEBACiB0eXBlZGVmIGludDY0X3QgICAgICAgICAg ICAgICAgICAgICBsb25nbG9uZ190OwogdHlwZWRlZiB1aW50NjRfdCAgICAgICAgICAgICAgICAg ICAgdV9sb25nbG9uZ190OwogdHlwZWRlZiB1aW50NjRfdCAgICAgICAgICAgICAgICAgICAgaHJ0 aW1lX3Q7CisKKyNpZm5kZWYgX0lEX1RfREVDTEFSRUQKIHR5cGVkZWYgd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Y29udiwgKGNoYXIgKiopJnB2SW5wdXRMZWZ0LCAmY2JJbkxlZnQsIChjaGFyICoq KSZwdk91dHB1dExlZnQsICZjYk91dExlZnQpOwogI2Vsc2UKLSAgICAgICAgICAgIGNjaE5vblJl diA9IGljb252KGhJY29udiwgKGNvbnN0IGNoYXIgKiopJnB2SW5wdXRMZWZ0LCAmY2JJbkxlZnQs IChjaGFyICoqKSZwdk91dHB1dExlZnQsICZjYk91dExlZnQpOworICAgICAgICAgICAgY2NoTm9u UmV2ID0gaWNvbnYoaEljb252LCAoY2hhciAqKikmcHZJbnB1dExlZnQsICZjYkluTGVmdCwgKGNo YXIgKiopJnB2T3V0cHV0TGVmdCwgJmNiT3V0TGVmdCk7CiAjZW5kaWYKICAgICAgICAgICAgIGlm IChjY2hOb25SZXYgIT0gKHNpemVfdCktMSkKICAgICAgICAgICAgIHsKQEAgLTMyNyw3ICszMjcs NyBAQAogI2lmIGRlZmluZWQoUlRfT1NfTElOVVgpIHx8IGRlZmluZWQoUlRfT1NfSEFJS1UpIHx8 IGRlZmluZWQoUlRfT1NfU09MQVJJUykgfHwgKGRlZmluZWQoUlRfT1NfREFSV0lOKSAmJiBkZWZp bmVkKF9EQVJXSU5fRkVBVFVSRV9VTklYX0NPTkZPUk1BTkNFKSkgLyogdGhlcmUgYXJlIGRpZmZl cmVudCBvcGluaW9ucyBhYm91dCB0aGUgY29uc3RuZXNzIG9mIHRoZSBpbnB1dCBidWZmZXIuICov CiAgICAgICAgICAgICBjY2hOb25SZXYgPSBpY29udihpY0hhbmRsZSwgKGNoYXIgKiopJnB2SW5w dXRMZWZ0LCAmY2JJbkxlZnQsIChjaGFyICoqKSZwdk91dHB1dExlZnQsICZjYk91dExlZnQpOwog I2Vsc2UKLSAgICAgICAgICAgIGNjaE5vblJldiA9IGljb252KGljSGFuZGxlLCAoY29uc3QgY2hh ciAqKikmcHZJbnB1dExlZnQsICZjYkluTGVmdCwgKGNoYXIgKiopJnB2T3V0cHV0TGVmdCwgJ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LndpbiA9IFZCT1hfTlRETEwKICBlbHNl IGlmZXEgKCQoS0JVSUxEX1RBUkdFVCksc29sYXJpcykK --001a11348a4c3fc7b3051f1793ce--