⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 documentation.txt

📁 内核linux2.4.20,可跟rtlinux3.2打补丁 组成实时linux系统,编译内核
💻 TXT
📖 第 1 页 / 共 3 页
字号:
             SCSI parity error detected.  On a faulty SCSI BUS, any error condition among SGE (0x08), UDC (0x04) and   PAR (0x01) may be detected by the chip. If your SCSI system sometimes   encounters such error conditions, especially SCSI GROSS ERROR, then a SCSI   BUS problem is likely the cause of these errors.For fields D,E,F,G and H, you may look into the sym53c8xx_defs.h file that contains some minimal comments on IO register bits.Field D : SOCL  Scsi Output Control Latch          This register reflects the state of the SCSI control lines the           chip want to drive or compare against.Field E : SBCL  Scsi Bus Control Lines          Actual value of control lines on the SCSI BUS.Field F : SBDL  Scsi Bus Data Lines          Actual value of data lines on the SCSI BUS.Field G : SXFER  SCSI Transfer          Contains the setting of the Synchronous Period for output and           the current Synchronous offset (offset 0 means asynchronous).Field H : SCNTL3 Scsi Control Register 3          Contains the setting of timing values for both asynchronous and           synchronous data transfers. Field I : SCNTL4 Scsi Control Register 4          Only meaninful for 53C1010 Ultra3 controllers.Understanding Fields J, K, L and dumps requires to have good knowledge of SCSI standards, chip cores functionnals and internal driver data structures.You are not required to decode and understand them, unless you want to help maintain the driver code.17. Serial NVRAM (added by Richard Waltham: dormouse@farsrobt.demon.co.uk)17.1 FeaturesEnabling serial NVRAM support enables detection of the serial NVRAM includedon Symbios and some Symbios compatible host adaptors, and Tekram boards. The serial NVRAM is used by Symbios and Tekram to hold set up parameters for the host adaptor and it's attached drives.The Symbios NVRAM also holds data on the boot order of host adaptors in asystem with more than one host adaptor. This enables the order of scanningthe cards for drives to be changed from the default used during host adaptordetection.This can be done to a limited extent at the moment using "reverse probe" butthis only changes the order of detection of different types of cards. TheNVRAM boot order settings can do this as well as change the order the sametypes of cards are scanned in, something "reverse probe" cannot do.Tekram boards using Symbios chips, DC390W/F/U, which have NVRAM are detectedand this is used to distinguish between Symbios compatible and Tekram host adaptors. This is used to disable the Symbios compatible "diff" settingincorrectly set on Tekram boards if the CONFIG_SCSI_53C8XX_SYMBIOS_COMPAT configuration parameter is set enabling both Symbios and Tekram boards to be used together with the Symbios cards using all their features, including"diff" support. ("led pin" support for Symbios compatible cards can remainenabled when using Tekram cards. It does nothing useful for Tekram hostadaptors but does not cause problems either.)17.2 Symbios NVRAM layouttypical data at NVRAM address 0x100 (53c810a NVRAM)-----------------------------------------------------------00 0064 018e 0b00 30 00 00 00 00 07 00 00 00 00 00 00 00 07 04 10 04 00 00 04 00 0f 00 00 10 00 50 00 00 01 00 00 62 04 00 03 00 00 10 00 58 00 00 01 00 00 63 04 00 01 00 00 10 00 48 00 00 01 00 00 61 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0f 00 08 08 64 00 0a 000f 00 08 08 64 00 0a 00 0f 00 08 08 64 00 0a 00 0f 00 08 08 64 00 0a 00 0f 00 08 08 64 00 0a 00 0f 00 08 08 64 00 0a 00 0f 00 08 08 64 00 0a 00 0f 00 08 08 64 00 0a 00 0f 00 08 08 64 00 0a 00 0f 00 08 08 64 00 0a 00 0f 00 08 08 64 00 0a 00 0f 00 08 08 64 00 0a 00 0f 00 08 08 64 00 0a 00 0f 00 08 08 64 00 0a 00 0f 00 08 08 64 00 0a 00 0f 00 08 08 64 00 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fe fe00 0000 00-----------------------------------------------------------NVRAM layout detailsNVRAM Address 0x000-0x0ff not used              0x100-0x26f initialised data              0x270-0x7ff not usedgeneral layout        header  -   6 bytes,        data    - 356 bytes (checksum is byte sum of this data)        trailer -   6 bytes                  ---        total     368 bytesdata area layout        controller set up  -  20 bytes        boot configuration -  56 bytes (4x14 bytes)        device set up      - 128 bytes (16x8 bytes)        unused (spare?)    - 152 bytes (19x8 bytes)                             ---        total                356 bytes-----------------------------------------------------------header00 00   - ?? start marker64 01   - byte count (lsb/msb excludes header/trailer)8e 0b   - checksum (lsb/msb excludes header/trailer)-----------------------------------------------------------controller set up00 30 00 00 00 00 07 00 00 00 00 00 00 00 07 04 10 04 00 00                   |     |           |     |                   |     |           |      -- host ID                   |     |           |                   |     |            --Removable Media Support                   |     |               0x00 = none                   |     |               0x01 = Bootable Device                   |     |               0x02 = All with Media                   |     |                   |      --flag bits 2                   |        0x00000001= scan order hi->low                   |            (default 0x00 - scan low->hi)                    --flag bits 1                       0x00000001 scam enable                       0x00000010 parity enable                       0x00000100 verbose boot msgsremaining bytes unknown - they do not appear to change in mycurrent set up for any of the controllers.default set up is identical for 53c810a and 53c875 NVRAM(Removable Media added Symbios BIOS version 4.09)-----------------------------------------------------------boot configurationboot order set by order of the devices in this table04 00 0f 00 00 10 00 50 00 00 01 00 00 62 -- 1st controller04 00 03 00 00 10 00 58 00 00 01 00 00 63    2nd controller04 00 01 00 00 10 00 48 00 00 01 00 00 61    3rd controller00 00 00 00 00 00 00 00 00 00 00 00 00 00    4th controller       |  |  |  |     |        |     |  |       |  |  |  |     |        |      ---- PCI io port adr       |  |  |  |     |         --0x01 init/scan at boot time       |  |  |  |      --PCI device/function number (0xdddddfff)       |  |   ----- ?? PCI vendor ID (lsb/msb)        ----PCI device ID (lsb/msb)?? use of this data is a guess but seems reasonableremaining bytes unknown - they do not appear to change in mycurrent set updefault set up is identical for 53c810a and 53c875 NVRAM-----------------------------------------------------------device set up (up to 16 devices - includes controller)0f 00 08 08 64 00 0a 00 - id 00f 00 08 08 64 00 0a 00 0f 00 08 08 64 00 0a 00 0f 00 08 08 64 00 0a 00 0f 00 08 08 64 00 0a 00 0f 00 08 08 64 00 0a 00 0f 00 08 08 64 00 0a 00 0f 00 08 08 64 00 0a 00 0f 00 08 08 64 00 0a 00 0f 00 08 08 64 00 0a 00 0f 00 08 08 64 00 0a 00 0f 00 08 08 64 00 0a 00 0f 00 08 08 64 00 0a 00 0f 00 08 08 64 00 0a 00 0f 00 08 08 64 00 0a 00 0f 00 08 08 64 00 0a 00 - id 15 |     |  |  |     |  | |     |  |  |      ----timeout (lsb/msb) |     |  |   --synch period (0x?? 40 Mtrans/sec- fast 40) (probably 0x28) |     |  |                  (0x30 20 Mtrans/sec- fast 20) |     |  |                  (0x64 10 Mtrans/sec- fast ) |     |  |                  (0xc8  5 Mtrans/sec) |     |  |                  (0x00  asynchronous) |     |   -- ?? max sync offset (0x08 in NVRAM on 53c810a)  |     |                         (0x10 in NVRAM on 53c875) |      --device bus width (0x08 narrow) |                         (0x10 16 bit wide)  --flag bits    0x00000001 - disconnect enabled    0x00000010 - scan at boot time    0x00000100 - scan luns    0x00001000 - queue tags enabledremaining bytes unknown - they do not appear to change in mycurrent set up?? use of this data is a guess but seems reasonable (but it could be max bus width)default set up for 53c810a NVRAMdefault set up for 53c875 NVRAM - bus width     - 0x10                                - sync offset ? - 0x10                                - sync period   - 0x30-----------------------------------------------------------?? spare device space (32 bit bus ??)00 00 00 00 00 00 00 00  (19x8bytes)..00 00 00 00 00 00 00 00default set up is identical for 53c810a and 53c875 NVRAM-----------------------------------------------------------trailerfe fe   - ? end marker ?00 0000 00default set up is identical for 53c810a and 53c875 NVRAM-----------------------------------------------------------17.3 Tekram NVRAM layoutnvram 64x16 (1024 bit)Drive settingsDrive ID 0-15 (addr 0x0yyyy0 = device setup, yyyy = ID)              (addr 0x0yyyy1 = 0x0000)    x x x x  x x x x  x x x x  x x x x               | | |      | |  | | | |               | | |      | |  | | |  ----- parity check   0 - off               | | |      | |  | | |                       1 - on               | | |      | |  | | |               | | |      | |  | |  ------- sync neg       0 - off               | | |      | |  | |                         1 - on               | | |      | |  | |               | | |      | |  |  --------- disconnect     0 - off               | | |      | |  |                           1 - on               | | |      | |  |               | | |      | |   ----------- start cmd      0 - off               | | |      | |                              1 - on               | | |      | |               | | |      |  -------------- tagged cmds    0 - off               | | |      |                                1 - on               | | |      |                | | |       ---------------- wide neg       0 - off               | | |                                       1 - on               | | |                --------------------------- sync rate      0 - 10.0 Mtrans/sec                                                           1 -  8.0                                                           2 -  6.6                                                           3 -  5.7                                                           4 -  5.0                                                           5 -  4.0                                                           6 -  3.0                                                           7 -  2.0                                                           7 -  2.0                                                           8 - 20.0                                                           9 - 16.7                                                           a - 13.9                                                           b - 11.9Global settingsHost flags 0 (addr 0x100000, 32)     x x x x  x x x x  x x x x  x x x x    | | | |  | | | |           | | | |    | | | |  | | | |            ----------- host ID    0x00 - 0x0f    | | | |  | | | |    | | | |  | | |  ----------------------- support for    0 - off    | | | |  | | |                          > 2 drives     1 - on    | | | |  | | |     | | | |  | |  ------------------------- support drives 0 - off    | | | |  | |                            > 1Gbytes      1 - on    | | | |  | |    | | | |  |  --------------------------- bus reset on   0 - off    | | | |  |                                power on     1 - on    | | | |  |    | | | |   ----------------------------- active neg     0 - off    | | | |                                                1 - on    | | | |    | | |  -------------------------------- imm seek       0 - off    | | |                                                  1 - on    | | |    | |  ---------------------------------- scan luns      0 - off    | |                                                    1 - on    | |     -------------------------------------- removable      0 - disable                                            as BIOS dev    1 - boot device                                                           2 - allHost flags 1 (addr 0x100001, 33)    x x x x  x x x x  x x x x  x x x x               | | |             | | |                | | |              --------- boot delay     0 -   3 sec               | | |                                       1 -   5               | | |                                       2 -  10               | | |                                       3 -  20               | | |                                       4 -  30               | | |                                       5 -  60               | | |                                       6 - 120               | | |                --------------------------- max tag cmds   0 -  2                                                           1 -  4                                                           2 -  8                                                           3 - 16                                                           4 - 32Host flags 2 (addr 0x100010, 34)    x x x x  x x x x  x x x x  x x x x                                     |                                      ----- F2/F6 enable   0 - off ???                                                           1 - on  ???checksum (addr 0x111111)checksum = 0x1234 - (sum addr 0-63)----------------------------------------------------------------------------default nvram data:0x0037 0x0000 0x0037 0x0000 0x0037 0x0000 0x0037 0x00000x0037 0x0000 0x0037 0x0000 0x0037 0x0000 0x0037 0x00000x0037 0x0000 0x0037 0x0000 0x0037 0x0000 0x0037 0x00000x0037 0x0000 0x0037 0x0000 0x0037 0x0000 0x0037 0x0000 0x0f07 0x0400 0x0001 0x0000 0x0000 0x0000 0x0000 0x00000x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x00000x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x00000x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0xfbbc===============================================================================End of Linux SYM-2 driver documentation file

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -