Changeset bde8be2 in rtems for testsuites


Ignore:
Timestamp:
Aug 1, 2018, 4:38:41 AM (17 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
117f7b1
Parents:
6782771
git-author:
Sebastian Huber <sebastian.huber@…> (08/01/18 04:38:41)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/07/18 05:17:17)
Message:

libtests/block06: Use rtems_blkdev_create()

Update #3358.

Location:
testsuites/libtests/block06
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/libtests/block06/block06.scn

    r6782771 rbde8be2  
    1 *** TEST BLOCK 6 ***
    2 lower priority to 31: successful completion
    3 register disk driver
    4 disk io init: successful completion
     1*** BEGIN OF TEST BLOCK 6 ***
     2*** TEST VERSION: 5.0.0.0875607358b38443acf395ad675a4f07794d5f95
     3*** TEST STATE: EXPECTED-PASS
     4*** TEST BUILD: RTEMS_NETWORKING RTEMS_POSIX_API RTEMS_SMP
     5*** TEST TOOLS: 7.3.0 20180125 (RTEMS 5, RSB 6d9c77c77d271d1fc2dfe8493d6713930b52a6dd, Newlib 3.0.0)
     6register disks
    57disk init: /dev/bddisk0
    6 disk lock: successful completion
     8disk lock: RTEMS_SUCCESSFUL
    79disk init: /dev/bddisk1
    8 disk lock: successful completion
    9 creating task: bdt0: priority: 30: successful completion
    10 starting task: bdt0: successful completion
    11 creating task: bdt1: priority: 29: successful completion
    12 starting task: bdt1: successful completion
    13 creating task: bdt2: priority: 28: successful completion
    14 starting task: bdt2: successful completion
     10disk lock: RTEMS_SUCCESSFUL
     11lower priority to 31: RTEMS_SUCCESSFUL
     12creating task: bdt0: priority: 30: RTEMS_SUCCESSFUL
     13starting task: bdt0: RTEMS_SUCCESSFUL
     14creating task: bdt1: priority: 29: RTEMS_SUCCESSFUL
     15starting task: bdt1: RTEMS_SUCCESSFUL
     16creating task: bdt2: priority: 28: RTEMS_SUCCESSFUL
     17starting task: bdt2: RTEMS_SUCCESSFUL
    1518test 1: Task 0 get buffer 0 from pool 0
    16 master: wake task 0: 0a010003: successful completion
    17 bdt0: rtems_bdbuf_get[0]: successful completion
    18 bdt0: rtems_bdbuf_release[0]: successful completion
    19 bdt0: rtems_bdbuf_get[0]: successful completion
    20 bdt0: rtems_bdbuf_release[0]: successful completion
     19master: wake task 0: 0a010003: bdt0: rtems_bdbuf_get[0]: RTEMS_SUCCESSFUL
     20bdt0: rtems_bdbuf_release[0]: RTEMS_SUCCESSFUL
     21bdt0: rtems_bdbuf_get[0]: RTEMS_SUCCESSFUL
     22bdt0: rtems_bdbuf_release[0]: RTEMS_SUCCESSFUL
     23RTEMS_SUCCESSFUL
    2124test 1: passed
    2225test 2: Task 0 get buffer 0 -> 4 from pool 0, task 2 and 1 block getting
    23 master: wake task 0: 0a010003: successful completion
    24 bdt0: rtems_bdbuf_get[0]: successful completion
    25 bdt0: rtems_bdbuf_get[1]: successful completion
    26 bdt0: rtems_bdbuf_get[2]: successful completion
    27 bdt0: rtems_bdbuf_get[3]: successful completion
    28 bdt0: rtems_bdbuf_get[4]: successful completion
    29 bdt0: wake master: 0a010001: successful completion
    30 master: wake task 1: 0a010004: successful completion
    31 master: wake task 2: 0a010005: successful completion
    32 master: wake task 0: 0a010003: successful completion
    33 bdt2: rtems_bdbuf_get[0]: blocking ...
    34 bdt1: rtems_bdbuf_get[0]: blocking ...
    35 bdt0: rtems_bdbuf_release[0]: unblocks task 1
    36 bdt2: rtems_bdbuf_get[0]: successful completion
    37 bdt2: rtems_bdbuf_release[0]: successful completion
    38 bdt2: wake master: 0a010001: successful completion
     26master: wake task 0: 0a010003: bdt0: rtems_bdbuf_get[0]: RTEMS_SUCCESSFUL
     27bdt0: rtems_bdbuf_get[1]: RTEMS_SUCCESSFUL
     28bdt0: rtems_bdbuf_get[2]: RTEMS_SUCCESSFUL
     29bdt0: rtems_bdbuf_get[3]: RTEMS_SUCCESSFUL
     30bdt0: rtems_bdbuf_get[4]: RTEMS_SUCCESSFUL
     31bdt0: wake master: 0a010001: RTEMS_SUCCESSFUL
     32RTEMS_SUCCESSFUL
     33master: wake task 1: 0a010004: bdt1: rtems_bdbuf_get[0]: blocking ...
     34RTEMS_SUCCESSFUL
     35master: wake task 2: 0a010005: bdt2: rtems_bdbuf_get[0]: blocking ...
     36RTEMS_SUCCESSFUL
     37master: wake task 0: 0a010003: bdt0: rtems_bdbuf_release[0]: unblocks task 1
     38bdt2: rtems_bdbuf_get[0]: RTEMS_SUCCESSFUL
     39bdt2: rtems_bdbuf_release[0]: RTEMS_SUCCESSFUL
     40bdt2: wake master: 0a010001: RTEMS_SUCCESSFUL
    3941bdt2: rtems_bdbuf_get[1]: blocking ...
    40 bdt1: rtems_bdbuf_get[0]: successful completion
    41 bdt1: rtems_bdbuf_release[0]: successful completion
     42bdt1: rtems_bdbuf_get[0]: RTEMS_SUCCESSFUL
     43bdt1: rtems_bdbuf_release[0]: RTEMS_SUCCESSFUL
    4244bdt1: rtems_bdbuf_get[1]: blocking ...
    43 bdt0: rtems_bdbuf_release[0]: successful completion
    44 master: wake task 0: 0a010003: successful completion
    45 bdt0: rtems_bdbuf_release[1]: unblocks task 1
    46 bdt2: rtems_bdbuf_get[1]: successful completion
    47 bdt2: rtems_bdbuf_release[1]: successful completion
    48 bdt2: wake master: 0a010001: successful completion
     45bdt0: rtems_bdbuf_release[0]: RTEMS_SUCCESSFUL
     46RTEMS_SUCCESSFUL
     47master: wake task 0: 0a010003: bdt0: rtems_bdbuf_release[1]: unblocks task 1
     48bdt2: rtems_bdbuf_get[1]: RTEMS_SUCCESSFUL
     49bdt2: rtems_bdbuf_release[1]: RTEMS_SUCCESSFUL
     50bdt2: wake master: 0a010001: RTEMS_SUCCESSFUL
    4951bdt2: rtems_bdbuf_get[2]: blocking ...
    50 bdt1: rtems_bdbuf_get[1]: successful completion
    51 bdt1: rtems_bdbuf_release[1]: successful completion
     52bdt1: rtems_bdbuf_get[1]: RTEMS_SUCCESSFUL
     53bdt1: rtems_bdbuf_release[1]: RTEMS_SUCCESSFUL
    5254bdt1: rtems_bdbuf_get[2]: blocking ...
    53 bdt0: rtems_bdbuf_release[1]: successful completion
    54 master: wake task 0: 0a010003: successful completion
    55 bdt0: rtems_bdbuf_release[2]: unblocks task 1
    56 bdt2: rtems_bdbuf_get[2]: successful completion
    57 bdt2: rtems_bdbuf_release[2]: successful completion
    58 bdt2: wake master: 0a010001: successful completion
     55bdt0: rtems_bdbuf_release[1]: RTEMS_SUCCESSFUL
     56RTEMS_SUCCESSFUL
     57master: wake task 0: 0a010003: bdt0: rtems_bdbuf_release[2]: unblocks task 1
     58bdt2: rtems_bdbuf_get[2]: RTEMS_SUCCESSFUL
     59bdt2: rtems_bdbuf_release[2]: RTEMS_SUCCESSFUL
     60bdt2: wake master: 0a010001: RTEMS_SUCCESSFUL
    5961bdt2: rtems_bdbuf_get[3]: blocking ...
    60 bdt1: rtems_bdbuf_get[2]: successful completion
    61 bdt1: rtems_bdbuf_release[2]: successful completion
     62bdt1: rtems_bdbuf_get[2]: RTEMS_SUCCESSFUL
     63bdt1: rtems_bdbuf_release[2]: RTEMS_SUCCESSFUL
    6264bdt1: rtems_bdbuf_get[3]: blocking ...
    63 bdt0: rtems_bdbuf_release[2]: successful completion
    64 master: wake task 0: 0a010003: successful completion
    65 bdt0: rtems_bdbuf_release[3]: unblocks task 1
    66 bdt2: rtems_bdbuf_get[3]: successful completion
    67 bdt2: rtems_bdbuf_release[3]: successful completion
    68 bdt2: wake master: 0a010001: successful completion
     65bdt0: rtems_bdbuf_release[2]: RTEMS_SUCCESSFUL
     66RTEMS_SUCCESSFUL
     67master: wake task 0: 0a010003: bdt0: rtems_bdbuf_release[3]: unblocks task 1
     68bdt2: rtems_bdbuf_get[3]: RTEMS_SUCCESSFUL
     69bdt2: rtems_bdbuf_release[3]: RTEMS_SUCCESSFUL
     70bdt2: wake master: 0a010001: RTEMS_SUCCESSFUL
    6971bdt2: rtems_bdbuf_get[4]: blocking ...
    70 bdt1: rtems_bdbuf_get[3]: successful completion
    71 bdt1: rtems_bdbuf_release[3]: successful completion
     72bdt1: rtems_bdbuf_get[3]: RTEMS_SUCCESSFUL
     73bdt1: rtems_bdbuf_release[3]: RTEMS_SUCCESSFUL
    7274bdt1: rtems_bdbuf_get[4]: blocking ...
    73 bdt0: rtems_bdbuf_release[3]: successful completion
    74 master: wake task 0: 0a010003: successful completion
    75 bdt0: rtems_bdbuf_release[4]: unblocks task 1
    76 bdt2: rtems_bdbuf_get[4]: successful completion
    77 bdt2: rtems_bdbuf_release[4]: successful completion
    78 bdt2: wake master: 0a010001: successful completion
    79 bdt1: rtems_bdbuf_get[4]: successful completion
    80 bdt1: rtems_bdbuf_release[4]: successful completion
    81 bdt0: rtems_bdbuf_release[4]: successful completion
     75bdt0: rtems_bdbuf_release[3]: RTEMS_SUCCESSFUL
     76RTEMS_SUCCESSFUL
     77master: wake task 0: 0a010003: bdt0: rtems_bdbuf_release[4]: unblocks task 1
     78bdt2: rtems_bdbuf_get[4]: RTEMS_SUCCESSFUL
     79bdt2: rtems_bdbuf_release[4]: RTEMS_SUCCESSFUL
     80bdt2: wake master: 0a010001: RTEMS_SUCCESSFUL
     81bdt1: rtems_bdbuf_get[4]: RTEMS_SUCCESSFUL
     82bdt1: rtems_bdbuf_release[4]: RTEMS_SUCCESSFUL
     83bdt0: rtems_bdbuf_release[4]: RTEMS_SUCCESSFUL
     84RTEMS_SUCCESSFUL
    8285test 2: passed
    8386test 3: Task 0 read buffer 5, modify and release modified
    84 master: wake task 0: 0a010003: successful completion
    85 bdt0: rtems_bdbuf_read[5]: successful completion
    86 bdt0: rtems_bdbuf_release_modified[5]: successful completion
    87 bdt0: rtems_bdbuf_read[5]: successful completion
    88 bdt0: rtems_bdbuf_release[5]: successful completion
    89 bdt0: disk ioctl: wake watcher: 0a010003: successful completion
     87master: wake task 0: 0a010003: bdt0: rtems_bdbuf_read[5]: RTEMS_SUCCESSFUL
     88bdt0: rtems_bdbuf_release_modified[5]: RTEMS_SUCCESSFUL
     89bdt0: rtems_bdbuf_read[5]: RTEMS_SUCCESSFUL
     90bdt0: rtems_bdbuf_release[5]: RTEMS_SUCCESSFUL
     91RTEMS_SUCCESSFUL
     92bdt0: disk ioctl: wake watcher: 0a010003: RTEMS_SUCCESSFUL
    9093test 3: passed
    9194test 4: Task 0 read all buffers, task 1 blocks waiting for acessed buffer
    92 master: wake task 0: 0a010003: successful completion
    93 bdt0: rtems_bdbuf_read[0]: successful completion
    94 bdt0: rtems_bdbuf_read[1]: successful completion
    95 bdt0: rtems_bdbuf_read[2]: successful completion
    96 bdt0: rtems_bdbuf_read[3]: successful completion
    97 bdt0: rtems_bdbuf_read[4]: successful completion
    98 bdt0: rtems_bdbuf_read[5]: successful completion
    99 bdt0: rtems_bdbuf_read[6]: successful completion
    100 bdt0: rtems_bdbuf_read[7]: successful completion
    101 bdt0: rtems_bdbuf_read[8]: successful completion
    102 bdt0: rtems_bdbuf_read[9]: successful completion
    103 bdt0: rtems_bdbuf_read[10]: successful completion
    104 bdt0: rtems_bdbuf_read[11]: successful completion
    105 bdt0: rtems_bdbuf_read[12]: successful completion
    106 bdt0: rtems_bdbuf_read[13]: successful completion
    107 bdt0: rtems_bdbuf_read[14]: successful completion
    108 bdt0: rtems_bdbuf_read[15]: successful completion
    109 bdt0: rtems_bdbuf_read[16]: successful completion
    110 bdt0: rtems_bdbuf_read[17]: successful completion
    111 bdt0: rtems_bdbuf_read[18]: successful completion
    112 bdt0: rtems_bdbuf_read[19]: successful completion
    113 bdt0: rtems_bdbuf_read[20]: successful completion
    114 bdt0: rtems_bdbuf_read[21]: successful completion
    115 bdt0: rtems_bdbuf_read[22]: successful completion
    116 bdt0: rtems_bdbuf_read[23]: successful completion
    117 bdt0: rtems_bdbuf_read[24]: successful completion
    118 bdt0: rtems_bdbuf_read[25]: successful completion
    119 bdt0: rtems_bdbuf_read[26]: successful completion
    120 bdt0: rtems_bdbuf_read[27]: successful completion
    121 bdt0: rtems_bdbuf_read[28]: successful completion
    122 bdt0: rtems_bdbuf_read[29]: successful completion
    123 bdt0: rtems_bdbuf_read[30]: successful completion
    124 bdt0: rtems_bdbuf_read[31]: successful completion
    125 bdt0: rtems_bdbuf_read[32]: successful completion
    126 bdt0: rtems_bdbuf_read[33]: successful completion
    127 bdt0: rtems_bdbuf_read[34]: successful completion
    128 bdt0: rtems_bdbuf_read[35]: successful completion
    129 bdt0: rtems_bdbuf_read[36]: successful completion
    130 bdt0: rtems_bdbuf_read[37]: successful completion
    131 bdt0: rtems_bdbuf_read[38]: successful completion
    132 bdt0: rtems_bdbuf_read[39]: successful completion
    133 bdt0: rtems_bdbuf_read[40]: successful completion
    134 bdt0: rtems_bdbuf_read[41]: successful completion
    135 bdt0: rtems_bdbuf_read[42]: successful completion
    136 bdt0: rtems_bdbuf_read[43]: successful completion
    137 bdt0: rtems_bdbuf_read[44]: successful completion
    138 bdt0: rtems_bdbuf_read[45]: successful completion
    139 bdt0: rtems_bdbuf_read[46]: successful completion
    140 bdt0: rtems_bdbuf_read[47]: successful completion
    141 bdt0: rtems_bdbuf_read[48]: successful completion
    142 bdt0: rtems_bdbuf_read[49]: successful completion
    143 bdt0: rtems_bdbuf_read[50]: successful completion
    144 bdt0: rtems_bdbuf_read[51]: successful completion
    145 bdt0: rtems_bdbuf_read[52]: successful completion
    146 bdt0: rtems_bdbuf_read[53]: successful completion
    147 bdt0: rtems_bdbuf_read[54]: successful completion
    148 bdt0: rtems_bdbuf_read[55]: successful completion
    149 bdt0: rtems_bdbuf_read[56]: successful completion
    150 bdt0: rtems_bdbuf_read[57]: successful completion
    151 bdt0: rtems_bdbuf_read[58]: successful completion
    152 bdt0: rtems_bdbuf_read[59]: successful completion
    153 bdt0: rtems_bdbuf_read[60]: successful completion
    154 bdt0: rtems_bdbuf_read[61]: successful completion
    155 bdt0: rtems_bdbuf_read[62]: successful completion
    156 bdt0: rtems_bdbuf_read[63]: successful completion
    157 bdt0: wake master: 0a010001: successful completion
    158 master: wake task 1: 0a010004: successful completion
    159 bdt1: rtems_bdbuf_get[0]: blocking ...
    160 master: wake task 0: 0a010003: successful completion
     95master: wake task 0: 0a010003: bdt0: rtems_bdbuf_read[0]: RTEMS_SUCCESSFUL
     96bdt0: rtems_bdbuf_read[1]: RTEMS_SUCCESSFUL
     97bdt0: rtems_bdbuf_read[2]: RTEMS_SUCCESSFUL
     98bdt0: rtems_bdbuf_read[3]: RTEMS_SUCCESSFUL
     99bdt0: rtems_bdbuf_read[4]: RTEMS_SUCCESSFUL
     100bdt0: rtems_bdbuf_read[5]: RTEMS_SUCCESSFUL
     101bdt0: rtems_bdbuf_read[6]: RTEMS_SUCCESSFUL
     102bdt0: rtems_bdbuf_read[7]: RTEMS_SUCCESSFUL
     103bdt0: rtems_bdbuf_read[8]: RTEMS_SUCCESSFUL
     104bdt0: rtems_bdbuf_read[9]: RTEMS_SUCCESSFUL
     105bdt0: rtems_bdbuf_read[10]: RTEMS_SUCCESSFUL
     106bdt0: rtems_bdbuf_read[11]: RTEMS_SUCCESSFUL
     107bdt0: rtems_bdbuf_read[12]: RTEMS_SUCCESSFUL
     108bdt0: rtems_bdbuf_read[13]: RTEMS_SUCCESSFUL
     109bdt0: rtems_bdbuf_read[14]: RTEMS_SUCCESSFUL
     110bdt0: rtems_bdbuf_read[15]: RTEMS_SUCCESSFUL
     111bdt0: rtems_bdbuf_read[16]: RTEMS_SUCCESSFUL
     112bdt0: rtems_bdbuf_read[17]: RTEMS_SUCCESSFUL
     113bdt0: rtems_bdbuf_read[18]: RTEMS_SUCCESSFUL
     114bdt0: rtems_bdbuf_read[19]: RTEMS_SUCCESSFUL
     115bdt0: rtems_bdbuf_read[20]: RTEMS_SUCCESSFUL
     116bdt0: rtems_bdbuf_read[21]: RTEMS_SUCCESSFUL
     117bdt0: rtems_bdbuf_read[22]: RTEMS_SUCCESSFUL
     118bdt0: rtems_bdbuf_read[23]: RTEMS_SUCCESSFUL
     119bdt0: rtems_bdbuf_read[24]: RTEMS_SUCCESSFUL
     120bdt0: rtems_bdbuf_read[25]: RTEMS_SUCCESSFUL
     121bdt0: rtems_bdbuf_read[26]: RTEMS_SUCCESSFUL
     122bdt0: rtems_bdbuf_read[27]: RTEMS_SUCCESSFUL
     123bdt0: rtems_bdbuf_read[28]: RTEMS_SUCCESSFUL
     124bdt0: rtems_bdbuf_read[29]: RTEMS_SUCCESSFUL
     125bdt0: rtems_bdbuf_read[30]: RTEMS_SUCCESSFUL
     126bdt0: rtems_bdbuf_read[31]: RTEMS_SUCCESSFUL
     127bdt0: rtems_bdbuf_read[32]: RTEMS_SUCCESSFUL
     128bdt0: rtems_bdbuf_read[33]: RTEMS_SUCCESSFUL
     129bdt0: rtems_bdbuf_read[34]: RTEMS_SUCCESSFUL
     130bdt0: rtems_bdbuf_read[35]: RTEMS_SUCCESSFUL
     131bdt0: rtems_bdbuf_read[36]: RTEMS_SUCCESSFUL
     132bdt0: rtems_bdbuf_read[37]: RTEMS_SUCCESSFUL
     133bdt0: rtems_bdbuf_read[38]: RTEMS_SUCCESSFUL
     134bdt0: rtems_bdbuf_read[39]: RTEMS_SUCCESSFUL
     135bdt0: rtems_bdbuf_read[40]: RTEMS_SUCCESSFUL
     136bdt0: rtems_bdbuf_read[41]: RTEMS_SUCCESSFUL
     137bdt0: rtems_bdbuf_read[42]: RTEMS_SUCCESSFUL
     138bdt0: rtems_bdbuf_read[43]: RTEMS_SUCCESSFUL
     139bdt0: rtems_bdbuf_read[44]: RTEMS_SUCCESSFUL
     140bdt0: rtems_bdbuf_read[45]: RTEMS_SUCCESSFUL
     141bdt0: rtems_bdbuf_read[46]: RTEMS_SUCCESSFUL
     142bdt0: rtems_bdbuf_read[47]: RTEMS_SUCCESSFUL
     143bdt0: rtems_bdbuf_read[48]: RTEMS_SUCCESSFUL
     144bdt0: rtems_bdbuf_read[49]: RTEMS_SUCCESSFUL
     145bdt0: rtems_bdbuf_read[50]: RTEMS_SUCCESSFUL
     146bdt0: rtems_bdbuf_read[51]: RTEMS_SUCCESSFUL
     147bdt0: rtems_bdbuf_read[52]: RTEMS_SUCCESSFUL
     148bdt0: rtems_bdbuf_read[53]: RTEMS_SUCCESSFUL
     149bdt0: rtems_bdbuf_read[54]: RTEMS_SUCCESSFUL
     150bdt0: rtems_bdbuf_read[55]: RTEMS_SUCCESSFUL
     151bdt0: rtems_bdbuf_read[56]: RTEMS_SUCCESSFUL
     152bdt0: rtems_bdbuf_read[57]: RTEMS_SUCCESSFUL
     153bdt0: rtems_bdbuf_read[58]: RTEMS_SUCCESSFUL
     154bdt0: rtems_bdbuf_read[59]: RTEMS_SUCCESSFUL
     155bdt0: rtems_bdbuf_read[60]: RTEMS_SUCCESSFUL
     156bdt0: rtems_bdbuf_read[61]: RTEMS_SUCCESSFUL
     157bdt0: rtems_bdbuf_read[62]: RTEMS_SUCCESSFUL
     158bdt0: rtems_bdbuf_read[63]: RTEMS_SUCCESSFUL
     159bdt0: wake master: 0a010001: RTEMS_SUCCESSFUL
     160RTEMS_SUCCESSFUL
     161master: wake task 1: 0a010004: bdt1: rtems_bdbuf_get[0]: blocking ...
     162RTEMS_SUCCESSFUL
     163master: wake task 0: 0a010003: RTEMS_SUCCESSFUL
    161164bdt0: rtems_bdbuf_release_modified[0]: unblocks task 1
    162 bdt1: rtems_bdbuf_get[0]: successful completion
    163 bdt1: rtems_bdbuf_release[0]: successful completion
     165bdt1: rtems_bdbuf_get[0]: RTEMS_SUCCESSFUL
     166bdt1: rtems_bdbuf_release[0]: RTEMS_SUCCESSFUL
    164167bdt1: rtems_bdbuf_get[1]: blocking ...
    165 bdt0: rtems_bdbuf_release_modified[0]: successful completion
     168bdt0: rtems_bdbuf_release_modified[0]: RTEMS_SUCCESSFUL
    166169bdt0: rtems_bdbuf_release_modified[1]: unblocks task 1
    167 bdt1: rtems_bdbuf_get[1]: successful completion
    168 bdt1: rtems_bdbuf_release[1]: successful completion
     170bdt1: rtems_bdbuf_get[1]: RTEMS_SUCCESSFUL
     171bdt1: rtems_bdbuf_release[1]: RTEMS_SUCCESSFUL
    169172bdt1: rtems_bdbuf_get[2]: blocking ...
    170 bdt0: rtems_bdbuf_release_modified[1]: successful completion
     173bdt0: rtems_bdbuf_release_modified[1]: RTEMS_SUCCESSFUL
    171174bdt0: rtems_bdbuf_release_modified[2]: unblocks task 1
    172 bdt1: rtems_bdbuf_get[2]: successful completion
    173 bdt1: rtems_bdbuf_release[2]: successful completion
     175bdt1: rtems_bdbuf_get[2]: RTEMS_SUCCESSFUL
     176bdt1: rtems_bdbuf_release[2]: RTEMS_SUCCESSFUL
    174177bdt1: rtems_bdbuf_get[3]: blocking ...
    175 bdt0: rtems_bdbuf_release_modified[2]: successful completion
     178bdt0: rtems_bdbuf_release_modified[2]: RTEMS_SUCCESSFUL
    176179bdt0: rtems_bdbuf_release_modified[3]: unblocks task 1
    177 bdt1: rtems_bdbuf_get[3]: successful completion
    178 bdt1: rtems_bdbuf_release[3]: successful completion
     180bdt1: rtems_bdbuf_get[3]: RTEMS_SUCCESSFUL
     181bdt1: rtems_bdbuf_release[3]: RTEMS_SUCCESSFUL
    179182bdt1: rtems_bdbuf_get[4]: blocking ...
    180 bdt0: rtems_bdbuf_release_modified[3]: successful completion
     183bdt0: rtems_bdbuf_release_modified[3]: RTEMS_SUCCESSFUL
    181184bdt0: rtems_bdbuf_release_modified[4]: unblocks task 1
    182 bdt1: rtems_bdbuf_get[4]: successful completion
    183 bdt1: rtems_bdbuf_release[4]: successful completion
     185bdt1: rtems_bdbuf_get[4]: RTEMS_SUCCESSFUL
     186bdt1: rtems_bdbuf_release[4]: RTEMS_SUCCESSFUL
    184187bdt1: rtems_bdbuf_get[5]: blocking ...
    185 bdt0: rtems_bdbuf_release_modified[4]: successful completion
     188bdt0: rtems_bdbuf_release_modified[4]: RTEMS_SUCCESSFUL
    186189bdt0: rtems_bdbuf_release_modified[5]: unblocks task 1
    187 bdt1: rtems_bdbuf_get[5]: successful completion
    188 bdt1: rtems_bdbuf_release[5]: successful completion
     190bdt1: rtems_bdbuf_get[5]: RTEMS_SUCCESSFUL
     191bdt1: rtems_bdbuf_release[5]: RTEMS_SUCCESSFUL
    189192bdt1: rtems_bdbuf_get[6]: blocking ...
    190 bdt0: rtems_bdbuf_release_modified[5]: successful completion
     193bdt0: rtems_bdbuf_release_modified[5]: RTEMS_SUCCESSFUL
    191194bdt0: rtems_bdbuf_release_modified[6]: unblocks task 1
    192 bdt1: rtems_bdbuf_get[6]: successful completion
    193 bdt1: rtems_bdbuf_release[6]: successful completion
     195bdt1: rtems_bdbuf_get[6]: RTEMS_SUCCESSFUL
     196bdt1: rtems_bdbuf_release[6]: RTEMS_SUCCESSFUL
    194197bdt1: rtems_bdbuf_get[7]: blocking ...
    195 bdt0: rtems_bdbuf_release_modified[6]: successful completion
     198bdt0: rtems_bdbuf_release_modified[6]: RTEMS_SUCCESSFUL
    196199bdt0: rtems_bdbuf_release_modified[7]: unblocks task 1
    197 bdt1: rtems_bdbuf_get[7]: successful completion
    198 bdt1: rtems_bdbuf_release[7]: successful completion
     200bdt1: rtems_bdbuf_get[7]: RTEMS_SUCCESSFUL
     201bdt1: rtems_bdbuf_release[7]: RTEMS_SUCCESSFUL
    199202bdt1: rtems_bdbuf_get[8]: blocking ...
    200 bdt0: rtems_bdbuf_release_modified[7]: successful completion
     203bdt0: rtems_bdbuf_release_modified[7]: RTEMS_SUCCESSFUL
    201204bdt0: rtems_bdbuf_release_modified[8]: unblocks task 1
    202 bdt1: rtems_bdbuf_get[8]: successful completion
    203 bdt1: rtems_bdbuf_release[8]: successful completion
    204 bdt0: rtems_bdbuf_release_modified[8]: successful completion
     205bdt1: rtems_bdbuf_get[8]: RTEMS_SUCCESSFUL
     206bdt1: rtems_bdbuf_release[8]: RTEMS_SUCCESSFUL
     207bdt0: rtems_bdbuf_release_modified[8]: RTEMS_SUCCESSFUL
    205208bdt0: rtems_bdbuf_release_modified[9]: unblocks task 1
    206 bdt0: rtems_bdbuf_release_modified[9]: successful completion
     209bdt0: rtems_bdbuf_release_modified[9]: RTEMS_SUCCESSFUL
    207210bdt0: rtems_bdbuf_release_modified[10]: unblocks task 1
    208 bdt0: rtems_bdbuf_release_modified[10]: successful completion
     211bdt0: rtems_bdbuf_release_modified[10]: RTEMS_SUCCESSFUL
    209212bdt0: rtems_bdbuf_release_modified[11]: unblocks task 1
    210 bdt0: rtems_bdbuf_release_modified[11]: successful completion
     213bdt0: rtems_bdbuf_release_modified[11]: RTEMS_SUCCESSFUL
    211214bdt0: rtems_bdbuf_release_modified[12]: unblocks task 1
    212 bdt0: rtems_bdbuf_release_modified[12]: successful completion
     215bdt0: rtems_bdbuf_release_modified[12]: RTEMS_SUCCESSFUL
    213216bdt0: rtems_bdbuf_release_modified[13]: unblocks task 1
    214 bdt0: rtems_bdbuf_release_modified[13]: successful completion
     217bdt0: rtems_bdbuf_release_modified[13]: RTEMS_SUCCESSFUL
    215218bdt0: rtems_bdbuf_release_modified[14]: unblocks task 1
    216 bdt0: rtems_bdbuf_release_modified[14]: successful completion
     219bdt0: rtems_bdbuf_release_modified[14]: RTEMS_SUCCESSFUL
    217220bdt0: rtems_bdbuf_release_modified[15]: unblocks task 1
    218 bdt0: rtems_bdbuf_release_modified[15]: successful completion
     221bdt0: rtems_bdbuf_release_modified[15]: RTEMS_SUCCESSFUL
    219222bdt0: rtems_bdbuf_release_modified[16]: unblocks task 1
    220 bdt0: rtems_bdbuf_release_modified[16]: successful completion
     223bdt0: rtems_bdbuf_release_modified[16]: RTEMS_SUCCESSFUL
    221224bdt0: rtems_bdbuf_release_modified[17]: unblocks task 1
    222 bdt0: rtems_bdbuf_release_modified[17]: successful completion
     225bdt0: rtems_bdbuf_release_modified[17]: RTEMS_SUCCESSFUL
    223226bdt0: rtems_bdbuf_release_modified[18]: unblocks task 1
    224 bdt0: rtems_bdbuf_release_modified[18]: successful completion
     227bdt0: rtems_bdbuf_release_modified[18]: RTEMS_SUCCESSFUL
    225228bdt0: rtems_bdbuf_release_modified[19]: unblocks task 1
    226 bdt0: rtems_bdbuf_release_modified[19]: successful completion
     229bdt0: rtems_bdbuf_release_modified[19]: RTEMS_SUCCESSFUL
    227230bdt0: rtems_bdbuf_release_modified[20]: unblocks task 1
    228 bdt0: rtems_bdbuf_release_modified[20]: successful completion
     231bdt0: rtems_bdbuf_release_modified[20]: RTEMS_SUCCESSFUL
    229232bdt0: rtems_bdbuf_release_modified[21]: unblocks task 1
    230 bdt0: rtems_bdbuf_release_modified[21]: successful completion
     233bdt0: rtems_bdbuf_release_modified[21]: RTEMS_SUCCESSFUL
    231234bdt0: rtems_bdbuf_release_modified[22]: unblocks task 1
    232 bdt0: rtems_bdbuf_release_modified[22]: successful completion
     235bdt0: rtems_bdbuf_release_modified[22]: RTEMS_SUCCESSFUL
    233236bdt0: rtems_bdbuf_release_modified[23]: unblocks task 1
    234 bdt0: rtems_bdbuf_release_modified[23]: successful completion
     237bdt0: rtems_bdbuf_release_modified[23]: RTEMS_SUCCESSFUL
    235238bdt0: rtems_bdbuf_release_modified[24]: unblocks task 1
    236 bdt0: rtems_bdbuf_release_modified[24]: successful completion
     239bdt0: rtems_bdbuf_release_modified[24]: RTEMS_SUCCESSFUL
    237240bdt0: rtems_bdbuf_release_modified[25]: unblocks task 1
    238 bdt0: rtems_bdbuf_release_modified[25]: successful completion
     241bdt0: rtems_bdbuf_release_modified[25]: RTEMS_SUCCESSFUL
    239242bdt0: rtems_bdbuf_release_modified[26]: unblocks task 1
    240 bdt0: rtems_bdbuf_release_modified[26]: successful completion
     243bdt0: rtems_bdbuf_release_modified[26]: RTEMS_SUCCESSFUL
    241244bdt0: rtems_bdbuf_release_modified[27]: unblocks task 1
    242 bdt0: rtems_bdbuf_release_modified[27]: successful completion
     245bdt0: rtems_bdbuf_release_modified[27]: RTEMS_SUCCESSFUL
    243246bdt0: rtems_bdbuf_release_modified[28]: unblocks task 1
    244 bdt0: rtems_bdbuf_release_modified[28]: successful completion
     247bdt0: rtems_bdbuf_release_modified[28]: RTEMS_SUCCESSFUL
    245248bdt0: rtems_bdbuf_release_modified[29]: unblocks task 1
    246 bdt0: rtems_bdbuf_release_modified[29]: successful completion
     249bdt0: rtems_bdbuf_release_modified[29]: RTEMS_SUCCESSFUL
    247250bdt0: rtems_bdbuf_release_modified[30]: unblocks task 1
    248 bdt0: rtems_bdbuf_release_modified[30]: successful completion
     251bdt0: rtems_bdbuf_release_modified[30]: RTEMS_SUCCESSFUL
    249252bdt0: rtems_bdbuf_release_modified[31]: unblocks task 1
    250 bdt0: rtems_bdbuf_release_modified[31]: successful completion
    251 bdt0: disk ioctl: wake watcher: 0a010003: successful completion
    252 bdt0: rtems_bdbuf_release_modified[32]: successful completion
    253 bdt0: rtems_bdbuf_release_modified[33]: successful completion
    254 bdt0: rtems_bdbuf_release_modified[34]: successful completion
    255 bdt0: rtems_bdbuf_release_modified[35]: successful completion
    256 bdt0: rtems_bdbuf_release_modified[36]: successful completion
    257 bdt0: rtems_bdbuf_release_modified[37]: successful completion
    258 bdt0: rtems_bdbuf_release_modified[38]: successful completion
    259 bdt0: rtems_bdbuf_release_modified[39]: successful completion
    260 bdt0: rtems_bdbuf_release_modified[40]: successful completion
    261 bdt0: rtems_bdbuf_release_modified[41]: successful completion
    262 bdt0: rtems_bdbuf_release_modified[42]: successful completion
    263 bdt0: rtems_bdbuf_release_modified[43]: successful completion
    264 bdt0: rtems_bdbuf_release_modified[44]: successful completion
    265 bdt0: rtems_bdbuf_release_modified[45]: successful completion
    266 bdt0: rtems_bdbuf_release_modified[46]: successful completion
    267 bdt0: rtems_bdbuf_release_modified[47]: successful completion
    268 bdt0: rtems_bdbuf_release_modified[48]: successful completion
    269 bdt0: rtems_bdbuf_release_modified[49]: successful completion
    270 bdt0: rtems_bdbuf_release_modified[50]: successful completion
    271 bdt0: rtems_bdbuf_release_modified[51]: successful completion
    272 bdt0: rtems_bdbuf_release_modified[52]: successful completion
    273 bdt0: rtems_bdbuf_release_modified[53]: successful completion
    274 bdt0: rtems_bdbuf_release_modified[54]: successful completion
    275 bdt0: rtems_bdbuf_release_modified[55]: successful completion
    276 bdt0: rtems_bdbuf_release_modified[56]: successful completion
    277 bdt0: rtems_bdbuf_release_modified[57]: successful completion
    278 bdt0: rtems_bdbuf_release_modified[58]: successful completion
    279 bdt0: rtems_bdbuf_release_modified[59]: successful completion
    280 bdt0: rtems_bdbuf_release_modified[60]: successful completion
    281 bdt0: rtems_bdbuf_release_modified[61]: successful completion
    282 bdt0: rtems_bdbuf_release_modified[62]: successful completion
    283 bdt0: rtems_bdbuf_release_modified[63]: successful completion
    284 bdt0: disk ioctl: wake watcher: 0a010003: successful completion
     253bdt0: rtems_bdbuf_release_modified[31]: RTEMS_SUCCESSFUL
     254bdt0: disk ioctl: wake watcher: 0a010003: RTEMS_SUCCESSFUL
     255bdt0: rtems_bdbuf_release_modified[32]: RTEMS_SUCCESSFUL
     256bdt0: rtems_bdbuf_release_modified[33]: RTEMS_SUCCESSFUL
     257bdt0: rtems_bdbuf_release_modified[34]: RTEMS_SUCCESSFUL
     258bdt0: rtems_bdbuf_release_modified[35]: RTEMS_SUCCESSFUL
     259bdt0: rtems_bdbuf_release_modified[36]: RTEMS_SUCCESSFUL
     260bdt0: rtems_bdbuf_release_modified[37]: RTEMS_SUCCESSFUL
     261bdt0: rtems_bdbuf_release_modified[38]: RTEMS_SUCCESSFUL
     262bdt0: rtems_bdbuf_release_modified[39]: RTEMS_SUCCESSFUL
     263bdt0: rtems_bdbuf_release_modified[40]: RTEMS_SUCCESSFUL
     264bdt0: rtems_bdbuf_release_modified[41]: RTEMS_SUCCESSFUL
     265bdt0: rtems_bdbuf_release_modified[42]: RTEMS_SUCCESSFUL
     266bdt0: rtems_bdbuf_release_modified[43]: RTEMS_SUCCESSFUL
     267bdt0: rtems_bdbuf_release_modified[44]: RTEMS_SUCCESSFUL
     268bdt0: rtems_bdbuf_release_modified[45]: RTEMS_SUCCESSFUL
     269bdt0: rtems_bdbuf_release_modified[46]: RTEMS_SUCCESSFUL
     270bdt0: rtems_bdbuf_release_modified[47]: RTEMS_SUCCESSFUL
     271bdt0: rtems_bdbuf_release_modified[48]: RTEMS_SUCCESSFUL
     272bdt0: rtems_bdbuf_release_modified[49]: RTEMS_SUCCESSFUL
     273bdt0: rtems_bdbuf_release_modified[50]: RTEMS_SUCCESSFUL
     274bdt0: rtems_bdbuf_release_modified[51]: RTEMS_SUCCESSFUL
     275bdt0: rtems_bdbuf_release_modified[52]: RTEMS_SUCCESSFUL
     276bdt0: rtems_bdbuf_release_modified[53]: RTEMS_SUCCESSFUL
     277bdt0: rtems_bdbuf_release_modified[54]: RTEMS_SUCCESSFUL
     278bdt0: rtems_bdbuf_release_modified[55]: RTEMS_SUCCESSFUL
     279bdt0: rtems_bdbuf_release_modified[56]: RTEMS_SUCCESSFUL
     280bdt0: rtems_bdbuf_release_modified[57]: RTEMS_SUCCESSFUL
     281bdt0: rtems_bdbuf_release_modified[58]: RTEMS_SUCCESSFUL
     282bdt0: rtems_bdbuf_release_modified[59]: RTEMS_SUCCESSFUL
     283bdt0: rtems_bdbuf_release_modified[60]: RTEMS_SUCCESSFUL
     284bdt0: rtems_bdbuf_release_modified[61]: RTEMS_SUCCESSFUL
     285bdt0: rtems_bdbuf_release_modified[62]: RTEMS_SUCCESSFUL
     286bdt0: rtems_bdbuf_release_modified[63]: RTEMS_SUCCESSFUL
     287bdt0: disk ioctl: wake watcher: 0a010003: RTEMS_SUCCESSFUL
    285288test 4: passed
    286289test 5: Task 0 read all buffers, task 1 blocks waiting for new buffer
    287 master: wake task 0: 0a010003: successful completion
    288 bdt0: rtems_bdbuf_read[0]: successful completion
    289 bdt0: rtems_bdbuf_read[1]: successful completion
    290 bdt0: rtems_bdbuf_read[2]: successful completion
    291 bdt0: rtems_bdbuf_read[3]: successful completion
    292 bdt0: rtems_bdbuf_read[4]: successful completion
    293 bdt0: rtems_bdbuf_read[5]: successful completion
    294 bdt0: rtems_bdbuf_read[6]: successful completion
    295 bdt0: rtems_bdbuf_read[7]: successful completion
    296 bdt0: rtems_bdbuf_read[8]: successful completion
    297 bdt0: rtems_bdbuf_read[9]: successful completion
    298 bdt0: rtems_bdbuf_read[10]: successful completion
    299 bdt0: rtems_bdbuf_read[11]: successful completion
    300 bdt0: rtems_bdbuf_read[12]: successful completion
    301 bdt0: rtems_bdbuf_read[13]: successful completion
    302 bdt0: rtems_bdbuf_read[14]: successful completion
    303 bdt0: rtems_bdbuf_read[15]: successful completion
    304 bdt0: rtems_bdbuf_read[16]: successful completion
    305 bdt0: rtems_bdbuf_read[17]: successful completion
    306 bdt0: rtems_bdbuf_read[18]: successful completion
    307 bdt0: rtems_bdbuf_read[19]: successful completion
    308 bdt0: rtems_bdbuf_read[20]: successful completion
    309 bdt0: rtems_bdbuf_read[21]: successful completion
    310 bdt0: rtems_bdbuf_read[22]: successful completion
    311 bdt0: rtems_bdbuf_read[23]: successful completion
    312 bdt0: rtems_bdbuf_read[24]: successful completion
    313 bdt0: rtems_bdbuf_read[25]: successful completion
    314 bdt0: rtems_bdbuf_read[26]: successful completion
    315 bdt0: rtems_bdbuf_read[27]: successful completion
    316 bdt0: rtems_bdbuf_read[28]: successful completion
    317 bdt0: rtems_bdbuf_read[29]: successful completion
    318 bdt0: rtems_bdbuf_read[30]: successful completion
    319 bdt0: rtems_bdbuf_read[31]: successful completion
    320 bdt0: rtems_bdbuf_read[32]: successful completion
    321 bdt0: rtems_bdbuf_read[33]: successful completion
    322 bdt0: rtems_bdbuf_read[34]: successful completion
    323 bdt0: rtems_bdbuf_read[35]: successful completion
    324 bdt0: rtems_bdbuf_read[36]: successful completion
    325 bdt0: rtems_bdbuf_read[37]: successful completion
    326 bdt0: rtems_bdbuf_read[38]: successful completion
    327 bdt0: rtems_bdbuf_read[39]: successful completion
    328 bdt0: rtems_bdbuf_read[40]: successful completion
    329 bdt0: rtems_bdbuf_read[41]: successful completion
    330 bdt0: rtems_bdbuf_read[42]: successful completion
    331 bdt0: rtems_bdbuf_read[43]: successful completion
    332 bdt0: rtems_bdbuf_read[44]: successful completion
    333 bdt0: rtems_bdbuf_read[45]: successful completion
    334 bdt0: rtems_bdbuf_read[46]: successful completion
    335 bdt0: rtems_bdbuf_read[47]: successful completion
    336 bdt0: rtems_bdbuf_read[48]: successful completion
    337 bdt0: rtems_bdbuf_read[49]: successful completion
    338 bdt0: rtems_bdbuf_read[50]: successful completion
    339 bdt0: rtems_bdbuf_read[51]: successful completion
    340 bdt0: rtems_bdbuf_read[52]: successful completion
    341 bdt0: rtems_bdbuf_read[53]: successful completion
    342 bdt0: rtems_bdbuf_read[54]: successful completion
    343 bdt0: rtems_bdbuf_read[55]: successful completion
    344 bdt0: rtems_bdbuf_read[56]: successful completion
    345 bdt0: rtems_bdbuf_read[57]: successful completion
    346 bdt0: rtems_bdbuf_read[58]: successful completion
    347 bdt0: rtems_bdbuf_read[59]: successful completion
    348 bdt0: rtems_bdbuf_read[60]: successful completion
    349 bdt0: rtems_bdbuf_read[61]: successful completion
    350 bdt0: rtems_bdbuf_read[62]: successful completion
    351 bdt0: rtems_bdbuf_read[63]: successful completion
    352 bdt0: wake master: 0a010001: successful completion
    353 master: wake task 1: 0a010004: successful completion
    354 bdt1: rtems_bdbuf_get[20]: blocking ...
    355 master: wake task 0: 0a010003: successful completion
     290master: wake task 0: 0a010003: bdt0: rtems_bdbuf_read[0]: RTEMS_SUCCESSFUL
     291bdt0: rtems_bdbuf_read[1]: RTEMS_SUCCESSFUL
     292bdt0: rtems_bdbuf_read[2]: RTEMS_SUCCESSFUL
     293bdt0: rtems_bdbuf_read[3]: RTEMS_SUCCESSFUL
     294bdt0: rtems_bdbuf_read[4]: RTEMS_SUCCESSFUL
     295bdt0: rtems_bdbuf_read[5]: RTEMS_SUCCESSFUL
     296bdt0: rtems_bdbuf_read[6]: RTEMS_SUCCESSFUL
     297bdt0: rtems_bdbuf_read[7]: RTEMS_SUCCESSFUL
     298bdt0: rtems_bdbuf_read[8]: RTEMS_SUCCESSFUL
     299bdt0: rtems_bdbuf_read[9]: RTEMS_SUCCESSFUL
     300bdt0: rtems_bdbuf_read[10]: RTEMS_SUCCESSFUL
     301bdt0: rtems_bdbuf_read[11]: RTEMS_SUCCESSFUL
     302bdt0: rtems_bdbuf_read[12]: RTEMS_SUCCESSFUL
     303bdt0: rtems_bdbuf_read[13]: RTEMS_SUCCESSFUL
     304bdt0: rtems_bdbuf_read[14]: RTEMS_SUCCESSFUL
     305bdt0: rtems_bdbuf_read[15]: RTEMS_SUCCESSFUL
     306bdt0: rtems_bdbuf_read[16]: RTEMS_SUCCESSFUL
     307bdt0: rtems_bdbuf_read[17]: RTEMS_SUCCESSFUL
     308bdt0: rtems_bdbuf_read[18]: RTEMS_SUCCESSFUL
     309bdt0: rtems_bdbuf_read[19]: RTEMS_SUCCESSFUL
     310bdt0: rtems_bdbuf_read[20]: RTEMS_SUCCESSFUL
     311bdt0: rtems_bdbuf_read[21]: RTEMS_SUCCESSFUL
     312bdt0: rtems_bdbuf_read[22]: RTEMS_SUCCESSFUL
     313bdt0: rtems_bdbuf_read[23]: RTEMS_SUCCESSFUL
     314bdt0: rtems_bdbuf_read[24]: RTEMS_SUCCESSFUL
     315bdt0: rtems_bdbuf_read[25]: RTEMS_SUCCESSFUL
     316bdt0: rtems_bdbuf_read[26]: RTEMS_SUCCESSFUL
     317bdt0: rtems_bdbuf_read[27]: RTEMS_SUCCESSFUL
     318bdt0: rtems_bdbuf_read[28]: RTEMS_SUCCESSFUL
     319bdt0: rtems_bdbuf_read[29]: RTEMS_SUCCESSFUL
     320bdt0: rtems_bdbuf_read[30]: RTEMS_SUCCESSFUL
     321bdt0: rtems_bdbuf_read[31]: RTEMS_SUCCESSFUL
     322bdt0: rtems_bdbuf_read[32]: RTEMS_SUCCESSFUL
     323bdt0: rtems_bdbuf_read[33]: RTEMS_SUCCESSFUL
     324bdt0: rtems_bdbuf_read[34]: RTEMS_SUCCESSFUL
     325bdt0: rtems_bdbuf_read[35]: RTEMS_SUCCESSFUL
     326bdt0: rtems_bdbuf_read[36]: RTEMS_SUCCESSFUL
     327bdt0: rtems_bdbuf_read[37]: RTEMS_SUCCESSFUL
     328bdt0: rtems_bdbuf_read[38]: RTEMS_SUCCESSFUL
     329bdt0: rtems_bdbuf_read[39]: RTEMS_SUCCESSFUL
     330bdt0: rtems_bdbuf_read[40]: RTEMS_SUCCESSFUL
     331bdt0: rtems_bdbuf_read[41]: RTEMS_SUCCESSFUL
     332bdt0: rtems_bdbuf_read[42]: RTEMS_SUCCESSFUL
     333bdt0: rtems_bdbuf_read[43]: RTEMS_SUCCESSFUL
     334bdt0: rtems_bdbuf_read[44]: RTEMS_SUCCESSFUL
     335bdt0: rtems_bdbuf_read[45]: RTEMS_SUCCESSFUL
     336bdt0: rtems_bdbuf_read[46]: RTEMS_SUCCESSFUL
     337bdt0: rtems_bdbuf_read[47]: RTEMS_SUCCESSFUL
     338bdt0: rtems_bdbuf_read[48]: RTEMS_SUCCESSFUL
     339bdt0: rtems_bdbuf_read[49]: RTEMS_SUCCESSFUL
     340bdt0: rtems_bdbuf_read[50]: RTEMS_SUCCESSFUL
     341bdt0: rtems_bdbuf_read[51]: RTEMS_SUCCESSFUL
     342bdt0: rtems_bdbuf_read[52]: RTEMS_SUCCESSFUL
     343bdt0: rtems_bdbuf_read[53]: RTEMS_SUCCESSFUL
     344bdt0: rtems_bdbuf_read[54]: RTEMS_SUCCESSFUL
     345bdt0: rtems_bdbuf_read[55]: RTEMS_SUCCESSFUL
     346bdt0: rtems_bdbuf_read[56]: RTEMS_SUCCESSFUL
     347bdt0: rtems_bdbuf_read[57]: RTEMS_SUCCESSFUL
     348bdt0: rtems_bdbuf_read[58]: RTEMS_SUCCESSFUL
     349bdt0: rtems_bdbuf_read[59]: RTEMS_SUCCESSFUL
     350bdt0: rtems_bdbuf_read[60]: RTEMS_SUCCESSFUL
     351bdt0: rtems_bdbuf_read[61]: RTEMS_SUCCESSFUL
     352bdt0: rtems_bdbuf_read[62]: RTEMS_SUCCESSFUL
     353bdt0: rtems_bdbuf_read[63]: RTEMS_SUCCESSFUL
     354bdt0: wake master: 0a010001: RTEMS_SUCCESSFUL
     355RTEMS_SUCCESSFUL
     356master: wake task 1: 0a010004: bdt1: rtems_bdbuf_get[20]: blocking ...
     357RTEMS_SUCCESSFUL
     358master: wake task 0: 0a010003: RTEMS_SUCCESSFUL
    356359bdt0: rtems_bdbuf_release_modified[0]: unblocks task 1
    357 bdt0: rtems_bdbuf_release_modified[0]: successful completion
     360bdt0: rtems_bdbuf_release_modified[0]: RTEMS_SUCCESSFUL
    358361bdt0: rtems_bdbuf_release_modified[1]: unblocks task 1
    359 bdt0: rtems_bdbuf_release_modified[1]: successful completion
     362bdt0: rtems_bdbuf_release_modified[1]: RTEMS_SUCCESSFUL
    360363bdt0: rtems_bdbuf_release_modified[2]: unblocks task 1
    361 bdt0: rtems_bdbuf_release_modified[2]: successful completion
     364bdt0: rtems_bdbuf_release_modified[2]: RTEMS_SUCCESSFUL
    362365bdt0: rtems_bdbuf_release_modified[3]: unblocks task 1
    363 bdt0: rtems_bdbuf_release_modified[3]: successful completion
     366bdt0: rtems_bdbuf_release_modified[3]: RTEMS_SUCCESSFUL
    364367bdt0: rtems_bdbuf_release_modified[4]: unblocks task 1
    365 bdt0: rtems_bdbuf_release_modified[4]: successful completion
     368bdt0: rtems_bdbuf_release_modified[4]: RTEMS_SUCCESSFUL
    366369bdt0: rtems_bdbuf_release_modified[5]: unblocks task 1
    367 bdt0: rtems_bdbuf_release_modified[5]: successful completion
     370bdt0: rtems_bdbuf_release_modified[5]: RTEMS_SUCCESSFUL
    368371bdt0: rtems_bdbuf_release_modified[6]: unblocks task 1
    369 bdt0: rtems_bdbuf_release_modified[6]: successful completion
     372bdt0: rtems_bdbuf_release_modified[6]: RTEMS_SUCCESSFUL
    370373bdt0: rtems_bdbuf_release_modified[7]: unblocks task 1
    371 bdt0: rtems_bdbuf_release_modified[7]: successful completion
     374bdt0: rtems_bdbuf_release_modified[7]: RTEMS_SUCCESSFUL
    372375bdt0: rtems_bdbuf_release_modified[8]: unblocks task 1
    373 bdt0: rtems_bdbuf_release_modified[8]: successful completion
     376bdt0: rtems_bdbuf_release_modified[8]: RTEMS_SUCCESSFUL
    374377bdt0: rtems_bdbuf_release_modified[9]: unblocks task 1
    375 bdt0: rtems_bdbuf_release_modified[9]: successful completion
     378bdt0: rtems_bdbuf_release_modified[9]: RTEMS_SUCCESSFUL
    376379bdt0: rtems_bdbuf_release_modified[10]: unblocks task 1
    377 bdt0: rtems_bdbuf_release_modified[10]: successful completion
     380bdt0: rtems_bdbuf_release_modified[10]: RTEMS_SUCCESSFUL
    378381bdt0: rtems_bdbuf_release_modified[11]: unblocks task 1
    379 bdt0: rtems_bdbuf_release_modified[11]: successful completion
     382bdt0: rtems_bdbuf_release_modified[11]: RTEMS_SUCCESSFUL
    380383bdt0: rtems_bdbuf_release_modified[12]: unblocks task 1
    381 bdt0: rtems_bdbuf_release_modified[12]: successful completion
     384bdt0: rtems_bdbuf_release_modified[12]: RTEMS_SUCCESSFUL
    382385bdt0: rtems_bdbuf_release_modified[13]: unblocks task 1
    383 bdt0: rtems_bdbuf_release_modified[13]: successful completion
     386bdt0: rtems_bdbuf_release_modified[13]: RTEMS_SUCCESSFUL
    384387bdt0: rtems_bdbuf_release_modified[14]: unblocks task 1
    385 bdt0: rtems_bdbuf_release_modified[14]: successful completion
     388bdt0: rtems_bdbuf_release_modified[14]: RTEMS_SUCCESSFUL
    386389bdt0: rtems_bdbuf_release_modified[15]: unblocks task 1
    387 bdt0: rtems_bdbuf_release_modified[15]: successful completion
     390bdt0: rtems_bdbuf_release_modified[15]: RTEMS_SUCCESSFUL
    388391bdt0: rtems_bdbuf_release_modified[16]: unblocks task 1
    389 bdt0: rtems_bdbuf_release_modified[16]: successful completion
     392bdt0: rtems_bdbuf_release_modified[16]: RTEMS_SUCCESSFUL
    390393bdt0: rtems_bdbuf_release_modified[17]: unblocks task 1
    391 bdt0: rtems_bdbuf_release_modified[17]: successful completion
     394bdt0: rtems_bdbuf_release_modified[17]: RTEMS_SUCCESSFUL
    392395bdt0: rtems_bdbuf_release_modified[18]: unblocks task 1
    393 bdt0: rtems_bdbuf_release_modified[18]: successful completion
     396bdt0: rtems_bdbuf_release_modified[18]: RTEMS_SUCCESSFUL
    394397bdt0: rtems_bdbuf_release_modified[19]: unblocks task 1
    395 bdt0: rtems_bdbuf_release_modified[19]: successful completion
     398bdt0: rtems_bdbuf_release_modified[19]: RTEMS_SUCCESSFUL
    396399bdt0: rtems_bdbuf_release_modified[20]: unblocks task 1
    397 bdt1: rtems_bdbuf_get[20]: successful completion
    398 bdt1: rtems_bdbuf_release[20]: successful completion
     400bdt1: rtems_bdbuf_get[20]: RTEMS_SUCCESSFUL
     401bdt1: rtems_bdbuf_release[20]: RTEMS_SUCCESSFUL
    399402bdt1: rtems_bdbuf_get[21]: blocking ...
    400 bdt0: rtems_bdbuf_release_modified[20]: successful completion
     403bdt0: rtems_bdbuf_release_modified[20]: RTEMS_SUCCESSFUL
    401404bdt0: rtems_bdbuf_release_modified[21]: unblocks task 1
    402 bdt1: rtems_bdbuf_get[21]: successful completion
    403 bdt1: rtems_bdbuf_release[21]: successful completion
     405bdt1: rtems_bdbuf_get[21]: RTEMS_SUCCESSFUL
     406bdt1: rtems_bdbuf_release[21]: RTEMS_SUCCESSFUL
    404407bdt1: rtems_bdbuf_get[22]: blocking ...
    405 bdt0: rtems_bdbuf_release_modified[21]: successful completion
     408bdt0: rtems_bdbuf_release_modified[21]: RTEMS_SUCCESSFUL
    406409bdt0: rtems_bdbuf_release_modified[22]: unblocks task 1
    407 bdt1: rtems_bdbuf_get[22]: successful completion
    408 bdt1: rtems_bdbuf_release[22]: successful completion
     410bdt1: rtems_bdbuf_get[22]: RTEMS_SUCCESSFUL
     411bdt1: rtems_bdbuf_release[22]: RTEMS_SUCCESSFUL
    409412bdt1: rtems_bdbuf_get[23]: blocking ...
    410 bdt0: rtems_bdbuf_release_modified[22]: successful completion
     413bdt0: rtems_bdbuf_release_modified[22]: RTEMS_SUCCESSFUL
    411414bdt0: rtems_bdbuf_release_modified[23]: unblocks task 1
    412 bdt1: rtems_bdbuf_get[23]: successful completion
    413 bdt1: rtems_bdbuf_release[23]: successful completion
     415bdt1: rtems_bdbuf_get[23]: RTEMS_SUCCESSFUL
     416bdt1: rtems_bdbuf_release[23]: RTEMS_SUCCESSFUL
    414417bdt1: rtems_bdbuf_get[24]: blocking ...
    415 bdt0: rtems_bdbuf_release_modified[23]: successful completion
     418bdt0: rtems_bdbuf_release_modified[23]: RTEMS_SUCCESSFUL
    416419bdt0: rtems_bdbuf_release_modified[24]: unblocks task 1
    417 bdt1: rtems_bdbuf_get[24]: successful completion
    418 bdt1: rtems_bdbuf_release[24]: successful completion
    419 bdt0: rtems_bdbuf_release_modified[24]: successful completion
     420bdt1: rtems_bdbuf_get[24]: RTEMS_SUCCESSFUL
     421bdt1: rtems_bdbuf_release[24]: RTEMS_SUCCESSFUL
     422bdt0: rtems_bdbuf_release_modified[24]: RTEMS_SUCCESSFUL
    420423bdt0: rtems_bdbuf_release_modified[25]: unblocks task 1
    421 bdt0: rtems_bdbuf_release_modified[25]: successful completion
     424bdt0: rtems_bdbuf_release_modified[25]: RTEMS_SUCCESSFUL
    422425bdt0: rtems_bdbuf_release_modified[26]: unblocks task 1
    423 bdt0: rtems_bdbuf_release_modified[26]: successful completion
     426bdt0: rtems_bdbuf_release_modified[26]: RTEMS_SUCCESSFUL
    424427bdt0: rtems_bdbuf_release_modified[27]: unblocks task 1
    425 bdt0: rtems_bdbuf_release_modified[27]: successful completion
     428bdt0: rtems_bdbuf_release_modified[27]: RTEMS_SUCCESSFUL
    426429bdt0: rtems_bdbuf_release_modified[28]: unblocks task 1
    427 bdt0: rtems_bdbuf_release_modified[28]: successful completion
     430bdt0: rtems_bdbuf_release_modified[28]: RTEMS_SUCCESSFUL
    428431bdt0: rtems_bdbuf_release_modified[29]: unblocks task 1
    429 bdt0: rtems_bdbuf_release_modified[29]: successful completion
     432bdt0: rtems_bdbuf_release_modified[29]: RTEMS_SUCCESSFUL
    430433bdt0: rtems_bdbuf_release_modified[30]: unblocks task 1
    431 bdt0: rtems_bdbuf_release_modified[30]: successful completion
     434bdt0: rtems_bdbuf_release_modified[30]: RTEMS_SUCCESSFUL
    432435bdt0: rtems_bdbuf_release_modified[31]: unblocks task 1
    433 bdt0: rtems_bdbuf_release_modified[31]: successful completion
    434 bdt0: disk ioctl: wake watcher: 0a010003: successful completion
    435 bdt0: rtems_bdbuf_release_modified[32]: successful completion
    436 bdt0: rtems_bdbuf_release_modified[33]: successful completion
    437 bdt0: rtems_bdbuf_release_modified[34]: successful completion
    438 bdt0: rtems_bdbuf_release_modified[35]: successful completion
    439 bdt0: rtems_bdbuf_release_modified[36]: successful completion
    440 bdt0: rtems_bdbuf_release_modified[37]: successful completion
    441 bdt0: rtems_bdbuf_release_modified[38]: successful completion
    442 bdt0: rtems_bdbuf_release_modified[39]: successful completion
    443 bdt0: rtems_bdbuf_release_modified[40]: successful completion
    444 bdt0: rtems_bdbuf_release_modified[41]: successful completion
    445 bdt0: rtems_bdbuf_release_modified[42]: successful completion
    446 bdt0: rtems_bdbuf_release_modified[43]: successful completion
    447 bdt0: rtems_bdbuf_release_modified[44]: successful completion
    448 bdt0: rtems_bdbuf_release_modified[45]: successful completion
    449 bdt0: rtems_bdbuf_release_modified[46]: successful completion
    450 bdt0: rtems_bdbuf_release_modified[47]: successful completion
    451 bdt0: rtems_bdbuf_release_modified[48]: successful completion
    452 bdt0: rtems_bdbuf_release_modified[49]: successful completion
    453 bdt0: rtems_bdbuf_release_modified[50]: successful completion
    454 bdt0: rtems_bdbuf_release_modified[51]: successful completion
    455 bdt0: rtems_bdbuf_release_modified[52]: successful completion
    456 bdt0: rtems_bdbuf_release_modified[53]: successful completion
    457 bdt0: rtems_bdbuf_release_modified[54]: successful completion
    458 bdt0: rtems_bdbuf_release_modified[55]: successful completion
    459 bdt0: rtems_bdbuf_release_modified[56]: successful completion
    460 bdt0: rtems_bdbuf_release_modified[57]: successful completion
    461 bdt0: rtems_bdbuf_release_modified[58]: successful completion
    462 bdt0: rtems_bdbuf_release_modified[59]: successful completion
    463 bdt0: rtems_bdbuf_release_modified[60]: successful completion
    464 bdt0: rtems_bdbuf_release_modified[61]: successful completion
    465 bdt0: rtems_bdbuf_release_modified[62]: successful completion
    466 bdt0: rtems_bdbuf_release_modified[63]: successful completion
    467 bdt0: disk ioctl: wake watcher: 0a010003: successful completion
     436bdt0: rtems_bdbuf_release_modified[31]: RTEMS_SUCCESSFUL
     437bdt0: disk ioctl: wake watcher: 0a010003: RTEMS_SUCCESSFUL
     438bdt0: rtems_bdbuf_release_modified[32]: RTEMS_SUCCESSFUL
     439bdt0: rtems_bdbuf_release_modified[33]: RTEMS_SUCCESSFUL
     440bdt0: rtems_bdbuf_release_modified[34]: RTEMS_SUCCESSFUL
     441bdt0: rtems_bdbuf_release_modified[35]: RTEMS_SUCCESSFUL
     442bdt0: rtems_bdbuf_release_modified[36]: RTEMS_SUCCESSFUL
     443bdt0: rtems_bdbuf_release_modified[37]: RTEMS_SUCCESSFUL
     444bdt0: rtems_bdbuf_release_modified[38]: RTEMS_SUCCESSFUL
     445bdt0: rtems_bdbuf_release_modified[39]: RTEMS_SUCCESSFUL
     446bdt0: rtems_bdbuf_release_modified[40]: RTEMS_SUCCESSFUL
     447bdt0: rtems_bdbuf_release_modified[41]: RTEMS_SUCCESSFUL
     448bdt0: rtems_bdbuf_release_modified[42]: RTEMS_SUCCESSFUL
     449bdt0: rtems_bdbuf_release_modified[43]: RTEMS_SUCCESSFUL
     450bdt0: rtems_bdbuf_release_modified[44]: RTEMS_SUCCESSFUL
     451bdt0: rtems_bdbuf_release_modified[45]: RTEMS_SUCCESSFUL
     452bdt0: rtems_bdbuf_release_modified[46]: RTEMS_SUCCESSFUL
     453bdt0: rtems_bdbuf_release_modified[47]: RTEMS_SUCCESSFUL
     454bdt0: rtems_bdbuf_release_modified[48]: RTEMS_SUCCESSFUL
     455bdt0: rtems_bdbuf_release_modified[49]: RTEMS_SUCCESSFUL
     456bdt0: rtems_bdbuf_release_modified[50]: RTEMS_SUCCESSFUL
     457bdt0: rtems_bdbuf_release_modified[51]: RTEMS_SUCCESSFUL
     458bdt0: rtems_bdbuf_release_modified[52]: RTEMS_SUCCESSFUL
     459bdt0: rtems_bdbuf_release_modified[53]: RTEMS_SUCCESSFUL
     460bdt0: rtems_bdbuf_release_modified[54]: RTEMS_SUCCESSFUL
     461bdt0: rtems_bdbuf_release_modified[55]: RTEMS_SUCCESSFUL
     462bdt0: rtems_bdbuf_release_modified[56]: RTEMS_SUCCESSFUL
     463bdt0: rtems_bdbuf_release_modified[57]: RTEMS_SUCCESSFUL
     464bdt0: rtems_bdbuf_release_modified[58]: RTEMS_SUCCESSFUL
     465bdt0: rtems_bdbuf_release_modified[59]: RTEMS_SUCCESSFUL
     466bdt0: rtems_bdbuf_release_modified[60]: RTEMS_SUCCESSFUL
     467bdt0: rtems_bdbuf_release_modified[61]: RTEMS_SUCCESSFUL
     468bdt0: rtems_bdbuf_release_modified[62]: RTEMS_SUCCESSFUL
     469bdt0: rtems_bdbuf_release_modified[63]: RTEMS_SUCCESSFUL
     470bdt0: disk ioctl: wake watcher: 0a010003: RTEMS_SUCCESSFUL
    468471test 5: passed
    469472test 6: Task 0 release modified 4 buffers then syncs a 5th buffer
    470 master: wake task 0: 0a010003: successful completion
    471 bdt0: rtems_bdbuf_read[0]: successful completion
    472 bdt0: rtems_bdbuf_read[1]: successful completion
    473 bdt0: rtems_bdbuf_read[2]: successful completion
    474 bdt0: rtems_bdbuf_read[3]: successful completion
    475 bdt0: rtems_bdbuf_read[4]: successful completion
    476 bdt0: rtems_bdbuf_release_modified[0]: successful completion
    477 bdt0: rtems_bdbuf_release_modified[1]: successful completion
    478 bdt0: rtems_bdbuf_release_modified[2]: successful completion
    479 bdt0: rtems_bdbuf_release_modified[3]: successful completion
    480 bdt0: rtems_bdbuf_sync[4]: successful completion
     473master: wake task 0: 0a010003: bdt0: rtems_bdbuf_read[0]: RTEMS_SUCCESSFUL
     474bdt0: rtems_bdbuf_read[1]: RTEMS_SUCCESSFUL
     475bdt0: rtems_bdbuf_read[2]: RTEMS_SUCCESSFUL
     476bdt0: rtems_bdbuf_read[3]: RTEMS_SUCCESSFUL
     477bdt0: rtems_bdbuf_read[4]: RTEMS_SUCCESSFUL
     478bdt0: rtems_bdbuf_release_modified[0]: RTEMS_SUCCESSFUL
     479bdt0: rtems_bdbuf_release_modified[1]: RTEMS_SUCCESSFUL
     480bdt0: rtems_bdbuf_release_modified[2]: RTEMS_SUCCESSFUL
     481bdt0: rtems_bdbuf_release_modified[3]: RTEMS_SUCCESSFUL
     482bdt0: rtems_bdbuf_sync[4]: RTEMS_SUCCESSFUL
     483RTEMS_SUCCESSFUL
    481484test 6: passed
    482485test 7: Task 0 release modified 5 buffers then sync the device
    483 master: wake task 0: 0a010003: successful completion
    484 bdt0: rtems_bdbuf_read[0]: successful completion
    485 bdt0: rtems_bdbuf_read[1]: successful completion
    486 bdt0: rtems_bdbuf_read[2]: successful completion
    487 bdt0: rtems_bdbuf_read[3]: successful completion
    488 bdt0: rtems_bdbuf_read[4]: successful completion
    489 bdt0: rtems_bdbuf_release_modified[0]: successful completion
    490 bdt0: rtems_bdbuf_release_modified[1]: successful completion
    491 bdt0: rtems_bdbuf_release_modified[2]: successful completion
    492 bdt0: rtems_bdbuf_release_modified[3]: successful completion
    493 bdt0: rtems_bdbuf_release_modified[4]: successful completion
    494 bdt0: rtems_bdbuf_syncdev[5:2]: successful completion
     486master: wake task 0: 0a010003: bdt0: rtems_bdbuf_read[0]: RTEMS_SUCCESSFUL
     487bdt0: rtems_bdbuf_read[1]: RTEMS_SUCCESSFUL
     488bdt0: rtems_bdbuf_read[2]: RTEMS_SUCCESSFUL
     489bdt0: rtems_bdbuf_read[3]: RTEMS_SUCCESSFUL
     490bdt0: rtems_bdbuf_read[4]: RTEMS_SUCCESSFUL
     491bdt0: rtems_bdbuf_release_modified[0]: RTEMS_SUCCESSFUL
     492bdt0: rtems_bdbuf_release_modified[1]: RTEMS_SUCCESSFUL
     493bdt0: rtems_bdbuf_release_modified[2]: RTEMS_SUCCESSFUL
     494bdt0: rtems_bdbuf_release_modified[3]: RTEMS_SUCCESSFUL
     495bdt0: rtems_bdbuf_release_modified[4]: RTEMS_SUCCESSFUL
     496bdt0: rtems_bdbuf_syncdev[0: RTEMS_SUCCESSFUL
     497RTEMS_SUCCESSFUL
    495498test 7: passed
    496499test 8: Task 0 releases modified 5 buffers is out or order sequence and the driver checks the buffers are in order
    497 master: wake task 0: 0a010003: successful completion
    498 bdt0: rtems_bdbuf_read[0]: successful completion
    499 bdt0: rtems_bdbuf_read[1]: successful completion
    500 bdt0: rtems_bdbuf_read[2]: successful completion
    501 bdt0: rtems_bdbuf_read[3]: successful completion
    502 bdt0: rtems_bdbuf_read[4]: successful completion
    503 bdt0: rtems_bdbuf_release_modified[4]: successful completion
    504 bdt0: rtems_bdbuf_release_modified[3]: successful completion
    505 bdt0: rtems_bdbuf_release_modified[0]: successful completion
    506 bdt0: rtems_bdbuf_release_modified[1]: successful completion
    507 bdt0: rtems_bdbuf_release_modified[2]: successful completion
    508 bdt0: rtems_bdbuf_syncdev[3:2]: checking order
     500master: wake task 0: 0a010003: bdt0: rtems_bdbuf_read[0]: RTEMS_SUCCESSFUL
     501bdt0: rtems_bdbuf_read[1]: RTEMS_SUCCESSFUL
     502bdt0: rtems_bdbuf_read[2]: RTEMS_SUCCESSFUL
     503bdt0: rtems_bdbuf_read[3]: RTEMS_SUCCESSFUL
     504bdt0: rtems_bdbuf_read[4]: RTEMS_SUCCESSFUL
     505bdt0: rtems_bdbuf_release_modified[4]: RTEMS_SUCCESSFUL
     506bdt0: rtems_bdbuf_release_modified[3]: RTEMS_SUCCESSFUL
     507bdt0: rtems_bdbuf_release_modified[0]: RTEMS_SUCCESSFUL
     508bdt0: rtems_bdbuf_release_modified[1]: RTEMS_SUCCESSFUL
     509bdt0: rtems_bdbuf_release_modified[2]: RTEMS_SUCCESSFUL
     510bdt0: rtems_bdbuf_syncdev[0]: checking order
    509511disk ioctl: multi-block order check: count = 5
    510 bdt0: rtems_bdbuf_syncdev[3:2]: successful completion
     512bdt0: rtems_bdbuf_syncdev[0]: RTEMS_SUCCESSFUL
     513RTEMS_SUCCESSFUL
    511514test 8: passed
     515
    512516*** END OF TEST BLOCK 6 ***
  • testsuites/libtests/block06/init.c

    r6782771 rbde8be2  
    1818
    1919#include <errno.h>
     20#include <fcntl.h>
    2021#include <setjmp.h>
    2122#include <stdio.h>
     
    2526#include <sys/stat.h>
    2627#include <inttypes.h>
     28#include <unistd.h>
    2729
    2830#include <rtems.h>
     
    6062
    6163/**
    62  * Let the IO system allocation the next available major number.
    63  */
    64 #define RTEMS_DRIVER_AUTO_MAJOR (0)
    65 
    66 /**
    6764 * The bdbuf disk driver base name.
    6865 */
     
    8582typedef struct bdbuf_disk
    8683{
    87   const char*       name;
    88   rtems_id          lock;
    89   uint32_t          block_size;
    90   uint32_t          block_count;
    91   bdbuf_disk_action driver_action;
    92   const char*       watcher_name;
    93   rtems_id          watcher;
    94   int               watch_count;
    95   const char*       waiting_name;
    96   rtems_id          waiting;
    97   uint32_t          driver_sleep;
     84  const char*        name;
     85  uint32_t           minor;
     86  rtems_id           lock;
     87  uint32_t           block_size;
     88  uint32_t           block_count;
     89  bdbuf_disk_action  driver_action;
     90  const char*        watcher_name;
     91  rtems_id           watcher;
     92  int                watch_count;
     93  const char*        waiting_name;
     94  rtems_id           waiting;
     95  uint32_t           driver_sleep;
     96  rtems_disk_device* dd;
    9897} bdbuf_disk;
    9998
     
    113112  rtems_id                  master;
    114113  int                       test;
    115   rtems_device_major_number major;
    116   rtems_device_minor_number minor;
     114  bdbuf_disk               *bdd;
    117115  bool                      passed;
    118   rtems_disk_device        *dd;
    119116} bdbuf_task_control;
    120117
     
    256253   * Set up a disk watch and wait for the write to happen.
    257254   */
    258   bdbuf_disk_lock (&bdbuf_disks[tc->minor]);
    259   bdbuf_disks[tc->minor].watcher_name = tc->name;
    260   bdbuf_disks[tc->minor].watcher = tc->task;
    261   bdbuf_disks[tc->minor].watch_count = count;
    262   bdbuf_disk_unlock (&bdbuf_disks[tc->minor]);
     255  bdbuf_disk_lock (tc->bdd);
     256  tc->bdd->watcher_name = tc->name;
     257  tc->bdd->watcher = tc->task;
     258  tc->bdd->watch_count = count;
     259  bdbuf_disk_unlock (tc->bdd);
    263260}
    264261
     
    272269   * Set up a disk watch and wait for the write to happen.
    273270   */
    274   bdbuf_disk_lock (&bdbuf_disks[tc->minor]);
    275   bdbuf_disks[tc->minor].watcher_name = 0;
    276   bdbuf_disks[tc->minor].watcher = 0;
    277   bdbuf_disks[tc->minor].watch_count = 0;
    278   bdbuf_disk_unlock (&bdbuf_disks[tc->minor]);
     271  bdbuf_disk_lock (tc->bdd);
     272  tc->bdd->watcher_name = 0;
     273  tc->bdd->watcher = 0;
     274  tc->bdd->watch_count = 0;
     275  bdbuf_disk_unlock (tc->bdd);
    279276}
    280277
     
    305302   * Set up a disk action.
    306303   */
    307   bdbuf_disk_lock (&bdbuf_disks[tc->minor]);
    308   bdbuf_disks[tc->minor].driver_action = action;
    309   bdbuf_disk_unlock (&bdbuf_disks[tc->minor]);
     304  bdbuf_disk_lock (tc->bdd);
     305  tc->bdd->driver_action = action;
     306  bdbuf_disk_unlock (tc->bdd);
    310307}
    311308
     
    333330bdbuf_task_control_init (int                       task,
    334331                         bdbuf_task_control*       tc,
    335                          rtems_id                  master,
    336                          rtems_device_major_number major,
    337                          rtems_disk_device        *dd)
     332                         rtems_id                  master)
    338333{
    339334  char name[6];
     
    345340  tc->master = master;
    346341  tc->test   = 0;
    347   tc->major  = major;
    348   tc->minor  = 0;
     342  tc->bdd    = NULL;
    349343  tc->passed = false;
    350   tc->dd     = dd;
    351344}
    352345
     
    522515
    523516      default:
    524         errno = EINVAL;
     517        rtems_blkdev_ioctl (dd, req, argp);
    525518        break;
    526519    }
     
    533526}
    534527
    535 /**
    536  * BDBuf disk device driver initialization.
    537  *
    538  * @param major Disk major device number.
    539  * @param minor Minor device number, not applicable.
    540  * @param arg Initialization argument, not applicable.
    541  */
    542 static rtems_device_driver
    543 bdbuf_disk_initialize (rtems_device_major_number major,
    544                        rtems_device_minor_number minor,
    545                        void*                     arg)
    546 {
    547   rtems_status_code sc;
    548 
    549   printf ("disk io init: ");
    550   sc = rtems_disk_io_initialize ();
    551   if (!bdbuf_test_print_sc (sc, true))
    552     return sc;
     528static rtems_status_code
     529bdbuf_disk_initialize(void)
     530{
     531  uint32_t minor;
     532
     533  printf ("register disks\n");
    553534
    554535  for (minor = 0; minor < BDBUF_DISKS; minor++)
     
    557538    bdbuf_disk*       bdd = &bdbuf_disks[minor];
    558539    rtems_status_code sc;
     540    int               fd;
     541    int               rv;
    559542
    560543    snprintf (name, sizeof (name),
     
    562545
    563546    bdd->name = strdup (name);
     547    bdd->minor = minor;
    564548
    565549    printf ("disk init: %s\n", bdd->name);
     
    575559    bdd->block_count = BDBUF_SIZE * (minor + 1);
    576560
    577     sc = rtems_disk_create_phys(rtems_filesystem_make_dev_t (major, minor),
    578                                 bdd->block_size, bdd->block_count,
    579                                 bdbuf_disk_ioctl, bdd, name);
     561    sc = rtems_blkdev_create(name, bdd->block_size, bdd->block_count,
     562                             bdbuf_disk_ioctl, bdd);
    580563    if (sc != RTEMS_SUCCESSFUL)
    581564    {
     
    585568    }
    586569
    587   }
     570    fd = open(name, O_RDWR);
     571    rtems_test_assert(fd >= 0);
     572
     573    rv = rtems_disk_fd_get_disk_device(fd, &bdd->dd);
     574    rtems_test_assert(rv == 0);
     575
     576    rv = close(fd);
     577    rtems_test_assert(rv == 0);
     578  }
     579
    588580  return RTEMS_SUCCESSFUL;
    589 }
    590 
    591 /**
    592  * Create the RAM Disk Driver entry.
    593  */
    594 static rtems_driver_address_table bdbuf_disk_io_ops = {
    595   initialization_entry: bdbuf_disk_initialize,
    596   open_entry:           rtems_blkdev_generic_open,
    597   close_entry:          rtems_blkdev_generic_close,
    598   read_entry:           rtems_blkdev_generic_read,
    599   write_entry:          rtems_blkdev_generic_write,
    600   control_entry:        rtems_blkdev_generic_ioctl
    601 };
    602 
    603 /**
    604  * Set up the disk.
    605  */
    606 
    607 static bool
    608 bdbuf_tests_setup_disk (rtems_device_major_number *major,
    609                         rtems_disk_device        **dd_ptr)
    610 {
    611   rtems_status_code sc;
    612   bool ok;
    613 
    614   /*
    615    * Register the disk driver.
    616    */
    617   printf ("register disk driver\n");
    618 
    619   sc = rtems_io_register_driver (RTEMS_DRIVER_AUTO_MAJOR,
    620                                  &bdbuf_disk_io_ops,
    621                                  major);
    622   ok = sc == RTEMS_SUCCESSFUL;
    623 
    624   if (ok) {
    625     *dd_ptr = rtems_disk_obtain (rtems_filesystem_make_dev_t (*major, 0));
    626     ok = *dd_ptr != NULL;
    627   }
    628 
    629   return ok;
    630581}
    631582
     
    679630  {
    680631    printf ("%s: rtems_bdbuf_get[0]: ", tc->name);
    681     sc = rtems_bdbuf_get (tc->dd, 0, &bd);
     632    sc = rtems_bdbuf_get (tc->bdd->dd, 0, &bd);
    682633    if (!bdbuf_test_print_sc (sc, true))
    683634    {
     
    727678  {
    728679    printf ("%s: rtems_bdbuf_get[%d]: ", tc->name, i);
    729     sc = rtems_bdbuf_get (tc->dd, i, &bd);
     680    sc = rtems_bdbuf_get (tc->bdd->dd, i, &bd);
    730681    if (!bdbuf_test_print_sc (sc, true))
    731682      passed = false;
     
    792743  passed = true;
    793744
    794   bdbuf_disk_lock (&bdbuf_disks[tc->minor]);
    795   bdbuf_disks[tc->minor].driver_action = BDBUF_DISK_NOOP;
    796   bdbuf_disk_unlock (&bdbuf_disks[tc->minor]);
     745  bdbuf_disk_lock (tc->bdd);
     746  tc->bdd->driver_action = BDBUF_DISK_NOOP;
     747  bdbuf_disk_unlock (tc->bdd);
    797748
    798749  /*
     
    800751   */
    801752  printf ("%s: rtems_bdbuf_read[5]: ", tc->name);
    802   sc = rtems_bdbuf_read (tc->dd, 5, &bd);
     753  sc = rtems_bdbuf_read (tc->bdd->dd, 5, &bd);
    803754  if ((passed = bdbuf_test_print_sc (sc, true)))
    804755  {
     
    813764   */
    814765  printf ("%s: rtems_bdbuf_read[5]: ", tc->name);
    815   sc = rtems_bdbuf_read (tc->dd, 5, &bd);
     766  sc = rtems_bdbuf_read (tc->bdd->dd, 5, &bd);
    816767  if ((passed = bdbuf_test_print_sc (sc, true)))
    817768  {
     
    871822  {
    872823    printf ("%s: rtems_bdbuf_read[%zd]: ", tc->name, i);
    873     sc = rtems_bdbuf_read (tc->dd, i, &bd);
     824    sc = rtems_bdbuf_read (tc->bdd->dd, i, &bd);
    874825    if (!bdbuf_test_print_sc (sc, true))
    875826      passed = false;
     
    988939  {
    989940    printf ("%s: rtems_bdbuf_read[%d]: ", tc->name, i);
    990     sc = rtems_bdbuf_get (tc->dd, i, &bd);
     941    sc = rtems_bdbuf_get (tc->bdd->dd, i, &bd);
    991942    if (!bdbuf_test_print_sc (sc, true))
    992943      passed = false;
     
    1045996  {
    1046997    printf ("%s: rtems_bdbuf_read[%d]: ", tc->name, i);
    1047     sc = rtems_bdbuf_get (tc->dd, i, &bd);
     998    sc = rtems_bdbuf_get (tc->bdd->dd, i, &bd);
    1048999    if (!bdbuf_test_print_sc (sc, true))
    10491000      passed = false;
     
    10631014  if (passed)
    10641015  {
    1065     printf ("%s: rtems_bdbuf_syncdev[%" PRIuLEAST32 ":%" PRIuLEAST32 "]: ",
     1016    printf ("%s: rtems_bdbuf_syncdev[%" PRIu32 ": ",
    10661017                       tc->name,
    1067                        tc->major,
    1068                        tc->minor);
    1069     passed = bdbuf_test_print_sc (rtems_bdbuf_syncdev (tc->dd), true);
     1018                       tc->bdd->minor);
     1019    passed = bdbuf_test_print_sc (rtems_bdbuf_syncdev (tc->bdd->dd), true);
    10701020  }
    10711021
     
    11051055  {
    11061056    printf ("%s: rtems_bdbuf_read[%d]: ", tc->name, i);
    1107     sc = rtems_bdbuf_get (tc->dd, i, &bd);
     1057    sc = rtems_bdbuf_get (tc->bdd->dd, i, &bd);
    11081058    if (!bdbuf_test_print_sc (sc, true))
    11091059      passed = false;
     
    11451095    bdbuf_set_disk_driver_action (tc, BDBUF_DISK_BLOCKS_INORDER);
    11461096
    1147     printf ("%s: rtems_bdbuf_syncdev[%" PRIuLEAST32 ":%" PRIiLEAST32 "]: checking order\n",
     1097    printf ("%s: rtems_bdbuf_syncdev[%" PRIu32 "]: checking order\n",
    11481098                       tc->name,
    1149                        tc->major,
    1150                        tc->minor);
    1151     sc = rtems_bdbuf_syncdev (tc->dd);
    1152     printf ("%s: rtems_bdbuf_syncdev[%" PRIuLEAST32 ":%" PRIuLEAST32 "]: ",
     1099                       tc->bdd->minor);
     1100    sc = rtems_bdbuf_syncdev (tc->bdd->dd);
     1101    printf ("%s: rtems_bdbuf_syncdev[%" PRIu32 "]: ",
    11531102                       tc->name,
    1154                        tc->major,
    1155                        tc->minor);
     1103                       tc->bdd->minor);
    11561104    passed = bdbuf_test_print_sc (sc, true);
    11571105  }
     
    12481196  {
    12491197    printf ("%s: rtems_bdbuf_get[%d]: blocking ...\n", tc->name, i);
    1250     sc = rtems_bdbuf_get (tc->dd, i, &bd);
     1198    sc = rtems_bdbuf_get (tc->bdd->dd, i, &bd);
    12511199    printf ("%s: rtems_bdbuf_get[%d]: ", tc->name, i);
    12521200    if (!bdbuf_test_print_sc (sc, true))
     
    14371385   * Use pool 0.
    14381386   */
    1439   tasks[0].minor = 0;
     1387  tasks[0].bdd = &bdbuf_disks[0];
    14401388
    14411389  bdbuf_send_wait_event ("master", "wake task 0", tasks[0].task);
     
    14631411   * Use pool 0.
    14641412   */
    1465   tasks[0].minor = 0;
    1466   tasks[1].minor = 0;
    1467   tasks[2].minor = 0;
     1413  tasks[0].bdd = &bdbuf_disks[0];
     1414  tasks[1].bdd = &bdbuf_disks[0];
     1415  tasks[2].bdd = &bdbuf_disks[0];
    14681416
    14691417  /*
     
    15181466   * Use pool 0.
    15191467   */
    1520   tasks[0].minor = 0;
     1468  tasks[0].bdd = &bdbuf_disks[0];
    15211469
    15221470  /*
     
    15431491   * Use pool 0.
    15441492   */
    1545   tasks[0].minor = 0;
    1546   tasks[1].minor = 0;
     1493  tasks[0].bdd = &bdbuf_disks[0];
     1494  tasks[1].bdd = &bdbuf_disks[0];
    15471495
    15481496  /*
     
    15891537   * Use pool 0.
    15901538   */
    1591   tasks[0].minor = 0;
    1592   tasks[1].minor = 0;
     1539  tasks[0].bdd = &bdbuf_disks[0];
     1540  tasks[1].bdd = &bdbuf_disks[0];
    15931541
    15941542  /*
     
    16331581   * Use pool 0.
    16341582   */
    1635   tasks[0].minor = 0;
     1583  tasks[0].bdd = &bdbuf_disks[0];
    16361584
    16371585  /*
     
    16561604   * Use pool 0.
    16571605   */
    1658   tasks[0].minor = 0;
     1606  tasks[0].bdd = &bdbuf_disks[0];
    16591607
    16601608  /*
     
    16791627   * Use pool 0.
    16801628   */
    1681   tasks[0].minor = 0;
     1629  tasks[0].bdd = &bdbuf_disks[0];
    16821630
    16831631  /*
     
    17511699bdbuf_tester (void)
    17521700{
    1753   rtems_device_major_number major;
    17541701  bdbuf_task_control        tasks[BDBUF_TEST_TASKS];
    17551702  rtems_task_priority       old_priority;
    17561703  int                       t;
    17571704  bool                      passed = true;
    1758   rtems_disk_device        *dd;
     1705  rtems_status_code         sc;
     1706
     1707  sc = bdbuf_disk_initialize();
     1708  rtems_test_assert(sc == RTEMS_SUCCESSFUL);
    17591709
    17601710  /*
     
    17681718
    17691719  /*
    1770    * This sets up the buffer pools.
    1771    */
    1772   if (!bdbuf_tests_setup_disk (&major, &dd))
    1773   {
    1774     printf ("disk set up failed\n");
    1775     return;
    1776   }
    1777 
    1778   /*
    17791720   * Make sure the swapout task has run. The user could block
    17801721   * the swapout task from running until later. This is not
     
    17901731  {
    17911732    bdbuf_task_control_init (t, &tasks[t],
    1792                              rtems_task_self (),
    1793                              major,
    1794                              dd);
     1733                             rtems_task_self ());
    17951734
    17961735    if (!bdbuf_tests_create_task (&tasks[t],
     
    18331772#define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
    18341773
     1774#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 4
     1775
    18351776#define CONFIGURE_BDBUF_TASK_STACK_SIZE BDBUF_TEST_STACK_SIZE
    18361777
    18371778#define CONFIGURE_MAXIMUM_TASKS (1 + BDBUF_TEST_TASKS)
    1838 #define CONFIGURE_MAXIMUM_DRIVERS 3
    18391779#define CONFIGURE_MAXIMUM_SEMAPHORES 2
    18401780
Note: See TracChangeset for help on using the changeset viewer.