Commit Graph

173 Commits

Author SHA1 Message Date
Ken Smith
1ec675a25a Recent work on the gnu cpio seems to have introduced some bugs, it
complains about "Malformed numbers" while unpacking the dists and
what winds up on the disk isn't correct.  Use this as an opportunity
to switch over to bsdcpio since at this point we don't even build
and install the gnu cpio by default.  Note sysinstall needed to be
tweaked a bit (dropping tape block size setting) because it seems
bsdcpio doesn't do anything with block sizes, at least as far as
reading from archives goes.  That wasn't really a problem since
installations from tape have been broken for a while and the rest
of sysinstall's tape support code will be removed shortly.
2008-08-20 13:35:39 +00:00
Yoshihiro Takahashi
3bd0024335 Replace the ee with the ed to resolve disk overflow. 2008-05-13 11:51:19 +00:00
Yoshihiro Takahashi
e28d949ff4 Add the ed and remove the vi.
This fixes a disk-full error.
2008-05-11 14:25:24 +00:00
Andrew Thompson
dbef86ad30 libbsdxml is now required by ifconfig(8).
Submitted by:	Florian Smeets
2008-04-22 18:20:05 +00:00
Ken Smith
a1435ad491 In 'fixit mode' running "fsck /dev/ad0s1a" typically complains that it
can't find fsck_4.2bsd because there was no fstab file saying what
filesystem type it is looking at so it got the filesystem type from
the disk's label.  When that fails admins who haven't been in this
situation before are most likely to try "fsck -t ufs /dev/ad0s1a" because
ufs is the type used in fstab files on working systems but that also fails
complaining it can't find fsck_ufs.

This just sets it up so /stand in the MFS image (/sbin is a symlink
to /stand) includes hard links pointing fsck_4.2bsd and fsck_ufs to
fsck_ffs which is what is present in /sbin on installed systems.

Prodded by:	obrien
MFC after:	1 day
2008-01-22 16:35:10 +00:00
Yoshihiro Takahashi
24935caf39 Remove the restore and chroot command to avoid disk-full error. 2007-05-22 11:32:55 +00:00
Yoshihiro Takahashi
d803ef6c1d Remove the telnet command because of filesystem full. 2006-05-29 12:55:36 +00:00
Yoshihiro Takahashi
fe91068c3c Disable an SMP detection on pc98. 2006-03-10 12:18:41 +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
Yoshihiro Takahashi
819766797e Switch from OLDCARD to NEWCARD on pc98. 2005-09-27 13:10:24 +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
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
3a125d8e18 Put slattach(8) onto the MFS root file system now that we always
use the GENERIC kernel for installs which has the sl(4) support.
2004-01-28 10:18:54 +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
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
Ruslan Ermilov
e4bbcfbc42 MFi386: sort.
OK'ed by:	nyan
2003-08-02 09:36:49 +00:00
Ruslan Ermilov
33040d38ab Pacify src/tools/tools/release/chk_dokern.sh_and_drivers.conf. 2003-07-28 18:22:07 +00:00
Yoshihiro Takahashi
9dc6f42671 Merged from RELENG_5_1: Don't use MUTEX_NOINLINE. 2003-06-07 08:26:19 +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
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
2f693ac3c9 axe is commented out in GENERIC on pc98, so this wasn't needed.
Pointed out by:	Takahashi Yoshihiro <nyan@jp.FreeBSD.org>
2003-04-21 00:57:25 +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
20f99829c3 NO_COMPAT_FREEBSD4 is no more. 2003-04-17 06:04:44 +00:00
Ruslan Ermilov
9e7ea7cc66 Removed redundant lines.
Noticed by:	obrien
2003-04-01 19:59:30 +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
Yoshihiro Takahashi
28a6e57e85 MFi386: Don't remove UFS_ACL support. 2003-02-26 13:49:46 +00:00
Yoshihiro Takahashi
47794957ec Move the nfsclient support into mfsroot floppy. 2003-01-30 12:46:47 +00:00
Yoshihiro Takahashi
3a2e228595 Remove the atapifd and atapist support from boot floppies. 2003-01-30 12:43:13 +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
Yoshihiro Takahashi
65e261ce04 Add ATA_NOPCI option for small kern.flp floppy.
Approved by:	re (murray)
2002-12-05 13:07:55 +00:00
Yoshihiro Takahashi
1fe1bbd91d Don't move NFSCLIENT. 2002-11-18 11:03:29 +00:00
Yoshihiro Takahashi
c2bed627fb Make a small (1.2M) fixit floppy image for pc98. 2002-11-05 13:54:58 +00:00
Yoshihiro Takahashi
027c892da0 Don't move the NFSCLIENT support into mfsroot-small.flp. 2002-11-02 06:24:29 +00:00
Yoshihiro Takahashi
dacf0b85b7 Disable COMPAT_FREEBSD4. 2002-10-31 04:51:05 +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
fda7c25a9b Remove the slattach command from the mfsroot floppies. 2002-10-20 15:40:09 +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
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
Yoshihiro Takahashi
32a8cd6cdd Remove usbd and usbdevs. 2002-10-16 14:50:46 +00:00
Yoshihiro Takahashi
d1d6092340 Fixed disk full problem for pc98 distribution. Now, it makes 4 installation
floppies.

kern-small.flp and mfsroot-small.flp are for old machines that don't
support 1.44MB floppy. These floppies don't have pci related devices.

kern.flp and mfsroot.flp are normal 1.44MB floppy images.
2002-10-14 16:30:39 +00:00
Yoshihiro Takahashi
d4d57bd023 Move the ed, fe, CD9660, MSDOSFS and NFSCLIENT into mfsroot floppy instead
of the pcn, sf, ste, tl and tx.
2002-10-09 12:01:43 +00:00
Yoshihiro Takahashi
b9b999fad9 - Remove the splash, ppc, ppbus, plip and em devices from small boot floppy.
- Remove the splash, ch and sa devices from normal boot floppy.
- The agp device does not exist.
2002-10-09 12:01:14 +00:00
Yoshihiro Takahashi
6eae34fb52 The boot floppy requires the lnc driver. 2002-09-10 13:11:03 +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