Commit Graph

245 Commits

Author SHA1 Message Date
Ken Smith
e3b0ab34a1 The i386 "fixit" floppy began overflowing, most likely due to the new
gcc.  Replace vi(1) with ed(1) as the editor to make the contents fit
on a floppy again.
2007-06-15 14:41:11 +00:00
Yoshihiro Takahashi
ef6cf7f1f1 Make a bootable CD on pc98. 2006-05-16 14:22:37 +00:00
Sam Leffler
9fe7600bbe Revamp base system packaging of kernels to enable up/smp selection
at runtime and to support distributing additional kernels:
o remove kernel from the base tarball
o add new kernel tarballs
o build + package both SMP and GENERIC kernels when an <arch>/conf/SMP
  config file is present
o add sysinstall support for multiple kernels
o update sysinstall to probe for the number of cpus on a system
  and auto-select smp/up kernel accordingly
o add a post-kernels install hook to fixup /boot/kernel
o add -ldevinfo to boot crunch for sysinstall's cpu probing logic

Notes:
1. On HEAD this code is not currently used because GENERIC kernels
   include SMP.  This work is mainly intended for RELENG_6 where the
   GENERIC kernel is UP.  If HEAD changes to match then just enable
   WITH_SMP in sysinstall/Makefile.
2. The cpu probing support is done with acpi and MPTable; this means
   some systems will require work for auto-detection to work.
3. The handling of /boot/kernel may need to be revisited; for now
   we rename one kernel at the last moment (SMP if installed, otherwise
   GENERIC).  There are other, possibly better, approaches.

Lots of help from ru, emaste, scottl, and jhb.
2006-03-08 18:02:32 +00:00
Ian Dowse
2e46a159cc Remove usbd(8) and all references to it. It is no longer necessary
since devd(8) now provides the same functionality.

Submitted by:	Anish Mistry
2005-12-15 01:04:51 +00:00
Ken Smith
9253618760 The current version of mkisofs is warning us that the -P option will
be changing with the next version, and we should be using -publisher
instead.

Also warned by:	trhodes
MFC after:	1 week
2005-01-30 21:10:52 +00:00
John Baldwin
8dd9e9d036 Don't allow ISO images to be made that try to use boot.flp to boot as the
boot.flp in 5.3 and later is not self-contained and thus not suitable for
CD booting.  /boot/cdboot is now the only way to boot the install CDs.

MFC after:	2 weeks
2004-12-01 18:03:18 +00:00
Ruslan Ermilov
3f68119c9a Keep each prog on its own line so that diffs between various
*_crunch.conf files are easier to read.
2004-10-01 07:54:37 +00:00
Ruslan Ermilov
5131c5866e Take away unused libraries. 2004-10-01 07:33:09 +00:00
Murray Stokely
f009648120 Add a publisher variable with the URL for the FreeBSD Project, and put
this into the ISO headers by specifying the -P option to mkisofs.

Obtained from: share/examples/worm/makecdfs.sh
2004-07-15 09:28:03 +00:00
Kris Kennaway
57a3bc4163 Set BATCH=yes to avoid bumping into interactivity in the port builds.
XXX /usr/ports is still hardcoded, should be ${PORTSDIR}
2004-07-12 07:59:25 +00:00
Marius Strobl
156b04cce4 mkisofs(8) is now installed by sysutils/cdrtools.
This will be instantly MFC'ed.
2004-06-02 22:21:15 +00:00
Makoto Matsushita
d822892179 Unbreak fixit crunch: since Feb/17/2004, mount(8) requires libufs.
See also src/sbin/mount/Makefile rev 1.14.

Noticed by: snapshots.jp.FreeBSD.org
2004-02-19 02:48:46 +00:00
Ruslan Ermilov
cae8c47975 Clean up after revision 1.55. 2004-01-28 09:38:40 +00:00
John Baldwin
96300f5dc8 *BANG* *BANG* *BANG* *BANG* *BANG* *BANG* *CLICK* *CLICK* *CLICK*
*BANG* *BANG* *BANG* *BANG* *BANG* *BANG* *CLICK* *CLICK* *CLICK*

Death to the stripped down BOOTMFS kernel for boot floppies and all the
cruft that goes along with it.
2004-01-26 20:02:01 +00:00
Scott Long
6fedff6c32 Put the em and vx drivers back into the kernel so that the mfsroot stops
overflowing.  We are one again on the brink of the floppies having major
overflow problems.
2003-12-22 15:19:45 +00:00
Scott Long
cbaa2c700c Move mly, plip, and slip back into the kernel so floppy 3 can fit again. I'm
not sure why it exploded in the last 10 days, though I suspect nfsclient.ko.

Approved by: re (rwatson)
2003-11-25 04:51:35 +00:00
Jun Kuriyama
4ece570dc5 Move cd9660 module from 3rd floppy to 2nd to unbreak release. 2003-11-12 08:08:16 +00:00
Jun Kuriyama
ea10a1a30a Remove "device acpi" from BOOTMFS kernel for boot floppy to unbreak the
release build.
2003-11-06 07:58:37 +00:00
Max Khon
c4f02a891f - Support for multibyte charsets in LIBICONV.
- CD9660_ICONV, NTFS_ICONV and MSDOSFS_ICONV kernel options
(with corresponding modules).
- kiconv(3) for loadable charset conversion tables support.

Submitted by:	Ryuichiro Imura <imura@ryu16.org>
2003-09-26 20:26:25 +00:00
Jun Kuriyama
c9f59b8c9e Unbreak "make release" by moving bfe and re driver into 2nd floppy. 2003-09-12 08:20:47 +00:00
Scott Long
fdbc83723d Move the mlx driver back into the kernel so that the drivers floppy doesn't
overflow.
2003-07-25 00:10:33 +00:00
Ruslan Ermilov
6ebe96017d Added the (undocumented) EMUL_BOOT variable (for TARGET=i386 only)
that causes the bootable ISO images to be created using the floppy
emulation (the old method) as opposed to the new "cdboot" method.

Only copy boot.flp to the 2nd CD-ROM if this variable is defined.

Reviewed by:	murray
2003-07-23 20:53:37 +00:00
Ruslan Ermilov
215640d59f Keep entries sorted by floppy, type, and name. 2003-06-01 20:01:05 +00:00
Scott Long
b5568efe33 Enable the MUTEX_NOINLINE option for the BOOTMFS kernel for ia32, pc98, and
alpha.  This shaves 36-50k off of the compressed kernel size.

Submitted by:	jhb
2003-05-18 03:52:22 +00:00
Ruslan Ermilov
5795760c45 disklabel(8) is spelled bsdlabel(8) or sunlabel(8) these days.
Also make sure bsdlabel(8) (along with the disklabel(8) compat
link) still appear on the fixit floppies of platforms that use
it natively (alpha, i386, and pc98).

Approved by:	re (scottl)
2003-05-17 19:16:28 +00:00
Scott Long
d076c51599 Move the em driver from flopp3 to floppy 2 to make room for the ips driver. 2003-05-12 02:40:24 +00:00
Scott Long
b8e41b4b89 The ips ServeRAID driver can go on the driver floppy. 2003-05-11 06:42:09 +00:00
Scott Long
96b040863a Revert rev 1.78 of dokern.sh. The ncv, stg, and nsp drivers aren't
specific to pc98, and it looks like space on the kernel floppy isn't
as tight as it was.
2003-05-05 02:04:55 +00:00
Scott Long
2163f9d31b pc98 has it's own release subdir, so it's safe to remove the stg, ncv, and
nsp drivers from the i386 floppies.

Suggested by:	bmah
2003-05-02 17:47:08 +00:00
Hidetoshi Shimokawa
18321f9a37 add FireWire drivers. 2003-04-22 07:57:20 +00:00
Ruslan Ermilov
ca7b358a91 Removed mount_devfs from progs since there is no "mount_devfs"
source directory (it's spelled mount_std nowadays), so it was
a no-op anyway, and DEVFS is now the default.
2003-04-21 19:14:32 +00:00
Murray Stokely
e45f7f07a9 Move Bill Paul's new axe driver module to floppy disk 3 on i386 and
alpha, disk 2 on pc98, and keep it in the boot kernel for sparc64.
2003-04-21 00:10:26 +00:00
John Hay
cde488d3a7 Move the ex, ie, plip and sl drivers to drivers.flp, so that kern.flp
fit again.
2003-04-17 06:06:54 +00:00
John Hay
20f99829c3 NO_COMPAT_FREEBSD4 is no more. 2003-04-17 06:04:44 +00:00
Ruslan Ermilov
4c9fbbd687 Go for the auto-tuned `maxusers'. This at least fixes
the ``panic: timeout table full'' on Alphas.

Tested by:	wilko
2003-03-22 14:23:23 +00:00
Ruslan Ermilov
61b25513f1 wlan module depends on rc4 module, so provide one.
Reviewed by:	imp
2003-03-21 22:01:00 +00:00
Makoto Matsushita
a9f39f60e0 Push UFS_ACL back for i386. We have 11kbytes of free space on kern.flp.
If we have no UFS_ACL kernel, users who already uses UFS1/2 attributes
get confused since no access control is performed for an update install.

Still, pc98 and alpha doesn't have UFS_ACL since I don't know about them.

Nyan-san, if kern.flp on tatsu has enough spaces (4k or more spaces),
please back UFS_ACL for pc98 also.

Data collected from: 5.0-CURRENT-20030221-JPSNAP on snapshots.jp.FreeBSD.org
2003-02-21 18:07:24 +00:00
Olivier Houchard
b7673cd133 Move trm(4) to the drivers floppy.
This should have been done a long time ago.
2003-02-20 03:22:53 +00:00
Makoto Matsushita
9e1bbfcf67 Pushing back aacp driver to kern.flp kernel. It can be removed iff
aac is not compiled into a kernel.

After this change, kgziped kernel got about 320 bytes; it still fits a floppy.

Pointy hat to: matusita
2003-02-19 03:49:17 +00:00
Makoto Matsushita
5a09e21c81 Yet another kernel diet: remove aacp and _KPOSIX_PRIORITY_SCHEDULING.
aacp is a passthrough driver for aac, but it seems that aac kernel
module has a feature provided by aacp; so it can be removed safely.

_KPOSIX_PRIORITY_SCHEDULING provides P1003.1B realtime extension.
However, in an installation phase, it seems that it helps a little
for us, so we can remove this option from a kernel for floppy installation.

I know _KPOSIX_PRIORITY_SCHEDULING option is defined in other architecture.
However, I don't touch them at this time; I can't test it.

Anyway here's result.

	Before diet:
	-rwxr-xr-x  1 matusita  matusita  4849883 Feb 18 11:22 kernel
	-rwxr-xr-x  1 matusita  matusita  1727143 Feb 18 11:47 kernel.kgz

	After diet:
	-rwxr-xr-x  1 matusita  matusita  4840949 Feb 18 09:48 kernel
	-rwxr-xr-x  1 matusita  matusita  1723911 Feb 18 11:47 kernel.kgz

We've got extra 3232 bytes (using 5-current as of Feb/18/2003).

In cooperation with:	jwd (test ISO installation image)
Boot tested on:		several PCs around myself
Installation tested on:	VMware Workstation e.x.p build-4099
2003-02-18 12:09:20 +00:00
Ruslan Ermilov
fa9a98f858 Moved 802.11 (device wlan) consumers to the third floppy as well.
Shouldn't these modules have the dependency on "wlan" module?
2003-02-05 10:45:06 +00:00
Ruslan Ermilov
58b8fa7412 Unbreak i386 snapshots by moving the 802.11 support (device wlan)
out from BOOTMFS to the drivers floppy.
2003-01-27 17:54:49 +00:00
Ruslan Ermilov
f1eab2912b tunefs now requires -lufs. 2003-01-23 08:30:48 +00:00
Scott Long
5b59084cb5 Put the if_bge driver on the second floppy 2002-12-28 06:23:44 +00:00
Scott Long
1dfc179686 Move the agp driver to the third floppy to un-spill the mfsroot. 2002-12-18 16:22:45 +00:00
Murray Stokely
04242a0840 Move awi to mfsroot floppy. There is no space for 802.11 drivers on
the boot floppy.

Approved by:	re
2002-12-06 08:09:56 +00:00
John Baldwin
cb505683e3 Make 'agp', 'tun', and 'if_txp' be modules on the mfsroot floppy instead of
just removing them from BOOTMFS using dokern.sh.
2002-11-12 19:30:00 +00:00
Ruslan Ermilov
34fa8213c3 Sort by floppy, type, driver name. 2002-11-11 11:44:57 +00:00
Ruslan Ermilov
bd9ff04bd0 Removed redundant entries (these are handled by drivers.conf). 2002-11-11 11:02:14 +00:00
Ruslan Ermilov
1b79652469 Don't attempt to strip obsolete, non-existing, or commented out
options and devices.
2002-11-11 10:53:28 +00:00
Ruslan Ermilov
4d28d2b43c Tabulate, sort. 2002-11-11 10:13:30 +00:00
Peter Wemm
e0208e5320 Add NO_COMPAT_FREEBSD4.
Submitted by:	Sergey Mokryshev <mokr@mokr.net>
2002-10-27 03:41:35 +00:00
Murray Stokely
acd386159a Update comment to note that the third floppy (for modules) has been
implemented.  Add a note reminding developers to update drivers.conf.5
if they add new functionality here.
2002-10-21 10:53:35 +00:00
Yoshihiro Takahashi
b6e566c93b - Remove the UFS_ACL option from the boot floppies.
- Remove duplicate entries.
2002-10-20 15:37:32 +00:00
Makoto Matsushita
42de95691d Since NEWCARD is the default pccard subsystem, pccard[cd] is no
longer needed.  Note that pc98 uses OLDCARD so this is only for i386
(thanks nyan-san).

OKed by: imp
2002-10-19 14:23:18 +00:00
Sam Leffler
f7525b1de0 Add mount_devfs so we can remove MAKEDEV from the fixit floppy. These
two changes make stuff fit in a floppy image again.

Note: tested only for i386, but (blindly) applied to all machines
2002-10-17 18:04:53 +00:00
Sam Leffler
77cfe20dfa Strip splash, tun, and COMPAT_FREEBSD4 from the config used to build
the BOOTMFS kernel.  These help reduce the kernel size so things fit
in a floppy image.  There are more low-hanging fruit to be had here
if things fail to fit again.
2002-10-17 18:02:27 +00:00
Sam Leffler
39820c9674 Mark more drivers as going on the (nonexistent) drivers.flp floppy
to reduce the size of the bootstrap kernels.  This is needed to make
stuff fit in primary floppy images.  Specific drivers moved: RAID
support, tx Ethernet, and wi (wireless).  Probably want to revisit
at least the last two drivers before release.

Submitted by:	jhay (mostly)
2002-10-17 18:00:30 +00:00
Yoshihiro Takahashi
12ee49ef92 Remove unused code. 2002-09-10 13:08:23 +00:00
John Hay
d9a6bd9c61 Remove the second lnc line. Move CD9660 to the third floppy to make
mfsroot.flp fit again.
2002-09-09 11:01:32 +00:00
David E. O'Brien
ee298a8151 Back out last commit where I moved pcn(4) off of the modules floppy back
into the install kernel.  Unfortunately pcn(4) also needs mii(4) so that
would also have to added to install kernel, which will bloat it up so that it
doesn't fit on the floppy any more.  Turns out we grew a lnc(4) module since
I last looked.  So handle it as a kld loadable module during install rather
than have it statically compiled into the kernel.
2002-09-08 23:59:38 +00:00
David E. O'Brien
f31d7a5714 Statically compile pcn(4) into the install kernel vs. using as module.
lnc(4) will attach to AMD PCnet/FAST NICs if pcn(4) does not attach.
I.e. pcn(4) gets first chance.  There is a problem however in that pcn(4)
was moved out of the install kernel so that the module would be used.
This however causes bad installs if one has an AMD PCnet/FAST NIC.
2002-09-05 15:45:01 +00:00
Murray Stokely
3e7c03093a Remove the AH[CD]_REG_PRETTY_PRINT options from the boot floppies.
Discussed with:	gibbs
2002-09-02 02:57:25 +00:00
Yoshihiro Takahashi
486f5480ba Pc98 does not have the agp device. 2002-08-11 13:23:59 +00:00
John Hay
407ac59af3 Add a third floppy to releases. It will only be built if there is a
release/${TARGET}/drivers.conf file which list drivers that have to
go into the third floppy.

Also shuffle i386/drivers.conf so that the floppies don't overflow
anymore. Anybody with real/better usage statistics is welcome to
shuffle it differently.

Reviewed by:	ru
2002-08-09 07:45:42 +00:00
Eric Anholt
2690c0bb32 Add device agp to GENERIC, filter it out of floppy builds
Approved by:	des (mentor)
2002-08-04 18:35:02 +00:00
Ruslan Ermilov
e56ea3c59b Moved some more NIC drivers to the second floppy. 2002-07-25 14:04:38 +00:00
Ruslan Ermilov
ae3155af28 I'm not sure if that was ahd(4) who grew BOOTMFS so that it
no longer fits 1.44M but...

Moved vx(4) and all miibus consumers (including miibus) out
from kern.flp to mfsroot.flp.  This leaves 9K of the free
space for kern.flp.
2002-07-04 15:48:00 +00:00
Yoshihiro Takahashi
0bf831c43e Removed the ch, sa and ses devices from 'SMALL' boot floppy image. 2002-05-23 14:15:48 +00:00
Jordan K. Hubbard
9c7c210d3b Back out previous commit - I didn't realize that ifconfig(8) dealt
properly with 802.11 configuration now.

Noted by:	jhb
2002-05-16 06:00:57 +00:00
Jordan K. Hubbard
ebfbe4e7fb Add wicontrol to boot floppy until such time as this support is part
of ifconfig.
PR:		misc/21886
2002-05-13 20:16:06 +00:00
Murray Stokely
bb4afbaea0 Update a comment to accurately describe the usage of the fourth field
of this file.
2002-05-01 05:05:31 +00:00
Murray Stokely
64c5487f60 Add the System V shared memory modules to the mfsroot. This
functionality is required for the linux module, which is required by
many third party packages.

Merged from: 5.0-DP1 / Perforce
2002-05-01 04:53:36 +00:00
John Baldwin
649739635f Switch to using cdboot for booting i386 CD's by default.
Approved by:	murray
2002-04-11 16:39:13 +00:00
Yoshihiro Takahashi
ec8ab20b51 - Sort some entries.
- Don't remove MATH_EMULATE and MSDOS from a 'SMALL' floppy.
- Use the pattern '<tab><device name><tab>' instead of '<device name>' to
  avoid an unexpected matching.
2002-03-03 10:38:40 +00:00
Murray Stokely
e4e61f7853 Providing long filename support on the Macintosh requires over 30
megabytes of additional space on the install CD.  Given our premium
for space, I don't think this is a wise use of 30MB.  HFS support was
not provided on the FreeBSD 4.4 CDs and I received a grand total of 0
complaints.
2002-01-24 10:44:16 +00:00
Joerg Wunsch
961cff1566 Include camcontrol(8) (in its minimalistic form) into the boot floppy.
This change should/could be merged into other arch's release build
areas (PC98, Alpha), but since i cannot test a "make release" there, i
won't do this myself.

MFC after:	1 week
2002-01-17 20:28:10 +00:00
Ian Dowse
1cb4661d56 Enable UFS_DIRHASH in the GENERIC kernel.
Suggested by:	silby
Reviewed by:	dillon
MFC after:	5 days
2001-12-14 16:27:11 +00:00
Makoto Matsushita
bbcb3e0620 Sysinstall cleanups for installation:
1) Use devfs to mount filesystems.  If mounting devfs is fail,
           fallback to old code.
        2) When fscking filesystems, use 'fsck_ffs' explicitly.  As a
           result, we no longer need 'fsck' the wrapper program.

Reviewed by:	jkh
2001-12-02 04:47:46 +00:00
Makoto Matsushita
25337c6246 Add fsck tool for UFS to /stand tools (again).
Actually src/release/i386/boot_crunch.conf rev 1.45 does this change,
but unfortunately there is no src/sbin/fsck_4.2bsd directory, but
src/sbin/fsck_ffs.

This commit replaces 'fsck_4.2bsd' to 'fsck_ffs', and add a link to
'fsck_4.2bsd' and 'fsck_ufs'.  Note that 4-stable's fsck(8) have an
ability of fsck_ffs also, there is no need to MFC at least now.

Tested only for: i386 (but I believe this doesn't break for other archs)
2001-11-19 14:43:29 +00:00
John Baldwin
4a68905be9 NFS_NOSERVER doesn't do anything anymore and is about to get axed so don't
use it.  Instead, remove NFSSERVER.  This was already done on i386, but
the alpha still needed the fix.
2001-11-15 15:58:01 +00:00
John Baldwin
2ac0462f16 The new libedit from a while back depends on ncurses, so put -ledit before
-lncurses so the fixit crunch binary links.

Tested on:	alpha
2001-11-14 17:48:55 +00:00
John Hay
d1df08b648 src/sbin/i386 does not exist anymore. Tripped over by make release. 2001-11-05 20:56:54 +00:00
John Baldwin
4fab209391 Remove if_wx.
Submitted by:	Dave Cornejo <dave@dogwood.com>
2001-10-23 22:56:41 +00:00
David E. O'Brien
9f770bc78c Restore MSDOSFS support to the install kernel.
Remove the `txp' `sf' `ste' network drivers instead.

Approved by:	jkh
2001-10-03 03:58:08 +00:00
Jordan K. Hubbard
66a686ee82 Try eliminating some more things from the -current installation
kernel in an attempt to get release builds working again.
2001-09-30 08:23:05 +00:00
David E. O'Brien
074aec36c2 Try to build mkisofs' first, and only pkg_add -r' if you cannot. 2001-09-03 20:29:21 +00:00
David E. O'Brien
d0f44c4dad Fix my backwards logic.
Submitted by:	dirk
2001-09-03 20:23:59 +00:00
David E. O'Brien
9c2ee3164b + do not hard code where a port may be installed to
+ uses `mkisofs' rather than `mkhybrid' as the new mkisofs is the merger
  of the two
+ checks for `setcdboot's existsance and tries to pkg_add it if needed
+ removes English contraction

Approved by:	jkh
2001-08-20 21:22:33 +00:00
KATO Takenori
24906e1422 Added the txp driver into the list for SMALL kernel. 2001-07-24 11:32:18 +00:00
Jordan K. Hubbard
2ef74d2289 Add scripts and Makefile support for building ISO images automatically
as part of the release if MAKE_ISOS is set.  Will also build the
first CD with packages (in addition to the "minimal" CD) if CD_EXTRA_BITS
points to them.  This probably need a bit more work to get fully useful,
but it at least covers the basics for now.
2001-07-23 09:01:46 +00:00
David E. O'Brien
5dd6693718 Unconditionalize these now that they live in ARCH-specific directories. 2001-07-21 17:32:40 +00:00
David E. O'Brien
5b3d192e30 + Build with lint' defined to cut out some of the rcsid's (binaries' code
only, the libs will still have the `rcsid's in them).
+ mount_mfs is OBE.
+ Do not need libipx as I have conditionally diked that functional out of
  ifconfig(8).
2001-07-21 17:28:21 +00:00
Ruslan Ermilov
aff344349b mount_msdos(8) -> mount_msdosfs(8). 2001-06-01 11:25:40 +00:00
David E. O'Brien
c5e70d92ce Turn on kernel debugging support (DDB, INVARIANTS, INVARIANT_SUPPORT, WITNESS)
by default while SMPng is still being developed.

Submitted by:	jhb
2001-04-15 19:37:28 +00:00
David E. O'Brien
65d7fc7c83 Apply rev 1.48 (only dike out the `ncr' driver, not every line with the
[sub]string "ncr" in it) to the Alpha also.
2001-04-15 19:34:40 +00:00
David E. O'Brien
d81349c6dd *sigh*... when trying to dike out the ncr' driver, I was getting the sym'
driver too because it had "ncr" in its comment.

Submitted by:	joerg
2001-04-14 02:10:05 +00:00
John Baldwin
43ede6218e NOBLOCKRANDOM doesn't exist anymore as a kernel option. 2001-04-10 19:01:30 +00:00
David E. O'Brien
3bcda1f141 Add FreeBSD IDs to some files and make the others consistent in style. 2001-04-08 23:09:21 +00:00
David E. O'Brien
0ccceb256d Reorder the Alpha cut-out list to match the order in the GENERIC kernel. 2001-04-07 06:12:10 +00:00