Ignore:
Timestamp:
May 6, 2013, 7:57:39 PM (12 years ago)
Author:
David Azarewicz
Message:

debugging updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os2ahci/README

    r154 r156  
    9393============
    9494
    95 - Copy the driver file, OS2AHCI.ADD, to C:\OS2\BOOT
     95- Run the included update.cmd,
     96  or copy the driver file, OS2AHCI.ADD, to \OS2\BOOT on your boot disk.
    9697
    9798- Add the following line to CONFIG.SYS:
     
    106107Option                 Description
    107108------------------------------------------------------------------------------
    108 /c:<addr>              Set debug COM port base address in hex (default = 0);
    109                        if used, this option should come before any /d options.
    110                        If <addr> is set to 0, the COM port is turned off and
    111                        all output is directed to an internal trace ring buffer
    112                        that can be dumped on an OS/2 command prompt with the
    113                        command "type os2ahci$"; see the OS2AHCI project page
    114                        at http://svn.ecomstation.nl/ahci/wiki/AhciTrace
    115                        for more info. COM0=3f8, COM1=2f8
    116 /d                     Debug output on COM port/trace buffer; multiple "/d"
    117                        options will increase verbosity:
     109/b:<baud>              Initialize the COM port to the specified baud rate. Allowable
     110                       baud values are: 300, 600, 1200, 2400, 4800, 9600, 19200,
     111                       38400, 57600, and 115200. /b has no effect if /c is not also
     112                       specified. If /b is not specified, the COM port is not
     113                       initialized. For example, if you are using the kernel debugger,
     114                       the kernel debugger initializes the COM port so you should not
     115                       use this switch.
     116
     117/c:<n>                 Set debug COM port base address. Values for n can be:
     118                         1 = COM1
     119                         2 = COM2
     120                         a hex value (COM port base address) COM1=3f8, COM2=2f8
     121                       The default is 0. If set to 0 then no output goes to the COM port.
     122
     123/d[:n]                 Debug output to COM port/trace buffer. Values for n can be:
    118124                         1 = requests
    119125                         2 = detailed
    120126                         3 = verbose, including MMIO operations
    121 /v                     display adapter info during boot
     127                       If :n is not specified the debug level is incremented for
     128                       each /d specified.
     129
     130/w                     Allows the trace buffer to wrap when full.
     131
     132/v[:n]                 Display informational messages during boot. Values for n can be:
     133                         1 = Display sign on banner
     134                         2 = Display adapter information
     135                       If :n is not specified the verbosity level is incremented for
     136                       each /v specified.
     137
    122138/g:<vendor>:<device>   Add generic PCI ID to list of supported AHCI adapters
    123139                       (e.g. /g:8086:2829)
     140
    124141/t                     Perform thorough PCI ID scan; default = on, can be
    125142                       turned off with /!t to perform only a PCI class scan
     143
    126144/f                     Force the use of the HW write cache when using NCQ
    127145                       commands; see "Native Command Queuing" below for
    128146                       further explanation (default = off)
     147
    129148/r                     Reset ports during initialization (default = on)
    130149                       Can be turned off with /!r, however, when the
     
    132151                       initialized by the BIOS in SATA mode, ports will
    133152                       always be reset even when /!r was specified
    134 /a                     Set adapter for adapter-specific options
     153
     154/a:n                   Set adapter to n for adapter-specific options
    135155                       (default = -1, all adapters)
    136 /p                     Set port for port-specific options
     156
     157/p:n                   Set port to n for port-specific options
    137158                       (default = -1, all ports)
    138159
     
    149170/s                     Enable SCSI emulation for ATAPI units (default = off)
    150171                       SCSI emulation is required for tools like cdrecord.
     172
    151173/n                     Enable NCQ (Native Command Queuing) for hard disks
    152174                       (default = off)
     175
    153176/ls                    Set link speed (default = 0):
    154177                         0 = maximum,
     
    156179                         2 = limit to generation 2
    157180                         3 = limit to generation 3
     181
    158182/lp                    Set link power management (default = 0):
    159183                         0 = full power management,
    160184                         1 = transitions to "partial slumber state" disabled,
    161185                         2 = transitions to "slumber state" disabled,
    162                          3 = transitions to both partial and slumber states
    163                              disabled
     186                         3 = transitions to both partial and slumber states disabled
     187
    164188/4                     Force track size to be 56 sectors regardless of the
    165189                       reported disk geometry to optimize partition boundaries
     
    371395   DSKSP_GEN_GET_COUNTERS IOCTL request.
    372396
     397
     398Change Log
     399==========
     400
     401v.1.27 23-Apr-2013 - David Azarewicz
     402  Added LVM aware disk geometry reporting.
     403  Begin to add disk information report - not finished yet.
     404  Removed undocumented /q switch and made the driver quiet by default.
     405  Debug output improvements.
     406  Added /b switch for setting debug baud rate.
     407
     408v.1.26 26-Mar-2013 - David Azarewicz
     409  Fix spin-up / power-up issue on some hardware
     410  Reorganized and improved debug output.
     411
     412v.1.26 21-Feb-2013 - rousseau
     413  Virtual box fix
     414  Some SMP fixes
     415  Changed default for port reset to always
     416
     417v.1.25 02-Oct-2012 - markus.thi
     418  Added support for trap dumps
     419
     420v.1.24 21-May-2012 - markus.thi
     421  Fixed JFS long format hang (ticket 16)
     422
     423V.1.23 16-May-2012 - markus.thi
     424  added IDC entry point to allow switching back to BIOS mode
     425
     426v.1.22 17-Oct-2011 - markus.thi
     427  Added "IBMS506" header to accomodate broken SMART tools.
Note: See TracChangeset for help on using the changeset viewer.