kernel BUG at nvme/host/pci.c

Andreas Pflug pgadmin at pse-consulting.de
Tue Jul 11 23:06:29 PDT 2017


Am 11.07.17 um 21:45 schrieb Keith Busch:
> On Tue, Jul 11, 2017 at 09:44:47AM +0200, Andreas Pflug wrote:
>> Tested with 4.12.0, result is
>>
>>   kernel BUG at drivers/nvme/host/pci.c:610!
>>
>> Kernel seems to recover from that, but I did a reboot anyway.
>  
> Ugh, still observing invalid scatter lists on 4.12. Definitely recommend
> rebooting after hitting this.
>
> There should only be two possibilities: either the block layer didn't
> split a bio that it should have, or it merged two that it shouldn't. To
> determine which, could disable merging for NVMe before running your
> test? Something like this should accomplish that:
>
>   # echo 1 | tee /sys/block/nvme*/queue/nomerge
nomerges set to 1 on both devices, same BUG_ON.

Regards,
Andreas



More information about the Linux-nvme mailing list