Commit Graph

149 Commits

Author SHA1 Message Date
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
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
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
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
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
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
f1eab2912b tunefs now requires -lufs. 2003-01-23 08:30:48 +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
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
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
Yoshihiro Takahashi
12ee49ef92 Remove unused code. 2002-09-10 13:08:23 +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
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
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
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