Commit Graph

170330 Commits

Author SHA1 Message Date
wiz
e430b722ea New sentence, new line. 2008-05-25 20:13:47 +00:00
wiz
62954cc42a Sort sections. Sort ERRORS. Prepare for HTML output. 2008-05-25 20:13:14 +00:00
mhitch
17dec2055b Add ciss(4) to drivers supporting bio(4) and bioctl(8). 2008-05-25 20:09:55 +00:00
wiz
723dae1494 New sentence, new line. 2008-05-25 20:08:56 +00:00
mhitch
72715a9ae8 Add bio(4) support, heavily from OpenBSD. The driver doesn't know which
physical drives belong to which logical drive, so all the physical drives
will show up for logical drive 0, and also appear for logical drives that
are rebuilding so that the rebuild state will show the physical drive
being rebuilt.  Locking for the scratch buffer is currently missing - system
quickly quits responding when I try to lock the buffer with mutex_{enter,exit}().
2008-05-25 20:08:34 +00:00
wiz
08722cf1ef Remove trailing whitespace. New sentence, new line. 2008-05-25 20:08:12 +00:00
wiz
8b96d555e0 Remove trailing whitespace. Fix typo. Sort SEE ALSO. 2008-05-25 20:07:14 +00:00
wiz
885b937f63 Prepare for HTML output. Remove dot at end of SEE ALSO. 2008-05-25 20:06:53 +00:00
wiz
c21d6784dc Do not use tabs here -- they will be used literally. Use spaces instead. 2008-05-25 20:04:52 +00:00
christos
1c8ebda697 remove printf when the sensor has no statistics; requested by xtraeme. 2008-05-25 20:03:05 +00:00
wiz
ade5187cdc Use Fn for function. 2008-05-25 20:00:30 +00:00
wiz
44fbe766ce Spelling fixes. Add RCS Id. New sentence, new line. Remove a CAVEAT
that could probably be added to most man4 pages.
2008-05-25 19:59:33 +00:00
wiz
488200e6ea Remove trailing whitespace and superfluous .Pp. 2008-05-25 19:48:35 +00:00
wiz
6d252519d6 Put argument directly behind macro call. Link to sched_4bsd instead
of removed scheduler(9).
2008-05-25 19:45:43 +00:00
wiz
3914d9bd61 Add RCS Id. Sort options. Fix xref.
XXX: virtdir(3) does not exist, but I do not know to which page the link
should point instead.
2008-05-25 19:42:22 +00:00
wiz
67ff3d242e Punctuation markup nit. 2008-05-25 19:38:21 +00:00
wiz
682d8063bf Remove trailing whitespace. 2008-05-25 19:38:14 +00:00
joerg
c0b012d867 Update build glue for libarchive-2.5.4b. 2008-05-25 19:34:58 +00:00
joerg
2472f9f8c5 Update libarchive build glue for 2.5.4b and document the version we are
using.
2008-05-25 19:33:27 +00:00
dholland
e53e59c2bc Fix this test up so (1) you can test a particular copy of sh rather than
being restricted to the #!/bin/sh used to run atf; (2) you can tell what
happened when it fails, since it does currently fail; (3) it runs all the
cases even when some of them don't work, and fails only at the end.
2008-05-25 19:25:03 +00:00
ad
5e4b324300 Properly fix the "hanging in tty" bug that was worked around with cv_wakeup()
some time again.
2008-05-25 19:22:21 +00:00
joerg
b26c8099ce Resolve conflicts. 2008-05-25 19:18:49 +00:00
joerg
fb288ada0d Import libarchive-2.5.4b:
- bsdtar is using the hardlink resolver code from libarchive now,
  making it generate correct links for newc format
- fix a number of non-exploitable integer and buffer overflows
- SIGINFO/SIGUSR1 support for bsdtar
- bsdtar -s support
- better mtree support, it should now be able to handle the full syntax
  of NetBSD's mtree
- handle extraction of archives where hardlink and linked to entry don't
  agree on the permission (base.tgz has such entries for systat)
2008-05-25 19:14:31 +00:00
agc
2481b1e8b9 Re-enable INCLUDE_CONFIG_FILE in the GENERIC kernel config files for
i386, amd64 and usermode - it is necessary for retrieving information
on kernel configuration for running kernels - cf config -x.
2008-05-25 19:05:16 +00:00
joerg
ae85e6b957 Random underdocumented CPU facts:
AMD K8 and newer will trap when enabling the NX support outside PAE
paging mode. The AMD64 wake code was restoring the MSR EFER to switch to
Long Mode and naturally didn't have paging enabled at that point.
While this works fine with Intel CPUs, it resulted in an immediate
reboot with AMD processors.

Fixed by a joint brain storming session of jmcneill@, cegger@ and
myself, based on some input from the hardware developers.  This fixes
PR 38587.
2008-05-25 17:20:29 +00:00
ad
49ec182c8c Fix error in previous. 2008-05-25 17:11:13 +00:00
ad
2bcb8bf1c4 PR lib/38741 priority inversion in libpthread breaks apps that use
SCHED_FIFO threads

- Change condvar sync so that we never take the condvar's spinlock without
  first holding the caller-provided mutex. Previously, the spinlock was only
  taken without the mutex in an error path, but it was enough to trigger the
  problem described in the PR.

- Even with this change, applications calling pthread_cond_signal/broadcast
  without holding the interlocking mutex are still subject to the problem
  described in the PR. POSIX discourages this saying that it leads to
  undefined scheduling behaviour, which seems good enough for the time being.

- Elsewhere, use a hash of mutexes instead of per-object spinlocks to
  synchronize entry/exit from sleep queues.

- Simplify how sleep queues are maintained.
2008-05-25 17:05:28 +00:00
christos
8254177f62 mention awk. 2008-05-25 16:33:32 +00:00
christos
f7e42af424 PR/38737: cheusov at tut dot by: Don't build the character class table
starting at 0, because will always be treated as the empty string DuH!
2008-05-25 16:28:25 +00:00
kiyohara
4b5fb67334 Integrated to powerpc-mkbootimage. Obsoleted. 2008-05-25 16:27:56 +00:00
chs
56f22e2d1f include uvm/uvm_extern.h for trunc_page() on sparc
(where the page size isn't a compile-time constant).
2008-05-25 16:21:54 +00:00
kiyohara
5039d4063f Integrated to powerpc-mkbootimage. Obsoleted. 2008-05-25 16:21:07 +00:00
jmcneill
21629183b8 Add pmf support. 2008-05-25 16:19:12 +00:00
jmcneill
43af10dd5c Remove unnecessary rdmsr when modifying MSR_EFER. 2008-05-25 16:17:37 +00:00
bouyer
02ac2b8d02 Add a KASSERT(): Xspllower() will reenable interrupts, so make sure it's
not wrong to do so.
2008-05-25 16:09:30 +00:00
bouyer
0fab1fb884 Fix pasto: CLI -> STI 2008-05-25 16:08:41 +00:00
chs
a5e92dac93 if UVMHIST is defined, include headers necessary for its use. 2008-05-25 16:02:08 +00:00
chs
736ec52d87 remove unused macros. 2008-05-25 16:01:29 +00:00
chs
dfe6756df5 add IBM970MP (used in the last model of powermac G5). 2008-05-25 16:00:52 +00:00
chs
b2e9f679cb recognize the variant found in the last model of powermac G5. 2008-05-25 16:00:11 +00:00
chs
9a885b7050 regen 2008-05-25 15:59:21 +00:00
chs
0efe596589 add devices found in the last model of powermac G5. from openbsd. 2008-05-25 15:58:48 +00:00
chs
eedfb3cc28 fix profiling compilation. 2008-05-25 15:57:50 +00:00
chs
b9a7f48546 enable profiling of assembly functions, except for x86_pause().
profiling that one causes the system with profiling on to become so slow
that we get spinlock timeouts.
2008-05-25 15:56:57 +00:00
chs
6740bb5440 enable profiling of assembly functions. 2008-05-25 15:56:11 +00:00
chris
2b534265d6 Check for erratum 261 on AMD Family 10h Stepping 3 processors.
Also output any detected errata at verbose, rather than debug, level so
they can be seen with dmesg, and at least have a clue if a BIOS update
would fix the errata.
2008-05-25 15:52:07 +00:00
ghen
4c430fc97a Implement wscons colemak and dvorak keyboard variants for Sun keyboards. 2008-05-25 15:51:44 +00:00
jmcneill
940dc65cef Note drvctl event changes. 2008-05-25 15:49:38 +00:00
chris
a868834e61 Add detection of errata for AMD Family 10h steppings A and 2. Covering
errata:
254: Internal Resource Livelock Involving Cached TLB Reload
261: Processor May Stall Entering Stop-Grant Due to Pending Data
     Cache Scrub
298: L2 Eviction May Occur During Processor Operation To Set
     Accessed or Dirty Bit
309: Processor Core May Execute Incorrect Instructions on
     Concurrent L2 and Northbridge Response
2008-05-25 15:19:22 +00:00
jmcneill
1e2888bbbd Export device-driver and device-unit properties via drvctl 2008-05-25 15:03:01 +00:00