Internals Training Guide HP E3000 MPE/Ix Computer Systems
Total Page:16
File Type:pdf, Size:1020Kb
Internals Training Guide HP e3000 MPE/iX Computer Systems Edition 1 Manufacturing Part Number: 30216-90316 E0101 U.S.A. January 2001 Notice The information contained in this document is subject to change without notice. Hewlett-Packard makes no warranty of any kind with regard to this material, including, but not limited to, the implied warranties of merchantability or fitness for a particular purpose. Hewlett-Packard shall not be liable for errors contained herein or for direct, indirect, special, incidental or consequential damages in connection with the furnishing or use of this material. Hewlett-Packard assumes no responsibility for the use or reliability of its software on equipment that is not furnished by Hewlett-Packard. This document contains proprietary information which is protected by copyright. All rights reserved. Reproduction, adaptation, or translation without prior written permission is prohibited, except as allowed under the copyright laws. Restricted Rights Legend Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013. Rights for non-DOD U.S. Government Departments and Agencies are as set forth in FAR 52.227-19 (c) (1,2). Acknowledgments UNIX is a registered trademark of The Open Group. Hewlett-Packard Company 3000 Hanover Street Palo Alto, CA 94304 U.S.A. © Copyright 2001 by Hewlett-Packard Company 2 Contents 1. Hardware Overview Monitor and I/O Services 2. PCISCSI Device Adapter Manager (DAM) Internals Training . 38 Additional References . 40 Introduction. 40 PCI Based SCSI Interface Cards . 40 PCISCSI DAM. 41 PCISCSI DAM in 3 Layers . 41 Best of HP-UX and MPE/iX . 42 Port Data Area (PDA) . .45 Port Sub-Qs & Pending Qs . 51 Higher Manager Info . .53 Req Table . 54 Upper/Lower DAM Interface Layer . 56 Mappings between Upper and Lower Data . 56 Auxiliary Data Area (ADA) . 60 Lower DAM data structures/resources. 60 Upper DAM resources . 60 Upper DAM I/O Specific Structures. 61 Interface layer I/O Specific Structures. 61 SelectQ. 69 Pending I/O requests . 69 BUS Specific . 70 ISC Structure. 71 LISC Structure . 71 BUSP Structure. .71 LBP Structure . 71 Target Specific . 73 I/O Specific. 75 DSP, LBP, LbpToScratch & LSP. 76 DSPS . 76 Symbios Card & SCSI Script . 79 SYMBIOS card- SCSI bus autosensing . 79 SCSI Script (no firmware). 79 Do_Bind & Init . 82 Bind to lower mgr . .82 Init upper DAM data structures. 82 Allocate and init lower DAM data structures . 82 Device Manager Bind . .90 Data Class Conversion to IOVEC. 95 Starting an I/O . 113 Mapped Qtag . 120 First I/O . 121 SCSI Script and Patching . 123 Interrupts . 125 Typical Interrupts . 125 I/O Completion . 129 Multiple Interrupts to Complete an I/O . 129 3 Contents Multiple I/Os on the SCSI bus. .133 I/O aborts. .134 Abort I/Os in any state in DAM . .134 Timers . .142 Abort request timer . .142 Poweron Timer . .142 Situation Escalation. .147 Poweron (reset) . .150 C-isms . .158 LLIO Msg Log. .162 Console Log. .163 Lower DAM Procedure Number List. .168 Lower DAM Error Number List. ..