Page MenuHomeFreeBSD

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

Authored by kevans on Sep 8 2022, 12:36 AM.
Tags
None
Referenced Files
F103810894: D36490.diff
Fri, Nov 29, 6:05 PM
Unknown Object (File)
Wed, Nov 27, 8:08 AM
Unknown Object (File)
Sun, Nov 24, 11:38 AM
Unknown Object (File)
Sun, Nov 17, 4:01 PM
Unknown Object (File)
Fri, Nov 15, 2:08 PM
Unknown Object (File)
Wed, Nov 13, 12:34 AM
Unknown Object (File)
Sat, Nov 9, 11:45 AM
Unknown Object (File)
Oct 30 2024, 5:34 PM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable