[RFC] nvme errors on QEMU
Heinrich Schuchardt
xypron.glpk at gmx.de
Tue Jun 8 07:03:32 CEST 2021
I am calling qemu-x86_64_defconfig with
qemu-system-x86_64 -machine pc-i440fx-2.5 -m 1G -smp cores=2 \
-bios u-boot.rom -nographic -gdb tcp::1234 \
-drive file=../sandbox.img,if=none,format=raw,id=nvme1 \
-device nvme,drive=nvme1,serial="S3EWNX0J123456K" \
-netdev user,id=eth0,tftp=tftp -device e1000,netdev=eth0 \
-device virtio-rng-pci
nvme info displays a lot of errors:
=> nvme scan
=> nvme info
Device 0: Vendor: 0x8086 Rev: 1.0 Prod: S3EWNX0J123456K
Type: Hard Disk
Capacity: 128.9 MB = 0.1 GB (264190 x 512)
ERROR: status = 4002, phase = 1, head = 1
ERROR: status = 4002, phase = 0, head = 0
Device 1: Vendor: 0x8086 Rev: 1.0 Prod: S3EWNX0J123456K
Type: Hard Disk
Capacity: not available
ERROR: status = 4002, phase = 0, head = 1
ERROR: status = 4002, phase = 1, head = 0
Device 2: Vendor: 0x8086 Rev: 1.0 Prod: S3EWNX0J123456K
Type: Hard Disk
Capacity: not available
...
ERROR: status = 4002, phase = 1, head = 1
ERROR: status = 4002, phase = 0, head = 0
Device 255: Vendor: 0x8086 Rev: 1.0 Prod: S3EWNX0J123456K
Type: Hard Disk
Capacity: not available
Why does 'nvme scan' create 255 nvme-blk devices too many?
Best regards
Heinrich
More information about the U-Boot
mailing list