In the last few days I'm facing bluescreens at random moments. From 10 to 30 minutes. STOP 0x0000007F (UNEXPECTED_KERNEL_MODE_TRAP). The first paramater is always 0x00000008 - Double Fault.
I've done a lot of research but could not find anything. There are 2 files causing this, of them is always
ntoskrnl.exe
http://en.wikipedia.org/wiki/Ntoskrnl
and the other one is one of these 3:
NDU.sys
http://forums.hardwarezone.com.sg/windows-8-338/awareness-thread-windows-8-memory-leak-ndu-sys-4309046.html
ndis.sys
http://www.tomshardware.co.uk/answers/id-1764143/ndis-sys-causing-issues.html
fwpkclnt.sys
http://answers.microsoft.com/en-us/windows/forum/windows8_1-system/unexpectedkernelmodetrap-fwpkclntsys-blue-screen/f5ac1f62-583a-495e-a300-e464ef0a8ee3
VS2013 installed a lot of network drivers for the Windows Phone Virtual Machine. I can get rid of VS2013, but I don't wanna reinstall windows (is 8.1). The laptop is a week old and it will be gift.
Related
For the past 3 years I have been using the TwinCAT IDE and local/virtual PLC without problems. I have a i7-8750H with 6 cores and 12 logical processors and I am using TwinCAT build 4022.20 Lately I am getting random Blue Screen of Death (BSoD). I got the advice to set an Isolated Core in the Real-Time section of the IDE, clicking on "Set on target" and decreasing the number of available CPU cores:
Then a restart is needed, The problem is that when I click on "Read from target" after restarting and reopening TwinCAT I got one less Windows core but no isolated core available:
I tried to run the "C:\TwinCAT\3.1\System\win8settick.bat". Also to reduce from 12 down to 7, with no success: one by one, in steps of 2 and 3, nothing seems to work.
I have tried also using the Msconfig tool to reduce the number of cores for Windows with the same result.
I can manually set the right number of CPUs for Windows and Isolated but when I try to run my application I got a message saying that my config doesn't match my target, if I dismiss I get an BSoD or my laptop freezes immediately.
VirtualBox is not running, so I am not sure why I get this message.
Any idea why TwinCAT can't see the isolated core?
I managed to partially solve the problem, I still can't get any isolated cores, but at least I do not get any BSOD or laptop freeze. Just did this:
Open a Command prompt with admin rights
type "bcdedit /set hypervisorlaunchtype off"
reboot
Source: https://www.sps-forum.de/threads/twincat-3-4024-10-visual-studio-2019-xar-adserror-4132-hyperv-problem.101584/
In the newest version (Tc3.1.4024.17) there is a User MOde Runtime implemented.
It is still in Beta, no realtime!!
But i tried it and it works with hypervisor and virtualization, got the recommendation from the Beckhoff Support.
path
Use the "Start.bat" and select UmRT_Default as Target System for the PLC.
Then you can activate the Configuration and go into Run.
Known Limitations:
As it is still under development, not every function is supported
(not working with NC, as i tested)
Biggest question is; what changed (that got you in to problems)?
Did you change Windows (for instance 32 bit W7->64 bit W10)? I found that with 64 bit Windows (10) TwinCAT (which is then also 64 bit) crashes some of the times when running on a non-isolated core.
Furthemore I found that below build somewhere in the twenties, TwinCAT 4022 has problems with recent (past 2 years) W10 versions. Please try 4022.32 (the latest and final 4022 version).
I have a i7-9850H and run the latest W10 64 bit and have 1 of my 12 threads running isolated. TwinCAT 4024.12 runs without problems on this isolated core.
I am of recently developing a Xamarin based app in Visual Studio 2017 and I am not sure whether the performance I see at a build and debug time is what can be expected or if something is wrong.
Environment: imac late 2015, quad core i5 #3.5GHz, 24GB RAM.
I am executing visual studio (latest) under parallels 13 in windows 10 and have assigned all four cores and 20GB RAM to the VM (it doesn't make a difference though if I assign less).
The solution is a standard xamarin based solution with 3 projects and about 10 classes with roughly 300loc (yes really, there's almost nothing in there yet).
A rebuild takes about 1 Minute. Starting the application in debug mode takes about 30s for the simulator showing up.
Looking at the code size and hardware specs I was expecting build and simulation to be a matter of seconds.
Am I wrong? Even considering the VM I'd not have expected these numbers.
Is anybody able to share experiences/thoughts?
Your problem isn't simply compile time. Every time you build your project, your shared code gets compiled into a dll, code dependencies get checked, then linked into the native project, which is being compiled, resources get packed, integrity-checked and signed and is finally being bundled (not speaking of included nuget Packages and other plugins) and then the whole package gets packed into an app archive, which also needs time to be written.
Also your app gets transmitted to your device via USB or network (default would be USB).
Considering what is happening "under the hood", 30 seconds is quite fast.
However, I have found that the performance is less based upon cpu and ram (at least if your dev machine has a decent amount of both) but on the performance of your hard disk.
If you really want to speed things up, you might consider running visual studio and doing your compiling on a nvme drive (an alternative might be a SSD raid).
For instance I once had a xamarin app, which had a lot of dependencies on various nuget packages. Compiling the iOS Version took about 25 minutes (full rebuild) on a Mac Mini (2011 model improved with an aftermarket Samsung 850 Pro), switching to a VM solution running on a skull canyon NUC equipped with a Samsung 950 Pro nvme drive did speed up the process to incredible 2.5 minutes.
I accidentally wiped-clean my Toshiba Satellite's hard drive, including the recovery partition and the preloaded Windows 10 that was stored on it. Now, the only option I believe I have is to download the ISO, burn it to a DVD or flash, boot the laptop from it and install Windows 10.
If so:
Will Windows 10 be automatically activated ?
Will Windows detect the laptop is one with preloaded copy of Windows and as such license it automatically ?
I don't have any product activation code, the only code printed on the laptop floor is the laptop's serial number...
Thanks.
Anecdotally, the same thing just happened to me. I deleted all partitions and re-installed it completely fresh on a Dell Latitude laptop, figuring I'd lost the license.
In my case, the laptop is licensed just fine. I didn't do anything specific to license it.
As a side note, The ISO I downloaded didn't specify version, though it defaulted to Windows 10 Professional before when I used it on a custom-built machine. This one defaulted to Windows 10 Home, something I also didn't specify. I don't remember for sure which version I had before I nuked it.
I am running Windows 10 Education from a Macbook Pro, 2,7 GHz Intel Core i5, 8GB ram running OS X 10.11 using Parallels Desktop 11.
I have spend the last two days trying to get Visual Studio 2015 to run the Windows phone emulators properly (More precisely: Mobile Emulator 10.0.10240.0 WVGA 4 inch 512MB). Managed to solve most, but now stuck with the emulator being very unreliable mainly giving me the following errors:
The connection to 169.254.17.107:8117 has been lost. Debugging will be aborted.
or
The emulator couldn't determine the host IP address, which is used to communicate with the guest virtual machine.
Some functionality may be disabled.
I can't find a pattern because sometimes it happens while the application is deploying - sometimes after it has loaded perfectly and I was able to use the emulator. Every now and then, after getting an error, I simply run the application again right away and it will work ok, until next time i need to run it.
The virtual switch in Hyper-V is set to Interal and I have also tried External and Private.
I have tried setting the MAC type to static for the network adapter under settings in Hyper-V.
Tried deleting the emulators and all virtual switches.
Tried disabling and enabling the virtual switch in Network Sharing.
Some of the guides and posts elsewhere about similar problems are a bit outdated (Running Windows 8 and Parallels 8 ect.) Can anyone help me make the emulators work every time with my setup?
Earlier this year, I moved my desktop from XP to the much-maligned 8.1. At about the same time, my Vista laptop expired and was replaced by a Windows 8.1 tablet. I kept the XP tower and this is used when programming in VB6.
All my VB6 programs work fine on my 8.1 desktop, but none do on the 8.1 tablet. Instead, I get an error message about “screen resolution”. This is where Stackoverflow comes in!
In searching on Google, I came across this question, which was answered on Jul 21 '10 at 12:39 by Andy Robinson. Andy’s answer still left me with questions. I already use VB Gold’s Active Resize, which is Andy’s solution, but only after the Splash Screen. VB Gold says that no coding is necessary, but others seem to do so, as with a Private Sub Form_Resize. At my age, and not having done any new programming (as distinct from updating) for some time, I admit to needing help.
I want to be able to use some of my VB6 programs on a Windows Tablet. When I try to install, I get an error message about Screen Resolution. I think that VB Gold's ActiveResize, which is in these programs, should be able to do the job. But I am stuck with the coding.
My Tablet is a Dell Venue 8 Pro and the OS is Windows 8.1.
The total size of my 7 compiled VB6 programs is just under 14 Mb. I have connected a Memory Stick to the Tablet and sought to run the installation program. It is at that stage that I receive an error message regarding "Screen Resolution". The exact words are:
"Error: To install this program, your computer must have a display resolution of at least 800x600. Your computer's display resolution is 853x533".
From what I have read, ActiveResize should be able to solve the problem. But, at 80+, not all my faculties are working as I should wish!