| Предыдущий | Следующий |
| TBSIMP_E_HASH_BAD_KEY | TBSIMP_E_INVALID_OUTPUT_POINTER |
TBSIMP_E_DUPLICATE_VHANDLE
Диагностическая граница
Для TBSIMP_E_DUPLICATE_VHANDLE (0X80290206) рабочая граница — дублирующий / virtual handle. Код относится к TPM Base Services (TBS), scheduler и resource virtualization. Сохраняйте первый native return и identity объекта: именно они определяют, проверяется ли здесь input, capability, ownership, lifecycle или transport.
TBS resource virtualization создаёт виртуальные handles и mappings в рамках client context; они не равны физическим TPM handles и имеют собственный lifetime.
Фрагменты исходного EN-описания
new and existing virtual handles, physical handle, context, creating command, retry or duplicate-delivery history, and firmware response.
Run this focused check: use a new TBS context and submit the resource-creating command exactly once.
The practical distinction is that TPM_E_DUPLICATE_VHANDLE is the translated command-path form seen above this internal condition.
The supported direction is to discard the inconsistent context and investigate duplicate submissions or firmware handle reuse if the collision returns.
Что фиксировать
- TBS client context и virtual-handle mapping generation.
- resource/list/hash-table identity и scheduler state.
- TPM command ordinal, physical handle mapping и первый TBSIMP result.
Scheduler, hash/list mappings и virtual resources нужно диагностировать до destructive TPM reset: сброс уничтожает именно evidence, которое отличает client defect от hardware response.
Проверка конкретного условия
Сделайте минимальный before/after experiment для «дублирующий / virtual handle». Не меняйте одновременно provider, input и state — такой тест не показывает, что именно исправило результат.
Virtual handle принадлежит конкретному TBS client context и generation. Не трактуйте его как физический TPM handle и не переносите между процессами.
Восстановление
Исправьте lifetime/mapping ресурса внутри конкретного TBS client context. Если mapping устарел, создайте новый context/resource generation; не делайте destructive TPM reset ради клиентской таблицы.
Технические ссылки
- Microsoft: Resource Virtualization in TBS.
- Microsoft: Command Scheduling in TBS.
- Microsoft: About TPM Base Services.
- Microsoft: Power Management in TBS.
Нужно найти другой код? Найти другой код состояния или ошибки.
