Commit Graph

183684 Commits

Author SHA1 Message Date
jnemeth
baf62bbf6a mention ./etc/mtree/set.<set name> 2009-09-12 09:24:32 +00:00
jnemeth
25c1684bb8 get rid of some prehistoric obsolete info 2009-09-12 09:21:31 +00:00
phx
3bef245803 Make disklabel.h from amiga and amigappc include the MI sys/disklabel_rdb.h.
amiga/amiga/adosglue.h was deleted and moved into sys_disklabel_rdb.h, as both
are always needed together (disksubr.c and ofppc/stand/ofwboot/rdb.c).
2009-09-12 09:18:42 +00:00
phx
e628320bfd RDB partition definitions, used by several ports: amiga, amigappc, ofppc
(ofwboot).
2009-09-12 08:23:25 +00:00
skrll
4b849729b2 Fix the start symbol. 2009-09-12 07:22:16 +00:00
skrll
08d80ad4aa Switch hppa to binutils 2.19.
There is a lot of rump breakage for hppa. Hopefully it will be fixed soon.
2009-09-12 07:21:09 +00:00
tsutsui
d592174fdd Reduce diffs a bit between ext2fs_reload() and ffs_reload(). 2009-09-12 02:50:38 +00:00
tsutsui
2620184bc7 Add a missed brelse(9) call after bread(9) in ext2fs_reload().
This may close PR kern/28712 (ext2fs hang on mount after fsck).
2009-09-12 02:32:14 +00:00
tsutsui
91f14b108d Pull a fix from ffs_vfsops.c rev 1.248:
> Fix bug introduced in revision 1.174(*) where a NULL fspec with an MNT_UPDATE
> command would always return EINVAL. This broke fsck on root, where fsck'ing
> a dirty root would always return an error causing rc to resort in a reboot.
(*) This is "Apply the NFS exports list rototill patch" change
    in ext2fs_vfsops.c rev 1.91.
2009-09-12 02:25:39 +00:00
tsutsui
f551f24480 Pull a fix for mount function from ffs_vfsops.c rev1.186:
> Change ffs_mount, in MNT_UPDATE case, to check dev_t's for equality
> instead of just vnode pointers.  Fixes erroneous "does not match mounted
> device" errors from mount(8) in the presence of MFS /dev, init.root, &c.
2009-09-12 01:43:52 +00:00
dyoung
230fd8c662 This should fix 'carpdev <ifname>' or, at least, not break it more
badly than before.
2009-09-11 23:22:28 +00:00
mrg
f5adb56565 fix build for HAVE_BINUTILS=219. 2009-09-11 22:36:53 +00:00
mrg
572b798264 "regenerate" this based on the non-compat version updating. 2009-09-11 22:36:39 +00:00
mrg
90e6d8c1fe replace a LDADD/DPADD with LIBDPLIBS 2009-09-11 22:36:12 +00:00
mrg
3832fa3fd6 add ./etc/mtree/set.modules so that modules.tgz is created with
actual files in it, rather than a 20 byte .gz file (ie, empty file.)


HI JNEMETH!
2009-09-11 22:32:50 +00:00
dyoung
31f5c6b4b5 Bump version for the change to struct domain. 2009-09-11 22:07:43 +00:00
dyoung
c5d5f7697a Make ifconfig(8) set and display preference numbers for IPv6
addresses.  Make the kernel support SIOC[SG]IFADDRPREF for IPv6
interface addresses.

In in6ifa_ifpforlinklocal(), consult preference numbers before
making an otherwise arbitrary choice of in6_ifaddr.  Otherwise,
preference numbers are *not* consulted by the kernel, but that will
be rather easy for somebody with a little bit of free time to fix.

Please note that setting the preference number for a link-local
IPv6 address does not work right, yet, but that ought to be fixed
soon.

In support of the changes above,

1 Add a method to struct domain for "externalizing" a sockaddr, and
  provide an implementation for IPv6.  Expect more work in this area: it
  may be more proper to say that the IPv6 implementation "internalizes"
  a sockaddr.  Add sockaddr_externalize().

2 Add a subroutine, sofamily(), that returns a struct socket's address
  family or AF_UNSPEC.

3 Make a lot of IPv4-specific code generic, and move it from
  sys/netinet/ to sys/net/ for re-use by IPv6 parts of the kernel and
  ifconfig(8).
2009-09-11 22:06:29 +00:00
cegger
e72611bc37 backout rev. 1.59. Will be re-done differently. 2009-09-11 21:25:07 +00:00
dyoung
21904877ab Nothing uses sockaddr_in6_cmp() right now, and the generic
sockaddr_cmp() is probably as fast or faster than calling
sockaddr_in6_cmp() through a function pointer, so let's stop
compiling it.
2009-09-11 20:10:06 +00:00
wiz
0b645b22fc Bump date for previous. Whitespace nit. Use Nm instead of Xr to itself. 2009-09-11 19:48:52 +00:00
wiz
31bddcb483 Bump date for previous. 2009-09-11 19:47:27 +00:00
wiz
c384d22d4b Bump date for previous; add comma in enumeration. 2009-09-11 19:44:03 +00:00
wiz
10f3ba9af1 Bump date for previous. 2009-09-11 19:43:26 +00:00
phx
a1fee67004 Handle the situation of a wrapped interval counter, while the hardclock()
interrupt was not yet executed to update the hardclock_ticks variable.
2009-09-11 19:43:08 +00:00
plunky
9501383a83 print features from 3.0 + HS spec, including extended features 2009-09-11 19:22:15 +00:00
pooka
4aaa6d0b91 librumpdev_disk doesn't compile on a lot of platforms, so replace
it with a dummy for now until I can work out the problems (nothing
in-tree links against it yet).
2009-09-11 19:01:08 +00:00
plunky
003e844b73 add feature bits from 3.0 specification 2009-09-11 18:35:50 +00:00
apb
3a49704c6b Adapt /etc/rc.d/cgd script to the new /etc/rc:
Add "KEYWORD: interactive" so that prompting for passwords work, and
use print_rc_normal to print a message that could safely be suppressed.

Part of the /etc/rc silent changes requested in PR 41946
and proposed in tech-userlevel.
2009-09-11 18:18:03 +00:00
apb
bd87591cb3 Adapt /etc/rc.d/bootconf.sh script to the new /etc/rc:
Add "KEYWORD: interactive" so that the script's prompts work,
and use rc_print_metadata to add a message to the log.

Part of the /etc/rc silent changes requested in PR 41946
and proposed in tech-userlevel.
2009-09-11 18:17:43 +00:00
apb
89fd535731 Add a postprocessor to /etc/rc, which logs messages to /var/run/rc.log,
and which can suppress output in silent mode.  Silent mode is enabled
via the new rc_silent variable, which defaults to a value that depends
on the kern.boothowto sysctl.

Part of the /etc/rc silent changes requested in PR 41946
and proposed in tech-userlevel.
2009-09-11 18:17:04 +00:00
apb
7ab65de0a9 Expose the kernel's boothowto(9) variable through the sysctl
kern.boothowto variable.

Part of the /etc/rc silent changes requested in PR 41946
and proposed in tech-userlevel.
2009-09-11 18:14:58 +00:00
mrg
e553df3559 build binutils 2.19 compat libraries. this lets HAVE_BINUTILS=219
work for amd64, and probably for sparc64.
2009-09-11 16:01:58 +00:00
tsutsui
f2831b63aa Fix botch around argument check in ext2fs_mount(). Taken from ffs_vfsops.c.
Fixes LOCKDEBUG panic which is the same one mentioned in PR kern/41078
on trying to mount_ext2fs against a raw device, while that panic
seems to have another route cause around module_autoload() in
sys/miscfs/specfs/spec_vnops.c:spec_open().
2009-09-11 15:59:07 +00:00
tron
c4dacb189a Fix incomplete conversion from stack buffers to heap buffers. 2009-09-11 13:36:37 +00:00
phx
fbc94dd682 Reverted last change after discussion with the author, Michael L. Hitch:
http://mail-index.netbsd.org/port-amiga/2009/08/14/msg007164.html
We have a full 32-bit counter, so the masking is not needed.
2009-09-11 13:11:15 +00:00
phx
ad12935328 Added support for RDB partitions.
Moved MBR parition code out of ofdev.c into mbr.c.
Tested on Pegasos2 (RDB and MBR) and RS6000.
2009-09-11 12:00:12 +00:00
wiz
94c9674d9d Add xref to pkgsrc/net/gated, so people know where to find gated(8).
Improve markup of RFCs in SEE ALSO.
Sort options.
Bump date.
2009-09-11 11:44:38 +00:00
tron
59c9daa5b3 Avoid using alloca(3) to unbreak SSP builds. 2009-09-11 10:41:42 +00:00
tron
71b58bd028 Don't allocate block buffers on the stack. This can cause stack overflows
in the kernel and breaks SSP builds.
2009-09-11 09:28:34 +00:00
skrll
b7d7171c7c Allow this to build while link sets and rump are broken. 2009-09-11 06:48:50 +00:00
christos
b2b9799d39 Add support for the 5100 and newer firmware. Tested also with the 4900.
Thanks to everyone for helping and testing.
2009-09-11 01:28:20 +00:00
mhitch
7b90090350 Alpha will size the mutex structure in pmap_tlb_shootdown_q to 16 bytes.
Change the command and pad accordingly;  now pmap_tlb_shootdown_q entries
really are cache-aligned.
2009-09-10 22:27:11 +00:00
dsl
1310aa04b4 Save length of key instead of relying of the weight of the record sep.
This frees a byte value to use for 'end of key' (to correctly sort
short keys) while still having a weight assigned to the field sep.
(Unless -t is given, the field sep is in the field data.)
Do reverse sorts by writing the output file in reverse order (rather
than reversing the sort - apart from merges).
All key compares are now unweighted.
For 'sort -u' mark duplicates keys during the sort and don't write
to the output.
Use -S to mean a posix sort - where equal keys are sorted using the
raw record (rather than being kept in the original order).
For 'sort -f' (no keys) generate a key of the folded data (as for -n
-i and -d), simplifies the code and allows a 'posix' sort.
2009-09-10 22:02:40 +00:00
mhitch
8c83d5056c Now that secondary cpus are added the cpu_info list earlier, attempt to
send pmap tlb shootdowns to them cause the shootdown job queue to fill up,
but since the cpus aren't running yet, no IPIs get sent.  When the job
queue is full, the bit mask of cpus to send the IPI to is not set and no
shootdown IPI ever gets sent after the cpu is marked running.  Always
set the cpumask even when the queue is full.  Now I get shootdown ipis
on all the secondary cpus.
2009-09-10 21:36:39 +00:00
christos
5a2044242f PR/42041: Jasper Wallace: Stopgap fix for kernel assert
("(boundary & (boundary - 1)) == 0") triggers with i915drm in recent -5 kernel

Read the comment in the code for a detailed explanation. This should be fixed
properly in the i386 bus code, but it is too intrusive to do for -5.
XXX: pullup for 5.x
2009-09-10 18:11:21 +00:00
wiz
136eb7e035 We install this as tcpdump(8), so the internal name should be (8) as well.
Fix it. From Jukka Ruohonen.
2009-09-10 15:02:49 +00:00
tsutsui
d519f74ad6 Make sure to initialize cpus[0] which will also be used as cpuinfo
for sun4 and sun4c, not only for sun4m. Okay'ed by mrg@.
2009-09-10 14:12:02 +00:00
wiz
177b015b5d Remove references to securelevel(7) and ssl(8), which don't exist.
From Jukka Ruohonen.
2009-09-10 13:17:39 +00:00
pooka
14e70b7ba7 fix LP64 builds. yay, C type system.
patch from Joachim Kuebart
2009-09-10 09:10:29 +00:00
darran
ddd44491c6 Make tcp msl (max segment life) tunable via sysctl net.inet.tcp.msl.
Okayed by tls@.
2009-09-09 22:41:28 +00:00