Commit Graph

175681 Commits

Author SHA1 Message Date
joerg
9a364d2ed3 Split ffs_freefile into a frontend for normal cylinder group and for
snapshot use. Adjust ffs_blkfree_common to get the fs instance passed
in, the original commit didn't account blocks in the snapshots
correctly. Assert that ffs_blkfree is used with the primary fs instance
and that ffs_checkfreefile is only used for snapshots. Move the bdwrite
from ffs_blkfree_common into the caller for symmetry. This creates a
redundant write of unmodified data for ffs_blkfree_snap if a double free
of a block happens.

Reviewed and tested by hannken@.
2008-12-06 20:05:55 +00:00
plunky
1bbd35ddef modify some SDP data parsing function names to avoid conflicts with similar
functions that are intended to be imported to libsdp.

(this will use the library routines when they are done)
2008-12-06 20:01:14 +00:00
mrg
bcb1925cba add LIBISCXX. if it is != "no", use ${CXX} instead of ${CC} to link
shared libraries.  use it for the one c++ library we have.

fixes PR#39936.
2008-12-06 19:32:05 +00:00
christos
448e9aef12 more compilation issues on amd64, where size_t != unsigned int. 2008-12-06 18:39:20 +00:00
wiz
859dc97d79 Move all subsections to main DESCRIPTION, noted by John Nemeth. 2008-12-06 14:17:43 +00:00
reinoud
ab146a4768 UDF_SHED_FREE state is now also handled by the state machine, so DO signal it.
Free'd up ecclines can now far more quicker be recycled.
2008-12-06 14:02:08 +00:00
wiz
b05af3b178 Fix some more mdoclint warnings.
Add commas in enumerations.
2008-12-06 13:30:35 +00:00
jnemeth
8c012591df add -t chrootdir to SYNOPSIS, mdoclint 2008-12-06 13:18:09 +00:00
cliff
41bfa2c41d add gemini pseudo-nic and support code. 2008-12-06 05:22:39 +00:00
tsutsui
8586c9700b - uppercase API
- add man page suffix
2008-12-06 04:45:05 +00:00
tsutsui
4bb074305d Mention fxp(4) hardware ip4csum-tx bug workaround. 2008-12-06 04:42:37 +00:00
jnemeth
482b1c26bf PR/40117 - Bug Hunting -- new line, new sentence; punctuation 2008-12-06 02:28:58 +00:00
wiz
0fd5c9fa8d Bump date for zaurus key combination. 2008-12-05 23:48:51 +00:00
njoly
14e966b9e0 Regen for getres{uid,gid} syscalls. 2008-12-05 23:31:54 +00:00
njoly
533a52241a Add getres{uid,gid} syscalls. 2008-12-05 23:30:19 +00:00
christos
ba7207e4b2 WARNS=4 2008-12-05 22:51:42 +00:00
ad
2df6131a64 Enable the faked ELF kernel by default, now that ksyms output works with
gdb. Makes it possible to do post-mortem debugging on a modular kernel.
2008-12-05 21:41:10 +00:00
ad
e91b9bcc27 Make the fake ELF object work with gdb.
- Output a .bss section and make all the symbols relative to it, instead
  of making them absolute.
- Output a single load section, no need for two.

'gdb /dev/ksyms' still doesn't work because ksyms doesn't do mmap yet.
2008-12-05 21:38:10 +00:00
cube
7f4672798d Invoke postinstall with the environment variable MAKE set up to the relevant
value, so that postinstall picks up correct values.
2008-12-05 19:02:54 +00:00
cube
6d69dde342 - Introduce a function get_makevar that will retrieve the values of a
specific set of user-derived variables, to be used in SOURCEMODE.
- In SOURCEMODE, generate the rc.d scripts xdm and xfs.
- Auto-detect if X11 sets are used (either through the value of MKX11 in
  SOURCEMODE, or by finding an xetc-xpecific file in sets mode).
- Ignore X11-specific rc.d scripts if X11 is not used.
2008-12-05 19:01:23 +00:00
cube
4292dea308 Move etc/rc.d/x{dm,fs} into xetc.tgz. 2008-12-05 18:56:47 +00:00
cube
4edff860d5 - Generate xdm and xfs depending on the value of X11FLAVOUR
- Only generate and install them for MKX11 builds
2008-12-05 18:55:22 +00:00
cube
2a5b955aa9 Let the build descend in rc.d during "build" and not just use it for
"distribution".
2008-12-05 18:52:59 +00:00
cube
11851cadd9 Implement FILESBUILD_<file> to allow a FILES element to be built through a
target.
2008-12-05 18:51:16 +00:00
dyoung
20baa33fe2 In wddetach(), avoid a crash by destroying the callout sc_restart_ch. 2008-12-05 18:20:19 +00:00
ober
dbc045b3d9 Update ddb.4 to include Zaurus key combinations. 2008-12-05 17:04:14 +00:00
wiz
edd8540874 New sentence, new line. Bump date for fdopendir. 2008-12-05 13:26:41 +00:00
reinoud
9b08c3c516 Two fold commit:
1) Enhance write speed significantly on RMW media like CD-RW, DVD-RW but also
on the DVD+RW and all other ECC blocked media. Significant speedups of access
to the device for say compilation on the DVD. Streaming copy is also still at
maximum speed though vast amounts of directory copy work can show side effects
that appear it to slow down but are actually logical when you consider that
most small files are embedded into the descriptors itself.

2) explicit wait for the created RMW thread to spinup
2008-12-05 13:19:42 +00:00
isaki
3cffa23a3e Use TAILQ_* macros. 2008-12-05 13:14:42 +00:00
ad
58a45c6ffe Avoid conflicts with ZFS. 2008-12-05 13:11:41 +00:00
ad
117c67b2f2 Add fdopendir(), from Solaris/Linux. 2008-12-05 13:08:53 +00:00
ad
0ff35ddc5a - Fix a bug in amd64 rw_tryenter() where it could return failure even after
acquiring a lock, if aligned on a 4GB boundary.

- Microoptimize more.
2008-12-05 13:08:11 +00:00
ad
3c9eb3fb0f zfs needs block devices too, for zvol. 2008-12-05 13:06:50 +00:00
ad
49e50a21d6 PR kern/40110: null, overlay and umap modules loading -> panic (layerfs symbols not there)
Add a layerfs module.
2008-12-05 13:05:37 +00:00
ad
8ff4eb83a8 Back out revision 1.35 which is no longer necessary and causes the system
to try autounloading modules perpetually.
2008-12-05 12:55:09 +00:00
ad
6efc20038a PR kern/40110: null, overlay and umap modules loading -> panic (layerfs symbols not there) 2008-12-05 12:51:17 +00:00
jdc
5c7dd34e28 Add wscons/vcons support for bw2 (sbus and P4). 2008-12-05 11:52:42 +00:00
tsutsui
48640c6ca2 Wrap long lines. 2008-12-05 11:17:38 +00:00
tteras
02f2a72861 From Arnaud Ebalard:
Improved Mobile IPv6 support per draft-ebalard-mext-pfkey-enhanced-migrate.
2008-12-05 06:02:20 +00:00
lukem
95d5ba4ee0 correct a comment 2008-12-05 05:28:12 +00:00
mrg
c4cf5842aa MACHINE_CPU is "mips" not "xxmips". 2008-12-05 05:12:02 +00:00
he
3e2feea4e5 Ksyms are optional, so make the call to ksyms_init() dependent
on the same conditionals which are defined in sys/conf/files.
2008-12-04 23:18:13 +00:00
macallan
68e46d4066 actually call cpu_model_init()
This might be enough to get 601-based boxes going
2008-12-04 23:17:47 +00:00
bad
3ef91ecea8 Fix typo in previous and use SIG_IGN as I intended. 2008-12-04 22:30:26 +00:00
jym
bf8f00a835 Clean up code. No functional changes intended.
Reviewed by bouyer@.
2008-12-04 20:56:57 +00:00
alc
0976fc9588 Fix regression introducted by the previous commit.
i915 and G33 Intel chipset family need special handling when writing an entry
to the GTT.

reported by: <tnn> [0]
tested by: <tnn>

[0]: http://mail-index.netbsd.org/tech-x11/2008/12/03/msg000276.html
2008-12-04 19:07:35 +00:00
cegger
9db965667a Fix the fix: Only AMD K8 Rev-G on AM2 sockets are impacted. 2008-12-04 18:54:24 +00:00
cegger
72f1a5aa7a On AMD K8 CPUs with Socket AM2, sensor normalization is off by 21C degree.
Adjust temperature calculation. This should fix strange temperatures on AMD K8
CPUs reported by many people.
2008-12-04 18:45:04 +00:00
jmcneill
f0b1761fd8 ACPICA version 20081204 released 2008-12-04 18:13:47 +00:00
tsutsui
f345c7c20a Don't pass uint8_t values to le16toh() in fxp_rx_hwcksum().
fxp(4)'s RX hwcksum results weren't used at all on big endian machines.

Checked by i82550 and vmstat -ev on macppc GENERIC kernel with
options INET_CSUM_COUNTERS,TCP_CSUM_COUNTERS,UDP_CSUM_COUNTERS.
2008-12-04 16:40:47 +00:00