[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[feature request] linux-image-4.3.0-1-sparc64-smp: tpm random module for linux LDOMs



Package: src:linux
Version: 4.3.3-2
Severity: wishlist

Dear Maintainer,

Can you please enable CONFIG_TCG_TPM (TPM security chip) and
CONFIG_HW_RANDOM_TPM linux kernel config options (as modules), to
enable hardware RNG device for use in LDOM (containers) of debian
sparc64.

Right now, there's no hardware RNG provider is available :

$ ls /sys/class/misc/hw_random
ls: cannot access /sys/class/misc/hw_random: No such file or directory
# grep -i TPM /boot/config-4.3.0-1-sparc64-smp
# CONFIG_TCG_TPM is not set


But if we enable TPM random module (tpm-rng), it will be (output taken
from oracle linux for sparc):

[root@linuxsparc log]# cat /sys/class/misc/hw_random/rng_available
tpm-rng
[root@linuxsparc log]# cat /sys/class/misc/hw_random/rng_current
tpm-rng

[root@linuxsparc log]# grep TPM /boot/config-4.1.8-15.1.el6uek.sparc64
CONFIG_HW_RANDOM_TPM=y
CONFIG_TCG_TPM=y

Thanks.


-- Package-specific info:
** Version:
Linux version 4.3.0-1-sparc64-smp (debian-kernel@lists.debian.org)
(gcc version 4.9.3 (Debian 4.9.3-10) ) #1 SMP Debian 4.3.3-2
(2015-12-17)

** Command line:
root=/dev/vdiska1 ro

** Not tainted

** Model information
cpu             : UltraSparc T5 (Niagara5)
fpu             : UltraSparc T5 integrated FPU
pmu             : niagara5
prom            : OBP 4.38.1 2015/08/21 14:26
type            : sun4v

** Loaded modules:
camellia_sparc64
des_sparc64
des_generic
aes_sparc64
md5_sparc64
sha512_sparc64
sha256_sparc64
sha1_sparc64
autofs4
ext4
crc16
mbcache
jbd2
sunvnet
sunvdc
crc32c_sparc64

** PCI devices:

** USB devices:
not available


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: sparc64

Kernel: Linux 4.3.0-1-sparc64-smp (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages linux-image-4.3.0-1-sparc64-smp depends on:
ii  debconf [debconf-2.0]                   1.5.58
ii  initramfs-tools [linux-initramfs-tool]  0.120
ii  kmod                                    21-1
ii  linux-base                              4.0

Versions of packages linux-image-4.3.0-1-sparc64-smp recommends:
ii  firmware-linux-free  3.4
ii  irqbalance           1.0.6-3

Versions of packages linux-image-4.3.0-1-sparc64-smp suggests:
pn  debian-kernel-handbook  <none>
pn  fdutils                 <none>
pn  linux-doc-4.3           <none>
ii  silo                    1.4.14+git20141019-4

Versions of packages linux-image-4.3.0-1-sparc64-smp is related to:
pn  firmware-atheros        <none>
pn  firmware-bnx2           <none>
pn  firmware-bnx2x          <none>
pn  firmware-brcm80211      <none>
pn  firmware-intelwimax     <none>
pn  firmware-ipw2x00        <none>
pn  firmware-ivtv           <none>
pn  firmware-iwlwifi        <none>
pn  firmware-libertas       <none>
pn  firmware-linux          <none>
pn  firmware-linux-nonfree  <none>
pn  firmware-myricom        <none>
pn  firmware-netxen         <none>
pn  firmware-qlogic         <none>
pn  firmware-ralink         <none>
pn  firmware-realtek        <none>
pn  xen-hypervisor          <none>

-- debconf information:
  linux-image-4.3.0-1-sparc64-smp/postinst/depmod-error-initrd-4.3.0-1-sparc64-smp:
false
  linux-image-4.3.0-1-sparc64-smp/postinst/mips-initrd-4.3.0-1-sparc64-smp:
  linux-image-4.3.0-1-sparc64-smp/prerm/removing-running-kernel-4.3.0-1-sparc64-smp:
true


Reply to: