Hello,
I am attempting to understand some messages in my Jetson Xavier’s boot log after flashing with root encryption (ROOTFS_ENC=1
). My goal is to use a UNIQUE passphrase instead of a generic one.
Here’s the command I used for flashing:
python3 gen_ekb.py -chip t194 -kek2_key kek2.key -fv fv.txt \
-in_sym_key2 sym2_t194.key -out eks_t194.img
cp eks_t194.img bootloader/
ROOTFS_ENC=1 ./flash.sh --generic-passphrase --no-flash \
-i sym2_t194.key -u rsa_priv.pem -v sbk.key \
jetson-xavier mmcblk0p1
cd bootloader
sudo bash ./flashcmd.txt
Scenario 1: Using --generic-passphrase
(Generic Key)
When I use the --generic-passphrase
option, the boot log shows “Add unique key” and “Remove generic key.” messages.
[8.882328] Root device found: UUID=a5a9
depmod: WARNING: could not open modules.order at /lib/modules/5.10.216-tegra: No such file or directory
depmod: WARNING: could not open modules.builtin at /lib/modules/5.10.216-tegra: No such file or directory
[8.945029] Cryptsetup version: 2.2.2
[9.952622] tegra_cec 3960000.tegra_cec: timeout in tegra_cec_native_write_1:193.
[9.9556051 tegra_cec 3960000.tegra_cec: Sent <Text View On> res: -62.
[9.958172] tegra_cec 3960000. tegra_cec: tegra_cec_init Done.
[10.836944] Add unique key
[23.723122] Remove generic key...
[27.469532] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null)
[29.333007] Add unique key
[39.391497] Remove generic key...
Scenario 2: Removing --generic-passphrase
(Attempting Unique Key Only)
My intention is to use only a UNIQUE key. When I remove the --generic-passphrase
option from the flash.sh
command (effectively making the system rely solely on the unique key generated or provided), the boot log shows multiple “No key available with this passphrase.” messages.
[9.952000] tegra_cec 3960000. tegra_cec: timeout in tegra_cec_native_write_
[9.956200] tegra_cec 3960000. tegra_cec: Sent ‹Text View On> res: -62.
[9.958807] tegra_ cec 3960000. tegra_cec: tegra_cec_init Done.
No key available with this passphrase.
[12.318237] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null)
No key available with this passphrase.
[15.625887] EXT4-fs (dm-1): mounted filesystem with ordered data mode. Opts: (null)
[15.649353] Rootfs mounted over UUID=612f19b6-e556-4852-9ade-774cb9483751
[15.694106] Switching from initra to actual rootfs
SELinux: Could not open policy file ‹= /etc/selinux/targeted/policy policy.33: No
[15.890457] systend[1]: System time before build time, advancing clock.
[15.971830] systend[1]: systend 245.4 4ubuntu3:24 ruming in system mode. (*PAM
[15.976568] systemd[1]: Detected architecture`
Despite these “No key available with this passphrase.” messages, the Jetson Xavier still boots normally and I can access the root filesystem.
My Questions:
- Significance of “No key available with this passphrase.”: Is this message indicative of a significant error or misconfiguration regarding the unique encryption key? Or can I safely ignore it since the device ultimately boots successfully?
- Expected Behavior for Unique Key Only: When using
ROOTFS_ENC=1
without--generic-passphrase
, what is the expected boot log behavior regarding key management? Should I not see “No key available…” messages? - Troubleshooting for Unique Key: If these messages are indeed an issue, what steps should I take to ensure the unique key is correctly recognized and used during boot, eliminating these messages?
Any insights or guidance would be greatly appreciated!
Thank you