Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3423

Blocked from entering disk decryption password after reboot without live installer USB stick

$
0
0
Background: I installed bookworm 12.4 from the live GNOME image on a USB stick. I used the encrypted LVM option with separate home partition.

Issue Description: When I remove the USB stick with the live image and reboot the system, I arrive at the prompt for the disk encryption password however my keystrokes have no effect as there is a USB error as follows:

Code:

Please unlock disk sda3_crypt: [ 5.381068]  usb 1-8.4: device not accepting address 7, error -71 [ 5.889080] usb 1-8.4: device not accepting address 8, error -71 [ 5.889495] usb 1-8-port4: unable to enumerate USB device
The same thing happened when I left the USB stick attached and installed a Linksys AX3000 Wifi/Bluetooth PCIE card. When I left the card installed but disconnected the USB header cable from the card to the motherboard, it booted up fine.

Here is the configuration of LVM and the encrypted drive.

Unfortunately, it appears that the issue occurs before dmesg or journalctl files can be written to the encrypted partition. I'm including the dmesg file of a clean boot with the USB stick attached in case it reveals any useful information.

I tried installing any non-free drivers for the bluetooth card but no new packages were installed:

2. Edit the `/etc/apt/sources.list` file using a text editor like nano or vim.
3. Uncomment the line that starts with "deb http://deb.debian.org/debian/ bookworm main" by removing the '#' symbol at the beginning of the line.
4. Add "contrib non-free" at the end of the line, so it looks like this: "deb http://deb.debian.org/debian/ bookworm main contrib non-free".
5. Save the changes and exit the text editor.
6. Run the command `sudo apt update` to update the package lists.
7. Install the firmware packages by running `sudo apt install firmware-linux firmware-linux-nonfree`.

What are your suggestions on how to troubleshoot this issue?

Code:

$ sudo lsblkNAME                  MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTSsda                     8:0    0  58.7G  0 disk  ├─sda1                  8:1    0   512M  0 part  /boot/efi├─sda2                  8:2    0   488M  0 part  /boot└─sda3                  8:3    0  57.7G  0 part    └─sda3_crypt        253:0    0  57.7G  0 crypt     ├─hoss--vg-root   253:1    0  19.5G  0 lvm   /    ├─hoss--vg-swap_1 253:2    0   976M  0 lvm   [SWAP]    └─hoss--vg-home   253:3    0  37.2G  0 lvm   /homesdb                     8:16   0 931.5G  0 disk  sdc                     8:32   0 931.5G  0 disk  └─sdc1                  8:33   0 931.5G  0 part  sdd                     8:48   1  14.9G  0 disk  └─sdd1                  8:49   1  14.9G  0 part  /media/xxxxxxx/FD28-87BEsde                     8:64   1     0B  0 disk  $ sudo vgdisplay -v  --- Volume group ---  VG Name               hoss-vg  System ID               Format                lvm2  Metadata Areas        1  Metadata Sequence No  4  VG Access             read/write  VG Status             resizable  MAX LV                0  Cur LV                3  Open LV               3  Max PV                0  Cur PV                1  Act PV                1  VG Size               <57.70 GiB  PE Size               4.00 MiB  Total PE              14771  Alloc PE / Size       14771 / <57.70 GiB  Free  PE / Size       0 / 0     VG UUID               kLM9gp-nCB0-PIFk-UCkC-4jFA-asYO-n10fXQ     --- Logical volume ---  LV Path                /dev/hoss-vg/root  LV Name                root  VG Name                hoss-vg  LV UUID                uXUCUQ-clAQ-ZB7d-iXM8-3Cf4-f7rG-hRjUnc  LV Write Access        read/write  LV Creation host, time hoss, 2023-12-28 12:40:26 -0700  LV Status              available  # open                 1  LV Size                <19.54 GiB  Current LE             5001  Segments               1  Allocation             inherit  Read ahead sectors     auto  - currently set to     256  Block device           253:1     --- Logical volume ---  LV Path                /dev/hoss-vg/swap_1  LV Name                swap_1  VG Name                hoss-vg  LV UUID                4qeF5e-zZD0-QGdA-0DhD-Stuy-c1yq-fo05nf  LV Write Access        read/write  LV Creation host, time hoss, 2023-12-28 12:40:26 -0700  LV Status              available  # open                 2  LV Size                976.00 MiB  Current LE             244  Segments               1  Allocation             inherit  Read ahead sectors     auto  - currently set to     256  Block device           253:2     --- Logical volume ---  LV Path                /dev/hoss-vg/home  LV Name                home  VG Name                hoss-vg  LV UUID                QtYTxc-sdKE-geKq-ETL7-Pp65-1LmJ-2ErFru  LV Write Access        read/write  LV Creation host, time hoss, 2023-12-28 12:40:26 -0700  LV Status              available  # open                 1  LV Size                37.21 GiB  Current LE             9526  Segments               1  Allocation             inherit  Read ahead sectors     auto  - currently set to     256  Block device           253:3     --- Physical volumes ---  PV Name               /dev/mapper/sda3_crypt       PV UUID               kFrSyf-1waB-RzXQ-o9hI-BzII-wDsd-GGL5tT  PV Status             allocatable  Total PE / Free PE    14771 / 0   $ sudo pvdisplay  --- Physical volume ---  PV Name               /dev/mapper/sda3_crypt  VG Name               hoss-vg  PV Size               57.70 GiB / not usable 2.00 MiB  Allocatable           yes (but full)  PE Size               4.00 MiB  Total PE              14771  Free PE               0  Allocated PE          14771  PV UUID               kFrSyf-1waB-RzXQ-o9hI-BzII-wDsd-GGL5tT  $ sudo lvdisplay  --- Logical volume ---  LV Path                /dev/hoss-vg/root  LV Name                root  VG Name                hoss-vg  LV UUID                uXUCUQ-clAQ-ZB7d-iXM8-3Cf4-f7rG-hRjUnc  LV Write Access        read/write  LV Creation host, time hoss, 2023-12-28 12:40:26 -0700  LV Status              available  # open                 1  LV Size                <19.54 GiB  Current LE             5001  Segments               1  Allocation             inherit  Read ahead sectors     auto  - currently set to     256  Block device           253:1     --- Logical volume ---  LV Path                /dev/hoss-vg/swap_1  LV Name                swap_1  VG Name                hoss-vg  LV UUID                4qeF5e-zZD0-QGdA-0DhD-Stuy-c1yq-fo05nf  LV Write Access        read/write  LV Creation host, time hoss, 2023-12-28 12:40:26 -0700  LV Status              available  # open                 2  LV Size                976.00 MiB  Current LE             244  Segments               1  Allocation             inherit  Read ahead sectors     auto  - currently set to     256  Block device           253:2     --- Logical volume ---  LV Path                /dev/hoss-vg/home  LV Name                home  VG Name                hoss-vg  LV UUID                QtYTxc-sdKE-geKq-ETL7-Pp65-1LmJ-2ErFru  LV Write Access        read/write  LV Creation host, time hoss, 2023-12-28 12:40:26 -0700  LV Status              available  # open                 1  LV Size                37.21 GiB  Current LE             9526  Segments               1  Allocation             inherit  Read ahead sectors     auto  - currently set to     256  Block device           253:3$ sudo cryptsetup status sda3_crypt/dev/mapper/sda3_crypt is active and is in use.  type:    LUKS2  cipher:  aes-xts-plain64  keysize: 512 bits  key location: keyring  device:  /dev/sda3  sector size:  512  offset:  32768 sectors  size:    121008128 sectors  mode:    read/write  flags:   discards $ sudo dmsetup table sda3_crypt 0 121008128 crypt aes-xts-plain64 :64:logon:cryptsetup:d1caee94-d093-4f2e-a085-a893b439cdd1-d0 0 8:3 32768 1 allow_discardsRelevant snippet from dmesg:Dec 29 09:14:15 hoss kernel: Intel(R) Wireless WiFi driver for LinuxDec 29 09:14:15 hoss kernel: iwlwifi 0000:b3:00.0: enabling device (0140 -> 0142)Dec 29 09:14:15 hoss kernel: iwlwifi 0000:b3:00.0: firmware: direct-loading firmware iwlwifi-cc-a0-72.ucodeDec 29 09:14:15 hoss kernel: iwlwifi 0000:b3:00.0: api flags index 2 larger than supported by driverDec 29 09:14:15 hoss kernel: iwlwifi 0000:b3:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37Dec 29 09:14:15 hoss kernel: iwlwifi 0000:b3:00.0: firmware: failed to load iwl-debug-yoyo.bin (-2)Dec 29 09:14:15 hoss kernel: firmware_class: See https://wiki.debian.org/Firmware for information about missing firmwareDec 29 09:14:15 hoss kernel: iwlwifi 0000:b3:00.0: firmware: failed to load iwl-debug-yoyo.bin (-2)Dec 29 09:14:15 hoss kernel: iwlwifi 0000:b3:00.0: loaded firmware version 72.daa05125.0 cc-a0-72.ucode op_mode iwlmvm
dmesg.zip

Statistics: Posted by dingletron — 2023-12-29 19:06 — Replies 0 — Views 1



Viewing all articles
Browse latest Browse all 3423

Trending Articles