stderr5
11.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
DEBUG BBCInit: ./testfile type 3
INFO new_file ./testfile
INFO ./testfile: nblks 4096
DEBUG read_fat_blk 4095: seqno 16 link 0
DEBUG read_fat_blk 4094: seqno 17 link 0
DEBUG read_fat_blk 4093: seqno 18 link 0
DEBUG read_fat_blk 4092: seqno 19 link 0
DEBUG read_fat_blk 4091: seqno 20 link 0
DEBUG read_fat_blk 4090: seqno 21 link 0
DEBUG read_fat_blk 4089: seqno 22 link 0
DEBUG read_fat_blk 4088: seqno 23 link 0
DEBUG read_fat_blk 4087: seqno 8 link 0
DEBUG read_fat_blk 4086: seqno 9 link 0
DEBUG read_fat_blk 4085: seqno 10 link 0
DEBUG read_fat_blk 4084: seqno 11 link 0
DEBUG read_fat_blk 4083: seqno 12 link 0
DEBUG read_fat_blk 4082: seqno 13 link 0
DEBUG read_fat_blk 4081: seqno 14 link 0
DEBUG read_fat_blk 4080: seqno 15 link 0
DEBUG read_fat: best seq = 23
DEBUG __osBbFCheck
DEBUG __osBbFCheck blks 4096
DEBUG __osBbFCheck done: 0 files
DEBUG fdelete temp.tmp
DEBUG fdelete returns -14
DEBUG rsa: link -> 12
DEBUG rsa: link -> 11
DEBUG rsa: link -> 10
DEBUG rsa: link -> 9
DEBUG rsa: link -> 8
DEBUG rsa: link -> 7
DEBUG rsa: link -> 6
DEBUG rsa: link -> 5
DEBUG rsa: link -> 13
DEBUG rsa: link -> 59
DEBUG rsa: link -> 58
DEBUG rsa: link -> 57
DEBUG rsa: link -> 56
DEBUG rsa: link -> 55
DEBUG rsa: link -> 54
DEBUG rsa: link -> 53
DEBUG rsa: link -> 52
DEBUG rsa: link -> 51
DEBUG rsa: link -> 50
DEBUG rsa: link -> 49
DEBUG rsa: link -> 48
DEBUG rsa: link -> 47
DEBUG rsa: link -> 46
DEBUG rsa: link -> 45
DEBUG rsa: link -> 44
DEBUG rsa: link -> 43
DEBUG rsa: link -> 42
DEBUG rsa: link -> 41
DEBUG rsa: link -> 40
DEBUG rsa: link -> 39
DEBUG rsa: link -> 38
DEBUG rsa: link -> 37
DEBUG rsa: link -> 36
DEBUG rsa: link -> 35
DEBUG rsa: link -> 34
DEBUG rsa: link -> 33
DEBUG rsa: link -> 32
DEBUG rsa: link -> 31
DEBUG rsa: link -> 30
DEBUG rsa: link -> 29
DEBUG rsa: link -> 28
DEBUG rsa: link -> 27
DEBUG rsa: link -> 26
DEBUG rsa: link -> 25
DEBUG rsa: link -> 24
DEBUG rsa: link -> 23
DEBUG rsa: link -> 22
DEBUG rsa: link -> 21
DEBUG rsa: link -> 20
DEBUG rsa: link -> 19
DEBUG rsa: link -> 18
DEBUG rsa: link -> 17
DEBUG rsa: link -> 16
DEBUG rsa: link -> 15
DEBUG rsa: link -> 14
DEBUG rsa: link -> 255
INFO compare_sksa: returns 0
INFO __BBCVerifySKSA: 0 of 983040 bytes matched
DEBUG SA1Len=131072, SA1Blocks=8
INFO Rewrite SKSA skipping first 0 blocks (0 bytes)
DEBUG FsSync returns 0
DEBUG Write SA: currblk=4, badblks=0, buf=Address, len=147456, skipblks=-4
DEBUG __bbc_write_system_app: link 5-> 255
DEBUG __bbc_write_system_app: link 6-> 5
DEBUG __bbc_write_system_app: link 7-> 6
DEBUG __bbc_write_system_app: link 8-> 7
DEBUG __bbc_write_system_app: link 9-> 8
DEBUG __bbc_write_system_app: link 10-> 9
DEBUG __bbc_write_system_app: link 11-> 10
DEBUG __bbc_write_system_app: link 12-> 11
DEBUG license blk 4 -> 12 (off 0)
DEBUG FsSync returns 0
DEBUG Write SA: currblk=13, badblks=0, buf=Address, len=770048, skipblks=-13
DEBUG __bbc_write_system_app: link 14-> 255
DEBUG __bbc_write_system_app: link 15-> 14
DEBUG __bbc_write_system_app: link 16-> 15
DEBUG __bbc_write_system_app: link 17-> 16
DEBUG __bbc_write_system_app: link 18-> 17
DEBUG __bbc_write_system_app: link 19-> 18
DEBUG __bbc_write_system_app: link 20-> 19
DEBUG __bbc_write_system_app: link 21-> 20
DEBUG __bbc_write_system_app: link 22-> 21
DEBUG __bbc_write_system_app: link 23-> 22
DEBUG __bbc_write_system_app: link 24-> 23
DEBUG __bbc_write_system_app: link 25-> 24
DEBUG __bbc_write_system_app: link 26-> 25
DEBUG __bbc_write_system_app: link 27-> 26
DEBUG __bbc_write_system_app: link 28-> 27
DEBUG __bbc_write_system_app: link 29-> 28
DEBUG __bbc_write_system_app: link 30-> 29
DEBUG __bbc_write_system_app: link 31-> 30
DEBUG __bbc_write_system_app: link 32-> 31
DEBUG __bbc_write_system_app: link 33-> 32
DEBUG __bbc_write_system_app: link 34-> 33
DEBUG __bbc_write_system_app: link 35-> 34
DEBUG __bbc_write_system_app: link 36-> 35
DEBUG __bbc_write_system_app: link 37-> 36
DEBUG __bbc_write_system_app: link 38-> 37
DEBUG __bbc_write_system_app: link 39-> 38
DEBUG __bbc_write_system_app: link 40-> 39
DEBUG __bbc_write_system_app: link 41-> 40
DEBUG __bbc_write_system_app: link 42-> 41
DEBUG __bbc_write_system_app: link 43-> 42
DEBUG __bbc_write_system_app: link 44-> 43
DEBUG __bbc_write_system_app: link 45-> 44
DEBUG __bbc_write_system_app: link 46-> 45
DEBUG __bbc_write_system_app: link 47-> 46
DEBUG __bbc_write_system_app: link 48-> 47
DEBUG __bbc_write_system_app: link 49-> 48
DEBUG __bbc_write_system_app: link 50-> 49
DEBUG __bbc_write_system_app: link 51-> 50
DEBUG __bbc_write_system_app: link 52-> 51
DEBUG __bbc_write_system_app: link 53-> 52
DEBUG __bbc_write_system_app: link 54-> 53
DEBUG __bbc_write_system_app: link 55-> 54
DEBUG __bbc_write_system_app: link 56-> 55
DEBUG __bbc_write_system_app: link 57-> 56
DEBUG __bbc_write_system_app: link 58-> 57
DEBUG __bbc_write_system_app: link 59-> 58
DEBUG license blk 13 -> 59 (off 0)
DEBUG FsSync returns 0
DEBUG SA1 last blk 5 -> 13 (off 12)
DEBUG FsSync returns 0
DEBUG rsa: link -> 12
DEBUG rsa: link -> 11
DEBUG rsa: link -> 10
DEBUG rsa: link -> 9
DEBUG rsa: link -> 8
DEBUG rsa: link -> 7
DEBUG rsa: link -> 6
DEBUG rsa: link -> 5
DEBUG rsa: link -> 13
DEBUG rsa: link -> 59
DEBUG rsa: link -> 58
DEBUG rsa: link -> 57
DEBUG rsa: link -> 56
DEBUG rsa: link -> 55
DEBUG rsa: link -> 54
DEBUG rsa: link -> 53
DEBUG rsa: link -> 52
DEBUG rsa: link -> 51
DEBUG rsa: link -> 50
DEBUG rsa: link -> 49
DEBUG rsa: link -> 48
DEBUG rsa: link -> 47
DEBUG rsa: link -> 46
DEBUG rsa: link -> 45
DEBUG rsa: link -> 44
DEBUG rsa: link -> 43
DEBUG rsa: link -> 42
DEBUG rsa: link -> 41
DEBUG rsa: link -> 40
DEBUG rsa: link -> 39
DEBUG rsa: link -> 38
DEBUG rsa: link -> 37
DEBUG rsa: link -> 36
DEBUG rsa: link -> 35
DEBUG rsa: link -> 34
DEBUG rsa: link -> 33
DEBUG rsa: link -> 32
DEBUG rsa: link -> 31
DEBUG rsa: link -> 30
DEBUG rsa: link -> 29
DEBUG rsa: link -> 28
DEBUG rsa: link -> 27
DEBUG rsa: link -> 26
DEBUG rsa: link -> 25
DEBUG rsa: link -> 24
DEBUG rsa: link -> 23
DEBUG rsa: link -> 22
DEBUG rsa: link -> 21
DEBUG rsa: link -> 20
DEBUG rsa: link -> 19
DEBUG rsa: link -> 18
DEBUG rsa: link -> 17
DEBUG rsa: link -> 16
DEBUG rsa: link -> 15
DEBUG rsa: link -> 14
DEBUG rsa: link -> 255
DEBUG compare_sksa: SKSA same, nothing to do
INFO compare_sksa: returns 983040
DEBUG __BBCVerifySKSA: after write 983040 of 983040 bytes matched
DEBUG __BBC_CountFAT
INFO BBCStats: files 0, free 4016, used 0, bad 0 (threshold 70) reserved 80
INFO BBCStats: bad in SKSA 0, FS 0, FAT 0
DEBUG BBCClose 0
uhCloseGame: Bad file descriptor
DEBUG BBCInit: ./testfile type 3
INFO new_file ./testfile
INFO ./testfile: nblks 4096
WARN blk 4 gives err on write
DEBUG read_fat_blk 4095: seqno 16 link 0
DEBUG read_fat_blk 4094: seqno 17 link 0
DEBUG read_fat_blk 4093: seqno 18 link 0
DEBUG read_fat_blk 4092: seqno 19 link 0
DEBUG read_fat_blk 4091: seqno 20 link 0
DEBUG read_fat_blk 4090: seqno 21 link 0
DEBUG read_fat_blk 4089: seqno 22 link 0
DEBUG read_fat_blk 4088: seqno 23 link 0
DEBUG read_fat_blk 4087: seqno 24 link 0
DEBUG read_fat_blk 4086: seqno 25 link 0
DEBUG read_fat_blk 4085: seqno 26 link 0
DEBUG read_fat_blk 4084: seqno 27 link 0
DEBUG read_fat_blk 4083: seqno 12 link 0
DEBUG read_fat_blk 4082: seqno 13 link 0
DEBUG read_fat_blk 4081: seqno 14 link 0
DEBUG read_fat_blk 4080: seqno 15 link 0
DEBUG read_fat: best seq = 27
DEBUG __osBbFCheck
DEBUG __osBbFCheck blks 4096
DEBUG __osBbFCheck done: 0 files
DEBUG fdelete temp.tmp
DEBUG fdelete returns -14
DEBUG __BBC_CountFAT
INFO BBCStats: files 0, free 4016, used 0, bad 0 (threshold 70) reserved 80
INFO BBCStats: bad in SKSA 0, FS 0, FAT 0
DEBUG rsa: link -> 12
DEBUG rsa: link -> 11
DEBUG rsa: link -> 10
DEBUG rsa: link -> 9
DEBUG rsa: link -> 8
DEBUG rsa: link -> 7
DEBUG rsa: link -> 6
DEBUG rsa: link -> 5
DEBUG rsa: link -> 13
DEBUG rsa: link -> 59
DEBUG rsa: link -> 58
DEBUG rsa: link -> 57
DEBUG rsa: link -> 56
DEBUG rsa: link -> 55
DEBUG rsa: link -> 54
DEBUG rsa: link -> 53
DEBUG rsa: link -> 52
DEBUG rsa: link -> 51
DEBUG rsa: link -> 50
DEBUG rsa: link -> 49
DEBUG rsa: link -> 48
DEBUG rsa: link -> 47
DEBUG rsa: link -> 46
DEBUG rsa: link -> 45
DEBUG rsa: link -> 44
DEBUG rsa: link -> 43
DEBUG rsa: link -> 42
DEBUG rsa: link -> 41
DEBUG rsa: link -> 40
DEBUG rsa: link -> 39
DEBUG rsa: link -> 38
DEBUG rsa: link -> 37
DEBUG rsa: link -> 36
DEBUG rsa: link -> 35
DEBUG rsa: link -> 34
DEBUG rsa: link -> 33
DEBUG rsa: link -> 32
DEBUG rsa: link -> 31
DEBUG rsa: link -> 30
DEBUG rsa: link -> 29
DEBUG rsa: link -> 28
DEBUG rsa: link -> 27
DEBUG rsa: link -> 26
DEBUG rsa: link -> 25
DEBUG rsa: link -> 24
DEBUG rsa: link -> 23
DEBUG rsa: link -> 22
DEBUG rsa: link -> 21
DEBUG rsa: link -> 20
DEBUG rsa: link -> 19
DEBUG rsa: link -> 18
DEBUG rsa: link -> 17
DEBUG rsa: link -> 16
DEBUG rsa: link -> 15
DEBUG rsa: link -> 14
DEBUG rsa: link -> 255
INFO compare_sksa: returns 0
INFO __BBCVerifySKSA: 0 of 983040 bytes matched
DEBUG SA1Len=131072, SA1Blocks=8
INFO Rewrite SKSA skipping first 0 blocks (0 bytes)
DEBUG FsSync returns 0
DEBUG Write SA: currblk=4, badblks=0, buf=Address, len=147456, skipblks=-4
WARN __bbc_write_system_app: write 4 failed with -12
DEBUG __bbc_write_system_app: t1 blk 4 write failed
CRIT Error writing SA1 -25
ERROR __BBCVerifySKSA fails: write_system_area returns -25
DEBUG rsa: link -> 12
DEBUG rsa: link -> 11
DEBUG rsa: link -> 10
DEBUG rsa: link -> 9
DEBUG rsa: link -> 8
DEBUG rsa: link -> 7
DEBUG rsa: link -> 6
DEBUG rsa: link -> 5
DEBUG rsa: link -> 13
DEBUG rsa: link -> 59
DEBUG rsa: link -> 58
DEBUG rsa: link -> 57
DEBUG rsa: link -> 56
DEBUG rsa: link -> 55
DEBUG rsa: link -> 54
DEBUG rsa: link -> 53
DEBUG rsa: link -> 52
DEBUG rsa: link -> 51
DEBUG rsa: link -> 50
DEBUG rsa: link -> 49
DEBUG rsa: link -> 48
DEBUG rsa: link -> 47
DEBUG rsa: link -> 46
DEBUG rsa: link -> 45
DEBUG rsa: link -> 44
DEBUG rsa: link -> 43
DEBUG rsa: link -> 42
DEBUG rsa: link -> 41
DEBUG rsa: link -> 40
DEBUG rsa: link -> 39
DEBUG rsa: link -> 38
DEBUG rsa: link -> 37
DEBUG rsa: link -> 36
DEBUG rsa: link -> 35
DEBUG rsa: link -> 34
DEBUG rsa: link -> 33
DEBUG rsa: link -> 32
DEBUG rsa: link -> 31
DEBUG rsa: link -> 30
DEBUG rsa: link -> 29
DEBUG rsa: link -> 28
DEBUG rsa: link -> 27
DEBUG rsa: link -> 26
DEBUG rsa: link -> 25
DEBUG rsa: link -> 24
DEBUG rsa: link -> 23
DEBUG rsa: link -> 22
DEBUG rsa: link -> 21
DEBUG rsa: link -> 20
DEBUG rsa: link -> 19
DEBUG rsa: link -> 18
DEBUG rsa: link -> 17
DEBUG rsa: link -> 16
DEBUG rsa: link -> 15
DEBUG rsa: link -> 14
DEBUG rsa: link -> 255
INFO compare_sksa: returns 65536
INFO __BBCVerifySKSA: 65536 of 983040 bytes matched
DEBUG SA1Len=131072, SA1Blocks=8
INFO Rewrite SKSA skipping first 4 blocks (65536 bytes)
DEBUG skipping block 0
DEBUG skipping block 1
DEBUG skipping block 2
DEBUG skipping block 3
DEBUG FsSync returns 0
DEBUG Write SA: currblk=4, badblks=0, buf=Address, len=147456, skipblks=0
WARN __bbc_write_system_app: write 4 failed with -12
DEBUG __bbc_write_system_app: t1 blk 4 write failed
CRIT Error writing SA1 -25
ERROR __BBCVerifySKSA fails: write_system_area returns -25
DEBUG __BBC_CountFAT
INFO BBCStats: files 0, free 4016, used 0, bad 0 (threshold 70) reserved 80
INFO BBCStats: bad in SKSA 0, FS 0, FAT 0
DEBUG BBCClose 0
uhCloseGame: Bad file descriptor