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 (41m)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (178d) 

2024-05-10 04:10:50 UTC Now

2010-02-21 13:23:15 UTC MAIN commitmail json YAML

Fix string, noted by tsutsui.

(wiz)

2010-02-21 13:17:51 UTC MAIN commitmail json YAML

rename the va0_disabled option and cpp conditional to "disable" as well,
for consistency, and document option and sysctl flag

(drochner)

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:54:57 UTC MAIN commitmail json YAML

fix faulty logic in previous change.

(christos)

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 09:02:19 UTC MAIN commitmail json YAML

New sentence, new line. Bump date for mentioning wbsio.

(wiz)

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 06:08:53 UTC MAIN commitmail json YAML

Modify definitions for ULCOM register of UART according to S3C2800
User's manual rev 1.3.

The values of ULCON_PARITY_SHIFT and ULCON_IR are now same to those
for S3C2410. So the definitions are moved to s3c2xx0reg.h.  (Old
definitions from User's manual rev1.1 were differ to those for
S3C2410, and that was why I put them in s3c2800reg.h and s3c24x0reg.h.
There's no description in errata about this changes.)

Also, fix the value for UMSTAT_DCTS on 2800.

The values of UMCON_AFC and UMSTAT_DCTS still differ between 2800 and
2410.

Reported by Brett Slager.  Thank you very much.

(bsh)

2010-02-21 05:21:25 UTC MAIN commitmail json YAML

mention wbsio(4) in doc/CHANGES

(cnst)

2010-02-21 05:16:29 UTC MAIN commitmail json YAML

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:57:44 UTC MAIN commitmail json YAML

s/D-cache/I-cache/ in some comments.

(mrg)

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 23:15:17 UTC MAIN commitmail json YAML

default to the original behavior for $ENV unless POSIXLY_CORRECT is set.

(christos)

2010-02-20 22:49:22 UTC MAIN commitmail json YAML

Remove a windows-only source file from the list.

(joerg)

2010-02-20 22:25:54 UTC MAIN commitmail json YAML

Fix two problems with argc handling in bioctl(8), which makes
bioctl(8) dump core if expected arguments are not passed in.

Closes PR bin/39946 (patch by Juan RP).

(ahoka)

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

Use HOST_SRCS instead of adding to SRCS for hash.c

(roy)

2010-02-20 17:02:33 UTC MAIN commitmail json YAML

Use the pre-built hash table.

(roy)

2010-02-20 16:48:57 UTC uebayasi-xip commitmail json YAML

2010-02-20 16:46:38 UTC MAIN commitmail json YAML

Select the shutdown method for secondary CPUs by available firmware
methods, not properties of the CPU.
Inspired by OpenSolaris, pointed out by eeh.

(martin)

2010-02-20 15:04:04 UTC MAIN commitmail json YAML

Rewrite argument processing to deal with spaces and other meta
characters in options. This was exposed by the "NetBSD 5.99" argument of
mandoc.

(joerg)

2010-02-20 14:52:22 UTC MAIN commitmail json YAML

printf -> aprint_normal to avoid empty linefeeds and partial messages
for AB_QUIET.

(pooka)

2010-02-20 13:56:29 UTC MAIN commitmail json YAML

Fix snafu with error reporting in bulk transfers.

(pooka)

2010-02-20 13:43:31 UTC MAIN commitmail json YAML

Add intermediate files to CLEANFILES. Explicitly include bsd.sys.mk to
ensure that HOST_SH is set, even when e.g. cleandir is used.
Noticed by Nicolas Joly.

(joerg)

2010-02-20 13:21:58 UTC MAIN commitmail json YAML

rename the new sysctl to "vm.user_va0_disable", for consistency
with the majority of existing sysctl flags, suggested by yamt

(drochner)

2010-02-20 10:23:05 UTC MAIN commitmail json YAML

Bump date for previous.

(wiz)

2010-02-20 08:47:10 UTC MAIN commitmail json YAML

Initialize device_name before opendisk to avoid
"unable to open device '(null)'" error messages
when the opendisk fails.

(mlelstv)

2010-02-20 06:20:46 UTC MAIN commitmail json YAML

One more time - do this correctly.

Thanks, joerg.

(pgoyette)

2010-02-20 06:15:06 UTC MAIN commitmail json YAML

Wrap the include of sys/endian.h in #ifdef HAVE_SYS_ENDIAN_H to avoid
build issues on systems that don't have a sys/endian.h

Pointed out by joerg@

(pgoyette)

2010-02-20 06:08:01 UTC MAIN commitmail json YAML

Since tic is a host tool, we need to include host system header to get
definitions of le16dec() and le16enc().

Solves PR bin/42747 from Henning Petersen

(pgoyette)

2010-02-20 04:44:59 UTC MAIN commitmail json YAML

2010-02-20 04:42:00 UTC MAIN commitmail json YAML

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

2010-02-20 02:55:53 UTC MAIN commitmail json YAML

2010-02-20 02:53:09 UTC MAIN commitmail json YAML

2010-02-20 02:51:33 UTC MAIN commitmail json YAML

src/external/bsd/libarchive/dist/cpio/err.c deleted
src/external/bsd/libarchive/dist/cpio/matching.c deleted
src/external/bsd/libarchive/dist/cpio/matching.h deleted
src/external/bsd/libarchive/dist/cpio/pathmatch.c deleted
src/external/bsd/libarchive/dist/cpio/pathmatch.h deleted
src/external/bsd/libarchive/dist/cpio/test/test_option_B.c deleted
src/external/bsd/libarchive/dist/cpio/test/test_option_L.c deleted
src/external/bsd/libarchive/dist/cpio/test/test_option_ell.c deleted
src/external/bsd/libarchive/dist/libarchive/archive_read.3@1.3 / diff / nxr@1.3
src/external/bsd/libarchive/dist/libarchive/archive_read_disk.3@1.2 / diff / nxr@1.2
src/external/bsd/libarchive/dist/libarchive/archive_write.3@1.3 / diff / nxr@1.3
src/external/bsd/libarchive/dist/libarchive/archive_write_disk.3@1.3 / diff / nxr@1.3
src/external/bsd/libarchive/dist/libarchive/config_freebsd.h deleted
src/external/bsd/libarchive/dist/libarchive/config_windows.h deleted
src/external/bsd/libarchive/dist/libarchive/test/test_compat_gtar_1.tgz.uu deleted
src/external/bsd/libarchive/dist/libarchive/test/test_pax_filename_encoding.tar.gz.uu deleted
src/external/bsd/libarchive/dist/libarchive/test/test_read_format_gtar_sparse_1_13.tgz.uu deleted
src/external/bsd/libarchive/dist/libarchive/test/test_read_format_gtar_sparse_1_17.tgz.uu deleted
src/external/bsd/libarchive/dist/libarchive/test/test_read_format_gtar_sparse_1_17_posix00.tgz.uu deleted
src/external/bsd/libarchive/dist/libarchive/test/test_read_format_gtar_sparse_1_17_posix01.tgz.uu deleted
      :
(more 6 files)
Merge changes

(joerg)

2010-02-20 02:49:21 UTC MAIN commitmail json YAML

Import libarchive 2.8.0:
- Infrastructure:
  - Allow command line tools as fallback for missing compression
    libraries. If compiled without gzip for example, gunzip will
    be used automatically.
  - Improved support for a number of platforms like high-resolution
    timestamps and Extended Attributes on various Unix systems
  - New convience interface for creating archives based on disk content,
    complement of the archive_write_disk interface.
- Frontends:
  - bsdcpio ready for public consumption
  - hand-written date parser replaces the yacc code
- Filter system:
  - Simplified read filter chains
  - Option support for filters
  - LZMA, XZ, uudecode handled
- Format support:
  - Write support for mtree files based on file system or archive
    content
  - Basic read support for Joliet
  - Write support for zip files
  - Write support for shar archives, both text-only and binary-safe

Status:

Vendor Tag: KIENTZLE
Release Tags: libarchive-2-8-0

(joerg)

2010-02-20 02:26:15 UTC MAIN commitmail json YAML

2010-02-20 00:35:12 UTC MAIN commitmail json YAML

Build mandoc unconditional if man pages are desirable.  All
compatibility issues are supposed to be sorted out.
Build groff conditionally on MKGROFF. It is currently the only component
that requires C++.

(joerg)

2010-02-19 23:50:55 UTC MAIN commitmail json YAML

make the default action abort for the empty log message; it used to be
continue. requested by joerg.

(christos)

2010-02-19 23:03:02 UTC MAIN commitmail json YAML

Update tool version for mdocml 1.9.15.

(joerg)

2010-02-19 23:02:41 UTC MAIN commitmail json YAML

2010-02-19 23:01:28 UTC MAIN commitmail json YAML

2010-02-19 22:55:13 UTC MAIN commitmail json YAML

Import mdocml 1.9.15 modulo a patch for .Xr handling:
- XHTML output support, more human-readable HTML output
- end-of-line white space detected in all lines
- fix subtle bug for list displays in some modes
- fix column handling
- full support for \f etc
- imporoved column handling
- various other bug fixes
- compatiblity support for strlcat/strlcpy
- groff-compatible .Xr [backed out]

Status:

Vendor Tag: KRISTAPS
Release Tags: mdocml-1-9-15

(joerg)

2010-02-19 22:28:47 UTC MAIN commitmail json YAML

Avoid a potential crash:  get more struct device initialization
out of the way before trying to get a unit number.  If we cannot
get a unit number, we call config_devfree(), which expects for
fields such as dv_flags, dv_cfattach, and dv_private to be initialized.

(dyoung)

2010-02-19 19:09:15 UTC MAIN commitmail json YAML

explain a non-portable behavior

(drochner)

2010-02-19 17:57:06 UTC MAIN commitmail json YAML

Link libroken against libcrypt for crypt(3).

(joerg)

2010-02-19 17:48:59 UTC MAIN commitmail json YAML

libss uses strupr from libroken, so depend on that.

(joerg)

2010-02-19 16:35:27 UTC MAIN commitmail json YAML

Merge the following revisions from OpenBSD to let sed(1) handle
arbitrarily long lines (closes our PR bin/42261).
openbsd/usr.bin/sed/extern.h 1.5
openbsd/usr.bin/sed/main.c 1.13-1.15
openbsd/usr.bin/sed/misc.c 1.8
openbsd/usr.bin/sed/compile.c 1.25-1.28
openbsd/usr.bin/sed/defs.h 1.4

(tnn)

2010-02-19 15:25:28 UTC MAIN commitmail json YAML

Bump SYMTAB_SPACE so that it fits again.

(he)

2010-02-19 15:10:02 UTC MAIN commitmail json YAML

Huawei K3765 requires another kind of magic to get it out of CD mode.
It also changes product id after being configured.  Without this
change the device just lingers in u3ginit forever.  With this change:

u3ginit0 at uhub0 port 1: Switching to 3G mode
u3ginit0: detached
u3ginit0: at uhub0 port 1 (addr 2) disconnected
u3g0 at uhub0 port 1 configuration 1 interface 0
ucom0 at u3g0 portno 0: 3G Modem
u3g1 at uhub0 port 1 configuration 1 interface 1
ucom1 at u3g1 portno 1: 3G Modem
u3g2 at uhub0 port 1 configuration 1 interface 2
ucom2 at u3g2 portno 2: 3G Modem
u3g3 at uhub0 port 1 configuration 1 interface 3
ucom3 at u3g3 portno 3: 3G Modem

(tested with rump)

(pooka)

2010-02-19 14:22:43 UTC MAIN commitmail json YAML

Regen initparse.c/initscan.c without #line directives, to avoid host
tool depency problems when NETBSDSRCDIR != /usr/src.

(njoly)

2010-02-19 13:56:39 UTC MAIN commitmail json YAML

2010-02-19 13:55:51 UTC MAIN commitmail json YAML

Add Huawei K3765 (two id's, it changes product id after being inited).

(pooka)

2010-02-19 13:55:47 UTC MAIN commitmail json YAML

Add nint_table.h and nint_vars.h to generated list files.

(njoly)

2010-02-19 13:53:17 UTC MAIN commitmail json YAML

Do clean generated terminfo.5 file.

(njoly)

2010-02-19 12:40:47 UTC MAIN commitmail json YAML

Replace USB_GET_SC() instances with USB_GET_SC_OPEN().  The latter
is exactly like the former, except it returns with ENXIO if sc is
NULL instead of continuing on to use it.  Most of the time this is
handled by the fd layer and you get EBADF, but sometimes it's
possible to race into the device method for whatever reason and
you get a kernel panic.  I have no idea what the "whatever reason"
might be.

(pooka)

2010-02-19 12:36:15 UTC MAIN commitmail json YAML

Don't mix BUS_DMASYNC_PREREAD and BUS_DMASYNC_POSTWRITE.
Suggested by <bouyer>, fixes PR kern/42662

(asau)

2010-02-19 11:15:23 UTC MAIN commitmail json YAML

Report the number of characters, not the number of bytes in the
longest line.

Problem pointed out by YAMAMOTO Takashi on "tech-userlevel" mailing list.

(tron)

2010-02-18 21:38:32 UTC MAIN commitmail json YAML

2010-02-18 21:30:00 UTC MAIN commitmail json YAML

2010-02-18 20:58:23 UTC MAIN commitmail json YAML

Fix comment(s).

OK'ed by rmind

(skrll)

2010-02-18 16:24:19 UTC MAIN commitmail json YAML

Don't leak control endpoint descriptors.

(pooka)

2010-02-18 16:14:55 UTC MAIN commitmail json YAML

In "probeonly", pause after bootstrap to make "monkey plug and
unplug device, monkey see fancy dmesg info" possible.

(pooka)

2010-02-18 16:13:30 UTC MAIN commitmail json YAML

Actually, detach is possible enough if the device isn't in use.
So just support it.

(pooka)

2010-02-18 15:51:57 UTC MAIN commitmail json YAML

Only print the "Archive: xxx" header if not in extract-to-stdout mode.

(joerg)

2010-02-18 15:25:13 UTC MAIN commitmail json YAML

Change match to be based on the existence of the ugen device node
and signal the root hub interrupt only once we are succesfully able
to open the device node.  This makes it possible to insert a device
after the rump kernel was booted and have it succesfully attach
(does not make detach possible yet, though, as there are some
ugen and host kernel uhci/ohci/ehci evil crashies with that).

XXX: optimally, match would fail if there is a permanent error in
opening.  However, it is difficult to figure out the difference
between the device backing ugen not being present, a transient
error in opening and a permanent error in opening.  For example,
which of the latter two would EPERM be?  And, ugen returns ENXIO
if the device is not present, but how would be know that's really
the case and not some other ENXIO from elsewhere in the stack?

(pooka)

2010-02-18 14:57:01 UTC MAIN commitmail json YAML

Disable mapping of virtual address 0 by user programs per default.
This blocks an easy exploit of kernel bugs leading to dereference
of a NULL pointer on some architectures (eg i386).
The check can be disabled in various ways:
-by CPP definitions in machine/types.h (portmaster's choice)
-by a kernel config option USER_VA0_DISABLED_DEFAULT=0
-at runtime by sysctl vm.user_va0_disabled (cannot be cleared
at securelevel>0)

(drochner)

2010-02-18 14:10:15 UTC MAIN commitmail json YAML

Print correct temperature value, and properly display negative temperatures.

Resolves PR kern/36615

(pgoyette)

2010-02-18 14:00:40 UTC MAIN commitmail json YAML

2010-02-18 13:52:33 UTC MAIN commitmail json YAML

Enhance DPRINTF to use AcpiFormatException as suggested in PR kern/40130

(pgoyette)

2010-02-18 13:51:45 UTC MAIN commitmail json YAML

Pull over some of Jason McIntyre's fixes for newfs_ext2fs.
Suggested by tsutsui.

(wiz)

2010-02-18 13:49:19 UTC MAIN commitmail json YAML

Fix pasto noted by tsutsui.

(wiz)

2010-02-18 13:14:52 UTC MAIN commitmail json YAML

New sentence, new line. Add EXIT STATUS section and use .Ex.
Fix macro argument abuse.
Use Aq instead of \*[Lt]\*[Gt].

(wiz)

2010-02-18 12:32:30 UTC MAIN commitmail json YAML

Also, don't try to figure out the size of devices if size matters not.

(pooka)

2010-02-18 12:30:53 UTC MAIN commitmail json YAML

If we're going to valdate things, at least do it correctly.

(pgoyette)

2010-02-18 12:21:52 UTC MAIN commitmail json YAML

Since we call /usr and /var with absolute paths, lets do that for /tmp
as well.

(martin)

2010-02-18 12:21:28 UTC MAIN commitmail json YAML

Allow NULL as size and file type pointers.

(pooka)

2010-02-18 10:43:50 UTC MAIN commitmail json YAML

Add support for "-L" option (longest line) as present in the GNU and
FreeBSD version of "wc".

No objections on "tech-userlevel" mailing list.

(tron)

2010-02-18 07:24:17 UTC MAIN commitmail json YAML

Remove unnecessary line-feed.

(kiyohara)

2010-02-18 06:57:18 UTC MAIN commitmail json YAML

Use Dq for double quotes; remove trailing whitespace.

(wiz)

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

Abort setup when we find no audio codec to avoid crashing later on with
ISDN-only cards.
Should fix PR41055

(macallan)

2010-02-18 01:14:01 UTC MAIN commitmail json YAML

Fix root filesystem support.

(eeh)

2010-02-17 23:32:08 UTC MAIN commitmail json YAML

Exclude root, since that is done in fsck_root.

(christos)

2010-02-17 23:30:21 UTC MAIN commitmail json YAML

Add -x <mountpoint> ``exclude'' option.

(christos)

2010-02-17 22:04:14 UTC MAIN commitmail json YAML

grammar in kprintf.9 (s/or/and/ and add some commas);  ok wiz, pgoyette

(cnst)

2010-02-17 21:39:14 UTC MAIN commitmail json YAML

Various fixes from Jason McIntyre <jmc@kerhand.co.uk>.

(wiz)

2010-02-17 20:44:34 UTC MAIN commitmail json YAML

2010-02-17 20:43:35 UTC MAIN commitmail json YAML

* support cd devices (@scsibus & @atapibus, per libumass)
* support cd9660
* add "probe" keyword, which just prints the dmesg in verbose form

(pooka)

2010-02-17 20:39:53 UTC MAIN commitmail json YAML

* allow one more request
* print warning if a request which might fail, fails
* report error from bulk transfers

(pooka)

2010-02-17 18:55:14 UTC MAIN commitmail json YAML

Make block fields one char wider; allows to sanely display quotas up to
99.9GB while still fitting 80 columns.
Something else needs to be found for the long term ...

(bouyer)

2010-02-17 17:36:32 UTC MAIN commitmail json YAML

Fix build issue with our make system building libnvpair.so from libnvpair.c
and libnvpair.so from *.so by renaming libnvpair.c to lib_nvpair.c

(christos)

2010-02-17 17:25:55 UTC MAIN commitmail json YAML

Fix a bug reported by Gene, and debugged by Robert Elz. fsck_ffs can coredump
if the timezone file fails to load, due to late initialization of sp->goahead
to false in tzload, causing localsub to return NULL in the "cannot happen"
case. The fix is belt and suspenders:
- initialize sp->goback and sp->goahead very early in tzload
- replace all malloc calls with callocs, and remove the bogus
  casts (it is not the 70's anymore!)

(christos)

2010-02-17 16:15:15 UTC MAIN commitmail json YAML

2010-02-17 16:11:01 UTC MAIN commitmail json YAML

We can now boot from FFSv2, so offer it + even use it as a default.

(martin)

2010-02-17 16:09:52 UTC MAIN commitmail json YAML

eeh says we should not enable fsck_lfs on lfs partitions

(martin)

2010-02-17 15:57:24 UTC MAIN commitmail json YAML

2010-02-17 15:54:10 UTC MAIN commitmail json YAML

2010-02-17 15:50:54 UTC MAIN commitmail json YAML

Bump the initial rootdir link count guess to a ludicrous value.

(pooka)

2010-02-17 15:50:06 UTC MAIN commitmail json YAML

Add support for ffsv2 and lfs.

(eeh)

2010-02-17 15:49:19 UTC MAIN commitmail json YAML

2010-02-17 15:47:36 UTC MAIN commitmail json YAML

Save "." attributes in readdir.  This fixes the root link count
after readdir is called for the root dir the first time (yes,
there's still a window of wrong link count after the fs is mounted.
it's currently quite difficult to call sftp_readdir() from outside
the main loop).

Should fix "find /mnt" problem for a mountpoint with more than the
"guessed" amount of subdirectories, as reported by dyoung.

(pooka)

2010-02-17 14:32:08 UTC MAIN commitmail json YAML

* add a rant about why MPSAFE isn't enabled even though puffs code is
* predict_false that we are mounting when calling statvfs
* KNF

(pooka)

2010-02-17 14:16:53 UTC MAIN commitmail json YAML

Fix typo in previous. It's not a good idea to let uvm mess with kernel
text pages.

(skrll)

2010-02-17 13:28:40 UTC MAIN commitmail json YAML

Invert inverted comment and verbosify it.

(pooka)

2010-02-17 11:33:51 UTC MAIN commitmail json YAML

2010-02-17 11:31:39 UTC MAIN commitmail json YAML

2010-02-17 11:21:24 UTC MAIN commitmail json YAML

2010-02-17 11:14:10 UTC MAIN commitmail json YAML

Add aliasing defines for PA2.0 cpus.

They will cause unnecessary non-equiv alias handling on PA1.x machines if
PA2.0 cpu support is compiled into the kernel.  GENERIC currently doesn't
have this support enabled.

The performance hit of this needs testing.

(skrll)

2010-02-17 10:03:30 UTC MAIN commitmail json YAML

Add a prototype for pmap_page_physload.

(skrll)

2010-02-17 09:49:41 UTC MAIN commitmail json YAML

sort entries in structure
clarify init name type for CSR modules

(plunky)

2010-02-17 08:41:43 UTC matt-nb5-mips64 commitmail json YAML

add RMI Coprocessor 2 ops to mips_builtin_opcodes[]

(cliff)

2010-02-17 06:06:50 UTC MAIN commitmail json YAML

Fix type missmatch.
  forgot to commit since change ia64/syscall.c,1.5.

(kiyohara)

2010-02-17 01:17:37 UTC MAIN commitmail json YAML

Fix a thinko: the DHCP _client_ is doing the requesting.
Reported by Anonymous in PR misc/39162.

(snj)

2010-02-17 00:49:21 UTC MAIN commitmail json YAML

Fix punctuation and update "SEE ALSO" section.  From Bug Hunting in
PR misc/40293.

(snj)

2010-02-17 00:15:24 UTC MAIN commitmail json YAML

Initialize the temporary pmf_qual_t in pmf_device_subtree_release()
to avoid a failed ds != NULL assertion, later.

(dyoung)

2010-02-16 23:20:31 UTC MAIN commitmail json YAML

Three changes in a single commit.

- drop the notion of frags (LFS fragments) vs fsb (FFS fragments)
  The code uses a complicated unity function that just makes the
  code difficult to understand.

- support larger sector sizes. Fix disk address computations
  to use DEV_BSIZE in the kernel as required by device drivers
  and to use sector sizes in userland.

- Fix several locking bugs in lfs_bio.c and lfs_subr.c.

(mlelstv)

2010-02-16 23:13:13 UTC MAIN commitmail json YAML

Read the padded superblocks to avoid problems with disks that have
larger sectors than 512 Bytes.

(mlelstv)

2010-02-16 21:27:25 UTC netbsd-5 commitmail json YAML

2010-02-16 21:27:22 UTC netbsd-5-0 commitmail json YAML

2010-02-16 21:26:44 UTC netbsd-5-0 commitmail json YAML

Pull up following revision(s) (requested by snj in ticket #1308):
tools/compat/getmode.c: revision 1.8
include unistd.h where getmode is traditionally declared

(bouyer)

2010-02-16 21:26:39 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by snj in ticket #1308):
tools/compat/getmode.c: revision 1.8
include unistd.h where getmode is traditionally declared

(bouyer)

2010-02-16 21:24:22 UTC netbsd-5-0 commitmail json YAML

Pull up following revision(s) (requested by drochner in ticket #1307):
sys/arch/i386/i386/svr4_machdep.c: revision 1.96
sys/arch/i386/i386/ibcs2_machdep.c: revision 1.40
fix confused CS selector, fixes the panic reported by Mark Davis
per PR port-i386/42787 (the panic happens due to a GPF when a
privileged descriptor is tried to be loaded with the UPL bit set)
The original bug is very old (pre-2.0, i386/svr4_machdep.c rev. 1.69),
but it was relatively harmless until the order of GDT entries was
shuffled (pre-5.0, i386/segments.h rev. 1.42). Before, it caused
a userlevel data selector to be used for CS which broke the emulation
(likely the reason of PR port-i386/32424). The shuffle made that
a privileged selector was used, causing the GPF.
(recent -current doesn't panic on that GPF which seems to be a
side effect of another change)

(bouyer)

2010-02-16 21:24:15 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by drochner in ticket #1307):
sys/arch/i386/i386/svr4_machdep.c: revision 1.96
sys/arch/i386/i386/ibcs2_machdep.c: revision 1.40
fix confused CS selector, fixes the panic reported by Mark Davis
per PR port-i386/42787 (the panic happens due to a GPF when a
privileged descriptor is tried to be loaded with the UPL bit set)
The original bug is very old (pre-2.0, i386/svr4_machdep.c rev. 1.69),
but it was relatively harmless until the order of GDT entries was
shuffled (pre-5.0, i386/segments.h rev. 1.42). Before, it caused
a userlevel data selector to be used for CS which broke the emulation
(likely the reason of PR port-i386/32424). The shuffle made that
a privileged selector was used, causing the GPF.
(recent -current doesn't panic on that GPF which seems to be a
side effect of another change)

(bouyer)

2010-02-16 20:42:47 UTC MAIN commitmail json YAML

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

remove -D__NetBSD__ (it's done globally now)

(pooka)

2010-02-16 19:59:31 UTC MAIN commitmail json YAML

Remove trailing whitespace.

(wiz)

2010-02-16 19:29:40 UTC MAIN commitmail json YAML

PCI Configuration Mechanisms #1 and #2 are controlled by two to
three registers.  Let us think of the kernel operating the registers
in two steps:

1) Select: enable configuration cycles and select a range of
  configuration-space addresses.

2) Access: read or write a word in PCI configuration space.

To make the steps more explicit, extract some helper subroutines
from pci_conf_read(9) and pci_conf_write(9):

pci_conf_selector(tag, reg): from a pcitag_t and a register offset,
    create a word that enables configuration cycles and selects a
    configuration address range.

pci_conf_select(w): for `w' a word created by pci_conf_selector(),
    enable configuration cycles and select the address range indicated
    by `w'.

pci_conf_select(0): disable configuration cycles.

pci_conf_port(tag, reg): map a pcitag_t and a register offset to an I/O
    port where the configuration access should occur.

While I'm in here, change the panic(9) calls to panic("%s: ...",
__func__) instead of hard-coding a subroutine name.

(dyoung)

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

kpreempt(9): add a note when kernel preemption is disabled/deferred.
Sprinkle cross-links, bump dates.

(rmind)

2010-02-16 18:57:54 UTC MAIN commitmail json YAML

Read the padded superblocks to avoid problems with disks that have
larger sectors than 512 Bytes.

(mlelstv)

2010-02-16 16:56:30 UTC MAIN commitmail json YAML

Remove the dma24_ex method of dealing with BUS_DMA_24BIT and replace
with a uvm managed freelist of pages in the right range.

(skrll)

2010-02-16 15:17:18 UTC MAIN commitmail json YAML

Add support for 82575, 82576 and 82580(ER).
- Apply the patch for 82575 from Wolfgang Stukenbrock (PR#42422). We use
  only one RX ring and with the legacy mode.
- Add support for 82576.
- Partial support for 82580.
- Partial support for the serdes systems.

(msaitoh)

2010-02-16 10:11:47 UTC MAIN commitmail json YAML

Add an entry for SAS controller.

(msaitoh)

2010-02-16 10:10:26 UTC MAIN commitmail json YAML

2010-02-16 10:10:04 UTC MAIN commitmail json YAML

Add entries for 82576 and 82580

(msaitoh)

2010-02-16 10:06:19 UTC MAIN commitmail json YAML

indent, tabify and remove extra spaces.

(msaitoh)

2010-02-16 09:53:52 UTC MAIN commitmail json YAML

Latin police: use proper conjugation.
(whether the rest of the affected fortune is valid either is debatable)

(dholland)

2010-02-16 08:13:58 UTC matt-nb5-mips64 commitmail json YAML

2010-02-16 08:03:15 UTC matt-nb5-mips64 commitmail json YAML

2010-02-16 05:47:52 UTC MAIN commitmail json YAML

Don't inspect vn_stat() results until after checking that it succeeded.
If anyone's been seeing random "File too large" results from module loading,
this should fix it.

(dholland)

2010-02-16 02:46:02 UTC MAIN commitmail json YAML

only fsck / if we find it in /etc/fstab.  diskless systems don't need
a / entry.

XXX: still get an error from "mount /" in etc/rc.d/root itself.

(mrg)

2010-02-16 01:18:03 UTC MAIN commitmail json YAML

Move acpismbus into proper place, alphabetically.

(pgoyette)

2010-02-16 00:48:17 UTC MAIN commitmail json YAML

- re-factor code in pmap_map_ptes() slightly, and make it PAE-ready for
native i386 by using PDP_SIZE

- introduce pmap_unmap_apdp(), used to clear the APDP entries in PD, and
replace the relevant code parts with this function.

Comes from Jeremy Morse's patch for i386 PAE support. Adjustments by me.

(jym)

2010-02-16 00:47:46 UTC MAIN commitmail json YAML

2010-02-16 00:16:28 UTC MAIN commitmail json YAML

update this a little bit.

(mrg)

2010-02-16 00:15:19 UTC MAIN commitmail json YAML

if pthread_create() fails, display the iteration number in the error message.

(mrg)

2010-02-16 00:13:14 UTC MAIN commitmail json YAML

don't call most/all Core2's "(Merom)".

(mrg)

2010-02-16 00:03:48 UTC MAIN commitmail json YAML

Get rid of all PCI_CONF_MODE #ifdef'age except for the little bit
that initializes pci_mode, which I have moved to the top.

Make pci_mode private to pci_machdep.c.

Provide pci_mode_set() for pcibios.c to configure the PCI Configuration
Mechanism.  KASSERT() in pci_mode_set() that the mechanism is not
changing from anything but the "don't know" value, -1.

(dyoung)

2010-02-15 23:55:25 UTC MAIN commitmail json YAML

Get pci_mode out of the global namespace.

(dyoung)

2010-02-15 23:53:56 UTC MAIN commitmail json YAML

Don't use the global variable pci_mode, but use a local copy of
the return value of pci_mode_detect(), instead.

(dyoung)

2010-02-15 23:53:08 UTC MAIN commitmail json YAML

Don't use the global variable pci_mode, but use a local copy of
the return value of pci_mode_detect(), instead.

(dyoung)

2010-02-15 23:04:11 UTC MAIN commitmail json YAML

Document the new {high, maximum}-capacity keywords, and some general
clean-up.

(pgoyette)

2010-02-15 22:56:13 UTC MAIN commitmail json YAML

Add cases for new {high,maximum}-capacity events

(pgoyette)

2010-02-15 22:38:28 UTC MAIN commitmail json YAML

Update cross-reference to refer to new aibs(4) instead of aiboost(4)

(pgoyette)

2010-02-15 22:37:14 UTC MAIN commitmail json YAML

Update userland envstat(8) to handle new {high,maximum}-capacity limits.

(pgoyette)

2010-02-15 22:32:04 UTC MAIN commitmail json YAML

2010-02-15 20:20:34 UTC MAIN commitmail json YAML

Extract a subroutine, const char *cfdata_ifattr(cfdata_t cf), that
returns the name of the interface attribute that associates cf with
its parent.  Use cfdata_ifattr() at several sites in the autoconf
code.

(dyoung)

2010-02-15 18:04:38 UTC netbsd-5 commitmail json YAML

2010-02-15 18:04:11 UTC netbsd-5 commitmail json YAML

Pull up the following revisions(s) (requested by tron in ticket #1306):
sys/arch/i386/conf/XEN2_DOM0                    patch
sys/arch/i386/conf/XEN2_DOMU                    patch
sys/arch/amd64/conf/XEN3_DOM0                  patch
sys/arch/amd64/conf/XEN3_DOM0                  patch

Enable cgd(4) support on all amd64 and i386 XEN kernels.

(sborrill)

2010-02-15 12:46:24 UTC MAIN commitmail json YAML

- don't flush 32-bit entries for 64-bit code, it does not seem to be
  necessary.  #define TLB_FLUSH_LOWVA to turn it back on.
- remove the #if 0'd code in sparc64_ipi_flush_pte_usiii(), i have
  verified that it is not required.
- add a missing membar #Sync to sp_tlb_flush_pte_usiii().

(mrg)

2010-02-15 11:46:54 UTC MAIN commitmail json YAML

Fix linker error of GENERIC32 kernel.

(nakayama)

2010-02-15 09:56:34 UTC MAIN commitmail json YAML

use TLB_SIZE_SPITFIRE in a couple of places, and note that the
{print,dump}_[id]tlb() versions are currently spitfire specific.

(mrg)

2010-02-15 09:39:01 UTC MAIN commitmail json YAML

2010-02-15 07:56:51 UTC MAIN commitmail json YAML

introduce a new patch_kernel() and call it from the end of bootstrap().
use it to patch up TLB flush instructions that don't match for USI/II
and later.  we can also hopefully use this to make GENERIC.MP minimally
expensive on single CPU machines as well.

this is the last piece needed to get GENERIC/GENERIC.MP to boot on the
USIII* machines.

idea and some initial code from openbsd.

(mrg)

2010-02-15 07:55:33 UTC MAIN commitmail json YAML

2010-02-15 07:37:37 UTC matt-nb5-mips64 commitmail json YAML

2010-02-15 07:36:04 UTC matt-nb5-mips64 commitmail json YAML

Completely redo how interrupts and SPL are handled in NetBSD/mips.
[XXX locore_mips1.S still needs to adapted.]

Nested interrupts now work.  Except for MIPS_SOFT_MASK and MIPS_SR_INT_IE,
how interrupts work is completely abstracted.  spl is handled through the
mips_splsw table.  Direct manipulation of the status register is no longer
done (except for MIPS_SR_INT_IE).  A new <mips/intr.h> contains the common
IPL/IST/spl* definitions for all ports.

Interrupt delivery is completely different.  Clock interrupts may interrupt
device interrupts.  ci_idepth is now handled by the caller of cpu_intr as
are softints (both can be optimized/simplified in the case of interrupts of
usermode code).  cpu_intr has new arguments and now get called at IPL_HIGH
with MIPS_SR_INT_IE set and its logic is:

void
cpu_intr(int ppl, vaddr_t pc, uint32_t status)
{
int ipl;
uint32_t pending;
while (ppl < (ipl = splintr(&pending))) {
splx(ipl); /* enable interrupts */
<handle pending interrupts>
(void)splhigh(); /* disable interrupts */
}
}

mipsX_subr.S has been reworked.  All user handlers (user_intr, systemcall,
user_gen_exception) now use common return to usermode code in lwp_trampoline.
ast() has changed to void ast(void) since the previous pc argument was never
used.

The playstation IPL_ICU_MASK support has been nuked.
MIPS_DYNAMIC_STATUS_MASK may soon be nuked soon.

A bunch of debugging code was left conditionalized by PARANOIA.  If this
code detects a bug, it will enter an infinite loop.  It is expected that
the kernel will be debugged in a simulator or with a hardware debugger so
that the state at that point can be analyzed.

(matt)

2010-02-15 03:12:17 UTC matt-nb5-mips64 commitmail json YAML

2010-02-15 03:11:58 UTC matt-nb5-mips64 commitmail json YAML

In SIMPLELOCK_LOCKED_P check against != UNLOCKED instead of == LOCKED.
This is so the compiler can emit a bnez instead of loading 1 into a register
and then doing beq.

(matt)

2010-02-15 03:09:59 UTC matt-nb5-mips64 commitmail json YAML

Put pcb_context first since it has the most interesting data (easier to
dump in debugger).

(matt)

2010-02-15 01:20:27 UTC netbsd-5-0 commitmail json YAML

2010-02-15 01:01:26 UTC netbsd-5-0 commitmail json YAML

src/external/bsd/pkg_install/dist/add/add.h@1.1.1.1.8.3 / diff / nxr@1.1.1.1.8.3
src/external/bsd/pkg_install/dist/add/main.c@1.1.1.1.8.3 / diff / nxr@1.1.1.1.8.3
src/external/bsd/pkg_install/dist/add/perform.c@1.1.1.1.8.3 / diff / nxr@1.1.1.1.8.3
src/external/bsd/pkg_install/dist/add/pkg_add.1@1.1.1.1.8.3 / diff / nxr@1.1.1.1.8.3
src/external/bsd/pkg_install/dist/admin/audit.c@1.1.1.2.8.3 / diff / nxr@1.1.1.2.8.3
src/external/bsd/pkg_install/dist/admin/check.c@1.1.1.1.8.2 / diff / nxr@1.1.1.1.8.2
src/external/bsd/pkg_install/dist/admin/main.c@1.1.1.1.8.3 / diff / nxr@1.1.1.1.8.3
src/external/bsd/pkg_install/dist/admin/pkg_admin.1@1.1.1.1.8.4 / diff / nxr@1.1.1.1.8.4
src/external/bsd/pkg_install/dist/bpm/bpm.1@1.1.1.1.10.2 / diff / nxr@1.1.1.1.10.2
src/external/bsd/pkg_install/dist/bpm/bpm.sh.in@1.1.1.1.10.1 / diff / nxr@1.1.1.1.10.1
src/external/bsd/pkg_install/dist/create/build.c@1.1.1.1.8.3 / diff / nxr@1.1.1.1.8.3
src/external/bsd/pkg_install/dist/create/create.h@1.1.1.1.10.3 / diff / nxr@1.1.1.1.10.3
src/external/bsd/pkg_install/dist/create/main.c@1.1.1.1.8.3 / diff / nxr@1.1.1.1.8.3
src/external/bsd/pkg_install/dist/create/perform.c@1.1.1.1.8.3 / diff / nxr@1.1.1.1.8.3
src/external/bsd/pkg_install/dist/create/pkg_create.1@1.1.1.1.8.2 / diff / nxr@1.1.1.1.8.2
src/external/bsd/pkg_install/dist/create/pl.c@1.1.1.1.8.2 / diff / nxr@1.1.1.1.8.2
src/external/bsd/pkg_install/dist/delete/pkg_delete.1@1.1.1.1.8.3 / diff / nxr@1.1.1.1.8.3
src/external/bsd/pkg_install/dist/delete/pkg_delete.1.in@1.1.1.1.4.2 / diff / nxr@1.1.1.1.4.2
src/external/bsd/pkg_install/dist/delete/pkg_delete.c@1.1.1.4.4.4 / diff / nxr@1.1.1.4.4.4
src/external/bsd/pkg_install/dist/info/info.h@1.1.1.1.10.3 / diff / nxr@1.1.1.1.10.3
      :
(more 35 files)
Apply patch (requested by joerg in ticket #1298):
Update pkg_install to 20100204.

pkg_install-20091115:
Completely ignore @src in pkg_create. Silently ignore the -L option.
The combination of -I and -p are used by pkgsrc for the same result.

Do not overwrite a string with itself using snprintf. This breaks
setting the pkgdb directory internally on Linux. Explicitly check
if the string is the same and otherwise just use xstrdup.

Add support to query arbitrary variables with pkg_admin config-var.

pkg_install-20100130:
- pkg_add -U to rplace an installed version
- refactored man pages
- PKG_DBDIR / PKG_REFCOUNT_DBDIR as pkg_install.conf options
- synced license list
- use connection cache from libfetch

pkg_install 20100204:
- Restore PKG_PREFIX in pkg_delete (PR 42731)
- Ensure that the current pkg_install version is at least as new
  as the version used to build the package

(snj)

2010-02-15 00:47:56 UTC netbsd-5-0 commitmail json YAML

Apply patch (requested by joerg in ticket #1294):
Update libfetch to 2.30.
Changes:
libfetch-2.25:
- address a number of lint warnings
- fix strict-alignment issues for GCC 4.4
- fix a bug in the line reading optimisation
- do not reuse a FTP connection if there is an active transfer on it

libfetch-2.26:
- Add support to aggressively cache directory listenings; useful for
  HTTP
- Avoid leaking memory in error cases. From Xavier from Arch Linux.

libfetch-2.30:
- Revamped connection cache, allowing more than one active session
- HTTP keep-alive support

(snj)

2010-02-14 23:30:52 UTC MAIN commitmail json YAML

Replace large amount of replicated code with a macro to improve readability.

(pgoyette)

2010-02-14 23:07:59 UTC MAIN commitmail json YAML

Adapt to changes in sysmon's limit structure.

(pgoyette)

2010-02-14 23:07:22 UTC MAIN commitmail json YAML

Adapt to changes in sysmon's limit structure

(pgoyette)

2010-02-14 23:06:58 UTC MAIN commitmail json YAML

Adapt to changes in sysmon's limit structure.

(pgoyette)

2010-02-14 23:06:02 UTC MAIN commitmail json YAML

Remove the flags member of the limits structure.  Its value was only
meaningful for a few limited function calls;  all persitent storage
of limit-present flags is maintained in the edata->upropset member.

(pgoyette)

2010-02-14 21:50:38 UTC matt-nb5-mips64 commitmail json YAML

We use ntrad* and so make objcopy use them too.

(matt)

2010-02-14 16:22:09 UTC MAIN commitmail json YAML

Correct one more instance of checking flags in the wrong place.

(pgoyette)

2010-02-14 14:05:54 UTC netbsd-5 commitmail json YAML

2010-02-14 14:05:07 UTC netbsd-5-0 commitmail json YAML

2010-02-14 14:04:53 UTC netbsd-5 commitmail json YAML

Apply patch, requested by snj in ticket 1305:
distrib/pmax/instkernel/Makefile: patch
Bump the size of the pmax instkernel ramdisk to 2200k.

(bouyer)

2010-02-14 14:04:48 UTC netbsd-5-0 commitmail json YAML

Apply patch, requested by snj in ticket 1305:
        distrib/pmax/instkernel/Makefile: patch
Bump the size of the pmax instkernel ramdisk to 2200k.

(bouyer)

2010-02-14 14:01:08 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by hubertf in ticket #1304):
sys/arch/i386/stand/boot/boot2.c: revision 1.48
When a password is set for the bootloader ("installboot -o password=..."),
it currently complains about an unknown command and prints a usage if the
password is entered wrong:
        ...
        Choose an option; RETURN for default; SPACE to stop countdown.
        Option 1 will be chosen in 0 seconds.
        Password: *
        Password: *
        Password: *
        unknown command
        commands are:
        boot [xdNx:][filename] [-12acdqsvxz]
              (ex. "hd0a:netbsd.old -s"
        ls [path]
        dev xd[N[x]]:
        consdev {pc|com[0123]|com[0123]kbd|auto}
        modules {enabled|disabled}
        load {path_to_module}
        multiboot [xdNx:][filename] [<args>]
        help|?
        quit
        Choose an option; RETURN for default; SPACE to stop countdown.
        Option 1 will be chosen in 0 seconds.
        ...
This is confusing, plus someone may use it to determine bits of
information about the system. What should happen instead is that the user
is informed that the password is wrong:
        ...
        Choose an option; RETURN for default; SPACE to stop countdown.
        Option 1 will be chosen in 0 seconds.
        Password: ****
        Password: ****
        Password: ****
        Wrong password.
        Choose an option; RETURN for default; SPACE to stop countdown.
        ...
Implement the latter behaviour.

(bouyer)

2010-02-14 13:58:32 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by sborrill in ticket #1303):
sys/dev/usb/ukbd.c: revision 1.104
sys/dev/usb/ukbd.c: revision 1.107
Fix WSKBD_RAW mode ukbd -> pckbd translation for Pause/Break and
Print Screen/Sys Req keys so xf86-input-keyboard can figure out
what we want.
Additionally, fix dead URL, and add a note that this emulation
is not completely identical to a real pckbd.
Tweak comment about keyboard mapping.

(bouyer)

2010-02-14 13:57:11 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #1301):
sys/arch/hp700/conf/GENERIC: revision 1.92
Add USERCONF as per all other GENERIC kernels

(bouyer)

2010-02-14 13:55:29 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by dholland in ticket #1300):
sys/ufs/ufs/ufs_lookup.c: revision 1.102
Avoid nasal demons. Code of the form
  vput(vp);
  error = VFS_VGET(vp->v_mount, ...);
just isn't right. Because of vnode caching this *probably* never bit
anyone, except maybe under very heavy load, but still.

(bouyer)

2010-02-14 13:42:54 UTC netbsd-5 commitmail json YAML

Tickets 1289, 1290, 1292, 1292, 1293, 1297

(bouyer)

2010-02-14 13:41:51 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by jdc in ticket #1297):
etc/etc.sparc64/MAKEDEV.conf: revision 1.14
sys/arch/sparc64/dev/sab.c: revision 1.43, 1.44
share/man/man4/man4.sparc64/sab.4: revision 1.4
Allow the RSC to be the console on an E250, by checking for RSC-specific
properties, and by not changing the port baud rate.

(bouyer)