| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
a simple version of bcopy() so we avoid picking up the overly-complex
implementation in libc (via libstand). This is not necessary on
-current, but RELENG_4 has apparently just exceeded the 15-sector
limit for boot1.
Reviewed by: wilko
|
|
|
|
|
|
|
|
|
|
|
| |
larger than 8k. We now use 4k buffers regardless of the filesystem
block size, so there is no longer a static limit.
Simply increasing the buffer size from 8k to 16k as done on the
i386 doesn't work on the alpha, probably because it causes us
to overshoot boot1's 48k runtime memory limit.
Tested by: naddy
|
|
|
|
|
|
|
|
| |
All the alpha loaders should use the same version file. Also, we might
should merge the various loaders (cdboot, loader, netboot) into one loader
that can boot off of disks, CD's, and network devices. The version bump
is needed so the FICL scripts won't bomb out thinking that the netboot
binary is too old.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Change the 'fopen' keyword to accept a mode parameter. Note that this
will break existing 4th scripts that use fopen. Thus, the loader
version has been bumped and loader.4th has been changed to check for a
sufficient version on i386 and alpha. Be sure that you either do a full
world build or install or full build and install of sys/boot after this
since loader.old won't work with the new 4th files and vice versa.
PR: kern/32389
Submitted by: Jonathan Mini <mini@haikugeek.com>
Sponsored by: ClickArray, Inc.
|
|
|
|
|
| |
will not fail thinking that the loader version is stale. This lets us
use the Forth code on the CD now.
|
| |
|
|
|
|
| |
Reviewed by: dfr
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
make(1) wants to build loader.sym *before* the .o files. Eliminating
one seeminly intermediate step avoids the problem. Somehow, it seems
that variables are not getting expanded at the right time.
Any explanations would be appreciated...
Changing:
${BASE}.sym: ${OBJS} ${LIBSTAND} ${LIBFICL} ${LIBALPHA} ${CRT} vers.o
${LD} ...
To:
BASEOBJS= ${OBJS} ${LIBSTAND} ${LIBFICL} ${LIBALPHA} ${CRT} vers.o
${BASE}.sym: ${BASEOBJS}
echo ${BASEOBJS}
${LD} ...
.. the echo only shows LIBFICL, CRT and vers.o. ${OBJS} is not included.
|
| |
|
|
|
|
| |
The offending loader.4th commit (rev 1.20) has been backed out.
|
|
|
|
|
| |
do a .loc on it. BTW, the .loc needs to be in a .text section.
gas 2.11.0 catches these oversights where previous versions did not.
|
|
|
|
| |
is fixed.
|
|
|
|
| |
Found by: rm -rf /usr/obj/usr/src/sys/boot ; make ; make clean ; cvs -q up
|
| |
|
|
|
|
| |
MFC candidate
|
|
|
|
|
|
|
| |
and makes it impossible to boot from floppy and CD on some AlphaServer
platforms.
Detective work by: Michael Richards <michael@fastmail.ca>
|
| |
|
| |
|
|
|
|
|
|
| |
The release engineer keeps using the wrong /boot/cdboot when creating the
ISO images. So we'll add the 4.0-RELEASE cdboot to the tree until someone
bothers to fix the source so a working `cdboot' is built.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
to reinstall boot1 after a 'make world'.
Unfortunately this means that people who have already installed a new
boot1 from a 'make world' after 2000/09/18 *must* reinstall it after
their next build using something like:
# disklabel -B /dev/da0c
|
| |
|
|
|
|
|
|
| |
expands beyond the limit we will extend the address space before trying
to zero the BSS. This should give us plenty of headroom for modest
expansion of the loader.
|
| |
|
| |
|
|
|
|
| |
without the extra space. What a pity.
|
|
|
|
|
| |
(barely) enough room for boot1 and gives us 8KB more to play with
in the loader.
|
|
|
|
|
| |
Rename 'stack' to 'stackbase' as this variable
more correctly denotes what it is.
|
|
|
|
|
|
| |
and boot-conf&boot semantic changes.
Reminded by: peter (even though he doesn't know it)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
only doing so if loader.rc does not exist. This fixes the problem where
installworld doesn't update /boot/loader.4th, resulting in device.hints not
being loaded after updating past the config(8) changes, which resulted in
mcclock0 not being probed, and a nice kernel panic during boot.
|
|
|
|
|
|
| |
moment. We were cleaning up after PXE too early and the module
dependancy code would not be able to load any files if it needed
too.
|
| |
|
|
|
|
|
|
| |
run OSF/1 PALcode.
Obtained from: NetBSD
|
| |
|
|
|
|
| |
Remove INSTALL_FORTH stuff.
|
|
|
|
| |
be functional now.
|
|
|
|
|
|
|
|
|
| |
FICL. bootforth is now live on the Alpha!
**BEWARE** - you *MUST* build and install a current libstand or you will
most likely get zfree() panics at loader startup.
We should now be able to set up the loader.conf stuff on the Alpha too.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
/boot/loader (even though it is 100% dormant in the Alpha version),
then the loader panics with a zfree error:Loading /boot/loader.test
*** keyboard not plugged in...
Console: SRM firmware console
panic: zfree(0x2003cb58,4096): wild pointer
versus the exact same code but without FICL linked in:
Loading /boot/loader
Console: SRM firmware console
VMS PAL rev: 0x1000600010114
OSF PAL rev: 0x1000600020116
Switch to OSF PAL code succeeded.
FreeBSD/alpha SRM disk boot, Revision 0.1
This is almost certainly an alpha infrastructure bug, not a FICL
problem. It's probably the same thing that made FICL fail for no
apparent reason on the Alpha.
|
|
|
|
| |
boot programs when installing new versions.
|
| |
|
|
|
|
|
|
|
| |
Add support for module metadata. The old way of dependancy
handling will be supported for a while.
Reviewed by: peter
|
|
|
|
| |
the new readdir function.
|
|
|
|
|
|
|
|
|
|
| |
flushed if the unit changes. Compute the absolute offset before
bcache_strategy() instead of after.
The actual fix is sligthly different for the one in the PR.
PR: 17098
Submitted by: John Hood <jhood@sitaranetworks.com>
|
|
|
|
|
|
| |
at runtime as it has a nasty habit of crashing on the Alpha :-(.
This is being done this way so we have a common starting point for
debugging.
|