⬢ DragonFlyBSD Kernel Audit
DF-2214 / run.log
← back to finding ↓ download raw
[build] tree file /usr/src/sys/dev/drm/radeon/rv770_dma.c sha256 = b33101a3cce7eba62ac2d1dda4e1ec0f7225028942cdbb1cafd1c9a2670e33d9
[build] verbatim rv770_copy_dma (lines 42-94) sha256 = c1b2d82ab166f9e04f7158a8d6fe0506d22ee1c6f05aca121ca0ac9b5a6b547c
[build] extraction cross-check OK (line-range == pattern)
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- a/sys/dev/drm/radeon/rv770_dma.c
|+++ b/sys/dev/drm/radeon/rv770_dma.c
--------------------------
Patching file sys/dev/drm/radeon/rv770_dma.c using Plan A...
Hunk #1 succeeded at 48.
done
[build] fixed variant extracted (fix.diff + rename only)
[build] assembled df2214_rig.c: head + BASELINE-verbatim + FIXED-verbatim + tail
In file included from df2214_rig.c:24:
/usr/src/sys/sys/systm.h:216:5: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch]
 int log (int, const char *, ...) __printflike(2, 3);
     ^~~
[build] built /root/df2214/df2214_rig.ko (baseline + fixed in ONE module)
--- run_extract.log ---
DF2214 RIG start: kernel-resident verbatim rv770_copy_dma (baseline) + fix.diff variant
DF2214 CASE variant=BASELINE pages=0x000fffff ring=big4M(4194304 bytes)
DF2214   requested_bytes=4294963200 (0xfffff000) attempted_ndw=81933 lock_rc=0
DF2214   num_loops=16385 copy_packets=16385 sum_chunk_dw=1073740800 max_chunk=65535 min_chunk=15360 ring_writes=81925
DF2214   first_pkt=0x3000ffff (cmd=3 n=65535) first5=[3000ffff ba987654 56789abc 000000dc 00000034]
DF2214   scheduled_bytes=4294963200 (100.0000% of request) fence_emitted=1 ring=3 seq=1
DF2214   integrity: canaries=INTACT count_dw_final=8 underruns=0 drm_errors=0 sync{c=1 r=1 g=1 f=1} commit=1
DF2214   VERDICT: FULL_COPY
DF2214 CASE variant=BASELINE pages=0x00100000 ring=big4M(4194304 bytes)
DF2214   requested_bytes=4294967296 (0x100000000) attempted_ndw=8 lock_rc=0
DF2214   num_loops=0 copy_packets=0 sum_chunk_dw=0 max_chunk=0 min_chunk=4294967295 ring_writes=0
DF2214   first_pkt=0x00000000 (cmd=0 n=0) first5=[00000000 00000000 00000000 00000000 00000000]
DF2214   scheduled_bytes=0 (0.0000% of request) fence_emitted=1 ring=3 seq=1
DF2214   integrity: canaries=INTACT count_dw_final=8 underruns=0 drm_errors=0 sync{c=1 r=1 g=1 f=1} commit=1
DF2214   VERDICT: SILENT_TRUNCATION (fence says success, 0 of 4294967296 bytes scheduled)
DF2214 CASE variant=BASELINE pages=0x00100001 ring=big4M(4194304 bytes)
DF2214   requested_bytes=4294971392 (0x100001000) attempted_ndw=13 lock_rc=0
DF2214   num_loops=1 copy_packets=1 sum_chunk_dw=1024 max_chunk=1024 min_chunk=1024 ring_writes=5
DF2214   first_pkt=0x30000400 (cmd=3 n=1024) first5=[30000400 ba987654 56789abc 000000dc 00000034]
DF2214   scheduled_bytes=4096 (0.0000% of request) fence_emitted=1 ring=3 seq=1
DF2214   integrity: canaries=INTACT count_dw_final=8 underruns=0 drm_errors=0 sync{c=1 r=1 g=1 f=1} commit=1
DF2214   VERDICT: SILENT_TRUNCATION (fence says success, 4096 of 4294971392 bytes scheduled)
DF2214 CASE variant=BASELINE pages=0x00100800 ring=big4M(4194304 bytes)
DF2214   requested_bytes=4303355904 (0x100800000) attempted_ndw=173 lock_rc=0
DF2214   num_loops=33 copy_packets=33 sum_chunk_dw=2097152 max_chunk=65535 min_chunk=32 ring_writes=165
DF2214   first_pkt=0x3000ffff (cmd=3 n=65535) first5=[3000ffff ba987654 56789abc 000000dc 00000034]
DF2214   scheduled_bytes=8388608 (0.1949% of request) fence_emitted=1 ring=3 seq=1
DF2214   integrity: canaries=INTACT count_dw_final=8 underruns=0 drm_errors=0 sync{c=1 r=1 g=1 f=1} commit=1
DF2214   VERDICT: SILENT_TRUNCATION (fence says success, 8388608 of 4303355904 bytes scheduled)
DF2214 CASE variant=BASELINE pages=0xc0000000 ring=big4M(4194304 bytes)
DF2214   requested_bytes=13194139533312 (0xc0000000000) attempted_ndw=8 lock_rc=0
DF2214   num_loops=0 copy_packets=0 sum_chunk_dw=0 max_chunk=0 min_chunk=4294967295 ring_writes=0
DF2214   first_pkt=0x00000000 (cmd=0 n=0) first5=[00000000 00000000 00000000 00000000 00000000]
DF2214   scheduled_bytes=0 (0.0000% of request) fence_emitted=1 ring=3 seq=1
DF2214   integrity: canaries=INTACT count_dw_final=8 underruns=0 drm_errors=0 sync{c=1 r=1 g=1 f=1} commit=1
DF2214   VERDICT: SILENT_TRUNCATION (fence says success, 0 of 13194139533312 bytes scheduled)
DF2214 CASE variant=BASELINE pages=0x00008000 ring=real64K(65536 bytes)
DF2214   requested_bytes=134217728 (0x8000000) attempted_ndw=2573 lock_rc=0
DF2214   num_loops=513 copy_packets=513 sum_chunk_dw=33554432 max_chunk=65535 min_chunk=512 ring_writes=2565
DF2214   first_pkt=0x3000ffff (cmd=3 n=65535) first5=[3000ffff ba987654 56789abc 000000dc 00000034]
DF2214   scheduled_bytes=134217728 (100.0000% of request) fence_emitted=1 ring=3 seq=1
DF2214   integrity: canaries=INTACT count_dw_final=8 underruns=0 drm_errors=0 sync{c=1 r=1 g=1 f=1} commit=1
DF2214   VERDICT: FULL_COPY
DF2214   [DRM_ERROR] radeon: moving bo (-12).
DF2214 CASE variant=BASELINE pages=0x000fffff ring=real64K(65536 bytes)
DF2214   requested_bytes=4294963200 (0xfffff000) attempted_ndw=81933 lock_rc=-12
DF2214   ERR_PTR(-12): ring reservation refused, ZERO packets, NO fence - loud failure
DF2214   VERDICT: ERR_PTR_FAIL
DF2214 CASE variant=BASELINE pages=0x00100000 ring=real64K(65536 bytes)
DF2214   requested_bytes=4294967296 (0x100000000) attempted_ndw=8 lock_rc=0
DF2214   num_loops=0 copy_packets=0 sum_chunk_dw=0 max_chunk=0 min_chunk=4294967295 ring_writes=0
DF2214   first_pkt=0x00000000 (cmd=0 n=0) first5=[00000000 00000000 00000000 00000000 00000000]
DF2214   scheduled_bytes=0 (0.0000% of request) fence_emitted=1 ring=3 seq=1
DF2214   integrity: canaries=INTACT count_dw_final=8 underruns=0 drm_errors=0 sync{c=1 r=1 g=1 f=1} commit=1
DF2214   VERDICT: SILENT_TRUNCATION (fence says success, 0 of 4294967296 bytes scheduled)
DF2214 CASE variant=FIXED pages=0x000fffff ring=big4M(4194304 bytes)
DF2214   requested_bytes=4294963200 (0xfffff000) attempted_ndw=81933 lock_rc=0
DF2214   num_loops=16385 copy_packets=16385 sum_chunk_dw=1073740800 max_chunk=65535 min_chunk=15360 ring_writes=81925
DF2214   first_pkt=0x3000ffff (cmd=3 n=65535) first5=[3000ffff ba987654 56789abc 000000dc 00000034]
DF2214   scheduled_bytes=4294963200 (100.0000% of request) fence_emitted=1 ring=3 seq=1
DF2214   integrity: canaries=INTACT count_dw_final=8 underruns=0 drm_errors=0 sync{c=1 r=1 g=1 f=1} commit=1
DF2214   VERDICT: FULL_COPY
DF2214 CASE variant=FIXED pages=0x00100000 ring=big4M(4194304 bytes)
DF2214   requested_bytes=4294967296 (0x100000000) attempted_ndw=81933 lock_rc=0
DF2214   num_loops=16385 copy_packets=16385 sum_chunk_dw=1073741824 max_chunk=65535 min_chunk=16384 ring_writes=81925
DF2214   first_pkt=0x3000ffff (cmd=3 n=65535) first5=[3000ffff ba987654 56789abc 000000dc 00000034]
DF2214   scheduled_bytes=4294967296 (100.0000% of request) fence_emitted=1 ring=3 seq=1
DF2214   integrity: canaries=INTACT count_dw_final=8 underruns=0 drm_errors=0 sync{c=1 r=1 g=1 f=1} commit=1
DF2214   VERDICT: FULL_COPY
DF2214 CASE variant=FIXED pages=0x00100001 ring=big4M(4194304 bytes)
DF2214   requested_bytes=4294971392 (0x100001000) attempted_ndw=81933 lock_rc=0
DF2214   num_loops=16385 copy_packets=16385 sum_chunk_dw=1073742848 max_chunk=65535 min_chunk=17408 ring_writes=81925
DF2214   first_pkt=0x3000ffff (cmd=3 n=65535) first5=[3000ffff ba987654 56789abc 000000dc 00000034]
DF2214   scheduled_bytes=4294971392 (100.0000% of request) fence_emitted=1 ring=3 seq=1
DF2214   integrity: canaries=INTACT count_dw_final=8 underruns=0 drm_errors=0 sync{c=1 r=1 g=1 f=1} commit=1
DF2214   VERDICT: FULL_COPY
DF2214 CASE variant=FIXED pages=0x00100800 ring=big4M(4194304 bytes)
DF2214   requested_bytes=4303355904 (0x100800000) attempted_ndw=82093 lock_rc=0
DF2214   num_loops=16417 copy_packets=16417 sum_chunk_dw=1075838976 max_chunk=65535 min_chunk=16416 ring_writes=82085
DF2214   first_pkt=0x3000ffff (cmd=3 n=65535) first5=[3000ffff ba987654 56789abc 000000dc 00000034]
DF2214   scheduled_bytes=4303355904 (100.0000% of request) fence_emitted=1 ring=3 seq=1
DF2214   integrity: canaries=INTACT count_dw_final=8 underruns=0 drm_errors=0 sync{c=1 r=1 g=1 f=1} commit=1
DF2214   VERDICT: FULL_COPY
DF2214   [DRM_ERROR] radeon: moving bo (-12).
DF2214 CASE variant=FIXED pages=0xc0000000 ring=big4M(4194304 bytes)
DF2214   requested_bytes=13194139533312 (0xc0000000000) attempted_ndw=251662093 lock_rc=-12
DF2214   ERR_PTR(-12): ring reservation refused, ZERO packets, NO fence - loud failure
DF2214   VERDICT: ERR_PTR_FAIL
DF2214 CASE variant=FIXED pages=0x00008000 ring=real64K(65536 bytes)
DF2214   requested_bytes=134217728 (0x8000000) attempted_ndw=2573 lock_rc=0
DF2214   num_loops=513 copy_packets=513 sum_chunk_dw=33554432 max_chunk=65535 min_chunk=512 ring_writes=2565
DF2214   first_pkt=0x3000ffff (cmd=3 n=65535) first5=[3000ffff ba987654 56789abc 000000dc 00000034]
DF2214   scheduled_bytes=134217728 (100.0000% of request) fence_emitted=1 ring=3 seq=1
DF2214   integrity: canaries=INTACT count_dw_final=8 underruns=0 drm_errors=0 sync{c=1 r=1 g=1 f=1} commit=1
DF2214   VERDICT: FULL_COPY
DF2214   [DRM_ERROR] radeon: moving bo (-12).
DF2214 CASE variant=FIXED pages=0x000fffff ring=real64K(65536 bytes)
DF2214   requested_bytes=4294963200 (0xfffff000) attempted_ndw=81933 lock_rc=-12
DF2214   ERR_PTR(-12): ring reservation refused, ZERO packets, NO fence - loud failure
DF2214   VERDICT: ERR_PTR_FAIL
DF2214   [DRM_ERROR] radeon: moving bo (-12).
DF2214 CASE variant=FIXED pages=0x00100000 ring=real64K(65536 bytes)
DF2214   requested_bytes=4294967296 (0x100000000) attempted_ndw=81933 lock_rc=-12
DF2214   ERR_PTR(-12): ring reservation refused, ZERO packets, NO fence - loud failure
DF2214   VERDICT: ERR_PTR_FAIL
DF2214 RIG done