Project

General

Profile

Actions

Bug #16621

open

Panic when enabling passthrough QAT on C3xxx under Proxmox

Added by Alex Rosenberg about 1 month ago. Updated 17 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Cryptographic Modules
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Release Notes:
Default
Affected Plus Version:
25.11
Affected Architecture:
amd64

Description

LMK how you want the panic dumps since I'd rather not enshrine them here.
---

<118>Loading cryptographic accelerator drivers...
qat0: <Intel c3xxx QuickAssist> mem 0x81600000-0x8163ffff,0x81640000-0x8167ffff irq 20 at device 27.0 on pci6
qat0: Unable to find AER capability of the device

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address = 0x0
fault code = supervisor read data, page not present
instruction pointer = 0x20:0xffffffff84514f3d
stack pointer = 0x28:0xfffffe00688844b0
frame pointer = 0x28:0xfffffe00688844c0
code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 986 (kldload)
rdi: fffff80029077000 rsi: fffff80029077000 rdx: fffff8000130f120
rcx: fffffe0084e39780 r8: 0000000000000003 r9: 8080808080808080
rax: ffffffff83810000 rbx: 0000000000000000 rbp: fffffe00688844c0
r10: 0000000000000001 r11: 0000000000000032 r12: fffff80029078c00
r13: 00000000ffffffed r14: fffff800013d8a00 r15: fffff8000151c000
trap number = 12
panic: page fault
cpuid = 0
time = 1767413791
KDB: enter: panic

Actions #1

Updated by Kris Phillips about 1 month ago

Hello Alex,

Is this an add-in card or a QAT module on-chip with your CPU? Have you verified that it works without passthrough on your hardware via bare metal install?

Actions #2

Updated by Alex Rosenberg about 1 month ago

The hardware in question is an Intel Denverton C3908 box from Qotom. QAT is built-in t that SoC. Yes, I did mess around with it prior to this full passthrough attempt.

Actions #3

Updated by Kris Phillips 17 days ago

Alex Rosenberg wrote in #note-2:

The hardware in question is an Intel Denverton C3908 box from Qotom. QAT is built-in t that SoC. Yes, I did mess around with it prior to this full passthrough attempt.

Got it. And it did not have any panic issues when bare metal, but does occur with passthrough?

Actions #4

Updated by Alex Rosenberg 17 days ago

Kris Phillips wrote in #note-3:

Alex Rosenberg wrote in #note-2:

The hardware in question is an Intel Denverton C3908 box from Qotom. QAT is built-in t that SoC. Yes, I did mess around with it prior to this full passthrough attempt.

Got it. And it did not have any panic issues when bare metal, but does occur with passthrough?

It also didn’t have any issues when I passed it through as VF, although there are no matching drivers for that case.

Actions

Also available in: Atom PDF