Commit Graph

195902 Commits

Author SHA1 Message Date
pgoyette 546ea3ce2c Migrate a couple more tests to aft 2010-12-23 15:27:44 +00:00
mlelstv 75268cff3f make dm aware of physical sector sizes.
For aggregates of multiple disks we use the largest sector size from
all disks. For standard power-of-2 sizes this is the same as the least
common multiple. We still require proper alignment of the targets in
the mapping table.

ok by haad@
2010-12-23 14:58:13 +00:00
mlelstv 07d2f05926 Get sector size from device properties using DIOCGDISKINFO and
use the disklabel (DIOCGDINFO) only as a fallback. This works
with wedges.
2010-12-23 14:46:25 +00:00
mlelstv 5eee906941 mount(2) doesn't remove vnodes from the freelist in the error path,
so that they get reused with a invalid pointer to a mount structure.

As a workaround, free the vnodes used to create the in-filesystem journal
immediately.
2010-12-23 14:43:37 +00:00
hauke 34b397c5e6 First release that shipped wdogctl(8) was 1.6, not 1.5.1. 2010-12-23 14:29:52 +00:00
mlelstv 9c7e989427 Make wedges aware of underlying physical block size. 2010-12-23 14:22:03 +00:00
pgoyette bf59258ffb Fix the $NetBSD$ tag (missed the trailing $) 2010-12-23 13:34:46 +00:00
pgoyette 5fb1be5c8e Remove these tests from regress - they've been converted to atf 2010-12-22 23:48:19 +00:00
pgoyette 95456adcc6 Migrate a couple more tests from the old regress structure to atf 2010-12-22 23:45:44 +00:00
christos 736ce759b3 use pthread__stacksize since size has not been initialized yet. 2010-12-22 22:41:45 +00:00
jruoho 82e1351b37 Regen. 2010-12-22 22:29:19 +00:00
jruoho e3cfc8ab23 Add IPI0001, an identifier for ipmi(4). From Dell M710. 2010-12-22 22:28:35 +00:00
christos 5cea6e6df8 only mprotect base if we moved it. 2010-12-22 22:19:46 +00:00
njoly 1fb70a6a63 __HAVE_CPU_INFO_FIRST -> __HAVE_CPU_DATA_FIRST. 2010-12-22 22:08:47 +00:00
wiz c85eb92955 Fix Fn arguments. 2010-12-22 22:02:54 +00:00
jakllsch bbedde89be It just so happens we don't need -Wno-attributes if we
place __packed in the right place.
2010-12-22 20:46:42 +00:00
jruoho 1a2cca3c4c Fix URL of the paper. 2010-12-22 20:17:50 +00:00
jruoho 5b557140cd Use __constfunc(3) instead of __attribute__((const)) directly. 2010-12-22 19:47:56 +00:00
jruoho c33b9df9f8 Use __dead instead of __attribute__((__noreturn__)) directly. 2010-12-22 19:43:33 +00:00
jruoho b7b8493a00 Document the __builtin_prefetch() GNU extension. 2010-12-22 19:35:41 +00:00
wiz 207ab8d006 Add punctuation. 2010-12-22 17:06:03 +00:00
christos 2e960c795a add vsnprintf_ss 2010-12-22 17:00:54 +00:00
christos 92a95e7ba4 document vsnprintf_ss 2010-12-22 16:59:10 +00:00
reinoud 766116b74d Fix nestio's behavior on error.
The mbp->b_resid is used to track if all the nested buffers have been issued
and reported back. When the last buffer calls in, mbp->b_resid becomes zero
and biodone(mbp) is called. This is fine as long as there are no errors.

If a read-error does occure in one of the nested buffers, the mbp->b_error is
set and on its call to biodone(mbp), with mbp->b_resid is zero, physio()
panics since it asserts that IF an error is set on a buffer, there should be a
residual amount of data left to transfered.

The patch fixes this case by setting mbp->b_resid back to mbp->b_bcount on
mbp->b_error just before biodone(mbp).

This behaviour is consistent with normal buffer issueing. It either succeeds
or doesn't succeed.
2010-12-22 14:05:50 +00:00
reinoud 0b639144a8 Running with DEBUG again revealed locking errors previously undetected. The
VAT writeout was done locked while marked locked as were the readin and
writeout of the metadata partition space table.

While here, also protect the (vp) argument of the UDF_SET_SYSTEMFILE() macro.

Tested on UDF 1.50 sequential, UDF 2.01 RW and UDF 2.50 metadata RW meda.
2010-12-22 12:38:42 +00:00
reinoud 3e8c574583 Growing the metadata partition is not yet implemented. Be so kind to report
this as unimplemented when the debug flag asks for it!
2010-12-22 12:15:02 +00:00
enami a46391d703 Add iseek and oseek option as aliases for skip and seek respectively.
These options exist in dd of solaris or svr3.  From FreeBSD.
2010-12-22 09:42:53 +00:00
enami db65e26847 Copy argument before modifying it so that ps shows entire argument.
From OpenBSD via FreeBSD.
2010-12-22 09:39:06 +00:00
wiz c03e55e8e9 Remove trailing whitespace. 2010-12-22 09:12:28 +00:00
wiz 06fb101b70 Improve wording. 2010-12-22 09:08:09 +00:00
wiz b0924b5fdf Remove superfluous Pp. 2010-12-22 09:07:15 +00:00
wiz 8011e5f217 Talk more about NetBSD and less about FreeBSD. Sort sections. 2010-12-22 09:05:07 +00:00
wiz 1e77407211 Sort option descriptions, bump date for -a. 2010-12-22 09:02:32 +00:00
macallan fbcd832830 we need uvm_extern.h now 2010-12-22 07:24:10 +00:00
christos 77f905cbb0 print the error code for writing parity. 2010-12-22 05:51:19 +00:00
christos 1d41baa0ed Say that -a is non-standard and -P is the default. 2010-12-22 05:46:25 +00:00
christos 1101fc9115 Make __HAVE_CPU_DATA_FIRST true 2010-12-22 04:15:01 +00:00
nisimura 7bec240fa3 PROC_PC() should have been changed to LWP_PC(). 2010-12-22 03:22:43 +00:00
matt fbd8cee2df Emit DWARF relocation in its expected form 2010-12-22 02:58:35 +00:00
matt 86c8e7039d Add CTASSERT to verify __HAVE_CPU_DATA_FIRST is correct defined or undefined. 2010-12-22 02:43:23 +00:00
matt c831bbca8c Collect cpu_info and friends and move to m68k/include/cpu.h
Add a define __HAVE_CPU_DATA_FIRST which means that cpu_data is the first
member in struct cpu_info.
2010-12-22 02:42:27 +00:00
matt 6cd18eda21 Add a define __HAVE_CPU_DATA_FIRST which means that cpu_data is the first
member in struct cpu_info.
2010-12-22 02:41:12 +00:00
macallan 5a2cd2f2fc don't disable interrpts in ohci_intr1 - now USB works again on my Blade 2500
( hi gimpy )
2010-12-22 01:34:19 +00:00
nisimura ea25ae3742 - make sure cpu_switchto() not to touch MIPS_CURLWP register at newlwp
switchframe restoration stage.
- discard MIPS_CURLWP assignments exposed in cpu_lwp_fork() and
  cpu_setfunc().
- use plain 'jal' instruction to call lwp_startup().
2010-12-22 01:34:17 +00:00
matt 965c032362 Add a define __HAVE_CPU_DATA_FIRST which means that cpu_data is the first
member in struct cpu_info.
2010-12-22 01:03:02 +00:00
christos c8d9da8bae Add a define __HAVE_CPU_DATA_FIRST which means that cpu_data is the first
member in struct cpu_info.
2010-12-22 00:05:33 +00:00
christos 9985da2181 Add -a archive flag. from Aleksey Cheusov 2010-12-21 20:56:01 +00:00
phx de46bb27ac All ports have to expose 'struct cpu_info' when _KMEMUSER is defined.
We will just expose cpu_info.ci_data for the moment, which is needed for
vmstat(1) to compile. Doing so with the whole cpu_info structure is
problematic, because of imask_t.
2010-12-21 20:39:53 +00:00
christos 90cb07e972 PR/44259: Aleksey Cheusov: xargs: -r option is supported but not documented
Synced with the FreeBSD doc.
2010-12-21 20:30:13 +00:00
phx faa62f01c6 Add ttyE1-ttyE3 for wscons.
Use serial devices tty00, tty01, tty10 and tty11, which are configured
by MAKEDEV.
2010-12-21 19:18:46 +00:00