Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-9] src/sys



Module Name:    src
Committed By:   martin
Date:           Wed Oct 18 12:11:53 UTC 2023

Modified Files:
        src/sys/arch/i386/stand/lib [netbsd-9]: biosdisk.c
        src/sys/dev/raidframe [netbsd-9]: rf_netbsdkintf.c
        src/sys/rump/librump/rumpkern [netbsd-9]: emul.c

Log Message:
Pull up following revision(s) (requested by manu in ticket #1751):

        sys/dev/raidframe/rf_netbsdkintf.c: revision 1.383
        sys/dev/raidframe/rf_netbsdkintf.c: revision 1.385
        sys/dev/raidframe/rf_netbsdkintf.c: revision 1.402
        sys/dev/raidframe/rf_netbsdkintf.c: revision 1.403
        sys/arch/i386/stand/lib/biosdisk.c: revision 1.59
        sys/dev/raidframe/rf_netbsdkintf.c: revision 1.377
        sys/dev/raidframe/rf_netbsdkintf.c: revision 1.378
        sys/dev/raidframe/rf_netbsdkintf.c: revision 1.379
        sys/dev/raidframe/rf_netbsdkintf.c: revision 1.392
        sys/rump/librump/rumpkern/emul.c: revision 1.200
        sys/arch/i386/stand/lib/biosdisk.c: revision 1.60
        sys/dev/raidframe/rf_netbsdkintf.c: revision 1.416
        (all via patch)

Get &rsc->sc_dksc only when we know 'rsc' is not NULL. This was actually
harmless because we didn't use the pointer then.

Gcc -Os on landisk is not smart enough to follow the conditional
initialization and warns, unconditionaly initialize dksc at declaration
with a XXX gcc comment.

Improve wording in comments in raid_dumpblock().

in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.

Nix trailing whitespace.

if raidframe sets booted_device, log a debug message about it.
merge two debug lines in auto-root selection.
convert non-config-handled "DEBUG_ROOT" to aprint_debug().
now it's possible to get boot-time info about raidframe root
device selection with simple "boot -x".

Align the behavior of different boot methods in RAIDframe

We enforce the documented and paritally implemented behavior when
looking for the kernel in RAID 1 sets without a partition name given.

We search for:
- A GPT partition with bootme attribute set
- A FFS or LFS patititon
- The first partition

Fix root search in RAID 1 sets

We use the wedge information given by bootstrap, where the kernel was
found. This requires src/sys/arch/i386/stand/i386/lib/biosdisk.c 1.59
to work in all cases.

Fix build with -DNO_GPT


To generate a diff of this commit:
cvs rdiff -u -r1.49.6.4 -r1.49.6.5 src/sys/arch/i386/stand/lib/biosdisk.c
cvs rdiff -u -r1.376.4.5 -r1.376.4.6 src/sys/dev/raidframe/rf_netbsdkintf.c
cvs rdiff -u -r1.191 -r1.191.2.1 src/sys/rump/librump/rumpkern/emul.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