Dealing with IO error, when mounting encrypted USB storage device

This procedure deals with a problem, that can occur, when working with encrypted USB storage devices.

In our example, a FreeBSD operating system fail to handle the attachment of an encrypted external USB storage device.

The system message buffer reveals, that there is a problem with USB.

dmesg
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR

The cryptographic control utility reports an input or output (input/output, IO, I/O) error.

geli attach -k starnix.key /dev/da0
geli: Cannot open /dev/da0: Input/output error.

We remove the device node, reboot the operating system, attach the encrypted external USB storage device, confirm the USB attachment, confirm the presence of the device node and mount the file system on the external USB storage device.

rm /dev/da0
reboot
dmesg
ls /dev/da*
geli attach -k starnix.key /dev/da0
mount /dev/da0.eli /mnt/starnix

Now, the file system is mounted.

Print

You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Comments are closed.