Docsity

Basic Hardware Maintenance, Lecture notes of Computer Science

Toggle sidebar
bg1
BASIC HARDWARE MAINTENANCE
SECOND PART
Relationship between Hardware and software
 Hardware and software are mutually dependent on each other. Both of them must
work together to make a computer produce a useful output.
  Software cannot be utilized without supporting hardware.
  Hardware without set of programs to operate upon cannot be utilized and is useless.
ļ‚·To get a particular job done on the computer, relevant software should be loaded into
the hardware. i.e. a device driver is needed.
A device driver is a program that controls a particular type of device that is
attached to your computer. There are device drivers for printers,
displays, CD-ROM readers, diskette, drives etc. When you buy
an operating system, many device drivers are built into the product.
ļ‚·Hardware is a one-
time expense.
 Software development is very expensive and is a continuing expense.
 Different software applications can be loaded on hardware to run different jobs.
 A software acts as an interface between the user and the hardware.
 If Hardware is the 'heart' of a computer system, and then Software is its 'soul'. Both
are complimentary to each other.
Identifying computer problems/Issues of Hardware or software problem
Note: ā€œexternalā€ problems before proceeding. Make sure you reduce possible this
means unplug any external devices
(such as hard drives, scanners or printers), and remove any USB Flash disk, CD or
DVD disks from their devices
 Where there are any loud noises or smoke when  the
problem first appeared? Then it is probably
a hardware problem, with the most likely culprit being
the SMPS (Switched Mode Power Supply ) unit.
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Basic Hardware Maintenance and more Lecture notes Computer Science in PDF only on Docsity!

BASIC HARDWARE MAINTENANCE

SECOND PART

Relationship between Hardware and software

ļ‚· Hardware and software are mutually dependent on each other. Both of them must

work together to make a computer produce a useful output.

ļ‚· Software cannot be utilized without supporting hardware.

ļ‚· Hardware without set of programs to operate upon cannot be utilized and is useless.

ļ‚· To get a particular job done on the computer, relevant software should be loaded into

the hardware. i.e. a device driver is needed. A device driver is a program that controls a particular type of device that is attached to your computer. There are device drivers for printers, displays, CD-ROM readers, diskette, drives etc. When you buy an operating system, many device drivers are built into the product.

ļ‚· Hardware is a one-

time expense.

ļ‚· Software development is very expensive and is a continuing expense.

ļ‚· Different software applications can be loaded on hardware to run different jobs.

ļ‚· A software acts as an interface between the user and the hardware.

ļ‚· If Hardware is the 'heart' of a computer system, and then Software is its 'soul'. Both

are complimentary to each other. Identifying computer problems/Issues of Hardware or software problem Note: ā€œexternalā€ problems before proceeding. Make sure you reduce possible this means unplug any external devices (such as hard drives, scanners or printers), and remove any USB Flash disk, CD or DVD disks from their devices  Where there are any loud noises or smoke when the problem first appeared? Then it is probably a hardware problem, with the most likely culprit being the SMPS (Switched Mode Power Supply ) unit.

Tips for Distinguishing Between Hardware Problems and Software Problems… ļ‚§ Is the computer entirely dead? Or the screen is blank? Or the screen showing a poor/incomplete picture? These faults are probably also due to hardware problems. ļ‚§ Does the computer produce a series of beeps? This is a code that can be used to distinguish some hardware problems. ļ‚§ Does the system give any error codes or descriptions while booting? These can be due to hardware or software problems. Take careful note of all information given in the error code. ļ‚§ Does the computer produce error information it has booted or only when you open specific programs? These error codes are probably due to software problems. ļ‚§ Have any recent changes been made to hardware or software (including BIOS settings)? If so, these are likely culprits. ļ‚§ Has the computer been exposed to viruses or other malware? This could be a cause of software problems. ļ‚§ Use the Device Manager. The Device Manager will list all of the hardware devices Installed on a PC. Any device with a problem will have a warning symbol next to it, and double clicking on that device would give details and suggested remedies for the problem. Warning symbol NOTE: Prevention (maintenance) is better than cure. Repairs Computer maintenance is necessary.

III. It takes more time to find and access needed files. IV. Defragmentation is not as successful due to a lack of V. free space to temporarily move files to while they are being rearranged Improving slow performance Excess and Unused Files Files that have been stored in a user’s documents folder that are no longer needed (such as extra photos or older versions of documents) should be deleted. Improving slow performance . ļ‚§ The browser stores the recent history of the web pages that the user has viewed, ļ‚§ This makes it easier to find and load these web pages again. ļ‚§ The browser also stores other small bits of information such as data entered into forms and usernames or passwords if a user has asked a web page to ā€œremember meā€ (although this is not a good idea for shared computers). ļ‚§ This stored information can be easily deleted. Startup folder Some programs will automatically put a shortcut in the Startup folder, forcing the program to automatically launch when you turn the computer on or log in. Sometimes this is desirable, sometimes not. Either way, this practice may slow your computer down to various degrees, or with the program running all the time, may slow down the performance of your computer. ļ‚§ Delete some of the programs in the Startup folder Software Inventory Once the hard disk becomes full, a computer’s performance is reduced. To avoid installing software that are not necessary, system inventory will require you knowing what software is needed/wanted on your computer. Note:

Please use caution on when uninstalling software. In order to reinstall, you will need the Protect your PC from cyber-threats or Malware The cyber-world is full of threats such as viruses, spyware, Trojans, Wormsand etc. These cyber-threats can cause huge dilemmas to your computer. These undesirable programs, which are usually added without a user’s knowledge, can significantly slow down the performance of a computer. The best ways to prevent virus infections are:

ļ‚· Keeping antivirus software up to date and running

scans on a regular basis

ļ‚· Strict policies should be put in place to prevent virus

infection e.g. prohibiting the use of flash drives, or require Flash disk to be scanned before use.

ļ‚· Other policy to consider is the prohibition of downloading,

since unsuspecting users can accidentally download malware. A firewall may also be used to blocks dangerous downloads UPDATING SOFTWARE It is important for a computer user to find and install software updates in order to have well performing computers.

ļ‚· Updating software can be done in a variety of ways,

Automatic Updates, Automatic Alerts for Updates, Manual Updating, Offline Updating. Excessive heat can cause a significant decrease in computer performance. In order to cool down an overheated computer processor,

ļ‚· Avoid operating the computer if the case is in an

enclosed space. (such as a drawer or cupboard).

ļ‚· Also cool the room with fans or air-conditioning.

ļ‚· Also verify that all of the fans in the computer case

are functioning properly. Note: Modern computers have safeguards that shut down the system if a component is overheating.

10 - 15 percent of all computer Issues/Problems emanate from power surge. Check this BEFORE doing anything else. Check to be sure if the computer is plugged in to an AC outlet properly.

  • Check your external connections to the computer. Specifically, check the mouse, keyboard, monitor, modem and/or printer cables, making sure that all are secure and in the right sockets.
  • Perform the Power On Self Test (POST). POST is a set of procedures that a computer runs through each (me it is turned on. It ensures that all of the system's hardware is working properly before trying to load the operating system. If the computer does not pass POST, it will not boot. Tip: Make sure the computer turns on. If nothing happens (no lights, no sound, no fans, etc.), the computer has a power related issue. If the computer is still malfunctioning, go ahead then and open the case. Check to see that all of the cards are fully pressed down into the bus connections, that any socketed chips are fully pressed into their sockets, and that all cable connections are fully attached. Make sure that the drive cables are attached correctly.
  • Clean any dust or foreign material out of the case while it is open. Dust can cause overheating problems and electrical shorts. Sometimes, insects will nest inside the case as well. All of this needs to be cleaned out before you close up the case. Take precautions to avoid inhaling excess dust, and consider using protective eyewear if necessary.
  • Try to boot the computer to the hard drive, or to a bootable CD/DVD disk if necessary. Sometimes the hard disk will become corrupted by a user, or by a virus.
  • Check the CMOS setup program, and correct any configuration problems.

If the information CMOS RAM about your PC's configuration has been changed, or if the battery has died, your computer will not boot correctly, or it will not recognize certain components.

  • Look for unwanted changes. Someonemay have turned the brightness down on a monitor, or the LAN staff may have changed your PC's configuration without your knowledge (or approval), or an installation program may have corrupted your software. Look for recent changes in your system's operation. You may need to run an uninstaller program to remedy software-related problems. Isolate the problem to one piece of hardware, or one software package.
  • When all these fails, the consult a professional. Computer issues/Problems and the tips to troubleshoot and fix/ repairs.

ā–Ŗ The computer is unable to start up – If the

computer does not turn on when you press the power button, the following suggestions may help you to determine why the computer will not start up.

  • First of all, check if the computer is plugged in to an AC outlet properly.
  • Plug another electrical device into the outlet to be sure that the outlet is providing adequate power. A surge protector can be used in this case, because voltagesurges can be very damaging to computers and other electrical components. Then put on the system to perform a POST.
  • Acer the POST and it is confirms that, the computer is producing all of the usual startup sounds and lights, but the monitor is not displaying any information,
  • OS or some Software is functioning abnormally – If the Operating System(OS) or some other software is unresponsive or responds abnormally, Immediate Solution: Restart your computer and run a virus scan. Note: You should have reliable antivirus software installed on the computer to fix this issue.
  • Windows do not boot properly – If windows do not boot properly then you should reinstall windows with the windows recovery disk. Most of the times, this should help you get rid of the problem. The computer is on but not responding – the computer is on but not responding to software or keyboard commands, then it must be frozen or halted. Immediate solution:

Ƙ Press and hold the power button for at least 5 seconds, it

will be turn off.

Ƙ Now restart your computer. This should fix the problem.

An external device is not working – If an external device does not function as expected. Immediate solution:

Ƙ turn it on according to Manufacturers instruction;

Ƙ be sure that all device connections are secure and receiving

electrical power

Ƙ Be sure the device is compactable with the operating

system. And that the correct drivers are installed and updated. Power failure is a common problem in our country. This Replacing a Power Supply. The power supply is due to an uneven or ā€œpoorā€ voltage and power surges.

  • Replacing a Hard Drive or formatting and installing Fresh operating system.
  • Replacing RAM. RAM can fail or can loose from its housing and need to be reseated. If a

computer needs new or additional RAM, it is important to make sure that the RAM used is compatible with the computer system. RAM is very easily damaged by electrostatic charges, so it is very important for the user to be grounded before picking up RAM. Also RAM should only be handled by the edges. Peripheral hardware use and maintenance Peripheral hardware will also last longer if it is well maintained. Peripheral hardware such as printers, scanners will last longer if proper care about heat, dust and power surge control is taking to consideration. Troubleshooting and fixing Printer problems

  • Let’s assume that your printer’s drivers are up-to-date, and that it has enough paper and ink or toner to print. Try turning the printer off and on. Unplug the printer and plug it back in.
  • Check your printer’s print queue by looking for the printer icon in the system tray and double-clicking it.
  • The print queue shows you the status of each job as well as the generalstatus of your printer.
  • Make sure that ā€˜Use Printer Offline’ isn’t selected. Ensure that ā€˜Use Printer Offline’ isn’t checked. Sometimes, printing while your printer is turned off can cause Windows to set your printer to work offline,and that can stall jobs sent later. MALEWARE VIRUS Malicious software is any software used to disrupt computer or mobile operations, gather sensitive operating system information, gain access to private computer systems, or display unwanted advertising. This malicious software find its way into: Ƙ Boot sector Ƙ File Allocation Table Ƙ Partition table Ƙ .Com and .Exe. Files.

ļ‚· Disk cannot be accessed

ļ‚· New icons and programs get installed automatically.

Printing doesn't work correctly  Windows shuts down or restarts unexpectedly.  A partition in the system disappears automatically.

ļ‚· File size changes for no apparent reason

ļ‚· An increase in the number of files on the system when nothing has been

added. A Good Virus Protection Program should:

1. Scan for viruses: Should be able to check your drives for viruses, as well as the RAM of your computer, and detect the presence of a virus. 2. Clean up the virus: Must be able to get rid of the virus it finds on your computer; otherwise, it is useless. 3. Protect your System from viruses: Must have the ability to load a piece of the program in to memory at boot-up (me, to protect you from getting a virus in the first place. 4. Provide Automatic updates, Must regularly and automatically check back with the manufacturer for information on new viruses, What is a BIOS?

  • BIOS stands for Basic Input and Output System. It is sometimes known as the ROM BIOS or referring as a firmware because it was originally stored in a Read-Only Memory (ROM) chip on the motherboard. It is the interface layer between the physical hardware layer of the PC and the OS. Modern motherboard uses EEPROM or Flash memory device to store the code. The BIOS is the first program to run when you turn on your computer. BIOS of a system is specifically designed for a particular hardware. A BIOS for one system will not operate properly on another unless the systems are identical in design. The BIOS is like a signature of a system CMOSā€ In addition to the Flash/ROM BIOS, a Real Time Clock (RTC)chip exist on every PC motherboard. It is designed with CMOS technology and need a small battery to hold the data after the computer has been switched off. A Lithium button cell is used to run the clock and the data is stored in NVRAM. Example Maxim DS12887A. The BIOS uses ā€œCMOSā€ to store the settings of a PC. Each time the computer is switched on, BIOS uses the settings in the CMOS to configure the computer. For legacy design, if the battery charge runs too low, the CMOS contents will be lost and POST will issue a "CMOS invalid" or "CMOS checksum invalid" message. User has to replace the battery. For modern design, the RTC should run for 10 years as specified by the manufacturer

FUNCTION OF BIOS

  • to initialize system hardware and chipset registers
  • to enable basic I/O; keyboard, ports, buses, etc.
  • to test the motherboard hardware and other peripherals in a computer ( Power On Self Test - POST ).
  • bootstrap an operating system
  • For legacy system, BIOS help operating systems and application programs manage PC hardware through a set of routines called BIOS Run-Time Services or BIOS I/O functions or BIOS calls. Hence, BIOS isolates the details of a particular hardware implementation from the operating system or application software Who supply the BIOS? For PC, there are 3 popular BIOS, Award, Phoenix and American Megatrends Inc. (AMI). Phoenix purchased Award in late 1998 but continue to sold Award BIOS products. ō€‚Š http://www.phoenix.com ō€‚Š http://www.ami.com
  • There are many BIOS revisions in the service life of a computer. For example, bug fix and as new peripherals or services become available. Under normal situation, user don’t need to upgrade BIOS for every revision unless a new service or I/O is needed. Since most BIOSs are contained in Flash, user can program or upgrade the BIOS using their own PC. In general, the followings are needed:- ō€‚Š A BIOS programming utility ō€‚Š image of new BIOS ō€‚Š A stable power supply Example - A Good Reason to Upgrade Your BIOS
  • Early PCs, those built through 1992-1994, could only recognize disks with up to 528MB (million bytes) of storage. As larger disks became available, special translation programs were needed to utilize the space beyond the supported maximum. In the early 1990s, as a result of a general agreement between PC suppliers and disk companies, the size limit for ATAPI device support was expanded to 8.4GB. The latest BIOS supports drives up to 137GB for a 16 head system. Recently, disk drive limits were again expanded to 180GB (IBM Deskstar 180GXP series).This is a good reason to upgrade your BIOS. BIOS Upgrade Procedure 1. Make a bootable floppy disk or CD. 2. Copy the BIOS programming utility (e.g. flash.exe) and a new BIOS file (e.g. P4XBSOLI.BIN) onto this diskette. 3. Usually, BIOS updates and flash utility can be downloaded from the motherboard manufacturer. 4. Read ā€œreadmeā€ file and follow instructions.

changed now to include anything the BIOS does before an operating system is started. Each POST routine is assigned a POST code, a unique number which is sent to I/O port 080h before the routine is executed. If the computer hangs during POST, the problem can be located by looking at the last value written to I/O port 080h. The BIOS will display the POST code on screen or a POST card can be used to troubleshoot BIOS problem. In addition to displaying the POST error code, the BIOS routine will also write to the speaker for some of the major error and known as the beep code. For example: different beep sequences on the absence of display adapter, keyboard and memory Advanced BIOS Features

  • Virus Warning (Enabled) When enabled, the BIOS performs a Pre-Operating System Check for viruses that could possibly modify the boot sector of the HDD. If any modification or scheduled modification is encountered, the boot process will come to a halt and the DOS prompt will generate the message
  • Boot sector is about to be modified, do you wish to continue? Y/ N. This BIOS-based virus check is very helpful because it catches boot sector viruses and it should be enabled under normal operating conditions
  • CPU Internal Cache (Enabled) All modern CPUs have at least one level of internal cache memory (SRAM). The function of the internal (level 1, L1) cache is to store data and instructions that have been read from the main memory and are written back to the cache for faster access in case they are requested again. Further, read ahead and storing of pre-fetched data for write allocation based on the locality of coherent data is also performed by the L1 cache ō€‚Š In all cases, this setting should be enabled
  • External Cache (Enabled) In Pentium or K6 days (Socket7), the L1 cache was the only internal cache. In most cases, the L cache is 32, 64 or 128 kByte. As a backup, a secondary, much larger cache was added. In the Socket7 architecture, the secondary or level 2 (L2) cache was added to the main board in form of designated, fast cache chips split into data/instruction cache and further the so-called tag RAM. The data/instruction L2 could vary in size from 512 kB over 1 MB up to 2 MB of on- board cache in the latest versions of the SuperSocket7. The Intel PentiumII was the first CPU to abandon the L2 cache integrated in the mainboard and instead, employing two 256 kB cache chips (total of 512 kB) mounted on the backside of the slot1 PCB which gave this particular type of L2 (AMD's Athlon followed). It is sometimes known as the back-sided cache. After the introduction of Celeron, Intel started to integrate the L2 cache into the CPU core and all currently made processors have the L2 cache integrated into the CPU core.This setting should always be enabled
  • L2 Cache ECC checking (Enabled) With integrating the L2 cache into the die, there was some confusion regarding the functionality of Error Checking and Correction on the L2 cache level. Currently all high-end microprocessors are using Error Checking and Correction. The BIOS setting pertain to ā€œCPU L2 Cache ECCā€ appears to have no function assigned to it, as recommended by the motherboard manufacturer. This should be

enabled for best performance. On some motherboards, this page allows the setting of CPU Vcore voltage and BIOS Update switch and boot devices

  • Boot-Up Floppy Seek (Disabled) Some older floppy drives have only 40 tracks (360 / 720 kBytes) whereas the new drives have 80 tracks (1.44 / 2.88 MBytes). Enabled means that the system will check which type of drive is installed in the system. This is meaningless if the system is using new drives. It takes up boot time and may decrease the life span of the floppy drive because no diskette is inside the drive while checking. This setting should be disabled
  • Gate A20 option (Fast) It concern with the emulation of the legacy XT system foraddressing memory system over 1MB. User can decide if the A20 gate can be controlled by the keyboard controller or the motherboard logic. For modern motherboard, if this setting is present in the BIOS, it should always be set to Fast. ō€‚Š Normal : Gate A20 is controlled by keyboard controller ō€‚Š Fast : Gate A20 is controlled by chipset core logic
  • Video BIOS Shadow (Disabled) In legacy graphics cards (1 MB video memory), copying the video BIOS into the system memory could increase the graphics performance of the system. The only drawback is that the video BIOS will take up base memory addresses and, thus, possibly interfere with other devices because of resource overlapping. For all modern graphics cards, the setting should be disabled because there is no performance increase and the possibility to encounter errors because of occupying other necessary system resources increases.
  • System BIOS Shadow (Disabled) Similar to video BIOS shadowing, after the BIOS is loaded, there is no reason to shadow it in the main memory for modern OS has abstracted the BIOS