Commit Graph

247 Commits

Author SHA1 Message Date
lukem
1c33b4e6a4 Overhaul MBR handling (part 1):
<sys/bootblock.h>:
    *	Added definitions for the Master Boot Record (MBR) used by
	a variety of systems (primarily i386), including the format
	of the BIOS Parameter Block (BPB).
	This information was cribbed from a variety of sources
	including <sys/disklabel_mbr.h> which this is a superset of.

	As part of this, some data structure elements and #defines
	were renamed to be more "namespace friendly" and consistent
	with other bootblocks and MBR documentation.
	Update all uses of the old names to the new names.

<sys/disklabel_mbr.h>:
    *	Deprecated in favor of <sys/bootblock.h> (the latter is more
	"host tool" friendly).

amd64 & i386:
    *	Renamed /usr/mdec/bootxx_dosfs to /usr/mdec/bootxx_msdos, to
	be consistent with the naming convention of the msdosfs tools.

    *	Removed /usr/mdec/bootxx_ufs, as it's equivalent to bootxx_ffsv1
	and it's confusing to have two functionally equivalent bootblocks,
	especially given that "ufs" has multiple meanings (it could be
	a synonym for "ffs", or the group of ffs/lfs/ext2fs file systems).

    *	Rework pbr.S (the first sector of bootxx_*):
	    +	Ensure that BPB (bytes 11..89) and the partition table
		(bytes 446..509) do not contain code.
	    +	Add support for booting from FAT partitions if BOOT_FROM_FAT
		is defined.  (Only set for bootxx_msdos).
	    +	Remove "dummy" partition 3; if people want to installboot(8)
		these to the start of the disk they can use fdisk(8) to
		create a real MBR partition table...
	    +	Compile with TERSE_ERROR so it fits because of the above.
		Whilst this is less user friendly, I feel it's important
		to have a valid partition table and BPB in the MBR/PBR.

    *	Renamed /usr/mdec/biosboot to /usr/mdec/boot, to be consistent
	with other platforms.

    *	Enable SUPPORT_DOSFS in /usr/mdec/boot (stage2), so that
    	we can boot off FAT partitions.

    *	Crank version of /usr/mdec/boot to 3.1, and fix some of the other
	entries in the version file.

installboot(8) (i386):
    *	Read the existing MBR of the filesystem and retain the BIOS
    	Parameter Block (BPB) in bytes 11..89 and the MBR partition
	table in bytes 446..509.  (Previously installboot(8) would
	trash those two sections of the MBR.)

mbrlabel(8):
    *	Use sys/lib/libkern/xlat_mbr_fstype.c instead of homegrown code
	to map the MBR partition type to the NetBSD disklabel type.


Test built "make release" for i386, and new bootblocks verified to work
(even off FAT!).
2003-10-08 04:25:43 +00:00
christos
561e92ee2f mention that you *need* COMPAT_16 before building. 2003-09-06 22:12:42 +00:00
wiz
c5710fd04d It is openssl, not openssh, and fix another typo. 2003-08-05 18:39:56 +00:00
christos
d435be0cef Mention how to fix libdes lossage. 2003-08-05 17:49:52 +00:00
salo
8d1781e39d netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
wiz
cfa081118a Add paragraph for texinfo-4.6. 2003-07-03 15:29:15 +00:00
wiz
7eea230300 Note that you need to update share/mk too. 2003-07-01 08:13:41 +00:00
wiz
df287667aa Add (untested) paragraph about groff update. 2003-06-30 20:13:26 +00:00
christos
4c6da4d976 mention export lossage 2003-05-16 14:19:49 +00:00
itojun
bcefcfe7dd put a not on 2002/12/19 cvs repository layout change. 2003-04-30 07:23:49 +00:00
bjh21
fae8295a3b Mention nasty interactions between new FFS superblock layout and old
fsck_ffs, using a heavily-abridged version of fvdl's original announcement.
2003-04-19 21:27:04 +00:00
kleink
8ecd984927 Since we mention __assert13, add __unsetenv13 here as well. 2003-04-10 08:12:29 +00:00
atatat
91865a2d18 Mention the import of the new version of sendmail, describe what's
needed of people when updating, and point them at some of the sendmail
documentation so that they can easily find more information.
2003-04-02 18:01:53 +00:00
grant
0df4872b2e add entry for smmsp user/group.
fixes PR misc/17513 from Geoff C. Wing.
2003-02-06 04:37:59 +00:00
kei
3afb432b11 fix typo. USETOOLS, not USE_TOOLS. 2003-01-29 09:17:08 +00:00
wiz
d68e4e3017 Note texinfo-4.3 update and how to make it work if one wants to avoid build.sh. 2003-01-17 22:58:52 +00:00
lukem
e12b1c97ab METALOG format tweak 2002-12-23 06:55:33 +00:00
lukem
c069154e9b the recently added -N option of install(1) is now used by default 2002-12-19 12:48:42 +00:00
wiz
84f0e13d3a Some typo and grammar fixes. Begin new sentences with upper case letters. 2002-12-09 18:59:07 +00:00
lukem
e7c8b9a1ba fparseln issues 2002-12-04 12:50:43 +00:00
lukem
8b7fb4d514 bye bye SYS_INCLUDE=symlinks 2002-11-26 23:33:35 +00:00
thorpej
470625bc1c Note that libtool needs to be rebuilt after updating to a
crti/crtn-using C run-time.
2002-11-22 15:48:33 +00:00
thorpej
ecce995e37 Note the ARM ELF "softvfp" object marking change, and the resulting
(somewhat minor) flag-day.
2002-11-21 18:05:59 +00:00
jschauma
6bef1ce544 Add a short blurb explaining that after the merge of the i386mp branch
people will need 'cpu* at mainbus?'.
2002-11-20 04:36:43 +00:00
provos
5ff67ded16 kernel update requires userland systrace recompile. 2002-10-11 21:55:48 +00:00
thorpej
18084f090a Yet Another config(8) Hazard. 2002-10-11 02:09:42 +00:00
wiz
f40ce8cd84 mmm, bullding 2002-10-09 21:20:20 +00:00
thorpej
cfc2b2b238 Note new attribute dependency syntax in config(8). 2002-10-09 20:27:59 +00:00
thorpej
6ac57eb6c3 Note that a new config is needed after the autoconfiguration overhaul. 2002-10-04 04:37:06 +00:00
lukem
57cdbb79cc MKDYNAMICROOT=yes; care needs to be taken if "make build" is not used 2002-09-24 14:43:39 +00:00
lukem
bfbd50c55c USE_NEW_TOOLCHAIN has been replaced 2002-09-21 04:12:35 +00:00
gehenna
8b2e83ab0e Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:55:43 +00:00
lukem
b5f53318b6 /rescue/*, and a new crunchgen to ensure /rescue/* is statically linked 2002-08-24 13:25:01 +00:00
sommerfeld
83ec04ebe8 Revise 20010803 since i386 gas is no longer built where that entry
said it was.
2002-07-01 02:12:11 +00:00
enami
4645e82f97 Sync the sshd entry with etc/master.passwd. 2002-05-19 00:54:35 +00:00
jdolecek
d3b63faa30 /var/chroot/sshd is used instead of /var/empty 2002-05-18 15:44:18 +00:00
itojun
f47caddaf3 turn on privilege separation, as 3.2.1 default do.
requires sshd uid/gid as well as /var/empty directory.
2002-05-14 23:33:07 +00:00
sommerfeld
965e0acae4 Correct BUGS in BUILDING.mdoc now that most ports are USE_NEW_TOOLCHAIN
Obsolete NBUILDJOBS; build.sh just passes -jN through to make(1),
which inherits it cooperatively through the build tree.  Fix
documentation so that it's shown to be deprecated.

If you use build -jN, please save full build logs so that errors due
to missing dependancies can be analyzed and corrected.
2002-05-02 22:13:30 +00:00
lukem
9d32fc1a83 add postinstall info 2002-04-29 08:36:20 +00:00
lukem
bb2f4a8f06 s/BSDSRCDIR/NETBSDSRCDIR/ 2002-04-26 15:54:41 +00:00
itojun
e9220ac40f install(1) is at usr.bin/xinstall, which is not obvious 2002-04-10 05:26:15 +00:00
lukem
21c9e4ea28 <bsd.lib.mk> needs a new install(1) 2002-03-19 14:42:41 +00:00
itojun
7d3dd9d958 strict sa_len/family checking on raw ip6 socket 2002-03-19 01:23:32 +00:00
itojun
0a2445c3b6 move sshd config files to /etc/ssh 2002-03-11 04:57:55 +00:00
matt
68614d6129 Tell VAX people to update their gas so they can assemble -current sources. 2002-02-24 01:15:21 +00:00
wiz
0f4520b538 Typo and grammar fixes. 2002-02-23 17:06:24 +00:00
pooka
5079cbce00 libstdc++, not libstc++ 2002-02-23 11:06:53 +00:00
itojun
357474aa0a note addition of ntpd user/group. checked w/lukem 2002-01-30 06:54:55 +00:00
jmc
5cef5426cc Add note about how to work around reloc problems in groff now that the toolchain
fixes are commited.
2001-12-07 09:56:44 +00:00
jmc
c824ed1c04 Forgot a word 2001-12-02 03:13:10 +00:00
jmc
464af2efd9 Provide writeup and install steps for getting a working awk before building
on sparc64
2001-12-02 03:07:29 +00:00
thorpej
118db3bea0 Note that a new config(8) is required in order to build a kernel. 2001-11-28 18:53:34 +00:00
yamt
8857fc875e note wcstod.c needs new lint.
pointed by Bernd Ernesti.
2001-10-30 06:05:28 +00:00
tv
a70bddd4ad - Describe BUILDING documentation.
- Remove old references to new toolchain system in favor of reference to
  BUILDING.
- Remove old reference to MKCRYPTO being added; new .mk files are used
  at the top level automatically.
- Clean up vertical space.
2001-10-29 19:57:38 +00:00
mason
49f1d29d43 note build.sh 2001-10-29 01:53:56 +00:00
perry
46fb31fab6 1) Note that install has been fixed and will need to be upated for
src/etc/Makefile to work properly.
2) Note that users of the new toolchain are often able to avoid the
   UPDATING hell.
2001-10-29 01:46:25 +00:00
wiz
208c3d16df Describe another workaround for i386-'fxsave' kernel build problem. 2001-10-26 13:38:52 +00:00
lukem
bf66517e50 mtree update needed 2001-10-05 16:24:34 +00:00
jmc
e95bc32f09 Note crunchgen changes 2001-10-04 04:27:48 +00:00
tron
3bceb7c55c Fix a typo in last entry. 2001-09-30 20:09:11 +00:00
kristerw
523ed5e837 Fixed a typo. 2001-09-29 21:22:49 +00:00
tv
3c05b2c5ce Document need to set TOOLDIR on i386 now, as well as optional USETOOLS=no
for building subtrees without using the separate toolchain.
2001-09-25 02:26:13 +00:00
thorpej
ef09d975d5 Add text describing what to do if make complains about a missing
uvm_vnode.h
2001-09-16 04:25:39 +00:00
simonb
9becf15259 Fix typo. 2001-09-15 13:59:29 +00:00
itojun
0aa75fa830 it seems that TOODIR change is yet to be reach the tree. i guess i leave
it to tv@netbsd...
2001-08-22 03:15:48 +00:00
itojun
3755b9fd35 mention TOOLDIR change (8/14). 2001-08-22 03:11:09 +00:00
enami
6a6aa39cac Since the new makeinfo is necessary to build grep.info, advertize to install
it.
2001-08-03 14:47:17 +00:00
enami
7747406ed1 Advise to build and install -current gas to build -current kernel
successfully.
2001-08-03 14:19:50 +00:00
bjh21
390126f1f2 Mention my recent loadfile/ELF hacks. 2001-07-31 22:53:21 +00:00
assar
0542d15087 update texinfo bootstrap with simpler method (based on text from
itojun)
2001-07-26 08:51:17 +00:00
assar
c59f1458e8 add blurb about bootstrapping new texinfo 2001-07-26 02:30:29 +00:00
thorpej
a6f7b73b04 Before you change a perfectly valid construct in uvm_page.h,
please make sure your lint(1) binary is up-to-date.  Thanks.
2001-07-25 22:58:05 +00:00
thorpej
f14e9e9b3f Note a problem that can occur when upgrading crt0, and how to
work around it.
2001-07-23 05:49:09 +00:00
abs
bc6b112c88 Add the following to help in the "lint needs new libc, libc needs new lint"
case.
Symptom:lint does not understand the '-X' option
Fix:    May need to build & install libs with NOLINT=1 before rebuilding lint
2001-05-27 23:34:22 +00:00
tron
472de682ce Fix incorrect source directory of "make". 2001-05-22 17:50:05 +00:00
jmc
f208d4f546 Extend note to mention named user as well 2001-03-06 19:03:31 +00:00
jmc
bea7336f20 Add note about named group needing to be hand added or make build will fail. 2001-03-06 19:00:59 +00:00
jmc
65f0e79e4f Add note about mdsetimage 2001-02-24 20:23:10 +00:00
cgd
f18337c1c6 add some more entries related to getprogname/setprogname 2001-02-24 01:05:04 +00:00
jmc
f019da800b Add notes about getprogname and hostprog builds 2001-02-20 06:00:54 +00:00
erh
8e2576524c Add examples of how to rebuild make, including a failsafe method that doesn't
use make when rebuilding it.
2001-02-18 19:13:58 +00:00
wiz
bc31bbfd2d Fix typo. 2001-02-17 16:11:00 +00:00
christos
ebab1548e2 mention that we need to rebuild yacc now. 2001-02-04 19:50:26 +00:00
hubertf
87c8fdb39a for the "Complaints involving a Makefile" symptom, reverse the order
of suggested fixes.

I see many people who think they have to go to -current, then run into a
problem, and update share/mk. After that they see they need make(1) updated
as well, but that doesn't work any more with the new share/mk file.
2001-02-03 08:24:07 +00:00
dogcow
f6163d4217 note that undefined __assert13 refs are fixed by rebuilding lib/libc 2001-01-26 01:31:38 +00:00
itojun
56b0c687cf mklocale necessary during share/locale/ctype 2001-01-24 12:35:48 +00:00
lukem
3e7f1eed59 add usr.bin/xlint as a possible program to upgrade 2001-01-22 14:24:53 +00:00
christos
03886b9ea7 mention that we need to build make first. 2001-01-15 15:03:38 +00:00
sommerfeld
959bdf3cde mention fixed bsd.subdir.mk bug. 2001-01-01 15:29:16 +00:00
sommerfeld
cc2208d7ec Mention the SUBDIR .WAIT change 2001-01-01 14:13:51 +00:00
ad
57ea462da2 lsu -> ld, by popular request. 2000-11-26 17:44:02 +00:00
ad
d53e399d91 ca -> lsu 2000-10-19 15:02:38 +00:00
wiz
0220a9fdeb add a case for menuc-updating 2000-10-14 01:06:55 +00:00
itojun
2247a09ef1 changes to libcrypto (RC5/IDEA/RSA make symbols are obsoleted).
an update tip (obsolete intermediate file)
2000-10-02 06:19:17 +00:00
itojun
5e05458699 crypto-* is no longer there.
refer usr.bin/compile_et.
remove reference to make_cmds (add it if i'm wrong about this)
2000-08-20 19:51:24 +00:00
mrg
dbcf44d379 fix a few things; expand a few as well. 2000-08-20 15:43:43 +00:00
abs
788fbc6703 Initial cut of an 'UPDATING' file, intended to help those tracking -current.
Most of this taken directly from Eric Haszlakiewicz's README.
It is the hope that developers will update this as they make changes that
break 'make build' from an earlier version of the tree.
2000-08-17 20:17:43 +00:00