DEVICE DRIVERS Presented by: Group 7. What are Device Drivers? Device driver or hardware driver is a program that manages the system’s interaction with.

Slides:



Advertisements
Similar presentations
Devices and Drivers (Chapter 7) Khattab Alhabashi UNIX System Administration.
Advertisements

OPERATING SYSTEM An operating system is a group of computer programs that coordinates all the activities among computer hardware devices. It is the first.
Installing Windows XP Professional Using Attended Installation Slide 1 of 30Session 8 Ver. 1.0 CompTIA A+ Certification: A Comprehensive Approach for all.
Computer Software 3 Section A Software Basics CHAPTER PARSONS/OJA
P1-P2-M1-D1-D2.
Introduction of ZTE Handset Online Upgrade tool V1.1 version
Drives, Directories and Files. A computer file is a block of arbitrary information, or resource for storing information. Computer files can be considered.
Chapter 5: Common Support Problems
Versioning Extensions for Linux CS736 Spring 1999 J. Adam Butts Paramjit Oberoi.
Installing Windows 7 Lesson 2.
Copyright © Clifford Neuman - UNIVERSITY OF SOUTHERN CALIFORNIA - INFORMATION SCIENCES INSTITUTE USC CSci599 Trusted Computing Lecture Three.
Embedded Real-time Systems The Linux kernel. The Operating System Kernel Resident in memory, privileged mode System calls offer general purpose services.
Software Evaluation Form Terminology. Version Changes as: Programs have "bugs" fixed Programs have new features added.
Chapter 12 File Management Systems
Fall 2011 Nassau Community College ITE153 – Operating Systems Session 24 NTFS Permissions and Sharing Printers 1.
Guide to Operating System Security Chapter 2 Viruses, Worms, and Malicious Software.
With experience you can develop the skills needed to clean and maintain your computer, and diagnose and resolve basic problems that may occur when using.
I/O Tanenbaum, ch. 5 p. 329 – 427 Silberschatz, ch. 13 p
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
Chapter 4: Operating Systems and File Management 1 Operating Systems and File Management Chapter 4.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 14: Problem Recovery.
Installing Windows Vista Lesson 2. Skills Matrix Technology SkillObjective DomainObjective # Performing a Clean Installation Set up Windows Vista as the.
An Introduction to Device Drivers Sarah Diesburg COP 5641 / CIS 4930.
1 Introducing Windows Backup There are different methods for starting Windows 2000 Backup. Requirements for running Windows 2000 Backup All users can back.
Lesson 4 Computer Software
IT Essentials: PC Hardware and Software 1 Chapter 7 Windows NT/2000/XP Operating Systems.
Chapter-4 Windows 2000 Professional Win2K Professional provides a very usable interface and was designed for use in the desktop PC. Microsoft server system.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 6 Today’s Windows Windows Vista and Windows 7 McGraw-Hill.
How To Fix Common Computer Errors m.
1 Chapter 12 File Management Systems. 2 Systems Architecture Chapter 12.
CH 6 Configuring Server Hardware and power options.
By Anthony W. Hill & Course Technology1 Common End User Problems.
Operating Systems  A collection of programs that  Coordinates computer usage among users  Manages computer resources  Handle Common Tasks.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 5 Windows XP Professional McGraw-Hill.
Installing Windows Vista Lesson 2. Skills Matrix Technology SkillObjective DomainObjective # Performing a Clean Installation Set up Windows Vista as the.
Windows XP Overview Windows XP Overview. Architecture (from 2000) Kernel mode Hardware HAL Kernel Executive Services security Win16 VM Win32 OS/2POSIX.
Module 3: Configuring Hardware on a Computer Running Windows XP Professional.
Managing Groups, Folders, Files and Security Local Domain local Global Universal Objects Folders Permissions Inheritance Access Control List NTFS Permissions.
11 SUPPORTING APPLICATIONS IN WINDOWS XP PROFESSIONAL Chapter 9.
Recover Your Data Quickly: Disaster Recovery Techniques with ARCserve  Disaster Recovery.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 13 Understanding and Installing Windows 2000 and Windows NT.
An Introduction to Device Drivers Ted Baker  Andy Wang COP 5641 / CIS 4930.
We will focus on operating system concepts What does it do? How is it implemented? Apply to Windows, Linux, Unix, Solaris, Mac OS X. Will discuss differences.
Threads-Process Interaction. CONTENTS  Threads  Process interaction.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 7 Under the Windows Desktop McGraw-Hill.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 6 Today’s Windows Windows Vista and Windows 7 McGraw-Hill.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 7 Under the Windows Desktop McGraw-Hill.
Ch 26 & 27 Operating Systems.  Understand the purpose of an operating system  Be able to describe the tasks performed by an operating system.
Hands-On Microsoft Windows Server 2008 Chapter 7 Configuring and Managing Data Storage.
John Samuels October, Why Now?  Vista Problems  New Features  >4GB Memory Support  Experience.
Booting Process Chapter 4: System Software Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall1.
By the end of this lesson you will be able to: 1. Determine the preventive support measures that are in place at your school.

Installing Windows 7 Lesson 2.
Introduction to Operating Systems
Under the Windows Desktop
Introduction to Computers
Introduction of Week 3 Assignment Discussion
Introduction to the Kernel and Device Drivers
CONFIGURING HARDWARE DEVICE & START UP PROCESS
An Introduction to Device Drivers
Booting Up 15-Nov-18 boot.ppt.
Lesson #7 MCTS Cert Guide Microsoft Windows 7, Configuring Chapter 7 Configuring Devices and Updates.
Print Services.
Overview Continuation from Monday (File system implementation)
IT Essentials PC Hardware and Software 4
Discussing an OVS/OVN Split
IT Essentials PC Hardware and Software 4
Presentation transcript:

DEVICE DRIVERS Presented by: Group 7

What are Device Drivers? Device driver or hardware driver is a program that manages the system’s interaction with a particular piece of hardware.

Examples

Types of device drivers 1.SCSI- Devices attached to SCSI bus are easy to configure. Most systems have one driver that allows direct access to the SCSI bus, plus additional drivers for special types of devices such as disks & tapes.

2. Vendor: Devices are already supported by the OS. Unless you have explicitly removed drivers, the kernel will usually recognize a new device as soon as you install it. 3. Third-party: When you purchase a piece of hardware from a third party, it will usually come with an installation script that installs the device, configures the kernel if necessary, and makes devices entries.

Extensions Used Windows OS :.DLL or.EXE Linux: PPD Files(Postscript Printer Description) having ".ppd" or ".PPD" file extension & Standard file format for Linux printer drivers file.

Functionality AdD your slides from here

Windows

Outdated driver

Types: indirect n direct ??????????????????????????????

Architecture of Device Driver for windows

Security Issues & Precautions

Two phases : Deliberate vs. incidental damage One security problem is damage user can cause through misuse of existing programs or exploiting bugs. Second issue is what kind of misfunctionality a programmer can implement. Kernel modules present possibilities for both System does only rudimentary checks at module load time

Driver writer must be on guard for security problems. Do not define security policies Provide mechanisms to enforce policies Be aware of operations that affect global resources Setting up an interrupt line  Could damage hardware Setting up a default block size  Could affect other users

Beware of bugs Buffer overrun  Overwriting unrelated data Treat input/parameters with utmost suspicion Uninitialized memory  Kernel memory should be zeroed before being made available to a user  Otherwise, information leakage could result Passwords

Avoid running kernels compiled by an untrusted friend Modified kernel could allow anyone to load a module

General Issues Windows : Windows cannot start this hardware device because its configuration information (in the registry) is incomplete or damaged Windows cannot verify the digital signature for the drivers required for this device Windows cannot load the device driver for this hardware because a previous instance of the device driver is still in memory

Linux : Blocking in Interrupt Context For interrupt driven block drivers, the strategy routine (request_fn) can be called from interrupt context but it cannot block. Fixed Size Buffer The buffer size for a device is fixed. To implement RAID5, we need to distinguish b/w full stripe write & partial stripe write as latter involves read-modify-write cycle.

Benefits of Using Advanced Versions Ensure peak performance of installed hardware Check for updated drivers using an extensive database Minimizes erratic behaviour and enhances PC performance Automatically scans system for latest drivers Full backup and restore functionality available in case of incompatibility issues Example: For Windows OS device drivers are fully compatible with 32 bit and 64 bit versions of Windows XP, Vista and Windows 7