summaryrefslogtreecommitdiffstats
path: root/sys/boot/common
Commit message (Collapse)AuthorAgeFilesLines
* Trim EOL white spaces.maxim2004-08-221-5/+4
|
* Check a return code from read(2) correctly.maxim2004-08-221-1/+1
| | | | | PR: kern/70815 Submitted by: info [at] haakh.de
* Bump the manpage date.maxim2004-08-181-1/+1
| | | | Noticed by: ru
* Retire hw.pci.allow_unsupported_io_range.maxim2004-08-182-11/+0
| | | | | PR: bin/70533 Submitted by: Gavin Atkinson
* remove /boot/kernel from the default path.. There is already code thatjmg2004-08-061-1/+2
| | | | | | | | will prepend the current kernel booting... This prevents a problem of loading /boot/kernel's modules when a different kernel has no modules, but you left your module_load="YES" in loader.conf... Reviewed by: dcs (minus the help part)
* Correct a documentation bug.ceri2004-07-291-1/+1
| | | | Approved by: jhb
* Change the following environment variables to kernel options:brian2004-07-082-24/+1
| | | | | | | | | | | | | bootp -> BOOTP bootp.nfsroot -> BOOTP_NFSROOT bootp.nfsv3 -> BOOTP_NFSV3 bootp.compat -> BOOTP_COMPAT bootp.wired_to -> BOOTP_WIRED_TO - i.e. back out the previous commit. It's already possible to pxeboot(8) with a GENERIC kernel. Pointed out by: dwmalone
* Change the following kernel options to environment variables:brian2004-07-082-1/+24
| | | | | | | | | | | | | | | | | | BOOTP -> bootp BOOTP_NFSROOT -> bootp.nfsroot BOOTP_NFSV3 -> bootp.nfsv3 BOOTP_COMPAT -> bootp.compat BOOTP_WIRED_TO -> bootp.wired_to This lets you PXE boot with a GENERIC kernel by putting this sort of thing in loader.conf: bootp="YES" bootp.nfsroot="YES" bootp.nfsv3="YES" bootp.wired_to="bge1" or even setting the variables manually from the OK prompt.
* mdoc(7) fixes.ru2004-07-071-2/+2
|
* Consistently use __inline instead of __inline__ as the former is an empty macrostefanf2004-07-041-1/+1
| | | | in <sys/cdefs.h> for compilers without support for inline.
* Fixed what appeared to be a hard sentence break.ru2004-07-021-2/+2
|
* When building a kernel or the loader, let the hostname be overriddenps2004-07-011-1/+1
|
* Markup fixes.ru2004-05-161-10/+8
|
* Remove advertising clause from University of California Regent'simp2004-04-071-4/+0
| | | | | | | license, per letter dated July 22, 1999 and email from Peter Wemm, Alan Cox and Robert Watson. Approved by: core, peter, alc, rwatson
* mdoc fix: put the end-of-list macro after the last list element.le2004-04-031-1/+1
| | | | Approved by: grog (mentor)
* Fixed a misspelling of 0 as NULL.bde2004-03-111-1/+1
|
* Style: use the defined() expression explicitly.ru2004-02-071-3/+3
|
* Rename the kern.vm.kmem.size tunable to the more logical vm.kmem_size. Todes2004-01-272-6/+6
| | | | | | | | | | | assure backward compatibility (conditional on !BURN_BRIDGES), look it up by its old name first, and log a warning (but accept the setting) if it was found. If both the old and new name are defined, the new name takes precedence. Also export vm.kmem_size as a read-only sysctl variable; I find it hard to tune a parameter when I don't know its default value, especially when that default value is computed at boot time.
* Override the root server address if an IP address is specified iniedowse2003-11-031-7/+9
| | | | | | | | | the root path. This is reported to make non-PXE netbooting, such as is used on sparc64 systems, work correctly when the TFTP server is not the same as the root server. PR: kern/57328 Submitted by: Per Kristian Hove <Per.Hove@math.ntnu.no>
* Use __FBSDID().obrien2003-08-2521-49/+74
| | | | Also some minor style cleanups.
* Capitalize an occurrence of 'ficl' for consistency.brueffer2003-06-291-1/+1
| | | | | Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com> MFC after: 3 days
* Build on amd64. Yes, I know this isn't particularly nice.peter2003-06-261-4/+0
|
* Fixed the markup and wording of the kern.ipc.nsfbufs tunable.ru2003-05-171-3/+5
| | | | | | (It does not modify NSFBUFS, but just overrides it if set.) Approved by: re (blanket)
* Fix lookup of module metadata on amd64 systems. While this is inpeter2003-05-121-5/+25
| | | | | | | | common code, the non-trivial part is #ifdef'ed and only executes when loading amd64 kernels. The rest is trivial but needed for the the amd64 case. (Two variables changed from char ** to Elf_Addr). Approved by: re (amd64 "low-risk" stuff)
* Since we insist on loading the POS ACPI by default, give the poor userobrien2003-05-051-0/+5
| | | | instructions on the main help screen for disabling it.
* Fix a bunch of typos and grammatical errors.murray2003-05-041-42/+43
| | | | | | PR: docs/40234 Submitted by: Chris Pepper <pepper@rockefeller.edu> (mostly) MFC After: 3 days
* Enable the i386 loader to load and run an amd64 kernel. If this putspeter2003-05-015-56/+88
| | | | | | | | | | | | | | | things over floppy size limits, I can exclude it for release builds or something like that. Most of the changes are to get the load_elf.c file into a seperate elf32_ or elf64_ namespace so that you can have two ELF loaders present at once. Note that for 64 bit kernels, it actually starts up the kernel already in 64 bit mode with paging enabled. This is really easy because we have a known minimum feature set. Of note is that for amd64, we have to pass in the bios int 15 0xe821 memory map because once in long mode, you absolutely cannot make VM86 calls. amd64 does not use 'struct bootinfo' at all. It is a pure loader metadata startup, just like sparc64 and powerpc. Much of the infrastructure to support this was adapted from sparc64.
* Zap some a.out leftoverspeter2003-04-061-3/+0
|
* Libdisk does not need to include <sys/diskslice.h> any more.phk2003-04-042-2/+0
| | | | | | | | | Move the remaining bits of <sys/diskslice.h> to <i386/include/bootinfo.h> Move i386/pc98 specific bits from <sys/reboot.h> to <i386/include/bootinfo.h> as well. Adjust includes in sys/boot accordingly.
* Fix a few spelling errors.trhodes2003-03-071-3/+3
| | | | Submitted by: Stefan Farfeleder <stefan@fafoe.dyndns.org> via -doc.
* Document the tunable kern.ipc.nsfbufs in help.common and loader.8. Smallseanc2003-03-042-4/+11
| | | | | | | nearby grammar fixup that saves a line of display while in the loader (help set tunables), but reuses the line for kern.ipc.nsfbufs. Approved by: roam
* FreeBSD 5.0 has stopped shipping /modules 2.5 years ago. Catchru2003-03-033-3/+3
| | | | | up with this further by excluding /modules from the (default) kern.module_path.
* Only apply rev 1.10 (which hacks around the i386 boot2 being too big forobrien2003-02-251-0/+5
| | | | both ufs1 and ufs2 support) on i386.
* Revert to old (broken for over 1.5Tb filesystems) version of cgbasemckusick2003-02-241-0/+2
| | | | | | so that boot loader once again will fit. Sponsored by: DARPA & NAI Labs.
* s/hw.pci_allow_unsupported_io_range/hw.pci.allow_unsupported_io_range/trhodes2003-02-081-1/+1
| | | | The former was incorrect and gave an `unknown oid' error.
* Fix module dependency (pre)loading on sparc64 by relocating the variablesjake2003-01-211-6/+57
| | | | | | | | read from the raw kld files. Submitted by: Hartmut Brandt <brandt@fokus.gmd.de> PR: 46870 Tested on: alpha (obrien), i386, sparc64
* Minimally document hw.syscons.sc_no_suspend_vtswitch.mdodd2003-01-151-0/+6
| | | | Requested by: Nate Lawson <nate@root.org>
* Restructure so we can compile UFS1_ONLY, UFS2_ONLY or UFS1_AND_UFS2phk2002-12-141-91/+33
| | | | versions from the same basic function.
* Uniformly refer to a file system as "file system".ru2002-12-121-1/+1
| | | | Approved by: re
* Create a new 32-bit fs_flags word in the superblock. Add code to movemckusick2002-11-271-1/+1
| | | | | | | | | | | | | | | | | the old 8-bit fs_old_flags to the new location the first time that the filesystem is mounted by a new kernel. One of the unused flags in fs_old_flags is used to indicate that the flags have been moved. Leave the fs_old_flags word intact so that it will work properly if used on an old kernel. Change the fs_sblockloc superblock location field to be in units of bytes instead of in units of filesystem fragments. The old units did not work properly when the fragment size exceeeded the superblock size (8192). Update old fs_sblockloc values at the same time that the flags are moved. Suggested by: BOUWSMA Barry <freebsd-misuser@netscum.dyndns.dk> Sponsored by: DARPA & NAI Labs.
* Eliminate references to defunct kernel tunables.yar2002-11-262-23/+0
| | | | | Approved by: re PR: bin/43343
* Document loader tunables hw.pci.enable_io_modes andmdodd2002-11-132-0/+24
| | | | | | | hw.pci.allow_unsupported_io_range. Submitted by: Hiten Pandya <hiten@angelica.unixdaemons.com> Approved by: re (murray)
* Loader tunable 'machdep.disable_mtrrs'.mdodd2002-11-132-0/+6
| | | | | | | | Sysctl of same name to reflect status. Submitted by: jhb Approved by: re (murray) MFC after: 1 day
* It seems that the only problem with UFS2 booting on i386 is the 64bitphk2002-10-081-10/+12
| | | | | | | | | divide/remainder calls. For reasons not resolved, compiling the relevant routines from libkern into boot2 results in stack corruption. Do the simple thing: Don't use 64bit divide/remainder operations. Sponsored by: DARPA & NAI Labs
* Move the definition of UFS1_ONLY into the Makefiles where it belongs.phk2002-10-071-3/+0
| | | | Sponsored by: DARPA & NAI Labs.
* s/hint.acpi.0.disable/hint.acpi.0.disabled/iwasaki2002-08-301-1/+1
| | | | | | | | | Fix device hints entry for disabling acpi(4). This also should fix the arbitration with apm(4) when both drivers are enabled. Note that your /boot/device.hints needs to be updated if you want to stop auto-loading acpi.ko or disable acpi(4).
* Actually remove the stale a.out kld support. This is the stuff that waspeter2002-08-291-256/+0
| | | | never updated for the metadata infrastructure.
* Initiate deorbit burn of i386 a.out kld "support" in loader. Note thatpeter2002-08-291-4/+0
| | | | | | this was quite broken, it never was updated for metadata support. The a.out kld file support was never really used, as it wasn't necessary. You could always load elf kld's, even in an a.out kernel.
* mdoc(7) police: revert unapproved changes in rev. 1.43, added missing markup ↵ru2002-08-131-3/+5
| | | | bits in rev. 1.45.
* Restore autoloading of ACPI module.obrien2002-08-091-0/+4
| | | | | Document the approved ways of disabling it. Submitted by: Daniel O'Connor <doconnor@gsoft.com.au>
OpenPOWER on IntegriCloud