Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Feb 2021 03:08:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 253860] ccp(4) immediately hangs when creating geli device
Message-ID:  <bug-253860-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253860

            Bug ID: 253860
           Summary: ccp(4) immediately hangs when creating geli device
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: asomers@FreeBSD.org

The ccp(4) driver immediately hangs if I try to use it on a freshly install=
ed
13.3-BETA3 system.  I can load the driver, but it immediately hangs the fir=
st
time I try to use it, which is by creating a geli device.

> sudo kldload ccp
> sudo mdconfig -a -t swap -s 64m
md0
> sudo geli onetime -e aes-xts -l 256 -s 4096 /dev/md0
<hangs>

In another terminal, dmesg shows that it ccp is indeed being used:
> dmesg
...
ccp0: <AMD CCP-5a> mem 0xfc000000-0xfc0fffff,0xfc1cc000-0xfc1cdfff irq 54 at
device 0.2 on pci12
random: registering fast source AMD CCP TRNG
GEOM_ELI: Device md0.eli created.
GEOM_ELI: Encryption: AES-XTS 256
GEOM_ELI:     Crypto: hardware


> uname -a
FreeBSD XXX.YYY 13.0-BETA3 FreeBSD 13.0-BETA3 #0
releng/13.0-n244525-150b4388d3b: Fri Feb 19 04:04:34 UTC 2021=20=20=20=20
root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64

> sysctl hw.model
hw.model: AMD Ryzen 3 3200G with Radeon Vega Graphics

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253860-227>