Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (3m)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (177d) 

2024-05-09 21:31:01 UTC Now

2012-08-17 09:44:30 UTC MAIN commitmail json YAML

2012-08-17 09:38:52 UTC MAIN commitmail json YAML

Backout previous - it breaks rpi console for me and jak.

(skrll)

2012-08-16 23:45:58 UTC MAIN commitmail json YAML

What was MEMSIZE is now determined automatically.  Remove MEMSIZE.

(jakllsch)

2012-08-16 23:40:19 UTC MAIN commitmail json YAML

Get accessible memory quantity and kernel command line via Linux ARM 'A'-tag
interface used by Raspberry Pi's start.elf.

(jakllsch)

2012-08-16 23:22:45 UTC MAIN commitmail json YAML

Replace use of MEMSIZE with functionally equivilant,
yet perhaps no-more-proper, physmem*PAGE_SIZE.

(jakllsch)

2012-08-16 21:46:18 UTC MAIN commitmail json YAML

Do not depend on MEMSIZE being defined, instead always place temporary
MMU tables just below 128MiB.

(jakllsch)

2012-08-16 21:19:27 UTC netbsd-6 commitmail json YAML

Update list of changed files for ticket #502.

(riz)

2012-08-16 21:18:42 UTC netbsd-6 commitmail json YAML

Since DIAGNOSTIC is removed from GENERIC on the netbsd-6 branch, comment
out "no options DIAGNOSTIC" to allow this kernel to build.

Fix for ticket #502 (originally requested by martin).

(riz)

2012-08-16 20:16:06 UTC MAIN commitmail json YAML

2012-08-16 19:47:48 UTC MAIN commitmail json YAML

Bump up to WARNS=5.  No new warnings/errors were found.

(jnemeth)

2012-08-16 19:42:23 UTC MAIN commitmail json YAML

Wait for a child to initialise its network stack before sending a ping.
Decrease BIOCSRTIMEOUT to 500ms.

(alnsn)

2012-08-16 19:40:48 UTC MAIN commitmail json YAML

Use correct routine name - kcpuset_sysinit() vs kcpuset_init()

(pgoyette)

2012-08-16 19:09:02 UTC MAIN commitmail json YAML

We also need kcpuset_init() now.

(pgoyette)

2012-08-16 18:37:15 UTC MAIN commitmail json YAML

fix a bunch of typos, thinkos and cargocultos

(macallan)

2012-08-16 18:26:22 UTC MAIN commitmail json YAML

Remove *_STACK_SIZE and cpu_reset_address definitons.

(matt)

2012-08-16 18:22:48 UTC MAIN commitmail json YAML

Move the standard definitions of the {UND,IRQ,FIQ,ABT}_STACK_SIZE to
<arm32/machdep.h>
Move the extern for cpu_reset_address to the same file.
Add cpu_reset_address_paddr.
Kill cpu_reset_v4_MMU_disable.
if cpu_reset_address is NULL, then the MMU will be disabled.

(matt)

2012-08-16 18:16:25 UTC MAIN commitmail json YAML

Add include of <arm/pcb.h>

(matt)

2012-08-16 18:15:11 UTC MAIN commitmail json YAML

Add include of <machine/pcb.h>

(matt)

2012-08-16 17:47:47 UTC MAIN commitmail json YAML

It helps to include the declaration of the routine being called.

(pgoyette)

2012-08-16 17:35:01 UTC MAIN commitmail json YAML

small rototill.
pcb_flags is dead.  PCB_NOALIGNFLT is now in stored l_md.md_flags as
MDLWP_NOALIGNFLT.  This avoids a few loads of the PCB in exception handling.
pcb_tf has been moved to l_md.md_tf.  Again this avoids a lot of pcb
references just to access or set this.  It also means that pcb doesn't
need to accessed by MI code.
Move pcb_onfault to after the pcb union.
Add pcb_sp macro to make code prettier.
Add lwp_settrapframe(l, tf) to set the l_md.md_tf field.
Use lwp_trapframe to access it (was process_frame but that name was changed
in a previous commit).
Kill off curpcb in acorn26.
Kill the checks for curlwp being NULL.
Move TRAP_USERMODE from arm32/fault.c to frame.h and a __PROG26 version.
Replace tests for usermode with that macro.

(matt)

2012-08-16 17:25:37 UTC MAIN commitmail json YAML

Call pserialize_init() during rump start-up, since librump/net/npf
uses it.

(pgoyette)

2012-08-16 17:25:28 UTC MAIN commitmail json YAML

2012-08-16 17:04:22 UTC MAIN commitmail json YAML

Use tf instead of frame as trapframe pointer.

(matt)

2012-08-16 16:49:11 UTC MAIN commitmail json YAML

Actually use the assembly version of the atomic function if compiling
for armv6 or armv7 cpus.  Use atomic_cas_ptr instead of _lock_cas so
we pick up the assembly version when it's used.

(matt)

2012-08-16 16:41:54 UTC MAIN commitmail json YAML

2012-08-16 16:23:48 UTC MAIN commitmail json YAML

2012-08-16 16:23:32 UTC MAIN commitmail json YAML

2012-08-16 13:34:10 UTC MAIN commitmail json YAML

Various improvements:
- remove redundant mentioning of option names within their description;
- improve (and make consistent) punctuation;
- add missing empty line;
- remove superfluous white space;
- extend `-iname' primary description (copying text from `-name');
- general wording improvements;
- improve macro usage;
- remove double spaces from examples (it's readable well without);
- reference re_format(7) in `SEE ALSO' (as it's mentioned in the
  text several times);
- bump date.

From Bug Hunting.

(wiz)

2012-08-16 13:31:27 UTC MAIN commitmail json YAML

2012-08-16 12:57:25 UTC MAIN commitmail json YAML

Fix more fallout from the changes to nfsd's command-line options

(pgoyette)

2012-08-16 11:28:49 UTC MAIN commitmail json YAML

Bump date for previous.

(wiz)

2012-08-16 11:28:39 UTC MAIN commitmail json YAML

Whitespace fixes. Bump date for previous.

(wiz)

2012-08-16 10:14:03 UTC MAIN commitmail json YAML

Slightly reaarange, so that the 32bit version actually gets compiled
and linked with -m32.

(martin)

2012-08-16 09:25:44 UTC MAIN commitmail json YAML

Fix regression that has been introduced when the lookup/reclaim race
condition was addressed in libpuffs by counting lookups.

The fix assumes that cookies map to struct puffs_cookie, which has not
been documented as a requirement for filesystems using libpuffs. As an
example, we got burnt by this assumption in libp2k (kern/46734), and
we fixed bit by actually mapping libp2k cookies to struct puffs_node.

It is unlikely, but there may be third party filesystems that use cookies
unmapped to struct puffs_node, and they were left broken for now.

- we introduce a puffs_init() flag PUFFS_FLAG_PNCOOKIE that let filesystems
inform libpuffs that they map cookies to struct puffs_node. Is that flag
is used, the lookup/reclaim race condition fix is enabled. We enable the
flag for libp2k.

- filesystems that use puffs_pn_new() obviouslty use struct puffs_node
and gain PUFFS_FLAG_PNCOOKIE automatically even if they did not specify
it in puffs_init(). This include all our PUFFS filesystem in-tree except
libp2k.

- for filesystems not willing to use struct puffs_node, we introduce a
reclaim2 vnop, which is reclaim with an additionnal lookup count argument.
This vnop let the filesystem implement the lookup/reclaim race fix on
its own.

(manu)

2012-08-16 08:39:43 UTC MAIN commitmail json YAML

Do not disturb the atf output with debugging echos

(martin)

2012-08-16 07:26:23 UTC MAIN commitmail json YAML

Add L2_S_SEGSIZE which is the number of bytes that a L2 page table will map.

(matt)

2012-08-16 07:25:37 UTC MAIN commitmail json YAML

Tweak max addresses a bit so that [r1, #off] can't overflow them.

(matt)

2012-08-16 07:24:25 UTC MAIN commitmail json YAML

Already uses _C someplace, use _CSUM instead

(matt)

2012-08-16 05:30:56 UTC MAIN commitmail json YAML

Add ARM cpus to those MACHINE_ARCH which USE_COMPILERCRTSTUFF=no

(matt)

2012-08-16 04:52:56 UTC MAIN commitmail json YAML

Add debug version of librumpnet_npf.so.0

(matt)

2012-08-16 04:49:48 UTC MAIN commitmail json YAML

Add a pthread__smt_wake and add support for it on arm along with
pthread__smt_pause.  These are implemented using the ARM instructions
SEV (wake) and WFE (pause).  These are treated as NOPs on ARM CPUs that
don't support them.

(matt)

2012-08-16 02:41:29 UTC netbsd-6 commitmail json YAML

2012-08-16 02:41:05 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #505):
external/bsd/openpam/dist/lib/openpam_dynamic.c: revision 1.4
PR/46801: Izumi Tsutsui:
- downgrade the error of not finding a file to load to a debug message.
  Statically linked OpenPAM (like on sun2) does not have shared objects.
- make sure we preserve errno around dlclose() which will call munmap()
XXX: Pullup to 6

(riz)

2012-08-16 02:37:56 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #504):
sys/arch/x68k/dev/event_var.h: revision 1.9
Make sure to take proc_lock mutex on calling psignal(9) in EV_WAKEUP() macro
as sys/dev/sun/event_var.h does.
Fixes immediate KASSERT(mutex_owned(proc_lock)) panic during running Xserver
on DIAGNOSTIC kernel.
Should be pulled up to netbsd-6.

(riz)

2012-08-16 00:40:29 UTC MAIN commitmail json YAML

Pretty print multipath routes. From FreeBSD.

ok christos@

(zafer)

2012-08-15 22:14:47 UTC MAIN commitmail json YAML

2012-08-15 21:36:00 UTC MAIN commitmail json YAML

Test contiguous buffer as well.

(alnsn)

2012-08-15 21:31:39 UTC MAIN commitmail json YAML

MINDEX() macro has 'return 0;' statement. It doesn't set *err to
1 before return when invoked from m_xword() and m_xhalf() functions.
The caller doesn't set it to 1 either. So, set *err to 1 before
invoking MINDEX().

(alnsn)

2012-08-15 21:03:11 UTC MAIN commitmail json YAML

2012-08-15 20:59:51 UTC MAIN commitmail json YAML

Fix two bugs introduced by recent commit.

- When handling contiguous buffer in _bpf_tap(), pass its real size
  rather than 0 to avoid reading packet data as mbuf struct on
  out-of-bounds loads.
- Correctly pass pktlen and buflen arguments from bpf_deliver() to
  bpf_filter() to avoid reading mbuf struct as packet data.
  JIT case is still broken.

Also, test pointers againts NULL.

(alnsn)

2012-08-15 20:38:50 UTC MAIN commitmail json YAML

2012-08-15 19:47:39 UTC MAIN commitmail json YAML

2012-08-15 19:13:58 UTC MAIN commitmail json YAML

Make sure to take proc_lock mutex on calling psignal(9) in EV_WAKEUP() macro
as sys/dev/sun/event_var.h does.
Fixes immediate KASSERT(mutex_owned(proc_lock)) panic during running Xserver
on DIAGNOSTIC kernel.

Should be pulled up to netbsd-6.

(tsutsui)

2012-08-15 18:44:57 UTC MAIN commitmail json YAML

- {npf_mk_rproc,npf_nat_save}: fix the fetching of {rproc-ptr,id_ptr}.
- npf_rproc_setlog: initialise variables to 0, as keys may not exist.

Bugs found by mlelstv@ while testing on Amiga.

(rmind)

2012-08-15 17:56:58 UTC MAIN commitmail json YAML

Enable the build of librumpnet_npf.

(rmind)

2012-08-15 17:43:59 UTC MAIN commitmail json YAML

don't forget to clear the screen and wipe the glyph cache when re-entering
terminal emulation mode

(macallan)

2012-08-15 17:37:13 UTC netbsd-6 commitmail json YAML

2012-08-15 17:36:46 UTC netbsd-6 commitmail json YAML

Pull up the following revisions(s) (requested by martin in ticket #503):
usr.sbin/postinstall/postinstall: revision 1.142-1.145
Makefile: revision 1.295-1.298

Make test for and removal of old pty device nodes more portable.

(sborrill)

2012-08-15 17:35:03 UTC MAIN commitmail json YAML

set the default reference clock for Rage XL on sparc to 29.498MHz
now the PGX64 works out of the box with no config file

(macallan)

2012-08-15 17:20:27 UTC MAIN commitmail json YAML

Add SWP enable bit to system control register (Cortex-A9).

(matt)

2012-08-15 17:02:41 UTC MAIN commitmail json YAML

some cleanup:
- get rid of some redundant variables ( sc_*phys and sc_*base were essentially
  the same )
- we don't access video memory directly anymore, so:
  * no more need for byte order tests
  * don't map video memory if we have a MMIO register aperture
  * get rid of various bits of support code dealing with video memory
    access
- use MMIO register aperture if available, turn off register blocks in the main
  aperture if not in use, to avoid overlap with video memory on 8MB cards
- don't scissor off access to off-screen memory. How the hell did this work on
  Rage II? Apparently Rage XL treats the scissor registers slightly different.
Now this works properly on 8MB and Rage XL boards like Sun's PGX64.

(macallan)

2012-08-15 16:49:09 UTC MAIN commitmail json YAML

Add sbin/gpt to i386 install ramdisk.

(riz)

2012-08-15 16:48:41 UTC MAIN commitmail json YAML

Add sbin/gpt to amd64 install ramdisk.

(riz)

2012-08-15 16:26:41 UTC MAIN commitmail json YAML

Remove the ability to specify multiple colon-separated file names with
a single "-s" option.  Multiple "-s" options must now be used instead.
We have been printing a warning about this since 2008-09-14.

(apb)

2012-08-15 16:21:41 UTC MAIN commitmail json YAML

Remove the ability to specify multiple colon-separated fiel names with
a single "-s" option.  Multiple "-s" options must now be used instead.
We have been printing a warning about this since 2008-09-14.

(apb)

2012-08-15 15:39:23 UTC MAIN commitmail json YAML

add a few register definitions

(macallan)

2012-08-15 15:34:04 UTC netbsd-6 commitmail json YAML

2012-08-15 15:33:01 UTC netbsd-6 commitmail json YAML

Pull up the following revisions(s) (requested by martin in ticket #502):
sys/arch/cobalt/conf/GENERIC: patch
sys/arch/i386/conf/GENERIC: patch
sys/arch/i386/conf/XEN3_DOM0: patch
sys/arch/i386/conf/XEN3_DOMU: patch
sys/arch/mvmeppc/conf/GENERIC: patch
sys/arch/shark/conf/GENERIC: patch
sys/arch/sparc64/conf/GENERIC: patch
sys/arch/sparc64/conf/GENERIC.DEBUG: patch
sys/arch/zaurus/conf/GENERIC: patch

Switch off DIAGNOSTIC and/or DEBUG on release kernels.
Enable DIAGNOSTIC in DEBUG kernels to allow for option
being switched off in GENERIC.

(sborrill)

2012-08-15 15:23:15 UTC netbsd-6 commitmail json YAML

2012-08-15 15:22:55 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by sborrill in ticket #501):
sys/arch/amd64/include/vmparam.h: revision 1.31
sys/arch/i386/include/vmparam.h: revision 1.75
Bump VM_PHYSSEG_MAX to 16 from 10. Modern IBM hardware requires
VM_PHYSSEG_MAX to be turned up to 11 to avoid an early panic.
Bump VM_PHYSSEG_MAX to 16 from 10. Modern IBM hardware requires
VM_PHYSSEG_MAX to be turned up to 11 to avoid an early panic.

(riz)

2012-08-15 14:51:30 UTC MAIN commitmail json YAML

Fix make test on powermac G5. Patch from Nakano Takaharu

(manu)

2012-08-15 13:28:32 UTC MAIN commitmail json YAML

return errno if pthread_create hits the system limit, not just -1
(this is not entirely correct because it can return ENOMEM which is
not mentioned in the spec, but there are other places in pthread_create
whete ENOMEM is returned -- it at all, this should be fixed everywhere)

(drochner)

2012-08-15 12:50:12 UTC MAIN commitmail json YAML

Add HOST_SH to _POSTINSTALL_ENV; needed for
usr.sbin/postinstall/postinstall revision 1.145.

(apb)

2012-08-15 12:48:20 UTC MAIN commitmail json YAML

Don't rely on stat(1) with format "%SHr" to print the correct names.
That uses devname(3) internally, which doesn't work at all in a cross
build environment, and doesn't do what I thought even in a native
environment.

Instead, parse the device major numbers for the pty master and slave
devices from the output of "MAKEDEV -s pty0" and check those against the
actual device node that we are thinking of removing.

(apb)

2012-08-15 08:10:29 UTC MAIN commitmail json YAML

Bump VM_PHYSSEG_MAX to 16 from 10. Modern IBM hardware requires
VM_PHYSSEG_MAX to be turned up to 11 to avoid an early panic.

(sborrill)

2012-08-15 08:09:57 UTC MAIN commitmail json YAML

Bump VM_PHYSSEG_MAX to 16 from 10. Modern IBM hardware requires
VM_PHYSSEG_MAX to be turned up to 11 to avoid an early panic.

(sborrill)

2012-08-15 06:16:41 UTC MAIN commitmail json YAML

PR/46801: Izumi Tsutsui:
- downgrade the error of not finding a file to load to a debug message.
  Statically linked OpenPAM (like on sun2) does not have shared objects.
- make sure we preserve errno around dlclose() which will call munmap()
XXX: Pullup to 6

(christos)

2012-08-15 05:55:43 UTC MAIN commitmail json YAML

more ',rump' sprinkling - now mips64el builds with MKRUMP=no too

(macallan)

2012-08-15 04:22:45 UTC MAIN commitmail json YAML

sprinkle ',rump', now sgimips64 with MKRUMP=no builds properly

(macallan)

2012-08-15 03:57:58 UTC MAIN commitmail json YAML

Add macros for all of the E and C flags in the FPSCR.

(matt)

2012-08-15 03:46:07 UTC MAIN commitmail json YAML

2012-08-15 01:26:46 UTC netbsd-6 commitmail json YAML

2012-08-15 01:26:22 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #500):
distrib/evbppc/ramdisk/Makefile: revision 1.16
distrib/emips/ramdisk/Makefile: revision 1.2
distrib/sandpoint/ramdisk/Makefile: revision 1.10
distrib/evbmips/instkernel/ramdisk/Makefile: revision 1.12
distrib/i386/ramdisks/ramdisk-rescuetiny/Makefile: revision 1.2
distrib/ibmnws/netboot/ramdisk/Makefile: revision 1.11
distrib/pmax/ramdisk/Makefile: revision 1.46
distrib/i386/ramdisks/ramdisk-tiny/Makefile: revision 1.2
just make the installation ptys (ipty); change it to opty if more needed.
Change all install media to use ipty instead of pty0

(riz)

2012-08-15 01:20:24 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by dholland in ticket #499):
share/doc/smm/04.quotas/quotas.ms: revision 1.5
share/doc/smm/04.quotas/quotas.ms: revision 1.6
share/doc/smm/04.quotas/quotas.ms: revision 1.7
Update. comments/suggestions/edits please.
This should be pulled up to netbsd-6 once the dust (if any) settles.
Typos, capitalization, and file systems.
(Not reviewed at the content level.)
Some edits, prompted by suggestions from Edgar Fuss.

(riz)

2012-08-15 01:03:17 UTC MAIN commitmail json YAML

Add EXSYS EX-41098-2 UARTs support. The clock frequency is
different from other card(s).
Fixes PR#46362 reported by Wolfgang Stukenbrock.

(msaitoh)

2012-08-15 00:36:50 UTC netbsd-6 commitmail json YAML

2012-08-15 00:35:04 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by dholland in ticket #498):
usr.sbin/edquota/edquota.c: revision 1.48
usr.sbin/edquota/edquota.c: revision 1.49
usr.sbin/edquota/edquota.c: revision 1.50
usr.sbin/edquota/edquota.c: revision 1.51
usr.sbin/edquota/edquota.c: revision 1.52
Minor cleanup: use bitfields instead of a flags word for private state
flags, remove now-unused qfname field.
Bail out early if none of the mounted volumes support quotas. Avoids a
null print in interactive use.
Make editor-based edquota work again.
The format is somewhat different; I'm operating under the assumption
that nobody has automated editing scripts for the old format because
it's much easier just to use the command-line interface of
edquota. The new format is more scalable and more parseable.
Also, do a better job of diagnosing editing errors, and don't blindly
erase all quota information for the user being edited when a parse
error occurs after editing.
three more minor fixes.
Grr. The ATF quota tests demand failing silently in certain circumstances.
For netbsd-6 we will just have to go with the flow, as I'm not touching
anything outside edquota tonight.

(riz)

2012-08-15 00:16:07 UTC MAIN commitmail json YAML

Fix memset usage.

(joerg)

2012-08-14 22:31:44 UTC MAIN commitmail json YAML

2012-08-14 21:12:59 UTC MAIN commitmail json YAML

2012-08-14 20:42:33 UTC MAIN commitmail json YAML

2012-08-14 20:39:49 UTC MAIN commitmail json YAML

2012-08-14 19:40:31 UTC MAIN commitmail json YAML

Add __RCSID and and make a couple of stylistic changes.

(alnsn)

2012-08-14 19:13:55 UTC MAIN commitmail json YAML

2012-08-14 19:09:16 UTC MAIN commitmail json YAML

Add t_bpfilter test. At the moment, it only checks
that bpf program can read bytes from mbuf chain.

(alnsn)

2012-08-14 15:46:21 UTC MAIN commitmail json YAML

move evcnt_attach_dynamic() calls later to avoid assertions.

(chs)

2012-08-14 15:17:53 UTC MAIN commitmail json YAML

Add recent user visible changes I committed and pulled up to netbsd-6.

(tsutsui)

2012-08-14 14:41:07 UTC MAIN commitmail json YAML

Use _PATH_URANDOM from paths(3).

(jruoho)

2012-08-14 14:38:02 UTC MAIN commitmail json YAML

2012-08-14 14:36:43 UTC MAIN commitmail json YAML

2012-08-14 13:12:15 UTC MAIN commitmail json YAML

Pass STAT=${TOOL_STAT:Q} through to postinstall.

(apb)

2012-08-14 13:11:25 UTC MAIN commitmail json YAML

Change do_ptyfsoldnodes to use stat(1) to check whether a file is
a device node of the correct type.  We no longer need to get the
major number from searching the MAKEDEV script, because the output
from stat(1) will contain the strings "tty" or "pty" instead of
the numeric major numbers.  We also no longer rely on "find -ls".

(apb)

2012-08-14 13:04:10 UTC MAIN commitmail json YAML

TOOL_GREP is defined in share/mk/bsd.own.mk, but is not actually built
from tools/Makefile.  So don't try to use it here.

(apb)

2012-08-14 13:02:19 UTC MAIN commitmail json YAML

Make this build again by adding a couple of right-parens.

(he)

2012-08-14 12:37:41 UTC MAIN commitmail json YAML

Pass all relevant tool variables to postinstall, not just a subset.

(apb)

2012-08-14 12:31:05 UTC MAIN commitmail json YAML

update current version of grep to 2.13 - from Snader_LB

(abs)

2012-08-14 12:19:16 UTC MAIN commitmail json YAML

Fix unbalanced quotes in .if ${MKRUMP} != "no"

(apb)

2012-08-14 12:07:57 UTC MAIN commitmail json YAML

Use grep -E and grep -F instead of egrep and fgrep.  This reduces the
number of tools that may need to be passed in the environment.

(apb)

2012-08-14 10:38:41 UTC MAIN commitmail json YAML

Remove the "stat" shell function (stat op format target value).
It has been unused since revision 1.14 dated 2006-05-30.

(apb)

2012-08-14 08:23:30 UTC MAIN commitmail json YAML

use freeaddrinfo()

(christos)

2012-08-14 08:08:29 UTC MAIN commitmail json YAML

Improve DESCRIPTION, fix up English usage.

(dholland)

2012-08-14 07:59:48 UTC netbsd-6 commitmail json YAML

Actually commit the important bit of ticket #491.

(riz)

2012-08-14 07:57:27 UTC netbsd-6 commitmail json YAML

src/crypto/external/bsd/openssl/bin/Makefile@1.5.4.1 / diff / nxr@1.5.4.1
src/crypto/external/bsd/openssl/dist/CHANGES@1.1.1.4.4.1 / diff / nxr@1.1.1.4.4.1
src/crypto/external/bsd/openssl/dist/Configure@1.2.4.1 / diff / nxr@1.2.4.1
src/crypto/external/bsd/openssl/dist/FAQ@1.1.1.3.4.1 / diff / nxr@1.1.1.3.4.1
src/crypto/external/bsd/openssl/dist/Makefile@1.1.1.1.2.2 / diff / nxr@1.1.1.1.2.2
src/crypto/external/bsd/openssl/dist/Makefile.org@1.1.1.3.4.1 / diff / nxr@1.1.1.3.4.1
src/crypto/external/bsd/openssl/dist/NEWS@1.1.1.2.4.1 / diff / nxr@1.1.1.2.4.1
src/crypto/external/bsd/openssl/dist/README@1.1.1.3.4.1 / diff / nxr@1.1.1.3.4.1
src/crypto/external/bsd/openssl/dist/STATUS@1.1.1.2.4.1 / diff / nxr@1.1.1.2.4.1
src/crypto/external/bsd/openssl/dist/TABLE@1.1.1.3.4.1 / diff / nxr@1.1.1.3.4.1
src/crypto/external/bsd/openssl/dist/VMS/install.com@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/crypto/external/bsd/openssl/dist/VMS/mkshared.com@1.1.1.2.4.1 / diff / nxr@1.1.1.2.4.1
src/crypto/external/bsd/openssl/dist/apps/CA.pl@1.1.8.1 / diff / nxr@1.1.8.1
src/crypto/external/bsd/openssl/dist/apps/Makefile@1.1.1.3.4.1 / diff / nxr@1.1.1.3.4.1
src/crypto/external/bsd/openssl/dist/apps/apps.c@1.1.1.4.4.1 / diff / nxr@1.1.1.4.4.1
src/crypto/external/bsd/openssl/dist/apps/apps.h@1.1.1.4.4.1 / diff / nxr@1.1.1.4.4.1
src/crypto/external/bsd/openssl/dist/apps/ca.c@1.4.8.1 / diff / nxr@1.4.8.1
src/crypto/external/bsd/openssl/dist/apps/client.pem@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/crypto/external/bsd/openssl/dist/apps/cms.c@1.1.1.4.4.1 / diff / nxr@1.1.1.4.4.1
src/crypto/external/bsd/openssl/dist/apps/dgst.c@1.1.1.4.4.1 / diff / nxr@1.1.1.4.4.1
      :
(more 820 files)
Pull up following revision(s) (requested by christos in ticket #491):

Update OpenSSL to version 1.0.1c.

(riz)

2012-08-14 07:24:41 UTC MAIN commitmail json YAML

2012-08-14 06:52:39 UTC MAIN commitmail json YAML

Use standard section headers and content and remove trailing whitespace.

(wiz)

2012-08-14 06:45:31 UTC MAIN commitmail json YAML

Dust off my old bsd-pkg-config script and commit it to othersrc.

Seems to do most of the things that other pkg-config scripts do, albeit
in 150 grungy lines of shell, so I must be missing something.

Some quick examples:

% bsd-pkg-config --libs-only-l libtiff-4
-ltiff
% bsd-pkg-config --libs-only-L libtiff-4
-L/usr/pkg/lib
% bsd-pkg-config --libs libtiff-4
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -ltiff
% bsd-pkg-config --libs 'apr-1 >= 1.4.5'
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lapr-1 -lcrypt  -lpthread
% bsd-pkg-config --modversion 'apr-1 >= 1.4.5'
1.4.5
% bsd-pkg-config --variable=prefix apr-1
/usr/pkg
% bsd-pkg-config --exists 'apr-1 >= 1.4.4' && echo found
found
%

and the regression tests:

% make t
cd bin && make t
./tst
cflags
good

libs
good

libs-only-L
good

libs-only-l
good

libs-only-other
good

modversion
good

static
pkg-config: -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lapr-1 -lcrypt -lpthread 
bsd-pkg-config:  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lapr-1 -lcrypt  -lpthread

variable
good

version comparisons
pkg-config: -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lapr-1 -lcrypt -lpthread 
bsd-pkg-config:  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lapr-1 -lcrypt  -lpthread
%

i.e. whitespace differences only


Status:

Vendor Tag: CROOKS
Release Tags: bsd-pkg-config-base

(agc)

2012-08-14 05:14:53 UTC MAIN commitmail json YAML

Some edits, prompted by suggestions from Edgar Fuss.

(dholland)

2012-08-14 04:53:43 UTC MAIN commitmail json YAML

Grr. The ATF quota tests demand failing silently in certain circumstances.
For netbsd-6 we will just have to go with the flow, as I'm not touching
anything outside edquota tonight.

(dholland)

2012-08-14 04:48:42 UTC MAIN commitmail json YAML

three more minor fixes.

(dholland)

2012-08-14 03:55:49 UTC MAIN commitmail json YAML

Make editor-based edquota work again.

The format is somewhat different; I'm operating under the assumption
that nobody has automated editing scripts for the old format because
it's much easier just to use the command-line interface of
edquota. The new format is more scalable and more parseable.

Also, do a better job of diagnosing editing errors, and don't blindly
erase all quota information for the user being edited when a parse
error occurs after editing.

(dholland)

2012-08-14 02:55:01 UTC MAIN commitmail json YAML

just make the installation ptys (ipty); change it to opty if more needed.

(christos)

2012-08-13 23:24:21 UTC netbsd-6 commitmail json YAML

2012-08-13 23:18:24 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by abs in ticket #497):
external/realtek/urtwn/Makefile: revision 1.1
external/realtek/Makefile.inc: revision 1.1
external/realtek/urtwn/dist/rtl8192cfw.bin: revision 1.1
distrib/sets/lists/base/mi: revision 1.997
external/README: revision 1.15
etc/mtree/NetBSD.dist.base: revision 1.101
external/realtek/urtwn/dist/Realtek-Firmware-License.txt: revision 1.1
share/man/man4/urtwn.4: revision 1.4
external/realtek/Makefile: revision 1.1
external/realtek/urtwn/dist/rtl8192cfwU.bin: revision 1.1
sys/dev/usb/if_urtwn.c: revision 1.5
external/Makefile: revision 1.18
Add firmware for the RealTek RTL8192CU family of wireless chipsets, and
adapt the urtwn(4) driver to use the new files.  The firmware files were
extracted from the Linux driver at www.realtek.com, version 0005.1230.2011
and the license permits redistribution without modification.
While I'm here, install the files in /libdata/firmware/if_urtwn, like
most of the other network adapter firmware.
urtwn(4) can now operate without needing external files installed.  Tested
on my Edimax adapter.

(riz)

2012-08-13 23:08:58 UTC MAIN commitmail json YAML

Bail out early if none of the mounted volumes support quotas. Avoids a
null print in interactive use.

(dholland)

2012-08-13 22:21:05 UTC MAIN commitmail json YAML

Minor cleanup: use bitfields instead of a flags word for private state
flags, remove now-unused qfname field.

(dholland)

2012-08-13 20:34:41 UTC netbsd-6 commitmail json YAML

2012-08-13 20:33:06 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by jdc in ticket #496):
doc/CHANGES patch
Mention urtwn, wm, and RaspberryPi support in the changes between
NetBSD 5.0 and NetBSD 6.0.
[jdc, ticket #496]

(riz)

2012-08-13 20:31:15 UTC MAIN commitmail json YAML

Quote company name because Lk macro takes only argument after URL. Cosmetic
fix.

(rkujawa)

2012-08-13 20:29:32 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #495):
sys/dev/usb/uftdi.c: revision 1.53
Use as large a packet size as the ftdi endpoint specifies.
Now I can read from my beaglebone!

(riz)

2012-08-13 20:27:12 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by gson in ticket #494):
sys/dev/pci/eso.c: revision 1.61
Add missing locking calls to eso_attach() to avoid panic on boot.
Partly based on a patch from mrg.  Fixes PR kern/46791.

(riz)

2012-08-13 20:24:10 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by khorben in ticket #493):
sys/arch/evbarm/stand/gzboot/Makefile.gzboot: revision 1.20
Fixed build with USE_SSP=yes
ok christos@

(riz)

2012-08-13 20:22:21 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #492):
usr.sbin/postinstall/postinstall: revision 1.139
usr.sbin/postinstall/postinstall: revision 1.140
usr.sbin/postinstall/postinstall: revision 1.141
Add a ptyfsoldnodes item that checks/removes old /dev/{p,t}ty* nodes
if ptyfs is used.
Make "fix ptyfsoldnodes" more verbose
Cleanup temporary file

(riz)

2012-08-13 20:19:24 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #491):
doc/CHANGES: revision 1.1723
distrib/sets/lists/comp/mi: revision 1.1770
doc/3RDPARTY: revision 1.952
distrib/sets/lists/base/md.amd64: revision 1.173
distrib/sets/lists/comp/ad.mips64el: revision 1.86
distrib/sets/lists/base/shl.mi: revision 1.634
distrib/sets/lists/base/ad.mips64el: revision 1.97
distrib/sets/lists/comp/shl.mi: revision 1.230
distrib/sets/lists/base/md.sparc64: revision 1.163
distrib/sets/lists/comp/md.sparc64: revision 1.154
distrib/sets/lists/comp/ad.mips64eb: revision 1.85
distrib/sets/lists/base/ad.mips64eb: revision 1.98
distrib/sets/lists/comp/md.amd64: revision 1.172
new openssl
mention new openssl

(riz)

2012-08-13 20:04:12 UTC MAIN commitmail json YAML

Initial Raspberry Pi support has been pulled up to NetBSD 6.0.

(jdc)

2012-08-13 19:55:10 UTC netbsd-6 commitmail json YAML

Missed part of rev 1.154 from ticket #490.

(riz)

2012-08-13 19:52:30 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #490):
etc/MAKEDEV.tmpl: revision 1.157
Don't create BSD style pty nodes by default anymore since ptyfs is mounted
by default. Mention that this is a security issue, since it allows pty access
through the old style node.  While here, pull up revision 1.54 (wedges) to reduces diffs to -current

(riz)

2012-08-13 19:43:45 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by rmind in ticket #489):
usr.sbin/npf/npfctl/npfctl.8: revision 1.9
usr.sbin/npf/npfctl/npf.conf.5: revision 1.15
usr.sbin/npf/npfctl/npf_disassemble.c: revision 1.9
- npfctl show: add most of the missing cases.
- Few minor improvements to NPF man pages.

(riz)

2012-08-13 19:42:50 UTC MAIN commitmail json YAML

Give AHCI_QUIRK_BADPMPRESET its own bit. Pointed out by Chuck Silvers, thanks !

(bouyer)

2012-08-13 19:41:30 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by buhrow in ticket #488):
sys/dev/raidframe/rf_netbsdkintf.c: revision 1.298
Implement DIOCGSTRATEGY and DIOCSSTRATEGY to allow raidframe to use
different buffer queue strategies.
Initialize raid sets to use the default buffer queue strategy for the given
architecture, rather than forcing raidframe to use  fcfs in all cases.
This should cause raidframe to use the same buffer queue strategy as the
underlying disks.
On I386, I see performance enhancements of between 14 and 16% with raid5
sets with no other change.
See http://mail-index.NetBSD.org/tech-kern/2012/08/08/msg013758.html
for a discussion of this issue.

(riz)

2012-08-13 19:38:11 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #487):
sys/arch/sun3/include/param3.h: revision 1.55
sys/arch/sun3/include/param3.h: revision 1.56
sys/arch/sun2/include/param.h: revision 1.15
sys/arch/sun3/include/param.h: revision 1.61
sys/arch/sun3/include/param3x.h: revision 1.18
Poor sun3 (but not sun3x) has only 31MB KVM address space,
so reduce NKMEMPAGES_MAX_DEFAULT from 64MB to 16MB.
Fixes "panic: ubc_init: failed to map ubc_object" on
TME emulating 3/120 with >16MB RAM.
Should be pulled up to netbsd-6.
Poor sun2 has only 14MB KVA space so reduce NKMEMPAGES_MIN_DEFAULT and
NKMEMPAGES_MAX_DEFAULT values accordingly.
XXX: netbsd-6 GENERIC still gets "panic: pool_get: kmem-4096: page empty"
Also reduce UBC_NWINS from default 1024 to 512
to avoid possible KVA shortage, otherwise
"panic: ubc_init: failed to map ubc_object"
could still happen on netbsd-6 branch.
Should be pulled up to netbsd-6.

(riz)

2012-08-13 19:34:52 UTC netbsd-6 commitmail json YAML

2012-08-13 18:22:26 UTC MAIN commitmail json YAML

2012-08-13 18:02:32 UTC MAIN commitmail json YAML

Remove nfsd options as they are no longer needed.

(pgoyette)

2012-08-13 17:50:44 UTC netbsd-6 commitmail json YAML

2012-08-13 17:49:53 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by rmind in ticket #485):
lib/libnpf/npf.c: revision 1.11
sys/net/npf/npf_session.c: revision 1.17
sys/modules/npf/Makefile: revision 1.10
usr.sbin/npf/npftest/npftest.c: revision 1.4
usr.sbin/npf/npftest/README: revision 1.1
sys/net/npf/npf_tableset.c: revision 1.14
usr.sbin/npf/npftest/npftest.h: revision 1.4
lib/libnpf/npf.h: revision 1.10
sys/net/npf/npf_ruleset.c: revision 1.14
usr.sbin/npf/npfctl/npf_data.c: revision 1.18
usr.sbin/npf/npftest/npftest.conf: revision 1.1
sys/net/npf/npf_handler.c: revision 1.21
sys/net/npf/npf_impl.h: revision 1.21
usr.sbin/npf/npfctl/npfctl.c: revision 1.18
usr.sbin/npf/npftest/libnpftest/npf_nat_test.c: revision 1.1
usr.sbin/npf/npfctl/npf_build.c: revision 1.13
usr.sbin/npf/npftest/libnpftest/npf_rule_test.c: revision 1.1
usr.sbin/npf/npftest/npfstream.c: revision 1.3
usr.sbin/npf/npftest/libnpftest/Makefile: revision 1.4
usr.sbin/npf/npfctl/npfctl.h: revision 1.19
sys/net/npf/npf_nat.c: revision 1.16
sys/net/npf/npf_state.c: revision 1.11
usr.sbin/npf/npftest/libnpftest/npf_test_subr.c: revision 1.3
usr.sbin/npf/npftest/libnpftest/npf_test.h: revision 1.5
usr.sbin/npf/npfctl/npf_parse.y: revision 1.12
- Extend npftest: add ruleset inspection testing from the config generated
  by npfctl debug functionality.  Auto-create npftest interfaces for this.
- NPF sessions: combine protocol and interface into a separate substructure,
  share between the entries and thus fix the handling of them.  Constify.
- npftest: add regression tests for NAT policies.
- npf_build_nat: simplify and fix bi-NAT regression.
- Bump yacc stack size for npfctl.

(riz)

2012-08-13 17:09:50 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #475):
lib/csu/sparc_elf/Makefile: revision 1.7
external/gpl3/gcc/dist/gcc/config/netbsd-elf.h: revision 1.4
lib/csu/sparc64/Makefile: revision 1.9
lib/csu/sparc_elf/crt0.c: revision 1.15
lib/csu/sparc64/crt0.c: revision 1.27
Make this position independend (for -pie executables)
Slightly simplify and make position independend.
Part of fixing PR port-sparc64/46724.
pay attention to -pie: link crt{begin,end}S.o.
this fixes -fpie on sparc and sparc64, and probably others.

(riz)

2012-08-13 15:17:17 UTC MAIN commitmail json YAML

Make "fix ptyfsoldnodes" more verbose

(martin)

2012-08-13 13:12:51 UTC MAIN commitmail json YAML

chfs fixes
1. nodes are obsoleted only once during truncating a file
2. frags don't stay in pool_cache

(ttoth)

2012-08-13 12:37:18 UTC MAIN commitmail json YAML

Sync usage with manpage. End it with a newline.

(wiz)

2012-08-13 12:37:05 UTC MAIN commitmail json YAML

Sort options in SYNOPSIS. New sentence, new line. Improve descriptions.
Use more markup. Sort option descriptions. Add arguments to option descriptions.
Punctuation nits.

(wiz)

2012-08-13 12:22:21 UTC MAIN commitmail json YAML

Add -4 and -6 options to rpd.lockd for consistent control over the
protocols to which it listens.  As discussed on tech-userlevel.

(pgoyette)

2012-08-13 11:26:14 UTC MAIN commitmail json YAML

2012-08-13 11:17:43 UTC MAIN commitmail json YAML

add fdpass directories

(christos)

2012-08-13 11:15:06 UTC MAIN commitmail json YAML

2012-08-13 10:25:02 UTC MAIN commitmail json YAML

Fixed build with USE_SSP=yes

ok christos@

(khorben)

2012-08-13 10:20:52 UTC MAIN commitmail json YAML

Add a ptyfsoldnodes item that checks/removes old /dev/{p,t}ty* nodes
if ptyfs is used.

(martin)

2012-08-13 08:39:28 UTC MAIN commitmail json YAML

Sort descriptions. Fix macro. Move example to new EXAMPLES section. Add EXIT STATUS section

(wiz)

2012-08-13 08:30:51 UTC MAIN commitmail json YAML

Don't create BSD style pty nodes by default anymore since ptyfs is mounted
by default. Mention that this is a security issue, since it allows pty access
through the old style node.

(christos)

2012-08-13 08:20:45 UTC MAIN commitmail json YAML

No need to specify nfsd flags anymore. The defaults DTRT.

(christos)

2012-08-13 08:19:11 UTC MAIN commitmail json YAML

Let nfsd behave like all other programs: tries to use both inet4 and inet6
by default and both udp and tcp: -4 uses only inet4, -6 uses only inet6,
-t uses only tcp, -u uses only udp. For compatibility, we detect old option
usage, we warn, and DTRT.

(christos)

2012-08-13 08:07:03 UTC MAIN commitmail json YAML

Make use of the new MODCTL_EXISTS check to query kernel wether (and why
not) we can load modules.

(martin)

2012-08-13 02:53:25 UTC MAIN commitmail json YAML

Add a comment for EABI.  Use "pop" instructions to save one instruction.

(matt)

2012-08-13 02:52:34 UTC MAIN commitmail json YAML

2012-08-13 02:49:04 UTC MAIN commitmail json YAML

crt* files for ARM EABI.  This is pretty different from OABI.  crti.S only
has sysident, crtn.S is empty.  True dtor/ctor processing is done elsewhere
(in crt0.o for static or the rtld for dynamic images).  All that is done in
here is either a call to __cxa_finalize (dtor, only when SHARED) or
register_frame_info and _JV_RegisterClasses.

(matt)

2012-08-13 02:15:36 UTC MAIN commitmail json YAML

Add support for init_array/fini_array (conditionalized on HAVE_INITFINI_ARRAY).
[This is needed for ARM EABI.]

(matt)

2012-08-13 01:18:32 UTC MAIN commitmail json YAML

- npfctl show: add most of the missing cases.
- Few minor improvements to NPF man pages.

(rmind)

2012-08-13 00:52:46 UTC MAIN commitmail json YAML

Deal with PCIe/PCI hoses with more than one window so the bus_space
encompasses all of it and reserves those portions not assigned so
no one can allocate from them.

(matt)

2012-08-12 22:20:32 UTC MAIN commitmail json YAML

Postfix 2.8.12 will be in NetBSD 6.0.

(tron)

2012-08-12 20:50:39 UTC MAIN commitmail json YAML

Add a missing extern to apeas -fno-common.

(martin)

2012-08-12 20:00:07 UTC MAIN commitmail json YAML

Also reduce UBC_NWINS from default 1024 to 512
to avoid possible KVA shortage, otherwise
"panic: ubc_init: failed to map ubc_object"
could still happen on netbsd-6 branch.

Should be pulled up to netbsd-6.

(tsutsui)

2012-08-12 19:27:59 UTC netbsd-6 commitmail json YAML

2012-08-12 19:25:23 UTC netbsd-6 commitmail json YAML

Pull up the following revisions (requested by tron in ticket #481):

doc/3RDPARTY 1.957
doc/CHANGES 1.1731
external/ibm-public/postfix/dist/HISTORY patch
external/ibm-public/postfix/dist/src/dns/dns_lookup.c patch
external/ibm-public/postfix/dist/src/global/mail_version.h patch
external/ibm-public/postfix/dist/src/local/biff_notify.c patch
external/ibm-public/postfix/dist/src/smtpd/smtpd_sasl_proto.c patch
external/ibm-public/postfix/dist/src/util/unix_pass_trigger.c patch

Update Postfix to version 2.8.12:
- The local(8) delivery agent's BIFF client leaked an unprivileged UDP
  socket. Fix by Jaroslav Skarvada. This bug was introduced 19990127.
- The SMTP server did not reject the AUTH command while a MAIL FROM
  transaction was in progress. Reported by Timo Sirainen.
  This bug was introduced 20000314.
- The unused "pass" trigger client could close the wrong file
  descriptors. This bug was introduced with Postfix 2.8.

(martin)

2012-08-12 19:04:01 UTC netbsd-6 commitmail json YAML

2012-08-12 19:02:33 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #482):
sys/kern/subr_disk_mbr.c: revision 1.43
Apply workaround for installcd mountroot failure on some i386 machines

(martin)

2012-08-12 18:58:29 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #480):
sys/dev/pci/if_msk.c: revision 1.42
Fix null pointer dereference in msk_rxeof.
This triggers when processing an RX interrupt that was queued while
stopping the interface, which caused my machine to panic last night.
In this case, just drop the packet.
From OpenBSD's if_msk.c rev. 1.71.

(martin)

2012-08-12 18:56:54 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #479):
sys/arch/i386/stand/boot/boot2.c: revision 1.58
Fix i386 `boot' command to try the usual set of kernel names.
Without this, the `boot' command will try only `netbsd', not
`netbsd.gz', `netbsd.old', &c.
Patch from PR port-i386/44562.

(martin)

2012-08-12 18:55:11 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #478):
sys/dev/pci/if_wpi.c: revision 1.53
Fix error branch in wpi(4) firmware loading.
Fixes panic if firmware is not available.

(martin)

2012-08-12 18:53:11 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #477):
lib/libm/arch/i387/fenv.c: revision 1.4
lib/libm/arch/x86_64/fenv.c: revision 1.2
Mask off the result of feenableexcept and fedisableexcept on x86.
These shouldn't return bits outside FE_ALL_EXCEPT.

(martin)

2012-08-12 18:51:09 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #476):
sys/dev/pci/if_ath_pci.c: revision 1.46
Fix error branches in ath pci attachment.
Should fix double pci_intr_disestablish if ath_attach fails.
(Still not sure why ath_attach sometimes fails here.)

(martin)

2012-08-12 18:44:29 UTC netbsd-6 commitmail json YAML

2012-08-12 18:41:36 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by sborrill in ticket #474):
sys/arch/i386/conf/GENERIC: revision 1.1078
Add uts(4)

(martin)

2012-08-12 18:39:32 UTC MAIN commitmail json YAML

Add missing locking calls to eso_attach() to avoid panic on boot.
Partly based on a patch from mrg.  Fixes PR kern/46791.

(gson)

2012-08-12 17:30:03 UTC MAIN commitmail json YAML

- improve wording
- sort option list
- add argument names in option list and descriptions and adjust table width
- improve punctuation
- bump date

From Bug Hunting.

(wiz)

2012-08-12 17:27:05 UTC MAIN commitmail json YAML

Improvements: wording, punctuation, macro usage.

From patch by Bug Hunting.

(wiz)

2012-08-12 17:25:32 UTC MAIN commitmail json YAML

2012-08-12 17:24:59 UTC MAIN commitmail json YAML

Prefer SIXTY_FOUR_BIT_LONG instead of SIXTY_FOUR_BIT as before

(christos)

2012-08-12 17:21:29 UTC MAIN commitmail json YAML

2012-08-12 17:20:19 UTC MAIN commitmail json YAML

Make the difference between -A and -a clearer by using more markup.

(wiz)

2012-08-12 17:13:34 UTC MAIN commitmail json YAML

Add examples for NAME, both with gpt and without.

(wiz)

2012-08-12 14:48:46 UTC netbsd-6 commitmail json YAML

2012-08-12 14:45:45 UTC MAIN commitmail json YAML

PR/46780: Dennis Ferguson: Take the easy way out and return EBUSY when changing
the queue size if the output queue is not empty. Other solutions seemed too
complex/fragile.

(christos)

2012-08-12 14:45:31 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by para in ticket #486):
sys/kern/subr_kmem.c: revision 1.46 (via patch)
split allocation lookup table to decrease overall memory used
making allocator more flexible for allocations larger then 4kb
move the encoded "size" under DEBUG back to the begining of allocated
chunk

(martin)

2012-08-12 13:41:18 UTC MAIN commitmail json YAML

YOLO - you only live once

(jakllsch)

2012-08-12 13:38:48 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #473):
etc/mtree/NetBSD.dist.base: revision 1.98
Do not create obsolete ./usr/include/quota directory anymore.

(martin)

2012-08-12 13:31:42 UTC MAIN commitmail json YAML

more markup, sort options

(christos)

2012-08-12 13:27:44 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by uwe in ticket #472):
sys/dev/ic/vga.c: revision 1.109
Reset flip/flop using dedicated vga_reset_state() macro we already have.
Explicit vga_raw_read() used here before was incorrect since it reads
from *wrong* io handle!
Fixes weird problem under VirtualBox where first switch to a different
VT caused text mode color 0 (normally black) to become something else.

(martin)

2012-08-12 13:26:18 UTC MAIN commitmail json YAML

2012-08-12 13:19:14 UTC netbsd-6 commitmail json YAML

2012-08-12 13:13:21 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by manu in ticket #438):
lib/libperfuse/perfuse_priv.h: revision 1.31
sys/fs/puffs/puffs_msgif.h: revision 1.80
sys/fs/puffs/puffs_vnops.c: revision 1.171
lib/libpuffs/puffs_ops.3: revision 1.31
sys/fs/puffs/puffs_vnops.c: revision 1.172
sys/fs/puffs/puffs_vnops.c: revision 1.173
sys/fs/puffs/puffs_vnops.c: revision 1.174
usr.sbin/perfused/perfused.c: revision 1.24
sys/fs/puffs/puffs_sys.h: revision 1.80
sys/fs/puffs/puffs_sys.h: revision 1.81
sys/fs/puffs/puffs_sys.h: revision 1.82
lib/libperfuse/subr.c: revision 1.19
lib/libperfuse/perfuse.c: revision 1.30
sys/fs/puffs/puffs_msgif.c: revision 1.90
sys/fs/puffs/puffs_msgif.c: revision 1.91
sys/fs/puffs/puffs_msgif.c: revision 1.92
lib/libperfuse/ops.c: revision 1.59
lib/libpuffs/puffs.3: revision 1.53
lib/libperfuse/debug.c: revision 1.12
lib/libpuffs/puffs.3: revision 1.54
sys/fs/puffs/puffs_vnops.c: revision 1.167
sys/fs/puffs/puffs_msgif.h: revision 1.79
usr.sbin/perfused/msg.c: revision 1.21
sys/fs/puffs/puffs_vfsops.c: revision 1.102
sys/fs/puffs/puffs_vfsops.c: revision 1.103
sys/fs/puffs/puffs_vfsops.c: revision 1.105
lib/libpuffs/puffs.h: revision 1.123
lib/libperfuse/perfuse_if.h: revision 1.20
lib/libperfuse/perfuse.c: revision 1.29
lib/libpuffs/dispatcher.c: revision 1.42
lib/libpuffs/dispatcher.c: revision 1.43
- Fix same vnodes associated with multiple cookies
The scheme used to retreive known nodes on lookup was flawed, as it only
used parent and name. This produced a different cookie for the same file
if it was renamed, when looking up ../ or when dealing with multiple files
associated with the same name through link(2).
We therefore abandon the use of node name and introduce hashed lists of
inodes. This causes a huge rewrite of reclaim code, which do not attempt
to keep parents allocated until all their children are reclaimed
- Fix race conditions in reclaim
There are a few situations where we issue multiple FUSE operations for
a PUFFS operation. On reclaim, we therefore have to wait for all FUSE
operation to complete, not just the current exchanges. We do this by
introducing node reference count with node_ref() and node_rele().
- Detect data loss caused by FAF
VOP_PUTPAGES causes FAF writes where the kernel does not check the
operation result. At least issue a warning on error.
- Enjoy FAF shortcut on setattr
No need to wait for the result if the kernel does not want it. There is
however an exception for setattr that touch the size, we need to wait
for completion because we have other operations queued for after the
resize.
- Fix fchmod() on write-open file
fchmod() on a node open with write privilege will send setattr with both mode
and size set. This confuses some FUSE filesystem. Therefore we send two FUSE
operations, one for mode, and one for size.
- Remove node TTL handling for netbsd-5 for simplicity sake. The code
still builds on netbsd-5 but does not have the node TTL feature anymore.
It works fine with kernel support on netbsd-6.
- Improve PUFFS_KFLAG_CACHE_FS_TTL by reclaiming older inactive nodes.
The normal kernel behavior is to retain inactive nodes in the freelist
until it runs out of vnodes. This has some merit for local filesystems,
where the cost of an allocation is about the same as the cost of a
lookup. But that situation is not true for distributed filesystems.
On the other hand, keeping inactive nodes for a long time hold memory
in the file server process, and when the kernel runs out of vnodes, it
produce reclaim avalanches that increase lattency for other operations.
We do not reclaim inactive vnodes immediatly either, as they may be
looked up again shortly. Instead we introduce a grace time and we
reclaim nodes that have been inactive beyond the grace time.
- Fix lookup/reclaim race condition.
The above improvement undercovered a race condition between lookup and
reclaim. If we reclaimed a vnode associated with a userland cookie while
a lookup returning that same cookiewas inprogress, then the kernel ends
up with a vnode associated with a cookie that has been reclaimed in
userland. Next operation on the cookie will crash (or at least confuse)
the filesystem.
We fix this by introducing a lookup count in kernel and userland. On
reclaim, the kernel sends the count, which enable userland to detect
situation where it initiated a lookup that is not completed in kernel.
In such a situation, the reclaim must be ignored, as the node is about
to be looked up again.
Fix hang unmount bug introduced by last commit.
We introduced a slow queue for delayed reclaims, while the existing
queue for unmount, flush and exist has been renamed fast queue. Both
queues had timestamp for when an operation should be done, but it was
useless for the fast queue, which is always used to run an operation
ASAP. And the timestamp test had an error that turned ASAP into "at next
tick", but nobody what there to wake the thread at next tick, hence
the hang. The fix is to remove the useless and buggy timestamp test for
fast queue.
Rename slow sopreq queue into node sopreq queue, to refet the fact that
is only intended for postponed node reclaims.
When purging the node sopreq queue, do not call puffs_msg_sendresp(), as
it makes no sense.
Fix race condition between (create|mknod|mkdir|symlino) and reclaim, just
like we did it between lookup and reclaim.
Missing bit in previous commit (prevent race between create|mknod|mkdir|symlink
and reclaim)
Bump date for previous.
New sentence, new line; remove trailing whitespace; fix typos;
punctuation nits.
Add PUFFS_KFLAG_CACHE_DOTDOT so that vnodes hold a reference on their
parent, keeping them active, and allowing to lookup .. without sending
a request to the filesystem.
Enable the featuure for perfused, as this is how FUSE works.
Missing bit in previous commit (PUFFS_KFLAG_CACHE_DOTDOT option to avoid
looking up ..)

(martin)

2012-08-12 13:02:59 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by manu in ticket #483):
lib/libp2k/p2k.c: revision 1.56
libpuffs and libp2k both use the cookie to different structure, which now
leads to struct p2k_node corruption now that libpuffs used pn_nlookup field
in struct puffs_node to avoid race conditions.
Attempt to fix that by adding a struct puffs_node at the beginning of struct
p2k_node. This seems to fix kern/46734

(martin)