I am trying to check certain specifications of a hard drive on a computer with no operating system installed. I am using a Knoppix bootable disk (v8.6.1) to run a bash script with the line
smartctl -i /dev/nvme0
However, I keep getting the same message:
Read NVMe Identify Controller failed: NVME_IOCTL_ADMIN_CMD: Bad address
I can run this command just fine on another computer (same model) with a different Linux distribution already installed, but for some reason the command fails when running on the Knoppix disk.
Note: I can run commands like
smartctl -d nvme --scan
/dev/nvme0 -d nvme # /dev/nvme0, NVMe device
but I cannot run smartctl commands such as
smartctl -i /dev/nvme0 smartctl -x /dev/nvme0 smartctl -a /dev/nvme0 smartctl -H /dev/nvme0
or any other command that should actually return information about the hard drive. They all produce the same "bad address" message stated above.