Creating Persistent Storage fails with "Timeout waiting for hardware access" on some hardware
From wb:ba432947790d2f718fd2979bd2beb351:
May 19 04:09:11 amnesia tps[5735]: INFO:device.py:244: [1] Mounting filesystem
May 19 04:09:11 amnesia wpa_supplicant[3850]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-100
May 19 04:09:11 amnesia kernel: EXT4-fs error (device dm-0): ext4_find_extent:936: inode #8: comm mount: pblk 126910463 bad header/extent: invalid magic - magic 89bf, entries 17898, max 1328(0), depth 37189(0)
May 19 04:09:11 amnesia tps[5735]: mount: /live/persistence/TailsData_unlocked: wrong fs type, bad option, bad superblock on /dev/mapper/TailsData_unlocked, missing codepage or helper program, or other error.
May 19 04:09:11 amnesia kernel: jbd2_journal_init_inode: Cannot locate journal superblock
May 19 04:09:11 amnesia kernel: EXT4-fs (dm-0): Could not load journal inode
May 19 04:09:11 amnesia tps[5735]: ERROR:object.py:193: [1] Command '['mount', '-o', 'acl', '/dev/dm-0', '/live/persistence/TailsData_unlocked']' returned non-zero exit status 32.
May 19 04:09:11 amnesia tps[5735]: Traceback (most recent call last):
May 19 04:09:11 amnesia tps[5735]: File "/usr/lib/python3/dist-packages/tps/dbus/object.py", line 178, in handle_method_call_inner
May 19 04:09:11 amnesia tps[5735]: result = func(*parameters)
May 19 04:09:11 amnesia tps[5735]: File "/usr/lib/python3/dist-packages/tps/service.py", line 150, in Create
May 19 04:09:11 amnesia tps[5735]: self.do_create(passphrase)
May 19 04:09:11 amnesia tps[5735]: File "/usr/lib/python3/dist-packages/tps/service.py", line 160, in do_create
May 19 04:09:11 amnesia tps[5735]: self._partition = Partition.create(job, passphrase)
May 19 04:09:11 amnesia tps[5735]: File "/usr/lib/python3/dist-packages/tps/device.py", line 246, in create
May 19 04:09:11 amnesia tps[5735]: cleartext_device.mount()
May 19 04:09:11 amnesia tps[5735]: File "/usr/lib/python3/dist-packages/tps/device.py", line 356, in mount
May 19 04:09:11 amnesia tps[5735]: executil.check_call(["mount", "-o", "acl", self.device_path,
May 19 04:09:11 amnesia tps[5735]: File "/usr/lib/python3/dist-packages/tps/executil.py", line 49, in check_call
May 19 04:09:11 amnesia tps[5735]: return _run(cmd, *args, **kwargs, check=True)
May 19 04:09:11 amnesia tps[5735]: File "/usr/lib/python3/dist-packages/tps/executil.py", line 33, in _run
May 19 04:09:11 amnesia tps[5735]: p = subprocess.run(cmd, *args, **kwargs)
May 19 04:09:11 amnesia tps[5735]: File "/usr/lib/python3.9/subprocess.py", line 528, in run
May 19 04:09:11 amnesia tps[5735]: raise CalledProcessError(retcode, process.args,
May 19 04:09:11 amnesia tps[5735]: subprocess.CalledProcessError: Command '['mount', '-o', 'acl', '/dev/dm-0', '/live/persistence/TailsData_unlocked']' returned non-zero exit status 32.
The system is running on a Dell Latitude E6500 and according to the user, the USB drive has 1 TB capacity. The output of lsusb
from the bug report says Integrated Technology Express, Inc. Chipsbank CBM2199 Flash Drive
.
The journal also contains numerous kernel error messages because iwlwifi fails to initialize a device ("Timeout waiting for hardware access") but I assume that's unrelated to the issue this ticket is about.