On an HP Proliant DL 380 G5 server with Windows 2003 Server, the annoying "A device or service failed to start" occurred during boot. The computer shared screen, mouse and keyboard with another computer via a KVM switch. Event log showed a "i8042prt failed to start" event.
The solution was found on HPs support pages. In brief, it states that the following regkey must be changed:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\i8042prt\Parameters
The value Headless must be changed to value 0x1 (REG_DWORD)
Data: 0x1 (Allow Hotplugging) | 0x0 (Hotplugging not allowed)
Problem cause (assumed): This happens when the computer boots without finding any keyboard/mouse. This occurs when the computer is connected to a KVM switch and the KVM serves another computer during boot.
Wednesday, May 30, 2007
Monday, May 21, 2007
Ni-DAQ test panel does not run
Platform: Windows Server 2003 with NiDaq 8.0
User is not allowed to run test panel under Ni-Daq's "Measurement and Automation" (the choice is grayed out). A program that uses Ni-Daq's libraries terminates silently with user credentials. Both problems are related.
Solution: Users who want to be able to run the above mentioned programs must be given Modify or Full control permissions on this folder:
It took a lot of research and experimenting with permissions on files and registry keys to reach this conclusion, but it seems consistent that this was the problem.
Caveat: When connecting to the server via Remote Desktop as a user, I was not allowed to run the test panel or other programs using the Ni-Daqs libraries, even if the above solution was applied. Being an administrator, I was allowed. Researching the problem via Remote Desktop at first certainly put a few extra hours of work into finding the solution :(
Caveat 2: On older NT4 systems this will probably not be a problem, because it does not restrict the permissions on C:\program files to readonly for standard users (by default).
Caveat 3: On older Ni-Daq versions (ver. 6.9.1 comfirmed), the above mentioned folder does not exist. Whether that means that the problem is then irrelevant or to be solved differently is not known.
User is not allowed to run test panel under Ni-Daq's "Measurement and Automation" (the choice is grayed out). A program that uses Ni-Daq's libraries terminates silently with user credentials. Both problems are related.
Solution: Users who want to be able to run the above mentioned programs must be given Modify or Full control permissions on this folder:
C:\Program Files\National Instruments\Shared\platform\memory\sharedMemoryFiles
It took a lot of research and experimenting with permissions on files and registry keys to reach this conclusion, but it seems consistent that this was the problem.
Caveat: When connecting to the server via Remote Desktop as a user, I was not allowed to run the test panel or other programs using the Ni-Daqs libraries, even if the above solution was applied. Being an administrator, I was allowed. Researching the problem via Remote Desktop at first certainly put a few extra hours of work into finding the solution :(
Caveat 2: On older NT4 systems this will probably not be a problem, because it does not restrict the permissions on C:\program files to readonly for standard users (by default).
Caveat 3: On older Ni-Daq versions (ver. 6.9.1 comfirmed), the above mentioned folder does not exist. Whether that means that the problem is then irrelevant or to be solved differently is not known.
Friday, August 25, 2006
After-OS RAID install on a Dell PowerEdge 2800
Task: A Dell PowerEdge 2800 server with Windows Server 2003 was to have its one physical hard disk drive (HDD) upgraded to a multi-disk hardware RAID system.
Problem: I want to use a disk cloning system (like Norton Ghost) to transfer an exact copy of the standalone HDD to the new RAID disk system. This poses two problems:
Problem: I want to use a disk cloning system (like Norton Ghost) to transfer an exact copy of the standalone HDD to the new RAID disk system. This poses two problems:
- The system would not boot, because the SCSI driver of the RAID controller was not installed in the kernel of the OS. After the clone, you could of course run the Windows 2003 setup CD and install the SCSI driver from a floppy disk, but it has to be a physical floppy - if you don't have that or even a floppy drive, you're stuck. Personnally, I chose another approach that I find more convenient (see below).
- On the PowerEdge 2800, the Raid controller is a chip that, when installed, actually takes over the control of the physical disk bays of the computer. This means that no clone can be made because the standalone HDD and the RAID volume can not coexist on the server.
- A Ghost network boot disk (CD or floppy) for your server
- A spare server
- A Ghost network boot disk (CD or floppy) for your spare server
- A LAN with a working DHCP server
- A driver for the SCSI RAID controller (not necessarily on a floppy)
- Still running the OS from the original HDD (that is to be the source for the RAID disk), the SCSI driver for the RAID controller were installed. On Server 2003 it will ask you to install the device first (on the good old NT4 Servers, this was easier to accomplish). On my server however (a Dell PowerEdge 2800), there are two on-board SCSI controllers, whereof only one were in use, making the following possible:
- Open the unused controller from the Device Manager and choose Update Driver (be very sure you have chosen the unused one - otherwise you may not be able to boot again)
- Click Have disk and uncheck the option to only show compatible drivers. Locate the RAID controller's driver and select it to replace the original SCSI driver for this unused controller. This will of course render this unused SCSI controller useless for now, but it installs the driver into the OS so that the RAID controller later will be recognized and handled in boot.
- Install the physical parts into the computer - including the RAID controller (chip) and the disks it will control
- Set up the RAID volume on the RAID controller. This is done during boot. The controller tells you to push a function key to access RAID controller options/setup.
- You must also enter the server's CMOS setup and set the RAID controller as the boot device.
- On most systems you can now boot from a Ghost boot disk and image the old HDD to the new RAID volume. As mentioned, this does not work on the PowerEdge. As a workaround, a spare server was used. The old HDD was installed there. Now the following steps were taken:
- The now RAIDed server was booted with a Ghost network boot floppy, selecting TCP/IP and Slave from the Ghost menu. Make a note of the DHCP given IP address. If this goes wrong, check that you have a DHCP server running.
- The spare server was then (afterward - important) booted with a Ghost network boot floppy, selecting TCP/IP and Master from the Ghost menu
- The IP of the RAIDed server is given as the Ghost slave to control
- The RAIDed computer is ghosted over the net, and will, because of the previously installed RAID controller SCSI driver, boot nicely when finished.
Subscribe to:
Posts (Atom)