COTS Integration and Debugging Challenges - RBSP Lessons Learned. Subodh Harmalkar Joseph Hennawy Samuel Fix Debbie Clancy

Size: px
Start display at page:

Download "COTS Integration and Debugging Challenges - RBSP Lessons Learned. Subodh Harmalkar Joseph Hennawy Samuel Fix Debbie Clancy"

Transcription

1 COTS Integration and Debugging Challenges - RBSP Lessons Learned Subodh Harmalkar Joseph Hennawy Samuel Fix Debbie Clancy

2 Agenda Background Testbed Architecture Intel PCI bus architecture Testbed modifications OS support and Internal investigations SBC Vendor and its BIOS support Lessons learned 11/12/2012 2

3 Testbed Architecture cpci Chassis Single Board Computer (SBC) Intel Pentium M based cpci card Other APL developed HW 11/12/2012 3

4 Problem Description Intermittent hang, when testbed idle. Frequency variable: months to hours. Reset would always work! Features in Testbed SW releases were priority, so this issue was a low priority. Mission Simulation #3 (MSIM3) runs for 10 days. So, as MSIM3 came close, longevity became important. Issue became RBSP Project level risk. 11/12/2012 4

5 Areas we looked into.. Testbed Applications Testbed Device Drivers OS Underlying Hardware We analyzed, stressed all layers of testbed architecture, OS and board vendor s hardware and support. 11/12/2012 5

6 Testbed modifications Investigated PCI, device drivers, apps, testbed configurations Increased interrupt rates Stress tested testbed software interfaces Converted a 3U module to show pending interrupts on PCI bus when CPU hung. 11/12/2012 6

7 Testbed SW stress test details Built Testbed stress test suite that stresses: Testbed Commanding Interface (Ethernet) Testbed Telemetry Interface (Ethernet) UUT (Unit Under Test) Commanding Interface (PCI/Serial) UUT Telemetry Interface (PCI/Serial) One chassis was running TBSW undisturbed (without any peripheral hardware) Experimented with timer tick on this board Never hung in 2-3 months 11/12/2012 7

8 Intel PCI bus Architecture 11/12/2012 8

9 Testbed modifications - SW Developed high priority beeper and blinker applications to detect lack of OS scheduling. Being Embedded engineers, disabled GUI. Wrote a simple script to print date on console. Developed an automatic application (on another machine) that detected testbed hang and sent an and text messages. Useful for gathering data quickly Network issues caused a lot of false alarms. Started discussions with APL s internal Intel CPU experts and with RTOS customer support 11/12/2012 9

10 80x86 Interrupts using PIC (Programmable Interrupt Controller) Intel CPU (Pentium) gets interrupted through cascaded interrupt controllers, acknowledges that interrupt, completes the work and sends End Of Interrupt to Interrupt controller. APL experts decided to investigate with JTAG. It showed that when testbed hung, the IF (Interrupt Enable Flag) was enabled. CPU was not receiving any more interrupts. When we forced EOI to PIC, system woke up but hung again in few minutes. Most likely, CPU had missed sending EOI. This could be an OS issue 11/12/

11 OS Tier 1 and Tier 3 Support Reviewed OS release notes, user forums etc. Did not see similar problems since OS release. Upgraded OS maintenance contract to Tier 3 (Gold/Bronze) to gain better and quicker support with engineering contacts. Tier 3 reviewed our suspected code snippets quickly. They found no issue in our system clock, interrupt handlers, device driver specific code. Tier 3 requested to reduce system clock frequency. To every one s surprise, testbeds started hanging quickly!! No one could explain why. Kernel level debugging tools could not capture the last snapshot of system state, since CPU was not responding. The only possibility was to analyze data in memory AFTER the hang. We needed access to OS internal data structures. We were not successful in getting access to OS source code due to legal issues, in timely manner. 11/12/

12 OS Tier 3 response.. Tier 3 folks discussed with kernel developers. Some engineer remembered Ah.. We had a problem with Intel s HLT instruction. Tell them to stop using HLT. The referred issue would happen at startup. Our problem was happening during run time, but we tried that approach. HLT is used in IDLE task of OS -h at startup replaces HLT by while(1) loop. Testbeds stopped hanging.. But we kept looking for root cause. 11/12/

13 Clues emerged from data.. By now, Integration and Test (I&T) testbeds were used constantly (with HLT instruction) and were NOT hanging. So, we investigated the differences in HW. I&T testbeds had newer boards than Flight SW testbeds. SBC vendor had not informed us about new revision updates. We had not investigated the differences when we received boards. Intel s Pentium M errata sheet had an Erratum X21 related to HLT instruction. 11/12/

14 Plausible root cause X21 Problem: If an external snoop causes an eviction from the Instruction Fetch Unit (IFU) instruction cache, the processor may, on exit from HLT state, erroneously read stale data from the victim cache. Implication: This may lead to unpredictable behavior. Intel has only observed this condition in non-mobile configuration. Workaround: It is possible for the BIOS to contain a workaround. Intel speak for Update your BIOS!! [ 11/12/

15 Plausible root cause Plausible scenario: CPU stops at HLT CPU is interrupted by an interrupt that is asynchronous to timer interrupt i.e. Network / EIDE related DMA completion. The snoop cycle causes IFU eviction when Instruction cache has been victimized. IFU fetches invalid instruction or incorrect program counter. On that or the next interrupt cycle, CPU does not issue EOI due to some interaction between OS and CPU states. Few options (a) Avoid HLT (b) Avoid DMA (not good for system timing) (c) Update BIOS. 11/12/

16 Updating BIOS SBC Vendor You have up-to-date BIOS from our BIOS vendor. BIOS Vendor Our BIOS is up-to-date. Errata name changed from X21 to Y36 from 2005 to Google Intel Pentium errata Y36 Pushed Toshiba fixed this in Your BIOS release date is two years earlier. Two days later, BIOS vendor gave an update to SBC Vendor. A configuration that hung every 6 hrs, ran well for 10+ days with new BIOS. Root cause: Not following CPU Erratum and lack of CM (Configuration Mgmt) and Integration testing in COTS products. 11/12/

17 Lessons Learned Stress test Flight (HW+SW) and Testbed (HW+SW)!! Understand the platform we build upon!! Keep detailed records what (configuration), when, symptoms. Increase priority of low frequency hang issues to program management as soon as possible. Build continuous self-test to exercise possible features during testbed idle time. Keep JTAG, Bus analyzer like hardware debug tools and skills up-to-date. Get access (not necessarily purchase) to source code for OS, BIOS and drivers. Investigate levels of integration of COTS products, support by vendors and track their release notes. 11/12/

18 Lessons Learned An integrated solution with turn key guarantees, and adequate support is preferred for critical and potentially multi-user systems. Adequate risk level grading process needs to be devised and applied to each COTS SW / HW / FW component introduced into a system. The process should include the mechanism of managing COTS risk assignment throughout different mission phases. 11/12/

19 Q&A 11/12/

20 Backup slides 11/12/

21 PCI Investigation V-Metro BusView PCI Bus Analyzer Trigger Events State machines Buffers PCI Interrupts Nothing unusual seen in multiple PCI traces. Still CPU state unknown.. 11/12/

22 PCI Interrupt module Converted a 3U module to show pending PCI interrupts from backplane After hang, some interrupt lines were seen pending low i.e. not acknowledged It was useful to know which interrupts were pending, but did not lead us to the cause. 11/12/

23 JTAG JTAG: Joint Test Action Group (now IEEE standard) 11/12/

19: I/O Devices: Clocks, Power Management

19: I/O Devices: Clocks, Power Management 19: I/O Devices: Clocks, Power Management Mark Handley Clock Hardware: A Programmable Clock Pulses Counter, decremented on each pulse Crystal Oscillator On zero, generate interrupt and reload from holding

More information

Operating System: Chap13 I/O Systems. National Tsing-Hua University 2016, Fall Semester

Operating System: Chap13 I/O Systems. National Tsing-Hua University 2016, Fall Semester Operating System: Chap13 I/O Systems National Tsing-Hua University 2016, Fall Semester Outline Overview I/O Hardware I/O Methods Kernel I/O Subsystem Performance Application Interface Operating System

More information

Integrated Device Technology, Inc Stender Way, Santa Clara, CA Phone #: (408) Fax #: (408) Errata Notification

Integrated Device Technology, Inc Stender Way, Santa Clara, CA Phone #: (408) Fax #: (408) Errata Notification Integrated Device Technology, Inc. 2975 Stender Way, Santa Clara, CA - 95054 Phone #: (408) 727-6116 Fax #: (408) 727-2328 Errata Notification EN #: IEN01-02 Errata Revision #: 11/5/01 Issue Date: December

More information

A Smart Port Card Tutorial --- Hardware

A Smart Port Card Tutorial --- Hardware A Smart Port Card Tutorial --- Hardware John DeHart Washington University jdd@arl.wustl.edu http://www.arl.wustl.edu/~jdd 1 References: New Links from Kits References Page Intel Embedded Module: Data Sheet

More information

Department of Computer Science, Institute for System Architecture, Operating Systems Group. Real-Time Systems '08 / '09. Hardware.

Department of Computer Science, Institute for System Architecture, Operating Systems Group. Real-Time Systems '08 / '09. Hardware. Department of Computer Science, Institute for System Architecture, Operating Systems Group Real-Time Systems '08 / '09 Hardware Marcus Völp Outlook Hardware is Source of Unpredictability Caches Pipeline

More information

Preliminary Information. AMD Athlon Processor Model 6 Revision Guide

Preliminary Information. AMD Athlon Processor Model 6 Revision Guide AMD Athlon Processor Model 6 Revision Guide Publication # 24332 Rev: E Issue Date: December 2002 2001, 2002 Advanced Micro Devices, Inc. All rights reserved. The contents of this document are provided

More information

Intel E8500 Chipset North Bridge (NB)

Intel E8500 Chipset North Bridge (NB) Intel E8500 Chipset North Bridge (NB) Specification Update June 2005 Notice: The Intel E8500 chipset North Bridge (NB) may contain design defects or errors known as errata that may cause the product to

More information

Input/Output Systems

Input/Output Systems Input/Output Systems CSCI 315 Operating Systems Design Department of Computer Science Notice: The slides for this lecture have been largely based on those from an earlier edition of the course text Operating

More information

CMSC 313 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 09, SPRING 2013

CMSC 313 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 09, SPRING 2013 CMSC 313 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 09, SPRING 2013 TOPICS TODAY I/O Architectures Interrupts Exceptions FETCH EXECUTE CYCLE 1.7 The von Neumann Model This is a general

More information

Intel Graphics Virtualization on KVM. Aug KVM Forum 2011 Rev. 3

Intel Graphics Virtualization on KVM. Aug KVM Forum 2011 Rev. 3 Intel Graphics Virtualization on KVM Aug-16-2011 allen.m.kay@intel.com KVM Forum 2011 Rev. 3 Agenda Background on IO Virtualization Device Operation on Native Platform QEMU IO Virtualization Device Direct

More information

Brief tour of hardware

Brief tour of hardware Brief tour of hardware Only the basic aspects are covered here. The hardware is divided into entities ( things ) and features ( actions also called mechanisms ); the main distinction is that you can see

More information

Computer System Overview OPERATING SYSTEM TOP-LEVEL COMPONENTS. Simplified view: Operating Systems. Slide 1. Slide /S2. Slide 2.

Computer System Overview OPERATING SYSTEM TOP-LEVEL COMPONENTS. Simplified view: Operating Systems. Slide 1. Slide /S2. Slide 2. BASIC ELEMENTS Simplified view: Processor Slide 1 Computer System Overview Operating Systems Slide 3 Main Memory referred to as real memory or primary memory volatile modules 2004/S2 secondary memory devices

More information

Chapter 5 - Input / Output

Chapter 5 - Input / Output Chapter 5 - Input / Output Luis Tarrataca luis.tarrataca@gmail.com CEFET-RJ L. Tarrataca Chapter 5 - Input / Output 1 / 90 1 Motivation 2 Principle of I/O Hardware I/O Devices Device Controllers Memory-Mapped

More information

Computer Organization ECE514. Chapter 5 Input/Output (9hrs)

Computer Organization ECE514. Chapter 5 Input/Output (9hrs) Computer Organization ECE514 Chapter 5 Input/Output (9hrs) Learning Outcomes Course Outcome (CO) - CO2 Describe the architecture and organization of computer systems Program Outcome (PO) PO1 Apply knowledge

More information

Preliminary Information. AMD Duron Processor Model 7 Revision Guide

Preliminary Information. AMD Duron Processor Model 7 Revision Guide AMD Duron Processor Model 7 Revision Guide Publication # 24806 Rev: E Issue Date: October 2003 2002, 2003 Advanced Micro Devices, Inc. All rights reserved. The contents of this document are provided in

More information

Ricardo Rocha. Department of Computer Science Faculty of Sciences University of Porto

Ricardo Rocha. Department of Computer Science Faculty of Sciences University of Porto Ricardo Rocha Department of Computer Science Faculty of Sciences University of Porto Slides based on the book Operating System Concepts, 9th Edition, Abraham Silberschatz, Peter B. Galvin and Greg Gagne,

More information

Module 11: I/O Systems

Module 11: I/O Systems Module 11: I/O Systems Reading: Chapter 13 Objectives Explore the structure of the operating system s I/O subsystem. Discuss the principles of I/O hardware and its complexity. Provide details on the performance

More information

Chapter 3. Top Level View of Computer Function and Interconnection. Yonsei University

Chapter 3. Top Level View of Computer Function and Interconnection. Yonsei University Chapter 3 Top Level View of Computer Function and Interconnection Contents Computer Components Computer Function Interconnection Structures Bus Interconnection PCI 3-2 Program Concept Computer components

More information

8086 Interrupts and Interrupt Responses:

8086 Interrupts and Interrupt Responses: UNIT-III PART -A INTERRUPTS AND PROGRAMMABLE INTERRUPT CONTROLLERS Contents at a glance: 8086 Interrupts and Interrupt Responses Introduction to DOS and BIOS interrupts 8259A Priority Interrupt Controller

More information

OS Structure. Hardware protection & privilege levels Control transfer to and from the operating system

OS Structure. Hardware protection & privilege levels Control transfer to and from the operating system OS Structure Topics Hardware protection & privilege levels Control transfer to and from the operating system Learning Objectives: Explain what hardware protection boundaries are. Explain how applications

More information

Chapter 13: I/O Systems

Chapter 13: I/O Systems Chapter 13: I/O Systems Chapter 13: I/O Systems I/O Hardware Application I/O Interface Kernel I/O Subsystem Transforming I/O Requests to Hardware Operations Streams Performance 13.2 Silberschatz, Galvin

More information

I/O Systems (3): Clocks and Timers. CSE 2431: Introduction to Operating Systems

I/O Systems (3): Clocks and Timers. CSE 2431: Introduction to Operating Systems I/O Systems (3): Clocks and Timers CSE 2431: Introduction to Operating Systems 1 Outline Clock Hardware Clock Software Soft Timers 2 Two Types of Clocks Simple clock: tied to the 110- or 220-volt power

More information

Architectural Support for Operating Systems

Architectural Support for Operating Systems Architectural Support for Operating Systems Today Computer system overview Next time OS components & structure Computer architecture and OS OS is intimately tied to the hardware it runs on The OS design

More information

Computer System Overview

Computer System Overview Computer System Overview Operating Systems 2005/S2 1 What are the objectives of an Operating System? 2 What are the objectives of an Operating System? convenience & abstraction the OS should facilitate

More information

Computer Systems Overview

Computer Systems Overview Computer Systems Overview Maurizio Pizzonia slides adattate da W. Stalling Operating Systems: Internals and Design Principles http://williamstallings.com/os/os5e.html 1 Basic Elements Processor Main Memory

More information

Interconnecting Components

Interconnecting Components Interconnecting Components Need interconnections between CPU, memory, controllers Bus: shared communication channel Parallel set of wires for data and synchronization of data transfer Can become a bottleneck

More information

Intel 815 Chipset Family: Graphics and Memory Controller Hub (GMCH)

Intel 815 Chipset Family: Graphics and Memory Controller Hub (GMCH) Intel 815 Chipset Family: 82815 Graphics and Memory Controller Hub (GMCH) Specification Update May 2001 Notice: The Intel 82815 GMCH may contain design defects or errors known as errata which may cause

More information

ECEN 449 Microprocessor System Design. Hardware-Software Communication. Texas A&M University

ECEN 449 Microprocessor System Design. Hardware-Software Communication. Texas A&M University ECEN 449 Microprocessor System Design Hardware-Software Communication 1 Objectives of this Lecture Unit Learn basics of Hardware-Software communication Memory Mapped I/O Polling/Interrupts 2 Motivation

More information

Yielding, General Switching. November Winter Term 2008/2009 Gerd Liefländer Universität Karlsruhe (TH), System Architecture Group

Yielding, General Switching. November Winter Term 2008/2009 Gerd Liefländer Universität Karlsruhe (TH), System Architecture Group System Architecture 6 Switching Yielding, General Switching November 10 2008 Winter Term 2008/2009 Gerd Liefländer 1 Agenda Review & Motivation Switching Mechanisms Cooperative PULT Scheduling + Switch

More information

by I.-C. Lin, Dept. CS, NCTU. Textbook: Operating System Concepts 8ed CHAPTER 13: I/O SYSTEMS

by I.-C. Lin, Dept. CS, NCTU. Textbook: Operating System Concepts 8ed CHAPTER 13: I/O SYSTEMS by I.-C. Lin, Dept. CS, NCTU. Textbook: Operating System Concepts 8ed CHAPTER 13: I/O SYSTEMS Chapter 13: I/O Systems I/O Hardware Application I/O Interface Kernel I/O Subsystem Transforming I/O Requests

More information

Unit 1. Chapter 3 Top Level View of Computer Function and Interconnection

Unit 1. Chapter 3 Top Level View of Computer Function and Interconnection Unit 1 Chapter 3 Top Level View of Computer Function and Interconnection Program Concept Hardwired systems are inflexible General purpose hardware can do different tasks, given correct control signals

More information

The control of I/O devices is a major concern for OS designers

The control of I/O devices is a major concern for OS designers Lecture Overview I/O devices I/O hardware Interrupts Direct memory access Device dimensions Device drivers Kernel I/O subsystem Operating Systems - June 26, 2001 I/O Device Issues The control of I/O devices

More information

Practical Hardware Debugging: Quick Notes On How to Simulate Altera s Nios II Multiprocessor Systems Using Mentor Graphics ModelSim

Practical Hardware Debugging: Quick Notes On How to Simulate Altera s Nios II Multiprocessor Systems Using Mentor Graphics ModelSim Practical Hardware Debugging: Quick Notes On How to Simulate Altera s Nios II Multiprocessor Systems Using Mentor Graphics ModelSim Ray Duran Staff Design Specialist FAE, Altera Corporation 408-544-7937

More information

Input / Output. School of Computer Science G51CSA

Input / Output. School of Computer Science G51CSA Input / Output 1 Overview J I/O module is the third key element of a computer system. (others are CPU and Memory) J All computer systems must have efficient means to receive input and deliver output J

More information

Real-time for Windows NT

Real-time for Windows NT Real-time for Windows NT Myron Zimmerman, Ph.D. Chief Technology Officer, Inc. Cambridge, Massachusetts (617) 661-1230 www.vci.com Slide 1 Agenda Background on, Inc. Intelligent Connected Equipment Trends

More information

Boot Interrupt Quirks and (RealTime) Interrupt Handling on x86. Olaf Dabrunz, Stefan Assmann

Boot Interrupt Quirks and (RealTime) Interrupt Handling on x86. Olaf Dabrunz, Stefan Assmann Boot Interrupt Quirks and (RealTime) Interrupt Handling on x86 Olaf Dabrunz, Stefan Assmann od@suse.de, sassmann@suse.de Overview 1. Interrupt Handling 2. RT Interrupt Handling is a bit Different 3. So

More information

NETWORKABLE TELEMETRY DATA RECORDERS BASED ON COTS COMPUTER TECHNOLOGY

NETWORKABLE TELEMETRY DATA RECORDERS BASED ON COTS COMPUTER TECHNOLOGY NETWORKABLE TELEMETRY DATA RECORDERS BASED ON COTS COMPUTER TECHNOLOGY Item Type text; Proceedings Authors Smith, Grant M. Publisher International Foundation for Telemetering Journal International Telemetering

More information

Chapter 13: I/O Systems

Chapter 13: I/O Systems Chapter 13: I/O Systems I/O Hardware Application I/O Interface Kernel I/O Subsystem Transforming I/O Requests to Hardware Operations Streams Performance Objectives Explore the structure of an operating

More information

Atmel AT697 validation report

Atmel AT697 validation report Atmel AT697 validation report ESA Contract 18533/04/NL/JD, call-off order 2 GR-AT697-002 Version 1.2 June 2005 Första Långgatan 19 tel +46 31 7758650 SE-413 27 Göteborg fax +46 31 421407 Sweden www.gaisler.com

More information

What Operating Systems Do An operating system is a program hardware that manages the computer provides a basis for application programs acts as an int

What Operating Systems Do An operating system is a program hardware that manages the computer provides a basis for application programs acts as an int Operating Systems Lecture 1 Introduction Agenda: What Operating Systems Do Computer System Components How to view the Operating System Computer-System Operation Interrupt Operation I/O Structure DMA Structure

More information

QUIZ Ch.6. The EAT for a two-level memory is given by:

QUIZ Ch.6. The EAT for a two-level memory is given by: QUIZ Ch.6 The EAT for a two-level memory is given by: EAT = H Access C + (1-H) Access MM. Derive a similar formula for three-level memory: L1, L2 and RAM. Hint: Instead of H, we now have H 1 and H 2. Source:

More information

I/O. Fall Tore Larsen. Including slides from Pål Halvorsen, Tore Larsen, Kai Li, and Andrew S. Tanenbaum)

I/O. Fall Tore Larsen. Including slides from Pål Halvorsen, Tore Larsen, Kai Li, and Andrew S. Tanenbaum) I/O Fall 2011 Tore Larsen Including slides from Pål Halvorsen, Tore Larsen, Kai Li, and Andrew S. Tanenbaum) Big Picture Today we talk about I/O characteristics interconnection devices & controllers (disks

More information

I/O. Fall Tore Larsen. Including slides from Pål Halvorsen, Tore Larsen, Kai Li, and Andrew S. Tanenbaum)

I/O. Fall Tore Larsen. Including slides from Pål Halvorsen, Tore Larsen, Kai Li, and Andrew S. Tanenbaum) I/O Fall 2010 Tore Larsen Including slides from Pål Halvorsen, Tore Larsen, Kai Li, and Andrew S. Tanenbaum) Big Picture Today we talk about I/O characteristics interconnection devices & controllers (disks

More information

80C186XL/80C188XL EMBEDDED MICROPROCESSORS SPECIFICATION UPDATE

80C186XL/80C188XL EMBEDDED MICROPROCESSORS SPECIFICATION UPDATE 80C186XL/80C188XL EMBEDDED MICROPROCESSORS SPECIFICATION UPDATE Release Date: January, 2002 Order Number: 272895.003 The 80C186XL/80C188XL embedded microprocessors may contain design defects or errors

More information

Introduction to Intel Boot Loader Development Kit (Intel BLDK) Intel SSG/SSD/UEFI

Introduction to Intel Boot Loader Development Kit (Intel BLDK) Intel SSG/SSD/UEFI Introduction to Intel Boot Loader Development Kit (Intel BLDK) Intel SSG/SSD/UEFI Legal Disclaimer INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED,

More information

Software Development Using Full System Simulation with Freescale QorIQ Communications Processors

Software Development Using Full System Simulation with Freescale QorIQ Communications Processors Patrick Keliher, Simics Field Application Engineer Software Development Using Full System Simulation with Freescale QorIQ Communications Processors 1 2013 Wind River. All Rights Reserved. Agenda Introduction

More information

Troubleshooting. Resetting the System. Problems Following Initial System Installation. First Steps Checklist CHAPTER

Troubleshooting. Resetting the System. Problems Following Initial System Installation. First Steps Checklist CHAPTER CHAPTER 6 This chapter helps you identify and solve problems that might occur while you are using the Cisco CDE110. If you are unable to resolve your server problems on your own, contact Cisco Technical

More information

Top-Level View of Computer Organization

Top-Level View of Computer Organization Top-Level View of Computer Organization Bởi: Hoang Lan Nguyen Computer Component Contemporary computer designs are based on concepts developed by John von Neumann at the Institute for Advanced Studies

More information

SE7500WV2 Server Board SR2300 Server Chassis SR1300 Server Chassis

SE7500WV2 Server Board SR2300 Server Chassis SR1300 Server Chassis SE7500WV2 Server Board SR2300 Server Chassis SR1300 Server Chassis Specification Update Intel Order Number C16738-005 January 2003 Enterprise Platforms and Services Marketing Revision History Date August

More information

XID ERRORS. vr384 October XID Errors

XID ERRORS. vr384 October XID Errors ID ERRORS vr384 October 2017 ID Errors Introduction... 1 1.1. What Is an id Message... 1 1.2. How to Use id Messages... 1 Working with id Errors... 2 2.1. Viewing id Error Messages... 2 2.2. Tools That

More information

Operating Systems 2010/2011

Operating Systems 2010/2011 Operating Systems 2010/2011 Input/Output Systems part 1 (ch13) Shudong Chen 1 Objectives Discuss the principles of I/O hardware and its complexity Explore the structure of an operating system s I/O subsystem

More information

Common Computer-System and OS Structures

Common Computer-System and OS Structures Common Computer-System and OS Structures Computer System Operation I/O Structure Storage Structure Storage Hierarchy Hardware Protection General System Architecture Oct-03 1 Computer-System Architecture

More information

the enters state of the next m/c cycle, As indicated in the fig the HALT f/f is checked in state of the next m/c cycle if it is fount

the enters state of the next m/c cycle, As indicated in the fig the HALT f/f is checked in state of the next m/c cycle if it is fount Lecture-15 STATE TRANSITION DIAGRAM HALT state: (T HALT ): Whenever the HALT instruction is executed enters in to the HALT state the op code for HALT is 76H. Assume that an op code fetch m/c cycle is initiated

More information

Final Examination. Thursday, December 3, :20PM 620 PM. NAME: Solutions to Selected Problems ID:

Final Examination. Thursday, December 3, :20PM 620 PM. NAME: Solutions to Selected Problems ID: CSE 237B EMBEDDED SOFTWARE, FALL 2009 PROF. RAJESH GUPTA Final Examination Thursday, December 3, 2009 5:20PM 620 PM NAME: Solutions to Selected Problems ID: Problem Max. Points Points 1 20 2 25 3 35 4

More information

OS: An Overview. ICS332 Operating Systems

OS: An Overview. ICS332 Operating Systems OS: An Overview ICS332 Operating Systems Why are we studying this? After all, you probably will not develop an OS Important to understand what you use: Develop better (apps); What can and cannot be done;

More information

Preliminary Information. AMD Duron Processor Model 3 Revision Guide

Preliminary Information. AMD Duron Processor Model 3 Revision Guide AMD Duron Processor Model 3 Revision Guide Publication # 23865 Rev: K Issue Date: October 2003 2001 2003 Advanced Micro Devices, Inc. All rights reserved. The contents of this document are provided in

More information

Announcement. Exercise #2 will be out today. Due date is next Monday

Announcement. Exercise #2 will be out today. Due date is next Monday Announcement Exercise #2 will be out today Due date is next Monday Major OS Developments 2 Evolution of Operating Systems Generations include: Serial Processing Simple Batch Systems Multiprogrammed Batch

More information

Power Management as I knew it. Jim Kardach

Power Management as I knew it. Jim Kardach Power Management as I knew it Jim Kardach 1 Agenda Philosophy of power management PM Timeline Era of OS Specific PM (OSSPM) Era of OS independent PM (OSIPM) Era of OS Assisted PM (APM) Era of OS & hardware

More information

COMP12111 Fundamentals of Computer Engineering Paul Nutter Vasilis Pavlidis Comments

COMP12111 Fundamentals of Computer Engineering Paul Nutter Vasilis Pavlidis Comments Fundamentals of Computer Engineering Paul Nutter Vasilis Pavlidis Comments Please see the attached report. 12 February 2016 Page 2 of 7 Exam Feedback 2015/16 Q1 set by Paul Nutter Q2 set by Vasilis Pavlidis

More information

Device-Functionality Progression

Device-Functionality Progression Chapter 12: I/O Systems I/O Hardware I/O Hardware Application I/O Interface Kernel I/O Subsystem Transforming I/O Requests to Hardware Operations Incredible variety of I/O devices Common concepts Port

More information

Chapter 12: I/O Systems. I/O Hardware

Chapter 12: I/O Systems. I/O Hardware Chapter 12: I/O Systems I/O Hardware Application I/O Interface Kernel I/O Subsystem Transforming I/O Requests to Hardware Operations I/O Hardware Incredible variety of I/O devices Common concepts Port

More information

The von Neuman architecture characteristics are: Data and Instruction in same memory, memory contents addressable by location, execution in sequence.

The von Neuman architecture characteristics are: Data and Instruction in same memory, memory contents addressable by location, execution in sequence. CS 320 Ch. 3 The von Neuman architecture characteristics are: Data and Instruction in same memory, memory contents addressable by location, execution in sequence. The CPU consists of an instruction interpreter,

More information

S950 3U cpci Radiation Tolerant PowerPC SBC

S950 3U cpci Radiation Tolerant PowerPC SBC S950 3U cpci Radiation Tolerant PowerPC SBC Designed for LEO, Mars Terrestrial with an Option for GEO Environments Single-Slot Conduction-Cooled 3U CompactPCI (cpci) Single Board Computer (SBC) High Performance

More information

Hardware OS & OS- Application interface

Hardware OS & OS- Application interface CS 4410 Operating Systems Hardware OS & OS- Application interface Summer 2013 Cornell University 1 Today How my device becomes useful for the user? HW-OS interface Device controller Device driver Interrupts

More information

Chapter 13: I/O Systems

Chapter 13: I/O Systems Chapter 13: I/O Systems I/O Hardware Application I/O Interface Kernel I/O Subsystem Transforming I/O Requests to Hardware Operations Streams Performance I/O Hardware Incredible variety of I/O devices Common

More information

These three counters can be programmed for either binary or BCD count.

These three counters can be programmed for either binary or BCD count. S5 KTU 1 PROGRAMMABLE TIMER 8254/8253 The Intel 8253 and 8254 are Programmable Interval Timers (PTIs) designed for microprocessors to perform timing and counting functions using three 16-bit registers.

More information

Debugging with System Analyzer. Todd Mullanix TI-RTOS Apps Manager Oct. 15, 2017

Debugging with System Analyzer. Todd Mullanix TI-RTOS Apps Manager Oct. 15, 2017 Debugging with System Analyzer Todd Mullanix TI-RTOS Apps Manager Oct. 15, 2017 Abstract In software engineering, tracing involves a specialized use of logging to record information about a program's execution.

More information

Mobile Intel 945 Express Chipset Family

Mobile Intel 945 Express Chipset Family Mobile Intel 945 Express Chipset Family Specification Update November 2007 Document Number: 309220-0011 INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO LICENSE, EXPRESS OR

More information

Monthly Specification Update

Monthly Specification Update Intel Server Board S5500BC Intel Server System SR1630BC Intel Server System SC5650BCDP Revision 11.0 September, 2011 Enterprise Platforms and Services Division Marketing Enterprise Platforms and Services

More information

PC Interrupt Structure and 8259 DMA Controllers

PC Interrupt Structure and 8259 DMA Controllers ELEC 379 : DESIGN OF DIGITAL AND MICROCOMPUTER SYSTEMS 1998/99 WINTER SESSION, TERM 2 PC Interrupt Structure and 8259 DMA Controllers This lecture covers the use of interrupts and the vectored interrupt

More information

Generic Model of I/O Module Interface to CPU and Memory Interface to one or more peripherals

Generic Model of I/O Module Interface to CPU and Memory Interface to one or more peripherals William Stallings Computer Organization and Architecture 7 th Edition Chapter 7 Input/Output Input/Output Problems Wide variety of peripherals Delivering different amounts of data At different speeds In

More information

EE108B Lecture 17 I/O Buses and Interfacing to CPU. Christos Kozyrakis Stanford University

EE108B Lecture 17 I/O Buses and Interfacing to CPU. Christos Kozyrakis Stanford University EE108B Lecture 17 I/O Buses and Interfacing to CPU Christos Kozyrakis Stanford University http://eeclass.stanford.edu/ee108b 1 Announcements Remaining deliverables PA2.2. today HW4 on 3/13 Lab4 on 3/19

More information

6.9. Communicating to the Outside World: Cluster Networking

6.9. Communicating to the Outside World: Cluster Networking 6.9 Communicating to the Outside World: Cluster Networking This online section describes the networking hardware and software used to connect the nodes of cluster together. As there are whole books and

More information

An Operating System in Action

An Operating System in Action 1 An Operating System in Action CPU loads boot program from ROM (e.g. BIOS in PC s) Boot program: Examines/checks machine configuration (number of CPU s, how much memory, number & type of hardware devices,

More information

COMPARISON BETWEEN GR740, LEON4-N2X AND NGMP

COMPARISON BETWEEN GR740, LEON4-N2X AND NGMP Doc..: Date: 2017-08-22 Page: 1 of 11 COMPARISON BETWEEN GR740, LEON4-N2X AND NGMP Doc..: Date: 2017-08-22 Page: 2 of 11 TABLE OF CONTENTS 1 INTRODUCTION... 3 1.1 Scope of the Document... 3 1.2 Reference

More information

EE458 - Embedded Systems Exceptions and Interrupts

EE458 - Embedded Systems Exceptions and Interrupts EE458 - Embedded Systems Exceptions and Interrupts Outline Exceptions Interrupts References RTC: Chapters 10 CUG: Chapters 8, 21, 23 1 Introduction An exception is any event that disrupts the normal execution

More information

Module 2: Computer-System Structures. Computer-System Architecture

Module 2: Computer-System Structures. Computer-System Architecture Module 2: Computer-System Structures Computer-System Operation I/O Structure Storage Structure Storage Hierarchy Hardware Protection General System Architecture Operating System Concepts 2.1 Silberschatz

More information

Chapter 13: I/O Systems

Chapter 13: I/O Systems Chapter 13: I/O Systems Chapter 13: I/O Systems I/O Hardware Application I/O Interface Kernel I/O Subsystem Transforming I/O Requests to Hardware Operations Streams Performance 13.2 Silberschatz, Galvin

More information

Chapter 13: I/O Systems. Chapter 13: I/O Systems. Objectives. I/O Hardware. A Typical PC Bus Structure. Device I/O Port Locations on PCs (partial)

Chapter 13: I/O Systems. Chapter 13: I/O Systems. Objectives. I/O Hardware. A Typical PC Bus Structure. Device I/O Port Locations on PCs (partial) Chapter 13: I/O Systems Chapter 13: I/O Systems I/O Hardware Application I/O Interface Kernel I/O Subsystem Transforming I/O Requests to Hardware Operations Streams Performance 13.2 Silberschatz, Galvin

More information

Architecture Specification

Architecture Specification PCI-to-PCI Bridge Architecture Specification, Revision 1.2 June 9, 2003 PCI-to-PCI Bridge Architecture Specification Revision 1.1 December 18, 1998 Revision History REVISION ISSUE DATE COMMENTS 1.0 04/05/94

More information

3. Controtlto specify the mode of transfer such as read or write 4. A control to start the DMA transfer

3. Controtlto specify the mode of transfer such as read or write 4. A control to start the DMA transfer DMA Controller The DMA controller needs the usual circuits of an interface to communicate the CPU and 10 device. In addition, it needs an address register, a word count register, and a set of address lines.

More information

0-1 Million in 46 Days Scaling a Facebook Application in Rails

0-1 Million in 46 Days Scaling a Facebook Application in Rails 0-1 Million in 46 Days Scaling a Facebook Application in Rails Ikai Lan Linkedin Ikai Lan From 0 to 1,000,000 in 46 Days: Scaling a Facebook Application in Rails Slide 1 Hi! I m Ikai Lan Ikai Lan From

More information

Q.1 Explain Computer s Basic Elements

Q.1 Explain Computer s Basic Elements Q.1 Explain Computer s Basic Elements Ans. At a top level, a computer consists of processor, memory, and I/O components, with one or more modules of each type. These components are interconnected in some

More information

Architectural Support for Operating Systems

Architectural Support for Operating Systems OS and Architectures Architectural Support for Operating Systems Emin Gun Sirer What an OS can do is dictated, at least in part, by the architecture. Architecture support can greatly simplify (or complicate)

More information

I/O virtualization. Jiang, Yunhong Yang, Xiaowei Software and Service Group 2009 虚拟化技术全国高校师资研讨班

I/O virtualization. Jiang, Yunhong Yang, Xiaowei Software and Service Group 2009 虚拟化技术全国高校师资研讨班 I/O virtualization Jiang, Yunhong Yang, Xiaowei 1 Legal Disclaimer INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO LICENSE,

More information

Lecture 2: September 9

Lecture 2: September 9 CMPSCI 377 Operating Systems Fall 2010 Lecture 2: September 9 Lecturer: Prashant Shenoy TA: Antony Partensky & Tim Wood 2.1 OS & Computer Architecture The operating system is the interface between a user

More information

Even coarse architectural trends impact tremendously the design of systems

Even coarse architectural trends impact tremendously the design of systems CSE 451: Operating Systems Spring 2006 Module 2 Architectural Support for Operating Systems John Zahorjan zahorjan@cs.washington.edu 534 Allen Center Even coarse architectural trends impact tremendously

More information

Release Notes: NetAXS Firmware Release January 14, NetAXS-4 Firmware R Release Notes. NetAXS-4. Revision 06

Release Notes: NetAXS Firmware Release January 14, NetAXS-4 Firmware R Release Notes. NetAXS-4. Revision 06 NetAXS-4 Firmware R03.04.18 Release Notes NetAXS-4 Revision 06 Table of Contents Notices and Trademarks... 3 Terms, Acronyms, Abbreviations, and Symbols... 3 I. RELEASE CONTENTS... 3 Product Name and Model...

More information

Introduction to Embedded Systems

Introduction to Embedded Systems Stefan Kowalewski, 4. November 25 Introduction to Embedded Systems Part 2: Microcontrollers. Basics 2. Structure/elements 3. Digital I/O 4. Interrupts 5. Timers/Counters Introduction to Embedded Systems

More information

Computer System Overview. Chapter 1

Computer System Overview. Chapter 1 Computer System Overview Chapter 1 Operating System Exploits the hardware resources of one or more processors Provides a set of services to system users Manages secondary memory and I/O devices Basic Elements

More information

Lecture 10: Cache Coherence: Part I. Parallel Computer Architecture and Programming CMU , Spring 2013

Lecture 10: Cache Coherence: Part I. Parallel Computer Architecture and Programming CMU , Spring 2013 Lecture 10: Cache Coherence: Part I Parallel Computer Architecture and Programming Cache design review Let s say your code executes int x = 1; (Assume for simplicity x corresponds to the address 0x12345604

More information

Phoenix: Detecting and Recovering from Permanent Processor Design Bugs with Programmable Hardware

Phoenix: Detecting and Recovering from Permanent Processor Design Bugs with Programmable Hardware Phoenix: Detecting and Recovering from Permanent Processor Design Bugs with Programmable Hardware Smruti R. Sarangi Abhishek Tiwari Josep Torrellas University of Illinois at Urbana-Champaign Can a Processor

More information

OS And Hardware. Computer Hardware Review PROCESSORS. CPU Registers. CPU Registers 02/04/2013

OS And Hardware. Computer Hardware Review PROCESSORS. CPU Registers. CPU Registers 02/04/2013 OS And Hardware Computer Hardware Review An operating system is intimately tied to the hardware of the computer it runs on. It extends the computer s instruction set and manages its resources. To work

More information

What are Exceptions? EE 457 Unit 8. Exception Processing. Exception Examples 1. Exceptions What Happens When Things Go Wrong

What are Exceptions? EE 457 Unit 8. Exception Processing. Exception Examples 1. Exceptions What Happens When Things Go Wrong 8. 8.2 What are Exceptions? EE 457 Unit 8 Exceptions What Happens When Things Go Wrong Exceptions are rare events triggered by the hardware and forcing the processor to execute a software handler Similar

More information

Module 12: I/O Systems

Module 12: I/O Systems Module 12: I/O Systems I/O hardwared Application I/O Interface Kernel I/O Subsystem Transforming I/O Requests to Hardware Operations Performance 12.1 I/O Hardware Incredible variety of I/O devices Common

More information

Memory & Thread Debugger

Memory & Thread Debugger Memory & Thread Debugger Here is What Will Be Covered Overview Memory/Thread analysis New Features Deep dive into debugger integrations Demo Call to action Intel Confidential 2 Analysis Tools for Diagnosis

More information

1- Which of the following tasks is the operating system NOT responsible for? d) Coordinates communication between software applications and the CPU

1- Which of the following tasks is the operating system NOT responsible for? d) Coordinates communication between software applications and the CPU 1- Which of the following tasks is the operating system NOT responsible for? a) Management, scheduling, and coordination of tasks b) File compression c) Manages the computer's hardware d) Coordinates communication

More information

EC EMBEDDED AND REAL TIME SYSTEMS

EC EMBEDDED AND REAL TIME SYSTEMS EC6703 - EMBEDDED AND REAL TIME SYSTEMS Unit I -I INTRODUCTION TO EMBEDDED COMPUTING Part-A (2 Marks) 1. What is an embedded system? An embedded system employs a combination of hardware & software (a computational

More information

Interrupts L33-1. Interrupts

Interrupts L33-1. Interrupts L33-1 Interrupts Interrupts Interrupts are like receiving a telephone call while you are in a face-to-face meeting: The phone rings (ie, an interrupt is sent) Tell the person you are meeting with to please

More information

1. Define Peripherals. Explain I/O Bus and Interface Modules. Peripherals: Input-output device attached to the computer are also called peripherals.

1. Define Peripherals. Explain I/O Bus and Interface Modules. Peripherals: Input-output device attached to the computer are also called peripherals. 1. Define Peripherals. Explain I/O Bus and Interface Modules. Peripherals: Input-output device attached to the computer are also called peripherals. A typical communication link between the processor and

More information