ptx-0.1c

2つのターミナルで、かたや

$ sysctl -w dev.ptx.0.t0.freq=75
$ cat /dev/ptx0.t0 > /dev/null

かたや

$ sysctl -w dev.ptx.0.t1.freq=72
$ cat /dev/ptx0.t1 > /dev/null

として、15分くらいほっといたけど、問題無し。
調子にのって、vlcで直接/dev/ptx0.t0を開いて、プログラムでワンセグを選んだらリアルタイム視聴もできた!と思ったら、10数秒でぱにくった。。。

 Sleeping thread (tid 100191, pid 1203) owns a non-sleepable lock
 sched_switch() at sched_switch+0xde
 mi_switch() at mi_switch+0x275
 sleepq_switch() at sleepq_switch+0xb2
 sleepq_wait() at sleepq_wait+0x44
 _sx_xlock_hard() at _sx_xlock_hard+0x252
 _sx_xlock() at _sx_xlock+0x81
 _vm_map_lock_upgrade() at _vm_map_lock_upgrade+0x86
 vm_map_lookup() at vm_map_lookup+0x264
 vm_fault() at vm_fault+0x112
 trap_pfault() at trap_pfault+0x128
 trap() at trap+0x3cf
 calltrap() at calltrap+0x8
 --- trap 0xc, rip = 0xffffffff8082a67b, rsp = 0xffffff807f57c910, rbp = 0xffffff807f57c990 ---
 copyout() at copyout+0x3b
 ptxread() at ptxread+0x121
 devfs_read_f() at devfs_read_f+0x86
 dofileread() at dofileread+0xa1
 kern_readv() at kern_readv+0x60
 read() at read+0x55
 syscall() at syscall+0x1f1
 Xfast_syscall() at Xfast_syscall+0xe1
 --- syscall (3, FreeBSD ELF64, read), rip = 0x8012c37ac, rsp = 0x7ffffe8eda98, rbp = 0x80f522df8 ---
 panic: sleeping thread
 cpuid = 0KDB: stack backtrace:
 db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
 panic() at panic+0x182
 propagate_priority() at propagate_priority+0x15e
 turnstile_wait() at turnstile_wait+0x1a9
 _mtx_lock_sleep() at _mtx_lock_sleep+0xe0
 _mtx_lock_flags() at _mtx_lock_flags+0xd1
 ptx_daemon() at ptx_daemon+0x210
 fork_exit() at fork_exit+0x166
 fork_trampoline() at fork_trampoline+0xe
 --- trap 0, rip = 0, rsp = 0xffffff807f54ad30, rbp = 0 ---
 KDB: enter: panic

えぐえぐ。