NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-evbarm/56356: bootaa64.efi doesn't work on 4k sector NVMe devices



>Number:         56356
>Category:       port-evbarm
>Synopsis:       bootaa64.efi doesn't work on 4k sector NVMe devices
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-evbarm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 10 09:10:01 +0000 2021
>Originator:     Tobias Nygren
>Release:        
>Organization:
>Environment:
>Description:
The first problem is that efi_block_find_partitions_gpt() and
efi_block_open() in some places use DEV_BSIZE sectors instead of
bdev->bio->Media->BlockSize. This is easy enough to fix and makes
GPT partitions appear in the partition list.

But there is still some problem with the strategy or file system
code because loading /netbsd ends with EIO after 5 or so I/Os.

>How-To-Repeat:
I'm using a Corsair Force MP300 NVMe disk, which was reformatted
to 4k sectors with Linux nvme-cli.

>Fix:
N/A



Home | Main Index | Thread Index | Old Index