nvme dma returns EFBIG (27)

Emmanuel Vadot manu at bidouilliste.com
Wed Feb 10 22:08:38 UTC 2021


On Wed, 10 Feb 2021 22:55:27 +0100
Jesper Schmitz Mouridsen <jsm at FreeBSD.org> wrote:

> Hi
> 
> I can dd blocks from /dev/nda0p0 but I cannot run newfs.
> 
> It prints nvme0: nvme_payload_map: err  27.  and ctrl+t shows it is 
> stuck in physwri
> 
> https://github.com/freebsd/freebsd-src/blob/a6dc68c0e0f8a24ffaf0b4e78e58141ef7897047/sys/dev/nvme/nvme_qpair.c#L1003
> 
> https://github.com/freebsd/freebsd-src/blob/c6c70c074633569447be4bfd2b694a1c294015bd/sys/dev/nvme/nvme_qpair.c#L567
> 
> I could format as ext4 under Linux.
> 
> Any hints or pointers are welcome.
> 
> Thanks
> 
> Jesper

 What board ?
 What version of FreeBSD ?
 dmesg ?

 Any of the above is *always* required for trying to reproduce and
finding bugs.

 Cheers,

-- 
Emmanuel Vadot <manu at bidouilliste.com> <manu at freebsd.org>


More information about the freebsd-arm mailing list