📜 ⬆️ ⬇️

Solving the STOP 7B error when replacing a disk system controller. The use of virtual machines in data recovery

image
Disclaimer: it was not possible to establish the exact model of servers and controllers after years of age, so there will be reservations in the text when mentioning the model and, of course, errors in the details are possible. Essentially, this does not change - the procedure for overcoming the lack of a new controller driver without the Recovery Console and the "deep" knowledge of Windows 2003 is described below. Probably, more optimal ways of solving this problem are possible than using a virtual machine.

Problem : The controller broke, two SCSI disks fell out, and then the entire server died. It was an HP Proliant, supposedly a Proliant DL380 G3 with a Smartarray 6i controller. By morning, you need to get Exchange to work and several domains that are spinning on the server.

They lifted the disks, made sector-based images, made an image of the entire raid. The data was restored from the image, but the customer also wants to restore the server to work. There is no server with the same RAID controller, there is no time to search - it is a controller of several domains, not all domains have BDC. Plus Exchange is spinning in the same place. By morning, everything must be put into operation - several offices of people will come and will not be able to work. There is another server with another controller - Smartarray P410 on SAS disks. We will try to make it work on it. We fill the full image of the array onto the new RAID on the new controller in the hope that the drivers are compatible, but the system does not want to boot - crashes with the STOP 0x0000007B INACCESSIBLE_BOOT_DEVICE error . Recovery Console no. How to embed it in an idle server is not clear. We tried HP SmartStart in the hope that it will install the drivers in the new system, but it did not help.

In the process, we tried to start the server in a virtual environment - it works, but slowly and sadly - in the morning users will tumble down it. Tried to make a backup-restore from a virtual machine to a new one using ntbackup. Backup until the morning is not done - slowly. We thought about the image of Akronis, but there is not a single PCI in the new server, and all the PCIe controllers available at hand do not want to work in the new server, respectively, there is no possibility to mount the image on the disk from which they wanted to restore this image to a new RAID.
')
We are trying to install a new controller driver in VMware (this is an sfx archive). He says that such equipment is not in the system. We unpack the archive and try to install the driver through the right-click menu in the right-click menu, load, does not help - STOP 7B. We start to dig the driver itself, or rather the inf file, after having studied the InstallHinfSection Function . There is no section in Default or something like that, which is probably why the right-click installation did not help. We start to try all the sections in a row with the team

RUNDLL32.EXE SETUPAPI.DLL,InstallHinfSection DefaultInstall 4 C:\WINDOWS\INF\SHELL.INF 

where DefaultInstall is the section name, 4 is “If a reboot is necessary, ask for user permission before rebooting”. I was particularly interested in the sections that mentioned something like copying and installing the driver.

 [HpCISSs2_Inst.ntx86] CopyFiles = @HpCISSs2.sys [HpCISSs2_Service_Inst] ServiceType = %SERVICE_KERNEL_DRIVER% StartType = %SERVICE_BOOT_START% ErrorControl = %SERVICE_ERROR_NORMAL% ServiceBinary = %12%\HpCISSs2.sys LoadOrderGroup = SCSI Miniport AddReg = pnpsafe_pci_addreg AddReg = boot_ctrl_addreg AddReg = disk_timeout_addreg 

after the successful command was executed, the offer to reboot was received, an image was made and the system was loaded. Users successfully earned in the morning, and then DC and Exchange replicas were made to the new servers, but the customers did this themselves.

Practical benefits for the masses
Suppose you changed the motherboard after a breakdown of the old one - you can safely try to put a disk in it after the driver is installed. To do this, you need VMware, Winhex (to disable and enable the boot sector - it helps to avoid damage to NTFS if it is opened at the same time as the host and guest systems) and new drivers. It may be worthwhile, over time, to describe this process step by step and in a separate article.

This order is described on our website in the data recovery case section. Another case is the virtualization of the old Novell server after a controller failure .

UPDATE practical benefits for the masses: mafet rightly noted that in the same way (via RUNDLL32.EXE SETUPAPI.DLL, InstallHinfSection) you can add drivers for the new system before migrating to it

Source: https://habr.com/ru/post/116556/


All Articles