Commit Graph

175835 Commits

Author SHA1 Message Date
pooka
6a5161dfcb Remove rump cpu_counter.h in favour of the arch native one. I'm
sure there was a reason why I originally added this, but I can't
find what would break without it now.  If something does pop up,
I'll fix it properly this time instead of adding silly headers.
2008-12-08 13:31:58 +00:00
pooka
b14e457e9c Don't use -isystem in rump builds. This ensures that only headers
in the kernel tree are used.
2008-12-08 13:10:21 +00:00
pooka
316be31a2e Instead of punishing all archs for a fake vmparam.h, punish only
evbppc for its insolence and pick a ppc cpu family at random in
Makefile.rump.
2008-12-08 12:57:33 +00:00
njoly
84ab0cee9a s/SYSVIPC/SYSVMSG/, for message queues support. 2008-12-08 12:56:00 +00:00
pooka
8c10597be5 Don't descend into modules on evbppc.. sigh 2008-12-08 12:39:04 +00:00
njoly
bd398db254 Remove unused timeval_to_clock_t function, superseeded by CONVTCK
macro.
2008-12-08 11:52:35 +00:00
pooka
d34f27b620 Decode write access advice and pass to uvm (not that it's handled
there, but ...).
2008-12-08 11:48:03 +00:00
pooka
5297d2febf Don't even try to pretend WAPBL_DEBUG_INODES works here, just #error. 2008-12-08 11:37:37 +00:00
pooka
836c2144d0 Remove no longer valid comment (which probably didn't even say what
it wanted to say in the first place).
2008-12-08 11:34:30 +00:00
wiz
be47919875 Spelling fixes. 2008-12-08 11:32:18 +00:00
pooka
37e35e961c Warn about large struct on stack in comment. 2008-12-08 11:23:39 +00:00
njoly
218ea1fa05 Add R_X86_64_32 relocation support, which enable loading modules with
debugging information. And ensure that addr is not null before using
it.

From ad@, thanks.
2008-12-08 08:41:36 +00:00
tteras
dae665ff27 Do not cache pfkey sockets: it might cause to not handle some pfkey events
when select() has marked pfkey socket readable, but a timer callback first
calls pfkey_dump_sadb().
2008-12-08 06:00:53 +00:00
jnemeth
6c48b462c5 And again 2008-12-08 04:47:28 +00:00
alc
8c6c22b7f1 Add support for a 8168C/8111C revision
- also disable jumbo frame on this adapter following the FreeBSD driver
 - merge redundant call to aprint_error_dev
2008-12-08 03:24:08 +00:00
cegger
4dfe7b7870 ddb: make show vmem print exact span type
vmem_check_sanity: print exact span type
vmem_add1: KASSERT span types
2008-12-07 22:39:01 +00:00
mrg
f757554046 a few clean up/rearrange changes, somewhat inspired from openbsd's
schizo.c:

- rename pp_busnode{} -> spc_busnode{}, and move it to
  sparc_pci_chipset{}

- move public pci functions pci_conf_read(), pci_conf_write() and
  pci_intr_establish() into psycho.c, renaming them in the process,
  and add pointers through sparc_pci_chipset{} to access them.
  as part of this, add PDB_INTMAP and PDB_CONF debug options to
  psycho.c

- move and rename sparc64 private pci_find_ino() into
  sparc_pci_chipset{}, like the above

- update psycho_alloc_chipset() to set the new 4 function members


no functional change intended.  XXX: not tested on cardbus.
2008-12-07 21:03:57 +00:00
pooka
54b9426187 Move some sysctl node creations away from linksets and into the
constructors for subsystems.

XXX: CTLFLAG_PERMANENT is non-sensible.
2008-12-07 20:58:46 +00:00
hannken
59f928fb25 ffs_copyonwrite(): Only use si_snapblklist if it is already allocated.
ffs_snapshot_read(): Use IO_ALTSEMANTICS to allow reading a snapshot vnode
                     beyond file system size.  Needed to read the snapblklist
                     on mount.

Persistent snapshots work again.

Should fix PR kern/37425: fss_snapshot_mount panic during fsck.
2008-12-07 19:51:07 +00:00
christos
c78e2d1227 PR/1880: Jim Barnard: Don't parse backslash escaped characters inside single
quoted strings.
2008-12-07 19:21:00 +00:00
christos
c6f8f3a3b2 PR/1880: Jim Barnard: Pass backslash escaped characters unintepreted inside
single quoted strings. Document new behavior, and its relationship with POSIX.
2008-12-07 19:17:09 +00:00
hannken
8e313cc27b Revert previous -- ALL reads are from kernel space.
Still open: PR kern/37425: fss_snapshot_mount panic during fsck.
2008-12-07 18:55:58 +00:00
tsutsui
10b1940363 Fix typo. 2008-12-07 16:59:01 +00:00
christos
c6121a89c8 explain compatibility mode better. 2008-12-07 16:10:34 +00:00
cegger
f001f650d6 make this compile with MALLOC_DEBUG but w/o DEBUG 2008-12-07 14:24:28 +00:00
ad
16deed26f2 - Kill ad-audiomp
- Start ad-audiomp2
2008-12-07 12:57:00 +00:00
cegger
f132fda3fe vmem_check_sanity: fix check to correctly detect even exactly duplicate spans. 2008-12-07 11:49:51 +00:00
ad
7ab182873b Add cpu_softintr_p() for assertions 2008-12-07 11:40:53 +00:00
mlelstv
1f5b658b8a Handle printing of _STR attribute with non-string data type gracefully. 2008-12-07 10:53:57 +00:00
tsutsui
7c0bf93c80 Note some recent user visible changes for www. 2008-12-07 10:34:52 +00:00
tsutsui
1377ae1cd6 amd64 GENERIC still has compat and file-system options
so it doesn't require installed modules yet.
2008-12-07 10:29:39 +00:00
hannken
7dbaf06e71 ffs_copyonwrite(): Only use si_snapblklist if it is already allocated.
ffs_snapshot_read(): Allow the kernel to read beyond file system size.

Persistent snapshots work again.

Should fix PR kern/37425: fss_snapshot_mount panic during fsck.
2008-12-07 10:01:09 +00:00
cegger
bb1d17f443 build fix: make i386 build again 2008-12-07 09:40:42 +00:00
mrg
a736f00a1c look for "portid" as well as "upa-portid", as seen on schizo. 2008-12-07 08:59:31 +00:00
mrg
4df93f9197 add INTMAP_IGN_SHIFT and INTIGN() macros for schizo support (from openbsd) 2008-12-07 08:56:10 +00:00
tsutsui
c6acb16540 Remove duplicated options FONT_GALLANT12x22. 2008-12-07 08:26:02 +00:00
tsutsui
6bebd690e9 Fix attach messages. (extra colons, misplaced newline etc.) 2008-12-07 08:24:26 +00:00
matt
5ef4b69613 Roundup to next megabyte and subtract 0xc0000000 2008-12-07 07:27:27 +00:00
matt
a7b983bf92 Map all of the kernel. 2008-12-07 07:15:03 +00:00
isaki
ebf3ebe713 Fix two typos in function name. 2008-12-07 05:15:21 +00:00
christos
6694d6b5ac add debug flag for cwd. 2008-12-07 04:50:15 +00:00
mhitch
b11961451a Fix timecounters using interval timers: amiga counters are not 32 bits,
so the tc_counter_mask needs to be set based on the interval timer.
Process cpu usage was returning negative or very large values.
2008-12-07 03:48:43 +00:00
cegger
2aa8aa0f8f Spans may never overlap. Overlapping spans mean memory corruption
when used by kmem(9), for example.
Do sanity checks to detect such spans on DEBUG kernels.
2008-12-07 02:21:04 +00:00
pgoyette
b6ef8a4ac6 Add fdopendir.html3 2008-12-07 01:46:06 +00:00
cegger
10de0e2b14 ddb: new 'show vmem' and 'show all vmems' commands.
Useful to inspect vmem(9) structures.
2008-12-07 00:51:15 +00:00
salo
74bbb8ef72 A very old patch sitting in my tree..
When rc scripts are started from interactive shell, be nice and when user
tries to start an unconfigured service, point him to rc.conf(5) and tell
him about the one* keyword.  Also be more user friendly when an unknown
argument is entered.

Example:

 # /etc/rc.d/cron start
 $cron is not enabled - see rc.conf(5).
 Use the following if you wish to perform the operation:
   /etc/rc.d/cron onestart

 # /etc/rc.d/cron nonsense
 /etc/rc.d/cron: unknown directive 'nonsense'.
 Usage: /etc/rc.d/cron [fast|force|one](start stop restart rcvar  status poll)


Inspired by discussion on tech-userlevel:

 http://mail-index.netbsd.org/tech-userlevel/2007/02/13/0010.html
 http://mail-index.netbsd.org/tech-userlevel/2007/02/13/0011.html
 http://mail-index.netbsd.org/tech-userlevel/2007/02/13/0012.html

Reminded about it and reviewed by <lukem>
2008-12-06 23:21:32 +00:00
christos
2b08d9050e uninitialized variable. 2008-12-06 23:18:36 +00:00
njoly
adf5b0a542 Regen for netbsd32_caddr_t removal. 2008-12-06 23:15:09 +00:00
njoly
e7377ec502 Cleanup; kill netbsd32_caddr_t use. 2008-12-06 23:14:03 +00:00
njoly
9321a67e19 Small setres{uid,gid} cleanup; there is no need to use a specific
handling for -1 uid values.
2008-12-06 23:01:32 +00:00