2

I use Citrix XenServer 5.5 and on a Windows Server 2008 R2 Guest there is installed Xentools 5.5, for a year all works well. After a restart we get a BSOD with Stop Code 7B, it is a problem with the Citrix pv-driver I think, but how can I delete this driver without GUI, safe mode also bring up a BSOD.

So I install a second Windows Server on same VM and can access the filesystem of the Guest. In the Windows/System32/driver I delete xenvbd.sys and scsifilt.sys in the registry I delete everything I found with xenvbd or scsifilt, but the BSOD is still here.

The Windows Startuprepair and sfc /scannow dosent help.

Update: All known Snapshots are with the same Issue

2
  • Your question updates raise additional questions that should be posted separately. As they are related it may be wise to link them. SF is a Q&A Site, Not a forum ;-)
    – mbx
    May 19, 2013 at 8:47
  • I edit the Question and write a answer
    – kockiren
    May 19, 2013 at 10:26

3 Answers 3

4

Restore the server from a known good backup.

6
  • there is no backup, the backup has the same failure
    – kockiren
    May 17, 2013 at 16:53
  • 3
    Then you're in some serious trouble. This is why you keep archival backups that are more than one backup cycle old.
    – MDMarra
    May 17, 2013 at 16:55
  • It is possible to find out the point where the BSOD occures, I think it is a problem with the Partition Table. The Partition don't show the bootable flag. So the System begin (in safe mode) to load files from c:\Windows and the last file is classpnp.sys then the GUI will be start but I can't see what the System tries.
    – kockiren
    May 17, 2013 at 17:36
  • Sorry but your Answer is not helpful, I can fix the problem without reinstall.
    – kockiren
    May 18, 2013 at 18:55
  • It would have been helpful if you had backups (like you should for any production system). It would have taken an hour or two to restore from backup. It took how long to track down every missing or corrupt file? A day? Sorry that this wasn't helpful in your specific situation, but having recent working backups for production systems isn't an unreasonable thing to expect from a professional systems admin.
    – MDMarra
    May 18, 2013 at 19:30
3

If you install the Xen PV driver on a guest and you get the BSOD with stop 7B it is possible that the driver is corrupt or some files are missing. First you should find out the version of the driver: go to filesystem and get properties of - for example - xenvbd.sys then go to your XenTools Installdisk and search for the following Files:

xenutil.sys
xenvtchn.sys
xenvbd.sys
scsifilt.sys

After copy this files to Windows\System32\Drivers\ you can start your Guest in safe mode. Now you can install a newer version of the Xentools from safemode (you find a install file on Xentools that works also in safemode) and you will get some errors. Don't reboot your server. Deinstall this Programm now and a cleanup will starts, all corrupt or missing files and registry Entries will delete and cleanup your installation.

Now reboot and it works!

2

I'm glad the problem is resolved, and I'm upvoting the question. Not because the solution would be of any redeeming value to others, but due to this should serve as a cautionary tale.

There are two things that should not have occurred.

One, system changes that modify system files or registry settings should be validated, and that validation should include that the system and the change performs as expected after a restart.

Two, "testing" the change on a similar system or a one-off copy frequently identifies these types of issues.

Number two may not have been directly relevant in this scenario, but is frequently relevant in environments where numer one is lacking.

I would speculate that the system may have worked fine if restarted after the initial change, but something was whacked in the year that transpired.

This is why when I get involved in an activity that includes a system modification, my first step is to restart the server to ensure that if there are any issues like this, they aren't linked to what I am doing.

1
  • The problem was after I realize that the driver installation was wrong I try to deinstall the driver but it would be better to revert to another snapshot on that the driver was not installed. So next time when I install a new driver and this produce failuers than I revert. The deinstallation routine from the driver has some failures and this wrong registry entries and sys Files affect the problem. In this case the reason is long time ago and so I need the above solution to solve the problem.
    – kockiren
    May 19, 2013 at 21:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .