When booting on a 4k NVMe disk, the kernel will always print:

     hib block_io biowait error 22 blk 4229561 size 512

This is from hibernate_resume() trying to read the signature of a 
previous hibernation.  ZZZ also fails in the io path.

A bunch of things in subr_hibernate.c have DEV_BSIZE (512) 
hard-coded, which goes through hibernate_block_io(), and then 
bounds_check_with_label() in subr_disk.c which returns EINVAL 
because the block number is not divisible by 8 and the block count 
(512) is not divisible by d_secsize (4096).

Reply via email to