Skip to content

Commit

Permalink
docs: This warning is almost never actionable and confuses users.
Browse files Browse the repository at this point in the history
Moving to debug, if a user is having an issue then they'll see this when they turn on debug.
  • Loading branch information
erichelgeson committed Sep 22, 2024
1 parent 27510d2 commit 5727fcc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/BlueSCSI_disk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -512,11 +512,11 @@ static void checkDiskGeometryDivisible(image_config_t &img)
uint32_t sectorsPerHeadTrack = img.sectorsPerTrack * img.headsPerCylinder;
if (img.scsiSectors % sectorsPerHeadTrack != 0)
{
log("WARNING: Host used command ", scsiDev.cdb[0],
" which is affected by drive geometry. Current settings are ",
(int)img.sectorsPerTrack, " sectors x ", (int)img.headsPerCylinder, " heads = ",
(int)sectorsPerHeadTrack, " but image size of ", (int)img.scsiSectors,
" sectors is not divisible. This can cause error messages in diagnostics tools.");
debuglog("WARNING: Host used command ", scsiDev.cdb[0],
" which is affected by drive geometry. Current settings are ",
(int)img.sectorsPerTrack, " sectors x ", (int)img.headsPerCylinder, " heads = ",
(int)sectorsPerHeadTrack, " but image size of ", (int)img.scsiSectors,
" sectors is not divisible. This can cause error messages in diagnostics tools.");
img.geometrywarningprinted = true;
}
}
Expand Down

0 comments on commit 5727fcc

Please sign in to comment.