Age | Commit message (Collapse) | Author |
|
is the DUID that we booted from, which is not always going to be the same
as the DUID that we mount root on.
|
|
and make it compatible with bsd.lv mandoc and with groff-1.21.
This tweak was originally added for compatibility with groff-1.15,
which is no longer needed.
ok jmc@ kristaps@
|
|
disk/partition name - in this case print the chunk number instead.
|
|
specify a list of source files to compile, instead of building and linking
against libraries.
ok deraadt@
|
|
the OpenBSD partition starts at >128G. This restores previous
behaviour but adds the warning.
ok deraadt@ guenther@
|
|
devices must have an OpenBSD MBR partition to install /boot into.
But search anything except floppy devices (e.g. vnd) for such a
partition.
Feedback & ok deraadt@
|
|
a ffs frag size can be less than the d_secsize of the disk. Make
sure amd64 writedisklabel() puts the disklabel where readdoslabel()
will read it. Tweak i386/amd64 installboot/biosboot so sectors are
indeed used where sectors are claimed.
Lets me fdisk, newfs, mount and installboot onto 2048 and 4096
byte sector devices. Other filesystem utilites will still hold
surprises.
Note that actually booting from such devices will await BIOSen that
acknowledge such devices as bootable.
ok guenther@
|
|
else, No
functional change.
|
|
|
|
|
|
kernel so that it can use it to identify the root disk. This will be
needed in order to correctly boot from a softraid volume.
ok deraadt@ marco@ krw@
|
|
|
|
BOOTBIOS_MAXSEC line.
ok deraadt@.
|
|
a global, a couple of parameters, and opening up possibility of
traversing much longer EBR lists without blowing the stack.
Make seach algorithm the same as used in kern/subr_disk.c by checking
all primary partitions in the MBR/EBR before moving to next EBR. This
makes it more likely that everybody finds the same OpenBSD partition.
Largely from a diff posted to tech@ by ucsavl.
|
|
the same as i386 version. No change to .o file except for the one
%lld -> %u format fix.
|
|
512-byte sectors) as some BIOSen get confused when we ask for sectors
higher up.
Uss u_int throughout the boot code to calculate sector addresses,
since 32 bits is enough to do 28 ^ 1 - 1 arithmetic. Add checks
for wraparound.
I can now install and boot from the 7th extended partition below
128GB.
Much feedback & guidance from deraadt@. Also from weingart@ on
BIOS io.
ok deraadt@ (less a couple of minor tweaks found in testing)
|
|
do 32-bit block spanning. If later on we get some that can/should do
64-bit, that can be done now using daddr64_t (but of course, we are taking
this step to finalize the daddr_t 64-bit conversion).
ok miod krw
|
|
be lied to by the BIOS about successfully reading data.
ok deraadt@ weingart@
|
|
of the next EBR is relative to the start of the extended partition
described in the first MBR, not relative to the EBR specifying the
offset in its extended partition entry.
Clean up installboot -v output. Use daddr64_t for all sector numbers.
Not a complete fix, but better than what we had. More tweaks to
come.
Inspired by a diff and cluebat from uscav on tech@ a few weeks
ago.
Feedback from matthew@, weingart@.
ok deraadt@
|
|
in pxe.h.
ok deraadt@ sthen@
|
|
softraid volumes. If installboot is run on a softraid volume, a fake
single inode FFS filesystem is constructed to contain boot(8). This is
then installed onto the softraid volume via the BIOCINSTALLBOOT ioctl.
biosboot(8) is then patched and installed onto each disk that is a member
of the softraid volume.
Joint work with otto@ who came up with the concept of constructing a fake
FFS filesystem and wrote the code to do so.
No objection from miod@
|
|
ok deraadt@
|
|
|
|
no binary change
ok deraadt@
|
|
uncommenting it is intentional.
ok deraadt@
|
|
|
|
into one function is generating broken code; it might be because of missing
register clobbers.
This is a workaround... it'd be nice to know the real problem
work done with mlarkin and pirofti
|
|
"multiprocessor" in a consistent way.
written with lots of good advice from jmc@, who noted that changing
hier(7) was not enough and carefully reviewed this diff.
ok jmc@
|
|
|
|
|
|
addresses line up correctly. Newer i386 gcc4 - for some reason -- is
prompting the linker with -N to not do this alignment which it used to do
(perhaps because the alignment of all .o's have dropped to very small
amounts??). Using -Z wastes around a page of bootblock space which matters
even more on the small install media, so this definately needs revisiting.
Workaround from toby
|
|
|
|
'machine memory =128M' style commands. Thanks to
phessler for finding a small man page niggle. Bumped
version strings to a nice round fraction, and make them
the same across the board. Easier to identify boot
binary versions that way.
ok thib@, tedu@, phessler@
|
|
ok kettenis@
|
|
identifier, allowing the disk to be identified without relying on the
device name.
ok deraadt@ krw@ beck@ marco@ todd@
|
|
installboot on a mounted partition;
from J.C. Roberts
|
|
|
|
on machines reporting > 32 memory regions. ok kettenis@
|
|
Thank you Vladimir Kirillov <proger () hackndev ! com>
|
|
ok toby
|
|
|
|
based on the same change in amd64.
|
|
shrinks the output of installboot by a few lines.
|
|
"I like it" deraadt "sweet" tedu "love it" marco
|
|
ok jmc@ stevesk@
|
|
is on the CD rather than always asking for its location. Behaviour
pointed out at OpenCON by Stephan Rickauer.
Tested by Stephan. nick@ has no objections.
ok deraadt@
|
|
PCI probe. Yuichiro Goto, PR 5048
It would be nice if someone with a "pci0 at mainbus0 bus 0: configuration 2"
system would double check this and mail us back.
ok toby
|
|
are just before an OpenBSD partition in a MBR; done with kettenis & otto
ok reyk
|
|
(using a recursion limit). now OpenBSD can be installed in a
subsequent DOS/Linux-compatible extended partition.
ok krw@ deraadt@
|
|
Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.
OK deraadt@
|