aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/common
Commit message (Collapse)AuthorAgeFilesLines
* MFC rev. 1.65, 1.66 loader.8 and rev. 1.29 boot.common: retireMaxim Konovalov2004-09-262-12/+1
| | | | | | | | | hw.pci.allow_unsupported_io_range. Approved by: re (scottl) Notes: svn path=/stable/5/; revision=135805
* MFC: add loader(8) support for preloading ELF relocatable objectIan Dowse2004-09-034-73/+168
| | | | | | | | | format modules. Approved by: re Notes: svn path=/stable/5/; revision=134719
* This commit was manufactured by cvs2svn to create branch 'RELENG_5'.cvs2svn2004-08-296-0/+738
| | | | Notes: svn path=/stable/5/; revision=134460
* remove /boot/kernel from the default path.. There is already code thatJohn-Mark Gurney2004-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) Notes: svn path=/head/; revision=133217
* Correct a documentation bug.Ceri Davies2004-07-291-1/+1
| | | | | | | Approved by: jhb Notes: svn path=/head/; revision=132854
* Change the following environment variables to kernel options:Brian Somers2004-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 Notes: svn path=/head/; revision=131840
* Change the following kernel options to environment variables:Brian Somers2004-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. Notes: svn path=/head/; revision=131814
* mdoc(7) fixes.Ruslan Ermilov2004-07-071-2/+2
| | | | Notes: svn path=/head/; revision=131754
* Consistently use __inline instead of __inline__ as the former is an empty macroStefan Farfeleder2004-07-041-1/+1
| | | | | | | in <sys/cdefs.h> for compilers without support for inline. Notes: svn path=/head/; revision=131575
* Fixed what appeared to be a hard sentence break.Ruslan Ermilov2004-07-021-2/+2
| | | | Notes: svn path=/head/; revision=131489
* When building a kernel or the loader, let the hostname be overriddenPaul Saab2004-07-011-1/+1
| | | | Notes: svn path=/head/; revision=131393
* Markup fixes.Ruslan Ermilov2004-05-161-10/+8
| | | | Notes: svn path=/head/; revision=129310
* Remove advertising clause from University of California Regent'sWarner Losh2004-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 Notes: svn path=/head/; revision=128019
* mdoc fix: put the end-of-list macro after the last list element.Lukas Ertl2004-04-031-1/+1
| | | | | | | Approved by: grog (mentor) Notes: svn path=/head/; revision=127789
* Fixed a misspelling of 0 as NULL.Bruce Evans2004-03-111-1/+1
| | | | Notes: svn path=/head/; revision=126837
* Style: use the defined() expression explicitly.Ruslan Ermilov2004-02-071-3/+3
| | | | Notes: svn path=/head/; revision=125561
* Rename the kern.vm.kmem.size tunable to the more logical vm.kmem_size. ToDag-Erling Smørgrav2004-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. Notes: svn path=/head/; revision=125091
* Override the root server address if an IP address is specified inIan Dowse2003-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> Notes: svn path=/head/; revision=121973
* Use __FBSDID().David E. O'Brien2003-08-2521-49/+74
| | | | | | | Also some minor style cleanups. Notes: svn path=/head/; revision=119483
* Capitalize an occurrence of 'ficl' for consistency.Christian Brueffer2003-06-291-1/+1
| | | | | | | | Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com> MFC after: 3 days Notes: svn path=/head/; revision=117044
* Build on amd64. Yes, I know this isn't particularly nice.Peter Wemm2003-06-261-4/+0
| | | | Notes: svn path=/head/; revision=116864
* Fixed the markup and wording of the kern.ipc.nsfbufs tunable.Ruslan Ermilov2003-05-171-3/+5
| | | | | | | | | (It does not modify NSFBUFS, but just overrides it if set.) Approved by: re (blanket) Notes: svn path=/head/; revision=115113
* Fix lookup of module metadata on amd64 systems. While this is inPeter Wemm2003-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) Notes: svn path=/head/; revision=114937
* Since we insist on loading the POS ACPI by default, give the poor userDavid E. O'Brien2003-05-051-0/+5
| | | | | | | instructions on the main help screen for disabling it. Notes: svn path=/head/; revision=114707
* Fix a bunch of typos and grammatical errors.Murray Stokely2003-05-041-42/+43
| | | | | | | | | PR: docs/40234 Submitted by: Chris Pepper <pepper@rockefeller.edu> (mostly) MFC After: 3 days Notes: svn path=/head/; revision=114654
* Enable the i386 loader to load and run an amd64 kernel. If this putsPeter Wemm2003-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. Notes: svn path=/head/; revision=114379
* Zap some a.out leftoversPeter Wemm2003-04-061-3/+0
| | | | Notes: svn path=/head/; revision=113161
* Libdisk does not need to include <sys/diskslice.h> any more.Poul-Henning Kamp2003-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. Notes: svn path=/head/; revision=113083
* Fix a few spelling errors.Tom Rhodes2003-03-071-3/+3
| | | | | | | Submitted by: Stefan Farfeleder <stefan@fafoe.dyndns.org> via -doc. Notes: svn path=/head/; revision=111957
* Document the tunable kern.ipc.nsfbufs in help.common and loader.8. SmallSean Chittenden2003-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 Notes: svn path=/head/; revision=111890
* FreeBSD 5.0 has stopped shipping /modules 2.5 years ago. CatchRuslan Ermilov2003-03-033-3/+3
| | | | | | | | up with this further by excluding /modules from the (default) kern.module_path. Notes: svn path=/head/; revision=111852
* Only apply rev 1.10 (which hacks around the i386 boot2 being too big forDavid E. O'Brien2003-02-251-0/+5
| | | | | | | both ufs1 and ufs2 support) on i386. Notes: svn path=/head/; revision=111456
* Revert to old (broken for over 1.5Tb filesystems) version of cgbaseKirk McKusick2003-02-241-0/+2
| | | | | | | | | so that boot loader once again will fit. Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=111410
* s/hw.pci_allow_unsupported_io_range/hw.pci.allow_unsupported_io_range/Tom Rhodes2003-02-081-1/+1
| | | | | | | The former was incorrect and gave an `unknown oid' error. Notes: svn path=/head/; revision=110554
* Fix module dependency (pre)loading on sparc64 by relocating the variablesJake Burkholder2003-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 Notes: svn path=/head/; revision=109616
* Minimally document hw.syscons.sc_no_suspend_vtswitch.Matthew N. Dodd2003-01-151-0/+6
| | | | | | | Requested by: Nate Lawson <nate@root.org> Notes: svn path=/head/; revision=109281
* Restructure so we can compile UFS1_ONLY, UFS2_ONLY or UFS1_AND_UFS2Poul-Henning Kamp2002-12-141-91/+33
| | | | | | | versions from the same basic function. Notes: svn path=/head/; revision=107877
* Uniformly refer to a file system as "file system".Ruslan Ermilov2002-12-121-1/+1
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107788
* Create a new 32-bit fs_flags word in the superblock. Add code to moveKirk McKusick2002-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. Notes: svn path=/head/; revision=107294
* Eliminate references to defunct kernel tunables.Yaroslav Tykhiy2002-11-262-23/+0
| | | | | | | | Approved by: re PR: bin/43343 Notes: svn path=/head/; revision=107266
* Document loader tunables hw.pci.enable_io_modes andMatthew N. Dodd2002-11-132-0/+24
| | | | | | | | | | hw.pci.allow_unsupported_io_range. Submitted by: Hiten Pandya <hiten@angelica.unixdaemons.com> Approved by: re (murray) Notes: svn path=/head/; revision=106845
* Loader tunable 'machdep.disable_mtrrs'.Matthew N. Dodd2002-11-132-0/+6
| | | | | | | | | | | Sysctl of same name to reflect status. Submitted by: jhb Approved by: re (murray) MFC after: 1 day Notes: svn path=/head/; revision=106842
* It seems that the only problem with UFS2 booting on i386 is the 64bitPoul-Henning Kamp2002-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 Notes: svn path=/head/; revision=104678
* Move the definition of UFS1_ONLY into the Makefiles where it belongs.Poul-Henning Kamp2002-10-071-3/+0
| | | | | | | Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=104612
* s/hint.acpi.0.disable/hint.acpi.0.disabled/Mitsuru 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). Notes: svn path=/head/; revision=102612
* Actually remove the stale a.out kld support. This is the stuff that wasPeter Wemm2002-08-291-256/+0
| | | | | | | never updated for the metadata infrastructure. Notes: svn path=/head/; revision=102588
* Initiate deorbit burn of i386 a.out kld "support" in loader. Note thatPeter Wemm2002-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. Notes: svn path=/head/; revision=102556
* mdoc(7) police: revert unapproved changes in rev. 1.43, added missing markup ↵Ruslan Ermilov2002-08-131-3/+5
| | | | | | | bits in rev. 1.45. Notes: svn path=/head/; revision=101823
* Restore autoloading of ACPI module.David E. O'Brien2002-08-091-0/+4
| | | | | | | | Document the approved ways of disabling it. Submitted by: Daniel O'Connor <doconnor@gsoft.com.au> Notes: svn path=/head/; revision=101558
* Stash various networking paramters in the environment for the kernelJake Burkholder2002-07-311-0/+9
| | | | | | | to pick up, ala pxe. Notes: svn path=/head/; revision=101112