[Bug 233098] can not find lua loader

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 08 Sep 2022 15:05:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233098

--- Comment #9 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=72291cee075d9ef1a608b2a67762b44e024cc0d4

commit 72291cee075d9ef1a608b2a67762b44e024cc0d4
Author:     Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2022-09-08 00:35:06 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2022-09-08 15:05:08 +0000

    stand: i386: take into account disk sector size for blk calculation

    disk_blocks assumes BIOSDISK_SECSIZE, but the media may not be using
    it.  In particular, bioscd on Parallels presents a 2K sector size, so
    we end up with a short disk_blocks and subsequent validation fails when
    trying to read /boot/lua.

    PR:             233098
    Reviewed by:    imp, tsoome
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D36490

 stand/i386/libi386/biosdisk.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.