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 (46m)  netbsd-10 (18d)  netbsd-9 (18d)  netbsd-8 (23d) 

2024-06-04 07:11:40 UTC Now

2012-01-10 08:42:22 UTC MAIN commitmail json YAML

Fix a segfault in ctfmerge.

GCC can generate bogus dwarf attributes with DW_AT_byte_size set to 0xFFFFFFFF.
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35998 .

GCC is currently doing this for external/bsd/tmux/dist/compat/imsg-buffer.c:
    readelf -a --debug-dump imsg-buffer.o
...
<2><6e3>: Abbrev Number: 32 (DW_TAG_union_type)
    <6e4>  DW_AT_byte_size  : 0xffffffff
    <6e8>  DW_AT_decl_file  : 1
    <6e9>  DW_AT_decl_line  : 229
    <6ea>  DW_AT_sibling    : <0x705>

This resulted in ctfconvert generating a faulty CTF entry which then caused the
segfault in ctfmerge.

The fix has ctfconvert check for the bogus 0xFFFFFFFF value and works around it.
It also adds some protection to ctfmerge to avoid the segfault and fail
more gracefully if the error should occur in the future.

(darran)

2010-05-03 09:51:36 UTC MAIN commitmail json YAML

DTrace: Fix several bugs where the mod_ctf_get() function could return
success even though no CTF section was present in the kernel or module.
This fixes the panic that several people saw when trying out the FBT
provider without updating /boot or missing a CTF section in /netbsd.

(darran)

2010-05-03 09:28:38 UTC MAIN commitmail json YAML

DTrace: print a warning no CTF section is found when processing arguments.
This should help diagnose problems such as netbsd images without CTF
sections and old boot loaders.

(darran)

2010-03-15 02:28:59 UTC MAIN commitmail json YAML

DTrace: include in opt_dtrace.h so it will build with DTrace.

(darran)

2010-03-14 21:27:50 UTC MAIN commitmail json YAML

DTrace: Make the CTF handling conditional on KDTRACE_HOOKS for now since
it breaks the boot of the atari kernel (and possibly others).

(darran)

2010-03-13 08:33:26 UTC MAIN commitmail json YAML

DTrace: only build in kernel CTF support if DTrace support is enabled
(i.e. options KDTRACE_HOOKS).

(darran)

2010-03-13 01:10:01 UTC MAIN commitmail json YAML

DTrace: fix a sign problem with instruction size handling.

(darran)

2010-03-12 21:53:16 UTC MAIN commitmail json YAML

DTrace: Add the Function Boundary Trace (FBT) provider moduile.  This
module  instruments every function in the kernel with entry and exit
probes.  These probes are true zero-effect probes in that they don't
exist in the code until they are enabled.  The probes are enabled by
directly patching the function entry and exit points to make jumps into
the dtrace framework.
This gives us over 29,000 trace points in the kernel.

(darran)

2010-03-12 21:43:11 UTC MAIN commitmail json YAML

DTrace: Add support for CTF sections in the netbsd elf image, load these
at boot.
Add a ksyms_mod_foreach() function to iterate a callback function over the
set of elf symbols for a specific module (netbsd included).
Add kern_ctf.c and mod_ctf_get() to allow the retrieval and decompression
of CTF sections for a specific module.

(darran)

2010-03-12 21:37:38 UTC MAIN commitmail json YAML

DTrace: Add support for a simulated solaris_cpu[] data structure per
cpu.  Needed for the FBT provider amongst other features.

(darran)

2010-03-11 23:28:08 UTC MAIN commitmail json YAML

2010-03-11 23:26:34 UTC MAIN commitmail json YAML

DTrace: The CTF format is limited to only 1024 elements in an enum,
so rather than error out when there are more than this just truncate the
length.

(darran)

2010-03-10 23:41:56 UTC MAIN commitmail json YAML

DTrace: fix a libctf toolchain build problem.

(darran)

2010-03-10 23:40:53 UTC MAIN commitmail json YAML

DTrace: fix a build problem for the SDT provider.

(darran)

2010-03-05 02:21:41 UTC MAIN commitmail json YAML

DTrace: add a dependency on the dtrace module.

(darran)

2010-03-05 01:53:15 UTC MAIN commitmail json YAML

DTrace: fix the curthread and mutex data types.

(darran)

2010-03-05 01:34:36 UTC MAIN commitmail json YAML

2010-03-02 22:00:32 UTC MAIN commitmail json YAML

DTrace: another fix for OS X builds, stdint.h location.

(darran)

2010-03-02 21:08:36 UTC MAIN commitmail json YAML

2010-03-02 20:49:18 UTC MAIN commitmail json YAML

2010-03-02 20:47:01 UTC MAIN commitmail json YAML

DTrace: add libelf, libdwarf, libctf, and CTF tools to the toolchain,
built when MKDTRACE=yes.

(darran)

2010-03-02 20:04:17 UTC MAIN commitmail json YAML

DTrace: Add the sdt.h header to the set lists.

(darran)

2010-03-02 00:55:46 UTC MAIN commitmail json YAML

DTrace: make sure we get a processorid_t definition (fix zfs module build).

(darran)

2010-03-02 00:43:36 UTC MAIN commitmail json YAML

DTrace: fix the dtps_provide_module definition.

(darran)

2010-03-01 23:42:41 UTC MAIN commitmail json YAML

DTrace: fix to only define sdt_provider_t if in the kernel.  Not for
user space.

(darran)

2010-03-01 22:38:30 UTC MAIN commitmail json YAML

DTrace: update sdt.c handlers to match latest OpenSolaris vendor import.

(darran)

2010-03-01 22:27:07 UTC MAIN commitmail json YAML

Revert accidental commit of CTF work-in-progress changes.

(darran)

2010-03-01 22:20:15 UTC MAIN commitmail json YAML

DTrace: processorid_t is defined elsewhere (pset.h), so make it a sun only
definition here.

(darran)

2010-03-01 21:10:19 UTC MAIN commitmail json YAML

2010-03-01 11:25:05 UTC MAIN commitmail json YAML

Backout accidental commit adding sdt.h (hold off until CTF toolchain build
is ready).

(darran)

2010-03-01 11:19:41 UTC MAIN commitmail json YAML

2010-02-28 07:10:40 UTC MAIN commitmail json YAML

Propagate the IFCAP_TSOv6 property also.

(darran)

2010-02-28 07:01:43 UTC MAIN commitmail json YAML

DTrace: enable access to kernel space for DTrace scripts.

(darran)

2010-02-25 16:49:19 UTC MAIN commitmail json YAML

DTrace: okay *really* fix the deadman exit handling.  No need for that
over-complicated handshake. Fixes a lockdebug mutex held issue.

(darran)

2010-02-25 11:12:02 UTC MAIN commitmail json YAML

DTrace: fix a problem with the code waiting for the deadman thread to exit
- now it does actually wait for it to exit.  Thanks to Frank Kardel for
spotting this.

(darran)

2010-02-25 00:18:44 UTC MAIN commitmail json YAML

2010-02-25 00:14:10 UTC MAIN commitmail json YAML

DTrace: have DTrace build with out requiring MKZFS=yes.

(darran)

2010-02-24 21:53:26 UTC MAIN commitmail json YAML

2010-02-24 21:34:57 UTC MAIN commitmail json YAML

2010-02-24 21:08:54 UTC MAIN commitmail json YAML

Fix a bug in the dtrace_state_deadman() thread; return should have been
a continue (thanks Frank!).

(darran)

2010-02-23 22:22:29 UTC MAIN commitmail json YAML

DTrace: remove kern_dtrace.c since it is no longer used.  (Its functions
are inlined in dtrace_bsd.h).

(darran)

2010-02-23 22:21:25 UTC MAIN commitmail json YAML

2010-02-23 22:19:27 UTC MAIN commitmail json YAML

DTrace: Get rid of the KDTRACE_HOOKS ifdefs in the kernel.  Replace the
functions with inline function that are empty when KDTRACE_HOOKS is not
defined.

(darran)

2010-02-22 11:01:29 UTC MAIN commitmail json YAML

2010-02-22 10:59:08 UTC MAIN commitmail json YAML

Get rid of extra include files added while debugging the toolchain build
problem.

(darran)

2010-02-22 10:48:33 UTC MAIN commitmail json YAML

2010-02-22 06:42:15 UTC MAIN commitmail json YAML

DTrace: missed the opt_dtrace.h include for these.

(darran)

2010-02-21 11:16:19 UTC MAIN commitmail json YAML

2010-02-21 11:14:47 UTC MAIN commitmail json YAML

DTrace: add the dtrace module to the build.

(darran)

2010-02-21 11:00:02 UTC MAIN commitmail json YAML

2010-02-21 10:21:07 UTC MAIN commitmail json YAML

DTrace: remove extra libshare.h - shouldn't have added it and it breaks
the libzfs build.

(darran)

2010-02-21 09:52:08 UTC MAIN commitmail json YAML

DTrace: remove assert.h - shouldn't have been checked in (breaks libdtrace
build).

(darran)

2010-02-21 08:28:41 UTC MAIN commitmail json YAML

DTrace: remove file.h - it shouldn't have been added and breaks zfs.

(darran)

2010-02-21 07:39:18 UTC MAIN commitmail json YAML

DTrace: Add __predict_false() to the DTrace hooks per rmind's suggestion.

(darran)

2010-02-21 07:28:51 UTC MAIN commitmail json YAML

DTrace: missed kern_dtrace.c (thanks rmind!)

(darran)

2010-02-21 07:01:58 UTC MAIN commitmail json YAML

Added a defflag option for KDTRACE_HOOKS and included opt_dtrace.h in the
relevant files. (Per Quentin Garnier - thanks!).

(darran)

2010-02-21 04:00:47 UTC MAIN commitmail json YAML

Add the DTrace kernel hooks file to the kernel build.

(darran)

2010-02-21 03:18:47 UTC MAIN commitmail json YAML

2010-02-21 02:11:40 UTC MAIN commitmail json YAML

Add the DTrace hooks to the kernel (KDTRACE_HOOKS config option).
DTrace adds a pointer to the lwp and proc structures which it uses to
manage its state.  These are opaque from the kernel perspective to keep
the kernel free of CDDL code. The state arenas are kmem_alloced and freed
as proccesses and threads are created and destoyed.

Also add a check for trap06 (privileged/illegal instruction) so that
DTrace can check for D scripts that may have triggered the trap so it
can clean up after them and resume normal operation.

Ok with core@.

(darran)

2010-02-21 01:48:03 UTC MAIN commitmail json YAML

Add a MKDTRACE build knob for DTrace, off by default.

(darran)

2010-02-21 01:46:36 UTC MAIN commitmail json YAML

Apply NetBSD changes to DTrace.

Ok with core@.

(darran)

2010-02-21 00:50:01 UTC MAIN commitmail json YAML

Add the FreeBSD 8-RC1 changes for DTrace.

Ok with core@.

(darran)

2010-02-20 04:34:48 UTC MAIN commitmail json YAML

2010-01-28 21:38:29 UTC MAIN commitmail json YAML

Fix a problem with the handling of NOBITS sections (i.e. bss), where the
elf_getdata() function would return an invalid section error if the size
of the section was bigger than the raw size of the elf binary.
This is basically a sync with changeset 10 of the sourceforge repository
for this library (elftoolchain).

(darran)

2009-12-23 00:33:26 UTC MAIN commitmail json YAML

2009-12-23 00:17:41 UTC MAIN commitmail json YAML

Add libdwarf to the build.

(darran)

2009-12-23 00:12:57 UTC MAIN commitmail json YAML

Fix a signed vrs unsigned cast.

(darran)

2009-12-23 00:11:30 UTC MAIN commitmail json YAML

while (0) -> while (/*CONSTCOND*/0)

(darran)

2009-12-23 00:10:15 UTC MAIN commitmail json YAML

2009-12-23 00:06:54 UTC MAIN commitmail json YAML

Add a script to prepare libdwarf for import.

(darran)

2009-12-23 00:03:27 UTC MAIN commitmail json YAML

2009-09-09 22:41:28 UTC MAIN commitmail json YAML

Make tcp msl (max segment life) tunable via sysctl net.inet.tcp.msl.
Okayed by tls@.

(darran)

2009-06-07 23:06:48 UTC MAIN commitmail json YAML

Document the link1 ifconfig option which disables LACP.

(darran)

2009-06-07 22:52:50 UTC MAIN commitmail json YAML

mention agr(4) vlan changes.

(darran)

2009-05-29 04:57:05 UTC MAIN commitmail json YAML

Add vlan support and hardware offload capabilities to agr.
These changes allow vlans to be layered above agr, with the attach
and detach propogated to the member ports in the aggregation.
Note the agr interface must be up before the vlan is attached.

Adds SIOCINITIFADDR support to the wm driver for setting the AF_LINK
address, necessary for agr to be able to set the mac addresses of each
port to the agr address (i.e. so it can receive all intended traffic
at the hardware level).

Adds support for disabling the LACP protocol by setting LINK1 on the agr
interface (e.g. ifconfig agr0 link1).

In consultation with tls@.

(darran)

2009-04-01 22:56:59 UTC MAIN commitmail json YAML

Also inherit the parent's TCP segmentation offload capability.
Note the vlan interface does not see updates to the parents capabilities
so if, for example, TSO is on in both, then turned off in the parent it
will remain on in the vlan interface.

(darran)

2009-03-31 06:58:55 UTC MAIN commitmail json YAML

Missed a small but important change to enable hardware VLAN support.

(darran)

2009-03-31 04:16:58 UTC MAIN commitmail json YAML

Enable the vlan code that thorpej@NetBSD.org added, and fix a bug where
the vlan tag was read from the rx descriptor after it was reinitialized
(and hence was always 0).  Hardware vlan support looks good tested
between two vmware clients.
With support from tls@NetBSD.org.

(darran)

2009-03-25 01:26:13 UTC MAIN commitmail json YAML

Fixes PR kern/41069 and PR kern/41070.

Extends the Opencrypto API to allow the destination buffer size to be
specified when its not the same size as the input buffer (i.e. for
operations like compress and decompress).
The crypto_op and crypt_n_op structures gain a u_int dst_len field.
The session_op structure gains a comp_alg field to specify a compression
algorithm.
Moved four ioctls to new ids; CIOCGSESSION, CIOCNGSESSION,  CIOCCRYPT,
and CIOCNCRYPTM.
Added four backward compatible ioctls; OCIOCGSESSION, OCIOCNGSESSION,
OCIOCCRYPT, and OCIOCNCRYPTM.

Backward compatibility is maintained in ocryptodev.h and ocryptodev.c which
implement the original ioctls and set dst_len and comp_alg to 0.

Adds user-space access to compression features.

Adds software gzip support (CRYPTO_GZIP_COMP).

Adds the fast version of crc32 from zlib to libkern. This should be generally
useful and provide a place to start normalizing the various crc32 routines
in the kernel.  The crc32 routine is used in this patch to support GZIP.

With input and support from tls@NetBSD.org.

(darran)

2008-11-18 12:59:58 UTC MAIN commitmail json YAML

Fix a race condition in opencrypto where the crypto request could be
completed by the crypto device, queued on the retq, but freed by the
ioctl lwp.  The problem manifests as various panics relating to the
condvar inside the request. The problem can occur whenever the crypto
device completes the request immediately and the ioctl skips the cv_wait().

The problem can be reproduced by enabling cryptosoft and running an openssl
speed test. E.g.
    sysctl -w kern.cryptodevallowsoft=-1
    openssl speed -engine cryptodev -evp des-ede3-cbc -multi 64

Add a macro for TAILQ_FOREACH_REVERSE_SAFE() to queue.h, since this
was missing and the opencrypto code removes requests from a list while
iterating with TAILQ_FOREACH_REVERSE().

Add missing cv_destroy() calls for the key request cleanup.

Reviewed by Thor Lancelot Simon.

(darran)

2008-10-30 23:51:38 UTC MAIN commitmail json YAML

2008-10-30 12:02:15 UTC MAIN commitmail json YAML

NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems.  The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD.  These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.

(darran)