NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/53833 (Booting sparc64 install ISO prints disklabel warnings)
The following reply was made to PR kern/53833; it has been noted by GNATS.
From: =?UTF-8?B?SmFyb23DrXIgRG9sZcSNZWs=?= <jaromir.dolecek%gmail.com@localhost>
To: "gnats-bugs%NetBSD.org@localhost" <gnats-bugs%netbsd.org@localhost>
Cc:
Subject: Re: kern/53833 (Booting sparc64 install ISO prints disklabel warnings)
Date: Mon, 7 Jan 2019 22:28:47 +0100
---------- Forwarded message ---------
From: Jaromir Dolecek <jdolecek%netbsd.org@localhost>
Date: lun. 7 janv. 2019 =C3=A0 22:04
Subject: CVS commit: src/sys/dev
To: <source-changes%netbsd.org@localhost>
Module Name: src
Committed By: jdolecek
Date: Mon Jan 7 21:04:35 UTC 2019
Modified Files:
src/sys/dev: dksubr.c
Log Message:
convert the sector counts for label sanity checks to use same unit (DEV_BSI=
ZE),
so that the check is meaningful if disklabel sector size and disk geometry
sector size differ - for example 512 disklabel vs 2048 for sparc cd(4)
conversion assumes that the sector sizes are multiples of DEV_BSIZE (512)
fixes kern/53833 by Andreas Gustafsson
Note: the checks are executed #ifdef DIAGNOSTIC, that's why nothing
is printed by 8.0 kernel, or anything built from release branches
To generate a diff of this commit:
cvs rdiff -u -r1.104 -r1.105 src/sys/dev/dksubr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index