Commit Graph

1827 Commits

Author SHA1 Message Date
Kevin Lo
d069140339 Use sizeof() for calculating the buffer size instead of hard-coded values. 2007-03-06 09:32:41 +00:00
Ceri Davies
6c11797498 Use the RB_AUTOBOOT define over 0.
Approved by:	ru (mentor)
2007-02-23 21:15:14 +00:00
Ken Smith
10fa77a3a9 If floppies are used to boot the machine, the user lets the machine
complete the boot and enter into sysinstall, and only then inserts
a CD into the CDROM drive and tries to select that as the install
media the first call to mount(2) generates EIO but the second call
to mount(2) will succeed.  This was 100% reproducible on 6.2-RELEASE,
RELENG_6, and HEAD.  If the user inserts the disc into the CDROM
while the machine is booting off the floppies the first call to mount(2)
succeeds with no problems.  The problem was originally reported in
PR #56952 against 5.1-CURRENT so it's been there for a while now.

PR:		bin/56952
MFC after:	2 weeks
2007-02-22 20:29:53 +00:00
Ceri Davies
aaf6f0feaa Bring these files up-to-date.
PR:		docs/108536
2007-02-18 22:41:41 +00:00
Ceri Davies
c12e775489 Clarify the description of the shutdown command. 2007-02-18 22:04:14 +00:00
Erwin Lansing
d43c17aa76 Add gnustep and ports-mgmt ports categories.
Reviewed by:		simon
MFC after:		3 days
2007-01-31 19:13:08 +00:00
Murray Stokely
71ed4e3258 Provide a more accurate description of the size of the ports collection. 2007-01-16 10:29:10 +00:00
Ceri Davies
e2ad49199c During an upgrade, if /boot/kernel.prev exists then the backup of
/boot/kernel can fail.  Try to remove /boot/kernel.prev and cope the
best we can if that fails.

PR:		bin/106376
Submitted by:	Nobuyuki Koganemaru
Approved by:	ru
MFC after:	2 weeks
2007-01-01 17:25:51 +00:00
Ceri Davies
bb3d40ed84 Clarify a comment. 2006-12-31 19:12:00 +00:00
Erwin Lansing
db8e6345c3 - Add geography and spanish ports categories
- Use "related to" instead of "relating to" consistently [1]

Submitted by:   Rostislav Krasny <rosti.bsd@gmail.com> [1]
Reviewed by:    simon
MFC after:      3 days
2006-12-19 16:46:44 +00:00
Pyun YongHyeon
6451876451 Add msk(4) to the list of supported network interface. 2006-12-13 02:51:26 +00:00
Erwin Lansing
ab5e0c9ec1 Fix a typo ceri found while reviewing and I forgot to commit
in the previous version.

Submitted by:	ceri, matteo
Reviewed by:	cperciva

Also note that the last revision was:
Reviewed by:	ceri, simon
2006-12-11 11:01:13 +00:00
Erwin Lansing
60be46aeff Update the list of ports categories.
This is an updated version of:
PR:             85367
Submitted by:   linimon

Reviewed by:    simon
MFC after:      3 days
2006-12-11 08:54:17 +00:00
Erwin Lansing
6c99f866c8 Add a new turkish mirror
Submitted by:   Evren Yurtesen <yurtesen@ispro.net>
Reviewed by:    simon
MFC after:      3 days
2006-12-10 16:33:38 +00:00
Erwin Lansing
1de945d663 Add ftp.il.freebsd.org to the IPv6 server section.
Submitted by:	Rostislav Krasny <rosti.bsd@gmail.com>
Reviewed by:	simon (also previous commit)
MFC:		3 days
2006-12-02 09:58:01 +00:00
Erwin Lansing
e48b3d7ad7 - Add israeli mirror [1]
- Add an IPv6 main site now both ISC and TDC have IPv6

Submitted by:	Rostislav Krasny <rosti.bsd@gmail.com> [1]
MFC:		3 days
2006-12-01 22:49:51 +00:00
Yoshihiro Takahashi
983bba070e Increase USR_MIN_SIZE to 160 because it requires more disk space.
MFC after:	3 days
2006-11-28 11:48:34 +00:00
Ken Smith
d91461f372 Oops - what people refer to as linux_base-fc4 calls itself linux_base-fc
and that's what pkg_add needs.

MFC after:	1 day
2006-11-23 00:57:10 +00:00
Ken Smith
baddd88f3f Move the check for which disc volume we have/want to after we install
the package dependencies.  Installation of the dependencies may leave
us on the wrong disc volume.

MFC after:	3 days
2006-11-19 08:12:54 +00:00
Ken Smith
b720454e87 Switch to linux_base-fc4 for the Linux emulation package.
MFC after:	3 days
2006-11-16 19:09:41 +00:00
Ceri Davies
9741b9d59b Remove a warning regarding disk entries in /dev.
Approved by:	ru (mentor)
MFC after:	4 days
2006-11-11 12:59:59 +00:00
Ceri Davies
6e92263034 Fix a pair of user-visible typos.
Approved by:	ru (mentor)
2006-11-11 10:43:11 +00:00
Ceri Davies
6de4428149 Back up /boot/kernel rather than /kernel for non-interactive upgrades.
Approved by:	ru (mentor)
MFC after:	4 days
2006-11-11 10:42:04 +00:00
Ceri Davies
c615ed418d Add /lib and /libexec to the list of directories that have the schg
flag removed prior to an upgrade.

Approved by:	ru (mentor)
MFC after:	4 days
2006-11-11 10:38:10 +00:00
Ceri Davies
46bcfc7375 Fix typos in comments. 2006-11-07 23:54:14 +00:00
Erwin Lansing
82336c7dbb If the user did not chose a distribution from the menu, a sensible
default distribution (user) will be installed, however, no kernel
will be installed.  Fix this by installing a sensible default kernel,
SMP/GENERIC, depending on WITH_SMP and number of CPUS found.

Reviewed by:    jhb
2006-10-23 20:49:49 +00:00
Ceri Davies
297a4b8352 When using sysinstall on a running system and editing a disk label
fails, suggest setting kern.geom.debugflags to 16.

PR:		bin/94409
Submitted by:	Markus Oestreicher <m punkt oe at x dash trader dot de>
MFC after:	10 days
2006-10-08 21:16:00 +00:00
Marius Strobl
d647ed4cf6 - Improve the description of gem(4); the Sun chips it supports are
termed ERI and GEM rather than GMAC.
- Bring the description of le(4) in line with the current le(4); it
  was still refering to the old i386 ISA-only le(4) which was nuked
  along with ISA_COMPAT while HEAD was FreeBSD 5.
- Add an entry for hme(4).
- Remove the obsolete entry for lnc(4).

MFC after:	1 day
2006-09-01 22:34:49 +00:00
Brooks Davis
0fffba68bd When generating localhost entries in /etc/hosts, put localhost before
localhost.domain so that naive users of gethost* think 1:: and 127.0.0.1
are "localhost" which is what the user expects.  This also matches the
sample hosts file in src/etc/hosts.
2006-08-30 15:14:00 +00:00
Christian Brueffer
ae277cc673 Add several missing NIC drivers, remove two obsolete ones (el, ix).
Approved by:	rwatson (mentor)
MFC after:	1 week
2006-08-21 09:25:59 +00:00
Ruslan Ermilov
7b64620d93 Fix the output glitch. 2006-08-21 09:15:17 +00:00
Pyun YongHyeon
267682d3e5 Add stge(4) to the list of supported network interface. 2006-07-25 01:03:55 +00:00
Simon L. B. Nielsen
62fad4a13f Add FreeBSD version information to the menu title so it's possible to
see which release you are installing (really which FreeBSD version the
installer is running, but that shouldn't matter in all normal cases).

PR:		bin/100309
Submitted by:	Joao Barros <joao.barros@gmail.com> (original version)
Idea from:	FreeBSD ideas page
MFC after:	1 week
2006-07-15 12:23:56 +00:00
Ceri Davies
4ec07c5e93 Bring the "just copy" hit list closer to date.
Approved by:	jhb
MFC after:	1 month
2006-05-31 19:16:34 +00:00
Ceri Davies
04e273bfb1 Update the location of the kernel for upgrades.
I considered leaving /boot/kernel out of the chflags noschg line, but I
seem to remember that there was a period where /boot/kernel was schg, so
have left it in for safety's sake.

Approved by:	jhb
MFC after:	1 month
2006-05-31 19:15:20 +00:00
Colin Percival
2cb56dabe9 If the user asks for "kernel sources" to be installed, extract the
SRC_BASE package (src/[A-Z]*) as well as SRC_SYS (src/sys/*).  This
allows users who only install the kernel source code to use the
modern "make buildkernel" approach.

Discussed with:	re (scottl, kensmith)
MFC after:	3 days
2006-05-24 03:34:57 +00:00
John Baldwin
9aa6ce1642 Alpha doesn't support linux ABI compat now. 2006-05-10 18:44:10 +00:00
Ceri Davies
38e5cff20e Fix binary upgrades by accounting for the schg flag on /var/empty.
PR:		96711, 96780
Submitted by:	Nobuyuki Koganemaru, Martin Jackson
Approved by:	re (scottl)
MFC after:	1 day
2006-05-04 20:10:34 +00:00
Scott Long
1b355c2dc7 Document sysinstall's limitation on operating on mounted disks. 2006-04-30 06:28:29 +00:00
Jung-uk Kim
566ae23a6f Fix copy-and-pasto in comment. 2006-04-14 18:34:57 +00:00
Jung-uk Kim
a3ca22fc1f Fix minimal installation check. 'X' was not displayed when it was selected.
Reported by:	Ian J. Hart <ianjhart at ntlworld dot com>
		Pieter de Goeje <pieter at degoeje dot nl>
2006-04-14 18:18:43 +00:00
Scott Long
cf3dcc9f57 Teach sysinstall about mfi(4). 2006-03-29 10:02:26 +00:00
Colin Percival
256c62e23f Only set the size of /usr to whatever-is-left is whatever-is-left is
greater than the size we autosized.  Without this fix, systems with
drives under 10GB can end up with very small /usr partitions...

Broken since:	January 2002
Tripped over by: simon
2006-03-24 22:45:24 +00:00
Yoshihiro Takahashi
c97afd4d2f - Use jp.pc98 as default keymap for pc98.
- Remove an extra argument.
2006-03-16 15:50:21 +00:00
Andrew Thompson
01eb65dbbf If a keymap file is not found for the selected country then default to the more
common USA ISO rather than index 0 (Belgian).

Reviewed by:	jhb
MFC after:	1 day
2006-03-15 21:20:01 +00:00
Sam Leffler
7969539b67 use the same test as release/Makefile to select WITH_SMP
Reviewed by:	ru
2006-03-11 19:00:05 +00:00
Yoshihiro Takahashi
fe91068c3c Disable an SMP detection on pc98. 2006-03-10 12:18:41 +00:00
Sam Leffler
15b7ca11cd missed a case that needs WITH_SMP
Noticed by:	kensmith
2006-03-09 21:54:32 +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
Ceri Davies
9afd3aec66 Add new NTP servers for Taiwan.
PR:		bin/92160
Submitted by:	Jose Liang <jose at jose dot idv pinkt tw>
Approved by:	jhb
MFC After:	2 days
2006-03-01 18:37:41 +00:00