Commit Graph

191477 Commits

Author SHA1 Message Date
dholland 4bded2208d After consultation with jdc@, apply the patch from PR 42412 even though
the crash went away -- it's not clear that it went away for any reason
besides by accident.

The change is: use calloc instead of malloc for allocating SCREENs.
2010-06-10 05:24:55 +00:00
christos ecef0ab113 we can have ldap without crypto 2010-06-09 23:02:44 +00:00
riz 634f514ee6 Allow syslogd to compile when MKCRYPTO=no. No promises as to whether
it works or not, as this has been broken since late 2008, when the
"encrypted connections" support was added to syslogd.
2010-06-09 21:55:42 +00:00
tron 7da31fceb1 Take responsibility for Postfix. 2010-06-09 21:54:21 +00:00
wiz c8599972e0 Fix a typo. 2010-06-09 21:49:41 +00:00
njoly 57c2f44456 Add missing .debug extension. 2010-06-09 21:36:45 +00:00
riz a9adb2c9b0 If the definition of a static function is #if DES, the declaration
of it should be too.  Fixes build of ed where MKCRYPTO=no.
2010-06-09 19:20:18 +00:00
riz ef3c6c8c55 Tag some manpages with "complex" so a build with "MKCOMPLEX=no" completes
successfully.
2010-06-09 19:06:31 +00:00
phx 16b097908c Adapted sysinst and installation docs for modern NAS boxes. 2010-06-09 17:37:23 +00:00
phx 39b0fd3abd The sandpoint port is now focussed on 824x based NAS boxes.
Replaced GENERIC by GENERIC.NAS.
Added INSTALL_KURO for KuroBox.
GENERIC.NAS and RAMDISK are no longer needed.
2010-06-09 17:34:32 +00:00
dholland c939deefa5 minor clarification 2010-06-09 17:29:15 +00:00
christos 801f2ebf67 Explain variable expansion better. Requested by Aleksey Cheusov 2010-06-09 16:58:22 +00:00
pooka 451e6b4882 Version rumpuser ABI with a lightweight mechanism. 2010-06-09 14:08:17 +00:00
pooka 4fe99aa4c5 initialize specificdata for lwp0 too 2010-06-09 13:51:02 +00:00
jruoho d6bb1884f1 Reference aps(4) and thinkpad(4) with each other.
In aps(4) note that sensor values are refreshed every 0.5 seconds, which may
have a negative effect on battery life.

(Since the sensors are purely descriptive and no time-sensitive protective
measures are being carried out, it would probably be a good idea to remove
the whole callout(9) from the driver and let the sysmon's poll cycle take
over.)
2010-06-09 13:44:24 +00:00
pooka 53b1ac321f take care of the usual pastos invisible to the human eye 2010-06-09 13:44:22 +00:00
pgoyette 37a665ebbb Revert previous - it was committed unintentionally along with other changes. 2010-06-09 13:33:13 +00:00
pooka c4cb78293c +test 2010-06-09 12:40:49 +00:00
pooka 7560245bb8 arbor days are here again 2010-06-09 12:38:15 +00:00
pooka 5c21ec6fa6 Add a test which checks autoloading modules from the host's
/stand/arch/vers/kmods works in rump (and that the result is usable ;).

On i386 this "just works".  For amd64, due to -mcmodel=kernel,
things are a little more complicated.  We must have the entire rump
kernel loaded in the lower 2GB.  Currently, this can be done either
by using the non-PIC version for the rump kernel compiled with
-mcmodel=small, or, as njoly pointed out, using netbsd32, which
causes vm_default_addr() to give something in the lower 2GB and
therefore shared libs "magically" getting loaded there.  I guess
it would be possible to put a suggested vaddr into the rump kernel
libs and make ld.elf_so map memory from the suggested address if
present ... but that's another show.

Also thanks to tron for access to an amd64 so that I could verify
the test works.
2010-06-09 12:35:45 +00:00
pooka aad71fb6e2 On amd64, allocate module_map memory from the lowest 2GB. 2010-06-09 12:02:37 +00:00
pooka 3f4944e6bb Add the ability to specify a preferred address the "map anon memory"
hypercall.
2010-06-09 11:35:36 +00:00
pooka ee5ea4a164 ``twistymount'' regression test for scenario described in PR kern/43439 2010-06-09 08:37:16 +00:00
pooka 4b8e90305c Similarly to cv_wait, fail if trying to cv_wait_sig() without threads. 2010-06-09 07:54:13 +00:00
kiyohara 854e722143 ofppc: Support Gigabit Ethernet Controller for MV64361 on PegasosII by mvgbe@gt. 2010-06-09 05:00:25 +00:00
riz b82a6579fe Remove _PATH_NOLOGIN before reboot, as well as before exit(), to prevent
a root file system which has been marked read-only in fstab from continuing
to prevent logins after reboot.  From Ian D. Leroux in PR#43390.
2010-06-09 04:51:53 +00:00
kiyohara 58ab5c2ec0 Add mvgbe and gtpci.
Change gt devices to MI from evbppc.
2010-06-09 04:48:02 +00:00
kiyohara 5358a961b8 Indent. 2010-06-09 04:44:01 +00:00
kiyohara 2581e047dd Support MV64361 on PegasosII by gt(4).
+ Support gtpci@gt instead of pegasospci more smartly.
  + Support Gigabit Ethernet by mvgbe@gt.
2010-06-09 04:41:42 +00:00
mrg 0196355634 pci_chipset_tag_t is opaque - don't compare it to NULL, just use it.
shouldn't be a problem because "acpi_softc" variable isn't setup until
the "sc_pc" member is set.

fixes ia64 build.  tested on amd64.  ok jruoho.
2010-06-09 04:20:10 +00:00
mrg 43b100a118 document the acorn26, i386, ia64 and vax ddb commands in both the builtin
help and in ddb.4.  fixes PR#38304, PR#38305, PR#38309 and PR#38313.
2010-06-09 02:48:52 +00:00
mrg 682fe43442 declare 'struct pci_attach_args' before it is used. fixes ia64 build. 2010-06-09 02:39:32 +00:00
kiyohara 8a73a79a6f Fix debug messages.
- s/DEBUG/GT_DEBUG/.
  - Indent.
  - The old one is 20 bits in the mask of the address register, and the
    new one is 16 bits.
2010-06-09 02:19:51 +00:00
riz a4259da5ea Note that MKZFS is actually "yes" on i386/amd64. 2010-06-08 22:22:25 +00:00
pooka 0c93fc168a The previous revision worked brilliantly if all you wanted to test
was autoload *not* working with an alternate path.  This revision
make the code double as good in the sense that it now works also
in case you *do* want it to work.
2010-06-08 21:57:49 +00:00
jruoho 15a42e9f63 Only check the parent's power state if the parent has power management
capabilities. Based on a short DSDT survey, not all systems adhere to the
model noted in the comment.
2010-06-08 21:47:26 +00:00
jakllsch 2f58024d26 Add quirks for Creative Nomad MuVo, it chokes when told to prevent
media removal or synchronize cache.  Should fix PR#30389.
2010-06-08 20:40:07 +00:00
jruoho 2ef5124af4 Add FUNCTIONS. List only complete prototypes in SYNOPSIS. Sort SYNOPSIS
according to the appearance in FUNCTIONS. Fix typo; cnm_trap() -> cn_trap().
Remove the .Va typedef struct cnm_state cnm_state_t; in SYNOPSIS. And some
miscellaneous markup improvements.
2010-06-08 19:44:28 +00:00
jruoho 74f7e1dfe4 Offset indent the example. 2010-06-08 19:28:56 +00:00
jruoho 709c34f11d Fix a comment and some debug printing. 2010-06-08 18:38:18 +00:00
jruoho fc9a58b32f Error out if we try to set power to a higher-power state than the parent's
state. This follows the "bus power state" -logic noted in the spec:

        bus: D1
                device A : D1 -> D0 -> error
                device B : D1 -> D2 -> success

                -> bus must remain in D1 due device A

Following this scheme, it is easy to derive the "bus power state" now that
we have the device nodes in a tree-like structure. If required, separate
acpi_power_get_bus() and acpi_power_set_bus() can be added in the future.
2010-06-08 18:18:24 +00:00
christos 2ae8ee3aef use modulo instead of logical and. from pooka 2010-06-08 18:04:17 +00:00
pooka 1ef2da668c Allow to set a non-standard module_base for host kernel module loading. 2010-06-08 17:17:33 +00:00
tnozaki 068f43028d fix build breakage by multiple definition of __mb_cur_max. 2010-06-08 17:12:32 +00:00
jruoho 64f353c42a Add PNP0C33, "a hardware error device". Part of APEI. 2010-06-08 17:04:49 +00:00
jruoho c51a135130 Add and organize some comments. Add also ACPI_DEVICE_EJECT constant to
indicate "ejectable" devices such as docking stations.
2010-06-08 16:55:02 +00:00
jruoho 5f7d603c37 Use the same notation with the PNP identifiers. Specifically note that
PNP0C80 is the device that is required for memory hot-plug on x86.
2010-06-08 16:49:53 +00:00
pooka 46ea1019d6 Allow loading the symbols from objects which are not directly mapped
into memory, namely the main object (i.e. map->l_addr is NULL).
2010-06-08 15:32:55 +00:00
christos a3299c9005 explain why this code is there. 2010-06-08 13:48:58 +00:00
pgoyette 24b20b1478 Regen 2010-06-08 13:36:34 +00:00