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 (1h)  netbsd-8 (5d)  netbsd-10 (6d)  netbsd-9 (12d)  thorpej-ifq (176d)  thorpej-altq-separation (178d) 

2024-05-10 15:54:10 UTC Now

2012-07-11 18:50:24 UTC MAIN commitmail json YAML

2012-07-11 18:48:28 UTC MAIN commitmail json YAML

2012-07-11 18:33:14 UTC MAIN commitmail json YAML

minor wording improvement.

(dholland)

2012-07-11 18:24:27 UTC MAIN commitmail json YAML

On the libc/libgcc clashes cleanup that removed divsi3.o from libc, ARM/evbarm
was forgotten. This patch fixes it making static binaries possible again!

(reinoud)

2012-07-11 18:21:28 UTC MAIN commitmail json YAML

Fix transposition typo in comment.

(jakllsch)

2012-07-11 18:17:50 UTC MAIN commitmail json YAML

Use correct source file reference

(pgoyette)

2012-07-11 17:13:31 UTC MAIN commitmail json YAML

2012-07-11 16:59:55 UTC MAIN commitmail json YAML

don't wait for the blitter unless we want to send another command and the
pipeline is full

(macallan)

2012-07-11 16:41:16 UTC MAIN commitmail json YAML

- Unconditionally initialise tp to avoid a warning
- Use DK_CLOSED rather than CLOSED (no functional change)

(abs)

2012-07-11 15:03:15 UTC MAIN commitmail json YAML

don't set clipping parameters and such every time we send a blitter command

(macallan)

2012-07-11 13:34:45 UTC MAIN commitmail json YAML

Bugfix builtin ffs, fixes PR port-vax/46677, fix from Paul Koning.

(ragge)

2012-07-11 00:19:28 UTC MAIN commitmail json YAML

ptree: add context argument.  OK matt@

(rmind)

2012-07-10 22:50:41 UTC MAIN commitmail json YAML

perry some whitespace nits & remove some obsolete comments
no functional change

(macallan)

2012-07-10 22:35:12 UTC MAIN commitmail json YAML

magic number reduction, no functional change

(macallan)

2012-07-10 22:34:37 UTC MAIN commitmail json YAML

revert unwanted part of previous MSCP commit

(abs)

2012-07-10 22:34:32 UTC MAIN commitmail json YAML

add some register definitions from xf86-video-suncg6

(macallan)

2012-07-10 22:33:16 UTC MAIN commitmail json YAML

- re-initialize only when we're really going back to terminal emulation
- don't try to redraw a non-existing screen
- don't try to mmap sbus ranges through /dev/ttyE*

(macallan)

2012-07-10 22:30:24 UTC MAIN commitmail json YAML

Adjust MSCP attach routines. The current code worked fine on simh-vax, but
unfortunately failed on at least one 'real' SCSI MSCP adaptor.
In the updated code
mscp_dorsp()

(abs)

2012-07-10 21:18:07 UTC MAIN commitmail json YAML

Revert the rest of rev 1.6

(dsl)

2012-07-10 19:38:18 UTC MAIN commitmail json YAML

2012-07-10 19:35:58 UTC MAIN commitmail json YAML

2012-07-10 19:15:50 UTC MAIN commitmail json YAML

2012-07-10 18:59:22 UTC MAIN commitmail json YAML

2012-07-10 17:05:38 UTC MAIN commitmail json YAML

Fix kernel compilation: no namespace.h
Fix libc RCSID protection.
Remove useless cast.

(christos)

2012-07-09 21:25:46 UTC MAIN commitmail json YAML

2012-07-09 21:22:21 UTC MAIN commitmail json YAML

Add ENOTCONN to returned error codes, bump date.
Tip of asau.

(jdf)

2012-07-09 19:42:14 UTC MAIN commitmail json YAML

Don't enable wsmouse in a non-WSCONS kernel.

(rkujawa)

2012-07-09 19:34:56 UTC MAIN commitmail json YAML

PR port-amiga/46672

Removed surpluss semicolon after if().

(rkujawa)

2012-07-09 19:32:26 UTC MAIN commitmail json YAML

Remove unused sc_dev. Thanks to cegger@.

(rkujawa)

2012-07-09 19:23:45 UTC MAIN commitmail json YAML

Set user page table base address dynamically on amiga. This unbreaks machines
with large Zorro III I/O spaces. Patch originally by Michael L. Hitch.
Test on an A4000.

(rkujawa)

2012-07-09 19:10:17 UTC MAIN commitmail json YAML

This a 'quick fix' for the breakage in rev 1.35.
Patch from Manuel on current-users mailing list.
Probably requires further investigation, but is a little nicer than
reverting the previous change.

(dsl)

2012-07-09 18:12:11 UTC MAIN commitmail json YAML

Also build WSCONS kernel.

(rkujawa)

2012-07-09 17:58:34 UTC MAIN commitmail json YAML

Add some e500mc/e5500 machines.

(matt)

2012-07-09 17:55:15 UTC MAIN commitmail json YAML

Allow the use of the full 4GB address space.

(matt)

2012-07-09 17:48:31 UTC MAIN commitmail json YAML

2012-07-09 17:45:23 UTC MAIN commitmail json YAML

More cleanup.  Use a union (pmap_segtab) and a typedef (pmap_segtab_t).  Add
more functionality from the mips pmap and try to make it more common to ease
the transition for mips in the future.

(matt)

2012-07-09 17:36:55 UTC MAIN commitmail json YAML

Add hook so E500 watchdog can use a separate stack but leave it disabled by
default.

(matt)

2012-07-09 17:27:15 UTC matt-nb5-mips64 commitmail json YAML

Add another KASSERT...

(matt)

2012-07-09 17:23:37 UTC matt-nb5-mips64 commitmail json YAML

2012-07-09 17:15:17 UTC matt-nb5-mips64 commitmail json YAML

2012-07-09 17:14:47 UTC matt-nb5-mips64 commitmail json YAML

2012-07-09 17:13:06 UTC matt-nb5-mips64 commitmail json YAML

2012-07-09 17:12:39 UTC matt-nb5-mips64 commitmail json YAML

Add a .set mips32 so that O32 kernels can compile.

(matt)

2012-07-09 17:11:32 UTC matt-nb5-mips64 commitmail json YAML

Add code to panic if/when a kthread return to lwp_startup.
Add a workaround for the XLP which requires a EHB at the start of the interrupt
vector.

(matt)

2012-07-09 11:40:19 UTC MAIN commitmail json YAML

If we paniced because a watchdog timed out, PSL_CE will be clear.  So don't
assert PSL_CE is set if panicstr is not NULL.

(matt)

2012-07-09 11:20:22 UTC MAIN commitmail json YAML

Convert a KDASSERT to a KDASSERTMSG

(matt)

2012-07-09 11:19:34 UTC MAIN commitmail json YAML

Convert a KASSERT to a KASSERTMSG.  Expand one KASSERTSG a little bit.

(matt)

2012-07-09 04:35:14 UTC MAIN commitmail json YAML

in soreceive(), handle uios larger than 31 bits.
fixes the remaining problem in PR 43240.

(chs)

2012-07-09 03:11:59 UTC MAIN commitmail json YAML

2012-07-08 23:18:23 UTC MAIN commitmail json YAML

Fix typo in a message.

(uwe)

2012-07-08 22:49:56 UTC MAIN commitmail json YAML

From Bug Hunting: Add vndcompress(1) to SEE ALSO, bump date.

While here:
New sentence, new line.

(wiz)

2012-07-08 22:48:32 UTC MAIN commitmail json YAML

Improve wording, fix typo, bump date.
From Bug Hunting.

(wiz)

2012-07-08 22:47:42 UTC MAIN commitmail json YAML

From Bug Hunting:
improve wording, macro usage, and punctuation.

While here, remove an unnecessary comma and sort SEE ALSO.

(wiz)

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

2012-07-08 18:16:03 UTC MAIN commitmail json YAML

2012-07-08 14:45:05 UTC MAIN commitmail json YAML

Restore the rest of the ipfilter test framework, even if most of these
tests are broken.  The "golden output" files for these tests need to be
updated.

(pgoyette)

2012-07-08 14:25:49 UTC MAIN commitmail json YAML

It's msdos, not msdosfs.

(hans)

2012-07-08 13:42:29 UTC MAIN commitmail json YAML

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

Mention MurmurHash2.

(rmind)

2012-07-08 11:43:47 UTC MAIN commitmail json YAML

Add Makefile in libc for murmurhash, missed in previous commit.

(rmind)

2012-07-08 08:22:24 UTC MAIN commitmail json YAML

ACPICA 20120620 is out.

(jruoho)

2012-07-08 01:24:08 UTC MAIN commitmail json YAML

Add murmurhash2() prototype, missed in previous commit.

(rmind)

2012-07-08 01:21:12 UTC MAIN commitmail json YAML

Add MurmurHash2 -- a non-cryptographic hash function by Austin Appleby.
The code is taken from the upstream and is in the public domain.

OK christos@

(rmind)

2012-07-08 00:59:34 UTC MAIN commitmail json YAML

2012-07-08 00:53:45 UTC MAIN commitmail json YAML

Make sure stuff using Obj_Entry is compiled correctly for ELF32 or ELF64.

(matt)

2012-07-08 00:53:01 UTC MAIN commitmail json YAML

Restore one more group of tests.

XXX Test i17 was broken previously, and remains broken.

(pgoyette)

2012-07-08 00:48:29 UTC MAIN commitmail json YAML

Restore some more tests from ipfilter 5.1.1

XXX Test in2 was broken before the ipfilter 5.1.1 import, and is still
XXX broken.

(pgoyette)

2012-07-08 00:36:46 UTC MAIN commitmail json YAML

Restore some more of the ipfilter 5.1.1 tests.

XXX It appears that ipftest is not handling the policy {,src-,dst-}hash
XXX correctly, so these tests are still marked broken/skipped.

(pgoyette)

2012-07-07 23:29:44 UTC MAIN commitmail json YAML

Re-enable some of the ipf tests.  The only thing wrong with these tests
is that the tests were not re-imported with the rest of ipfilter 5.1.1

XXX There are still some more ipf test failures that need to get resolved,
XXX but at least we'll get some of them back just in case we have a
XXX regression.

(pgoyette)

2012-07-07 21:29:03 UTC MAIN commitmail json YAML

platfrom -> platform
copyright name UTF8ified

(spz)

2012-07-07 21:27:56 UTC MAIN commitmail json YAML

mutex_owned: update about not-held test.

(rmind)

2012-07-07 21:26:36 UTC MAIN commitmail json YAML

Document kcpuset_isotherset() and kcpuset_countset().

(rmind)

2012-07-07 20:45:10 UTC MAIN commitmail json YAML

- Even if it may be obvious, actually explain what ``{}'' means
  with ``-exec ... {} +'';
- make wording more consistent;
- bump date.

From Bug Hunting.

(wiz)

2012-07-07 16:18:50 UTC MAIN commitmail json YAML

Revert rev 1.95 since getdisksize() no longer returns secsize=0.

(tsutsui)

2012-07-07 16:15:21 UTC MAIN commitmail json YAML

2012-07-07 16:10:23 UTC MAIN commitmail json YAML

Check if secsize and numsec returned from ioctl's are sane values
and add DIAGNOSTIC messages in getdisksize().

Discussed on source-changes-d@:
http://mail-index.NetBSD.org/source-changes-d/2012/07/02/msg004989.html
and patch is reviwed by christos@ and pgoyette@.

(tsutsui)

2012-07-07 08:06:51 UTC MAIN commitmail json YAML

2012-07-07 08:05:48 UTC MAIN commitmail json YAML

Convert a KASSERT to a KASSERTMSG

(skrll)

2012-07-07 01:39:59 UTC MAIN commitmail json YAML

One more reference to unimplemented shared semaphores.

(joerg)

2012-07-07 01:37:13 UTC MAIN commitmail json YAML

Shared semaphores have been supported since the initial version, so drop
obsolete restriction.

(joerg)

2012-07-06 21:10:57 UTC MAIN commitmail json YAML

Add translations for "Config menu" (was hardcoded before), best guesses for
French and Spanish.
Add translations for Polish config menu entries (provided by Marcin Piotr
Pawlowski).

(jdf)

2012-07-06 14:10:06 UTC MAIN commitmail json YAML

Bug Hunting:
improve wording

(wiz)

2012-07-06 13:07:25 UTC netbsd-6 commitmail json YAML

2012-07-06 09:12:17 UTC MAIN commitmail json YAML

2012-07-06 09:11:20 UTC MAIN commitmail json YAML

From Bug Hunting:
- synchronize `-f' and `-r' argument names with (the English)
  sysinst(8) usage message (change table width for it as well);
- generally improve / extend contents (note: there's no need for
  an explicit `OPTIONS' section for options; also ``include'' is
  used in the wording for the options, since currently not all are
  described);
- re-order options in `DESCRIPTION' section;
- better macro usage;
- capitalization (also of acronyms), punctuation (makes options
  table consistent);
- bump date.

(wiz)

2012-07-06 09:06:43 UTC MAIN commitmail json YAML

From Bug Hunting:
- de-capitalize ``usage'' in `usage' message;
- synchronize `usage' message with man pages.

(wiz)

2012-07-06 09:05:26 UTC MAIN commitmail json YAML

From Bug Hunting:
- correct / improve macro usage;
- (re-)add an actual description in `DESCRIPTION' section;
- synchronize argument name to `-j' option;
- improve wording;
- bump date.

(wiz)

2012-07-06 09:03:34 UTC MAIN commitmail json YAML

From Bug Hunting:
- sort options in `SYNOPSIS' and `DESCRIPTION' sections;
- correct / improve macro usage;
- synchronize argument name to `-s' option;
- improve punctuation / wording;
- augment `SEE ALSO' section;
- bump date.

While here:
Use Sq for single characters instead of Dq.
Use Aq instead of \*[Lt]...\*[Gt].
Mark up NULL with Dv.

(wiz)

2012-07-05 18:50:52 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by matt in ticket #404):
sys/common/pmap/tlb/pmap.c: revision 1.14
sys/common/pmap/tlb/pmap.h: revision 1.13
sys/common/pmap/tlb/pmap_segtab.c: revision 1.5
The lockless list can lead to corruption.  Instead use a spinlock to =
control
access to the head of the free segtab list.
=20
=20

(riz)

2012-07-05 18:49:04 UTC netbsd-6 commitmail json YAML

2012-07-05 18:39:42 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by matt in ticket #406):
sys/arch/mips/include/pmap.h: revision 1.62
sys/arch/mips/mips/pmap.c: revision 1.208
sys/arch/mips/mips/pmap_segtab.c: revision 1.5
Change lockless segtab management to use a mutex for protection.  Some =
minor
changes to make this closer to common/pmap/tlb/pmap_segtab.c
=20
=20

(riz)

2012-07-05 18:22:50 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by abs in ticket #405):
etc/etc.vax/MAKEDEV.conf: revision 1.15
etc/etc.vax/MAKEDEV.conf: revision 1.16
sys/arch/vax/conf/INSTALL: revision 1.61
sys/arch/vax/conf/INSTALL: revision 1.62
distrib/vax/install.md: file removal
distrib/vax/ramdisk/list: revision 1.30
distrib/vax/miniroot/list: revision 1.15
distrib/vax/miniroot/Makefile.inc: revision 1.22
distrib/vax/ramdisk/Makefile: revision 1.30
distrib/vax/ramdisk/dot.profile: revision 1.9
All apply to vax only:
- Drop KERNFS from INSTALL kernel
- Add dmesg to sysinst ramdisk
- Add 'ramdisk' target to MAKEDEV and use
- Add dhcpcd to sysinst ramdisk
- Drop old install.md script
- Misc install image cleanup (reduce diff to zaurus of all things)
Sync devices with GENERIC, and include bpfilter to allow dhcpcd to work
Ensure the ramdisk has bpf for dhcpcd

(riz)

2012-07-05 18:16:15 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by abs in ticket #403):
sys/arch/vax/include/disklabel.h: revision 1.6
sys/sys/bootblock.h: revision 1.54
sys/arch/vax/include/types.h: revision 1.46
distrib/vax/miniroot/Makefile.inc: revision 1.21
- Increase MAXPARTITIONS for vax from 8 to 16, using the standard NetBSD
  mechanism to ensure all existing /dev nodes continue to work
- Adjust boot block layout to fit additional partitions
- Adjust number of inodes on install media

(riz)

2012-07-05 18:12:49 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by mlelstv in ticket #402):
sys/dev/vnd.c: revision 1.221
sys/kern/init_main.c: revision 1.443
sys/kern/init_main.c: revision 1.444
sys/dev/dkwedge/dk.c: revision 1.64
sys/arch/x86/x86/x86_autoconf.c: revision 1.63
sys/arch/sparc64/sparc64/autoconf.c: revision 1.187
sys/sys/device.h: revision 1.141
sys/dev/dkwedge/dkwedge_bsdlabel.c: revision 1.17
sys/kern/kern_subr.c: revision 1.213
sys/arch/zaurus/zaurus/autoconf.c: revision 1.11
sys/arch/xen/x86/autoconf.c: revision 1.14
sys/sys/disk.h: revision 1.57
Use the label's packname to create wedge names instead of the classic
device names. Fall back to classic device names when the label has an
empty name or the default name 'fictitious'.
autodiscover wedges
Make detection of root on wedges (dk(4)) machine independent. Remove
MD code for x86, xen, sparc64.
Make detection of root on wedges (dk(4)) machine independent. Remove
MD code for zaurus.
Do not try to find the wedge we booted from if opendisk(booted_device)
failed.

(riz)

2012-07-05 17:59:13 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by jdc in ticket #401):
sys/dev/ic/gem.c: revision 1.99
sys/dev/ic/gemvar.h: revision 1.24
sys/dev/ic/gemreg.h: revision 1.15
Apply lockup fixes from Havard Eidnes/OpenBSD in PR port-sparc64/46260:
- add an additional watchdog for RX overflow
- re-initialise the chip on device timeout
Also alter the interrupt blanking rate to 8 packets, as per OpenSolaris.

(riz)

2012-07-05 17:54:15 UTC netbsd-6 commitmail json YAML

2012-07-05 17:52:54 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by chs in ticket #400):
sys/arch/x86/x86/cpu.c: revision 1.100
in cpu_boot_secondary_processors(), wait until all the other CPUs
have registered themselves in kcpuset_running before returning.
recent changes to the TLB invalidation xcall code assume that
any CPU which will receive a broadcast IPI is registered in
kcpuset_running, so ensure that is true by waiting here.

(riz)

2012-07-05 17:48:45 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by rmind in ticket #399):
sys/net/npf/npf_session.c: revision 1.14
sys/net/npf/npf_tableset.c: revision 1.12
sys/net/npf/npf_state_tcp.c: revision 1.8
usr.sbin/npf/npftest/libnpftest/npf_mbuf_subr.c: revision 1.3
usr.sbin/npf/npfctl/npf_data.c: revision 1.14
sys/net/npf/npf_inet.c: revision 1.13
sys/net/npf/npf_ruleset.c: revision 1.12
sys/net/npf/npf.h: revision 1.18
usr.sbin/npf/npfctl/npf_ncgen.c: revision 1.11
usr.sbin/npf/npfctl/npfctl.8: revision 1.7
usr.sbin/npf/npfctl/npf_parse.y: revision 1.9
usr.sbin/npf/npftest/libnpftest/npf_state_test.c: revision 1.2
usr.sbin/npf/npfctl/npfctl.8: revision 1.8
sys/net/npf/npf_instr.c: revision 1.12
usr.sbin/npf/npftest/libnpftest/npf_table_test.c: revision 1.3
usr.sbin/npf/npfctl/npf.conf.5: revision 1.13
usr.sbin/npf/npfctl/npf.conf.5: revision 1.14
sys/net/npf/npf_state.c: revision 1.9
sys/net/npf/npf_processor.c: revision 1.11
usr.sbin/npf/npfctl/npfctl.c: revision 1.13
usr.sbin/npf/npfctl/npfctl.c: revision 1.14
usr.sbin/npf/npfctl/npf_build.c: revision 1.10
lib/libnpf/npf.3: revision 1.5
lib/libnpf/npf.h: revision 1.8
share/man/man9/npf_ncode.9: revision 1.9
usr.sbin/npf/npfctl/npf_scan.l: revision 1.4
lib/libnpf/npf.c: revision 1.9
usr.sbin/npf/npfctl/npfctl.h: revision 1.16
sys/net/npf/npf_nat.c: revision 1.14
usr.sbin/npf/npftest/libnpftest/npf_processor_test.c: revision 1.2
usr.sbin/npf/npfctl/npf_disassemble.c: revision 1.6
sys/net/npf/npf_impl.h: revision 1.17
sys/net/npf/npf_handler.c: revision 1.18
sys/net/npf/npf_handler.c: revision 1.19
usr.sbin/npf/npftest/libnpftest/npf_test.h: revision 1.4
sys/net/npf/npf_ncode.h: revision 1.9
Fix and update npf.conf(5), npfctl(8) and its usage message.
npf_state_tcp: fix for FIN retransmission and out-of-order ACK case.
NPF improvements:
- Add NPF_OPCODE_PROTO to match the address and/or protocol only.
- Update parser to support arbitrary "pass proto <name/number>".
- Fix IPv6 address and protocol handling (add a regression test).
- Fix few theorethical races in session handling module.
- Misc fixes, simplifications and some clean up.
npf_packet_handler: fix gcc unused warning.

(riz)

2012-07-05 17:43:49 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by rmind in ticket #398):
sys/netinet6/frag6.c: revision 1.53
Remove the wrapper of frag6_input(), restore the behaviour changed in r1.50.
Fix ip6_reass_packet() wrapper used by NPF.  Remove #if 0 code for handling
overlaping fragments - IPv6 desupported them anyway.  Convert to kmem(9).

(riz)

2012-07-05 17:40:11 UTC MAIN commitmail json YAML

use the modern resolver functions if available.

(christos)

2012-07-05 17:38:27 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #396):
sbin/newfs/newfs.8: revision 1.83
sbin/newfs/newfs.c: revision 1.111
distrib/utils/sysinst/label.c: revision 1.62
Use 32KB/4KB for default block/fragment size on >= 128 GB partitions
for modern AFT disks.  No particular comments against PR install/46629.

(riz)

2012-07-05 17:36:31 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #395):
sys/fs/msdosfs/msdosfs_vfsops.c: revision 1.95
sys/arch/atari/atari/autoconf.c: revision 1.62
sys/dev/md.c: revision 1.67
Add a dirty hack for atari's ancient installation ramdisk:
Forcibly configure md0, md1, and md2 devices before setroot()
for atari's traditional "auto-load from floppy on open" md_root device
which loads installation ramdisk image from floppy.
md(4) has been changed dynamically configured at first open after 5.0
and md devices won't appear in "root device:" prompt without this hack.
Tested on TT030.
Should be pulled up to netbsd-6.
Make sure that disklabel of md(4) device is initialized
in the case where it's configured in MD md_open_hook().
Without this, msdosfs_mountfs() (which is called from msdosfs_mountroot())
will be called with uninitialized disklabel (d_secsize == 0) and
it gets "panic: buf mem pool index 23" later on atari.
This is because getdisksize() doesn't check returned d_secsize value
and msdosfs_mountfs() blindly calls bread(9) with size==0 in that case.
Should be pulled up to netbsd-6 (at least for atari).
Add a sanity check if secsize returned from getdisksize() isn't bogus.
This prevent possible panic "panic: buf mem pool index 23" later in
vfs_bio.c:buf_mempoolidx().
(I'm not sure if it's okay for getdisksize() to assume that
partinfo taken from DIOCGPART is properly initialized
on all disk(9) devices or not)
See also:
http://mail-index.NetBSD.org/source-changes/2012/06/30/msg035298.html

(riz)

2012-07-05 17:33:59 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #394):
distrib/atari/floppies/common/dot.profile: revision 1.4
Simply use "mount -u" to (re)mount root file system read-write
rather than denoting it using temporary /tmp/.root_writable file,
because it will never be removed if root file system is on floppy.
Fixes PR port-atari/37470.
Should be pulled up to netbsd-6.

(riz)

2012-07-05 17:29:16 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by jdf in ticket #393):
distrib/utils/sysinst/msg.mi.de: revision 1.68
distrib/utils/sysinst/msg.mi.fr: revision 1.127
distrib/utils/sysinst/msg.mi.en: revision 1.173
distrib/utils/sysinst/disks.c: revision 1.124
distrib/utils/sysinst/msg.mi.pl: revision 1.84
distrib/utils/sysinst/msg.mi.es: revision 1.44
Changed returncodes to -1 of mount_disks in case of error (before, they were
inverted).
Add message mount_failed to be displayed when a mount fails, offering the
opportunity to go on anyway (fix for PR install/12020).

(riz)

2012-07-05 17:28:39 UTC matt-nb5-mips64 commitmail json YAML

Fix typo (assigned wrong variable).

(matt)

2012-07-05 17:26:14 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by manu in ticket #392):
lib/libpuffs/puffs_ops.3: revision 1.32
lib/libperfuse/ops.c: revision 1.58
lib/libpuffs/puffs.h: revision 1.122
lib/libpuffs/dispatcher.c: revision 1.41
lib/libperfuse/perfuse_priv.h: revision 1.30
Pass the FAF flag to handlers:
- setattr_ttl is updated to add a flag argument. Since it was not
present in
  a previous release, we can change its API
- write2 is introduced, this is write with an extra flag for FAF.
- fsync already has the FAF information in a flag and needs no change
- for other operations, FAF is unconditional
Fix the build by adding (unused) flags argument to
perfuse_node_setattr_ttl

(riz)

2012-07-05 17:25:36 UTC MAIN commitmail json YAML

2012-07-05 17:24:54 UTC MAIN commitmail json YAML

Change seg_tab to seg_ptr and make it a void * from a pt_entry_t * since it
also needs to point to struct pmap_segtab * when used in a 3-level page table.

(matt)

2012-07-05 17:22:03 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by roy in ticket #391):
libexec/getty/main.c: revision 1.59
Don't attempt to parse a termcap/terminfo string ourselves;
always use tputs(3).

(riz)

2012-07-05 17:21:02 UTC MAIN commitmail json YAML

Change lockless segtab management to use a mutex for protection.  Some minor
changes to make this closer to common/pmap/tlb/pmap_segtab.c

(matt)

2012-07-05 17:20:06 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by dogcow in ticket #390):
tools/gcc/Makefile: revision 1.51
Always use system zlib. Avoids the need for 32bit build environment when
bootstrapping on some Linux distros. We require zlib to be present anyway.

(riz)

2012-07-05 16:55:11 UTC MAIN commitmail json YAML

Add 3-level page table support (from MIPS).  Rename a few routines.

(matt)

2012-07-05 13:55:58 UTC MAIN commitmail json YAML

PR/46660: Henning Petersen: Fix typo in deviceid.c

(christos)

2012-07-05 12:53:22 UTC MAIN commitmail json YAML

Fix use of uninitialized variable.

(joerg)

2012-07-05 10:56:52 UTC MAIN commitmail json YAML

Fix locking botch introduced in 1.36.

(skrll)

2012-07-05 03:02:53 UTC MAIN commitmail json YAML

Don't call extent_free() in memio_unmap(), if not call extent_alloc() with
defined PPC_IBM4XX and extent_flags.

(kiyohara)

2012-07-05 02:56:40 UTC MAIN commitmail json YAML

Change read_eeprom().  We don't use bus_space(9) here.  This is MD-part and,
don't support bus_space_unmap() to a space on reserved space?

(kiyohara)

2012-07-04 21:05:39 UTC netbsd-6 commitmail json YAML

Tickets 384, 385, 386, 387, 388, 389.

(jdc)

2012-07-04 21:02:49 UTC netbsd-6 commitmail json YAML

Pull up revisions:
  src/sys/dev/wsfont/Droid_Sans_Mono_12x22.h revision 1.2
  src/sys/dev/wsfont/Droid_Sans_Mono_9x18.h revision 1.2
  src/sys/dev/wsfont/DejaVu_Sans_Mono_12x22.h revision 1.2
(requested by macallan in ticket #389).

add license headers
I need to find a way to extract at least the copyright notice from
the .ttf
file so ttf2wsfont can do this mostly automatically.

add license header

(jdc)

2012-07-04 20:58:27 UTC netbsd-6 commitmail json YAML

Pull up revision 1.97 (requested by matt in ticket #388).

Don't panic if you can't allocate a contiguous stack for system threads.
Just use a mapped a stack.

(jdc)

2012-07-04 20:55:44 UTC netbsd-6 commitmail json YAML

Pull up revision 1.6 (requested by jnemeth in ticket #387).

PR/46612 - Lloyd Parkes -- add a terminating newline to error messages

(jdc)

2012-07-04 20:53:30 UTC MAIN commitmail json YAML

* add entry for lvm(8)
* add subsection for block device subsystem setup
* s/OPTIONAL:/"OPTIONAL:" to make mdoclint happier
* add missing type specifications of variables

(jdf)

2012-07-04 20:48:56 UTC netbsd-6 commitmail json YAML

Pull up revisions:
  src/distrib/utils/sysinst/defs.h revision 1.163
  src/distrib/utils/sysinst/disks.c revisions 1.125,1.126
  src/distrib/utils/sysinst/main.c revisions 1.65,1.66
  src/distrib/utils/sysinst/arch/emips/md.h revision 1.4
  src/distrib/utils/sysinst/arch/i386/md.h revision 1.69
  src/distrib/utils/sysinst/arch/vax/md.h revision 1.21
(requested by abs in ticket #386).

- Replace the CD_NAME definition with a CD_NAMES comma separate list,
the default remains "cd0a", but i386 sets "cd0a", "mcd0a" while vax
takes "cd0a", "racd0a"
- Add get_default_cdrom() to disks.c, which is called in init(). This
checks the contents of hw.disknames against CD_NAMES. The first one
found (minus partition letter) is picked, otherwise the first entry
in CD_NAMES is used
The primary beneficiary is vax systems with an MSCP but no SCSI CD
drive, which now default to (a valid) racd0a rather than an invalid
cd0a.  The obvious example being simh-vax

Trying to print a function pointer as a string is likely to cause tears.
While here, don't match on the unit either

Do not assign to a const pointer, but set the value of the target variable
instead. Makes sysinst at least start up again.

(jdc)

2012-07-04 20:46:14 UTC MAIN commitmail json YAML

Change little wording error (s/associate/associated/) and formatting error.
Patch proposal was sent upstream to Heimdal as well.
Patch by jklowden in PR lib/46651.

(jdf)

2012-07-04 20:41:47 UTC netbsd-6 commitmail json YAML

Pull up revisions:
  src/etc/etc.vax/MAKEDEV.conf revision 1.14
  src/sys/arch/vax/conf/GENERIC revision 1.182
  src/sys/arch/vax/conf/INSTALL revision 1.60
  src/sys/arch/vax/conf/VAX780 revision 1.9
  src/sys/arch/vax/conf/majors.vax revision 1.24
  src/sys/arch/vax/vax/disksubr.c revision 1.53
  src/sys/dev/DEVNAMES revision 1.275
  src/sys/dev/mscp/files.mscp revision 1.8
  src/sys/dev/mscp/mscp_disk.c revision 1.72
  src/sys/dev/mscp/mscp_subr.c revision 1.42
  src/distrib/vax/ramdisk/Makefile revision 1.29
(requested by abs in ticket #385).

- Add racd* devices for MSCP based CD-ROM drives (RRD40s), as opposed
to mixing them in with the ra* disks, modelled loosely on how MSCP
rx* floppies are handled
- racd* defaults to the same single iso9660 partition as cd*
- Cleanup config option handling slightly so any combination of ra*,
rx* (and now raccd*) can be defined without build errors.
- Avoid ugly printf when disks have all zero disklabel magic number

Include racd0 and racd1 on ramdisk

(jdc)

2012-07-04 20:30:00 UTC netbsd-6 commitmail json YAML

Pull up revision 1.11 (requested by isaki in ticket #384).

Rewrite fpu_int().
Especially, remove the special treatment when |x| < 1
because it forgets to consider FPCR round mode.
See PR/46627 for the detail.  Thanks Y.Sugahara for advice.

(jdc)

2012-07-04 19:45:57 UTC netbsd-6 commitmail json YAML

2012-07-04 19:45:31 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by jdc in ticket #378):
external/public-domain/xz/prepare-import.sh: revision 1.3
external/public-domain/xz/include/config.h: revision 1.2
Determine WORDS_BIGENDIAN at build time, rather than hardcoding it to 0.
Makes liblzma work on sparc64 (and probably other big endian hosts too).
Add a note to the import script.

(riz)

2012-07-04 19:43:10 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by jdc in ticket #368):
sys/dev/ic/hme.c: revision 1.88
share/man/man4/hme.4: revision 1.10
PR kern/46424
Revert the part of revision 1.77 that altered the PHY attachment order.
Note that the PHY instance changes when a MII transceiver is connected.

(riz)

2012-07-04 19:38:54 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by jdc in ticket #367):
sys/dev/sbus/qe.c: revision 1.61
sys/dev/sbus/qe.c: revision 1.62
Fix fallout from revision 1.46, and call ether_ioctl() in the default path.
Patch from John D. Baker in PR port-sparc/46572.
Fix multicast filter set up: we need to byte-swap the hash before writing to
the chip.  While here, remove open-coded copy of ether_crc32_le().

(riz)

2012-07-04 18:35:58 UTC MAIN commitmail json YAML

2012-07-04 13:54:20 UTC MAIN commitmail json YAML

Disable GENERIC_USERMODE kernel auto-build to avoid problems with the current
autobuild-system.

(reinoud)

2012-07-04 13:34:24 UTC MAIN commitmail json YAML

2012-07-04 11:39:42 UTC MAIN commitmail json YAML

The lockless list can lead to corruption.  Instead use a spinlock to control
access to the head of the free segtab list.

(matt)

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

Ensure the ramdisk has bpf for dhcpcd

(abs)

2012-07-04 07:53:55 UTC MAIN commitmail json YAML

New sentence, new line.
Use more markup.
Fix typo.
Improve wording.

(wiz)

2012-07-04 07:03:31 UTC MAIN commitmail json YAML

Appease gcc -Wuninitialized when cross-compiling on amd64.  Problem noticed
by Hisashi Fujinaka on current-users.

(jdc)

2012-07-04 06:09:38 UTC MAIN commitmail json YAML

As discussed on tech-net@: Don't display expected EHOSTUNREACH for all but
the last connect attempts in terse mode.

(is)

2012-07-04 01:08:58 UTC MAIN commitmail json YAML

2012-07-04 01:08:27 UTC MAIN commitmail json YAML

add another sierra device

(christos)

2012-07-03 22:42:48 UTC MAIN commitmail json YAML

Sync devices with GENERIC, and include bpfilter to allow dhcpcd to work

(abs)

2012-07-03 21:49:56 UTC MAIN commitmail json YAML

All apply to vax only:
- Drop KERNFS from INSTALL kernel
- Add dmesg to sysinst ramdisk
- Add 'ramdisk' target to MAKEDEV and use
- Add dhcpcd to sysinst ramdisk
- Drop old install.md script
- Misc install image cleanup (reduce diff to zaurus of all things)

(abs)

2012-07-03 21:35:05 UTC MAIN commitmail json YAML

Fix documentation for function kauth_register_key (PR 46641).

(cheusov)

2012-07-03 21:27:54 UTC netbsd-6 commitmail json YAML

2012-07-03 21:22:07 UTC netbsd-6 commitmail json YAML

Pull up revision 1.85 via patch (requested by khorben in ticket #383).

Disable azalia(4) now that hdaudio(4) was switched on

ok bouyer@

(jdc)

2012-07-03 21:16:15 UTC netbsd-6 commitmail json YAML

Pull up revision 1.10 (requested by matt in ticket #382).

Don't rely on being able to allocate while in a softintr.  So preallocate
all the bus_dma maps in ifinit where we can sleep.

(jdc)

2012-07-03 21:13:25 UTC netbsd-6 commitmail json YAML

Pull up revision 1.393 (requested by bouyer in ticket #381).

In some case, when an error is reported by the disk, the ahci controller
still reports a number of bytes transfered equal to bcount.
This then triggers a KASSERT in physio_biodone:
        if (done == todo)
                KASSERT(bp->b_error == 0);
Detect this case in wd(4) (so that the workaround works for other controllers
too if they have the same issue, or if the issue is with the drive)
and claim we didn't read/write anything.

(jdc)

2012-07-03 21:07:41 UTC MAIN commitmail json YAML

no home-brewed NETBSDSRCDIR please (fix the build)

(christos)

2012-07-03 21:03:41 UTC MAIN commitmail json YAML

An X!= command, can cause Shell_Init() to be called before Job_ParseShell().
Job_ParseShell() should call Shell_Init() again if needed
to ensure shellPath is correct.

(sjg)

2012-07-03 20:48:40 UTC netbsd-6 commitmail json YAML

Pull up revisions:
  src/sys/dev/iscsi/iscsi_globals.h revisions 1.3,1.4
  src/sys/dev/iscsi/iscsi_main.c revisions 1.4,1.5
  src/sys/dev/iscsi/iscsi_text.c revisions 1.4,1.5
  src/sys/dev/iscsi/iscsi_ioctl.c revisions 1.3,1.4
  src/sys/dev/iscsi/iscsi_send.c revisions 1.3,1.4,1.5
  src/sys/dev/iscsi/iscsi_utils.c revisions 1.2,1.3,1.4
  src/sbin/iscsid/iscsid_discover.c revision 1.4
  src/sys/dev/iscsi/iscsi_rcv.c revision 1.3
  src/sbin/iscsictl/iscsic_driverif.c revisions 1.5,1.6
(requested by martin in ticket #357, with updates from mhitch and mlelstv).

avoid namespace pollution when debugging
don't panic when printing data for a dead (NULL) connection

Close file descriptor passed into the kernel on success.
Fix locking of file handle. More cleanup on error paths.
Keep track of CCBs, so they cannot be used after a session ends.
Handle CCB timeouts even when the connection is terminated.
Compute firstdata, firstimmed correctly.

assemble_login_parameters() has a strange error reporting convention:
errors are positive numbers, so <= 0 is good, not >= ...
This makes CHAP authenticated iscsi logins work.

use first successful connection to a ISNS server

Add more debugging, fix filehandle usage, login negotiation and session
shutdown.
Add #ifdef'd code to send negotiation parameters in hex instead of base64,
so it works against older Linux targets.

report luns returns a 32bit list length.

Make digests work also on big endian machines.

it's really 32bit

(jdc)

2012-07-03 19:09:44 UTC MAIN commitmail json YAML

Add DIAGNOSTICS section.

(rkujawa)

2012-07-03 18:12:06 UTC MAIN commitmail json YAML

mudflap debug libraries are gcc 4.5 specific.

(njoly)

2012-07-03 15:24:37 UTC MAIN commitmail json YAML

Apply patch:
PR/46583: BIOS bootloader problems with partitions that start above 1TB

Should be pulled up to netbsd-6.

(tsutsui)

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

Don't kill the iso partition at 'a' when we have a udf raw partition.
Makes cd0a mountable again. Should be pulled up to 6 (after people
verify that it works in the broken cases)
http://mail-index.netbsd.org/current-users/2012/06/14/msg020415.html

(christos)

2012-07-03 09:28:08 UTC MAIN commitmail json YAML

Finish previous.

(wiz)

2012-07-03 09:27:52 UTC MAIN commitmail json YAML

Reference libusbhid instead of usb(3) (which was the predecessor for libusbhid).
Bump date.

(wiz)

2012-07-02 22:42:18 UTC MAIN commitmail json YAML

- Increase MAXPARTITIONS for vax from 8 to 16, using the standard NetBSD
  mechanism to ensure all existing /dev nodes continue to work
- Adjust boot block layout to fit additional partitions
- Adjust number of inodes on install media

(abs)

2012-07-02 21:44:09 UTC MAIN commitmail json YAML

add reference to usb(3) and zlib(3).

(oki)

2012-07-02 21:42:47 UTC netbsd-6 commitmail json YAML

Tickets 286, 363, 366, 370, 372, 373, 374, 375, 376, 377, 380.

(jdc)

2012-07-02 21:39:24 UTC netbsd-6 commitmail json YAML

Pull up revision 1.15 (requested by abs in ticket #380).

Casting an uint32_t pointer to (long *) may have been acceptable
in the eighties but that time has long past. Minimally invasive
fix using a temporary long variable, so while we can still overflow
at least we're less broken.

(jdc)

2012-07-02 21:33:00 UTC netbsd-6 commitmail json YAML

Pull up revision 1.71 (requested by reinoud in ticket #377).

Implement dummy `cpu_mcontext_validate' to make it compile again. This
function needs to be implemented in the target secton one day for extra
security.

(jdc)

2012-07-02 21:28:09 UTC netbsd-6 commitmail json YAML

Pull up revision 1.30 (requested by kardel in ticket #376).

PR/44647: commit fix proposed by Takahiro HAYASHI
verified to be working in -current and also helps NetBSD-6 BETA2

(jdc)

2012-07-02 21:20:52 UTC netbsd-6 commitmail json YAML

Pull up revision 1.9 (requested by jnemeth in ticket #375).

PR/46601 - Jim Bernard -- add support for rc_directories

(jdc)

2012-07-02 21:17:18 UTC netbsd-6 commitmail json YAML

Pull up revision 1.44 (requested by dholland in ticket #374).

Omit outdated cryptographic claims as noted in PR 44160.

Interested readers can follow the references or read Wikipedia; this
is the wrong place to explain cryptographic hash functions and give
security advice.

(jdc)

2012-07-02 21:11:50 UTC netbsd-6 commitmail json YAML

Pull up revision 1.86 (requested by riastradh in ticket #373).

Take the kernel lock in atapibusdetach just like atapibuschilddet.

Fixes kassert in scsipi_lookup_periph when I press the power button
on one of my laptops (and maybe another one) to power it off.

ok mrg

(jdc)

2012-07-02 21:10:31 UTC MAIN commitmail json YAML

2012-07-02 21:01:48 UTC netbsd-6 commitmail json YAML

Pull up revisions:
  src/sys/arch/xen/include/xenpmap.h revision 1.35 via patch
  src/sys/arch/xen/x86/xen_pmap.c revision 1.22 via patch
(requested by jym in ticket #372).

Enable the map/unmap recursive mapping functions for all Xen ports for
save/restore.

For an unknown reason (to me) Xen refuses to update VM translations
when the entry is pointing back to itself (which is precisely
what our recursive VM model does). So enable the functions that take
care of this, which will avoid all sort of memory corruption upon restore
leading domU to trample upon itself.

Save/restore works again for amd64. The occasional domU frontend
corruption is
still present, but is harmless to dom0. Now we have a working shell and
ddb inside domU, that helps debugging a tiny bit.

XXX pull-up to -6.

(jdc)

2012-07-02 20:37:29 UTC netbsd-6 commitmail json YAML

Pull up revision 1.32 (requested by tsutsui in ticket #370).

Recent sysinst seems to require chroot.

(jdc)

2012-07-02 20:02:43 UTC MAIN commitmail json YAML

Sort description of flags.

(wiz)

2012-07-02 19:04:42 UTC netbsd-6 commitmail json YAML

Pull up revisions:
  src/sys/kern/subr_pool.c revision 1.196
  src/share/man/man9/pool_cache.9 patch
(requested by jym in ticket #366).

As pool reclaiming is unlikely to happen at interrupt or softint
context, re-enable the portion of code that allows invalidation of
CPU-bound pool caches.

Two reasons:
- CPU cached objects being invalidated, the probability of fetching an
obsolete object from the pool_cache(9) is greatly reduced. This speeds
up pool_cache_get() quite a bit as it does not have to keep destroying
objects until it finds an updated one when an invalidation is in progress.

- for situations where we have to ensure that no obsolete object remains
after a state transition (canonical example: pmap mappings between Xen
VM restoration), invalidating all pool_cache(9) is the safest way to go.

As it uses xcall(9) to broadcast the execution of pool_cache_transfer(),
pool_cache_invalidate() cannot be called from interrupt or softint
context (scheduling a xcall(9) can put a LWP to sleep).

pool_cache_xcall() => pool_cache_transfer() to reflect its use.

Invalidation being a costly process (1000s objects may be destroyed),
all places where pool_cache_invalidate() may be called from
interrupt/softint context will now get caught by the proper KASSERT(),
and fixed. Ping me when you see one.

Tested under i386 and amd64 by running ATF suite within 64MiB HVM
domains (tried triggering pgdaemon a few times).

No objection on tech-kern@.

XXX a similar fix has to be pulled up to NetBSD-6, but with a more
conservative approach.

See http://mail-index.netbsd.org/tech-kern/2012/05/29/msg013245.html

(jdc)

2012-07-02 18:50:11 UTC netbsd-6 commitmail json YAML

Pull up revisions:
  src/sbin/iscsictl/iscsic_driverif.c revisions 1.3,1.4
(requested by martin in ticket #363).

Avoid printing values past the end of the buffer, and a size_t underflow.

Fix previous

(jdc)

2012-07-02 18:16:47 UTC MAIN commitmail json YAML

ata(4): added support for sata Port MultiPliers (PMP)

(bouyer)

2012-07-02 18:15:48 UTC MAIN commitmail json YAML

Add sata Port MultiPlier (PMP) support to the ata bus layer,
as described in
http://mail-index.netbsd.org/tech-kern/2012/06/23/msg013442.html
PMP support in integrated to the atabus layer.
struct ata_channel's ch_drive[] is not dynamically allocated, and ch_ndrive
(renamed to ch_ndrives) closely reflects the size of the ch_drive[] array.
Add helper functions atabus_alloc_drives() and atabus_free_drives()
to manage ch_drive[]/ch_ndrives.
Add wdc_maxdrives to struct wdc_softc so that bus front-end can specify
how much drive they really support (master/slave or single).
ata_reset_drive() callback gains a uint32_t *sigp argument which,
when not NULL, will contain the signature of the device being reset.
While there, some cosmetic changes:
- added a drive_type enum to ata_drive_datas, and stop encoding the
  probed drive type in drive_flags (we were out of drive flags anyway).
- rename DRIVE_ATAPIST to DRIVE_ATAPIDSCW to better reflect what this
  really is
- remove ata_channel->ata_drives, it's redundant with the pointer in
  ata_drive_datas
- factor out the interpretation of SATA signatures in sata_interpet_sig()

propagate these changes to the ATA HBA drivers, and add support for PMP
to ahcisata(4) and siisata(4).

Thanks to:
- Protocase (http://www.protocase.com/) which provided a system
  with lots of controllers, SATA PMP and drive slots
- Conservation Genomics Laboratory, Department of Biology, New Mexico State
  University for hosting the above system
- Brook Milligan, who set up remote access and has been very responsive
  when SATA cable move was needed

(bouyer)

2012-07-02 18:13:13 UTC MAIN commitmail json YAML

Update minimal requirements. Note Mediator PCI 1200 support.

(rkujawa)

2012-07-02 18:01:18 UTC netbsd-6 commitmail json YAML

Pull up revisions:
  src/sys/conf/files revision 1.1050
  src/sys/miscfs/genfs/genfs.h revision 1.30 via patch
  src/sys/miscfs/genfs/genfs_rename.c revision 1.1 via patch
  src/sys/rump/librump/rumpvfs/Makefile.rumpvfs revision 1.33
(requested by riastradh in ticket #286).

Implement a genfs_rename abstraction.

First major step in incrementally adapting all the file systems to a
saner rename VOP protocol.

(jdc)

2012-07-02 15:40:33 UTC MAIN commitmail json YAML

Increase the retry count in sparc64_send_ipi(), and add loops in
mp_pause_cpus() and mp_resume_cpus().
Fixes "RED State Exception" on an 8-way E3500, and allows it to enter and
leave DDB without failing to pause or resume one or more CPU's.

(jdc)

2012-07-02 12:17:12 UTC MAIN commitmail json YAML

Fix missing <stdarg.h> include that breaks the autobuild

(reinoud)

2012-07-02 11:23:41 UTC MAIN commitmail json YAML

Apply lockup fixes from Havard Eidnes/OpenBSD in PR port-sparc64/46260:
  - add an additional watchdog for RX overflow
  - re-initialise the chip on device timeout
Also alter the interrupt blanking rate to 8 packets, as per OpenSolaris.

(jdc)

2012-07-02 06:55:58 UTC MAIN commitmail json YAML

npf_packet_handler: fix gcc unused warning.

(rmind)

2012-07-02 06:52:21 UTC MAIN commitmail json YAML

xz-5.0.4 out.

(wiz)

2012-07-02 01:05:49 UTC MAIN commitmail json YAML

in cpu_boot_secondary_processors(), wait until all the other CPUs
have registered themselves in kcpuset_running before returning.
recent changes to the TLB invalidation xcall code assume that
any CPU which will receive a broadcast IPI is registered in
kcpuset_running, so ensure that is true by waiting here.

(chs)

2012-07-01 23:21:07 UTC MAIN commitmail json YAML

2012-07-01 22:04:44 UTC MAIN commitmail json YAML

Remove the wrapper of frag6_input(), restore the behaviour changed in r1.50.
Fix ip6_reass_packet() wrapper used by NPF.  Remove #if 0 code for handling
overlaping fragments - IPv6 desupported them anyway.  Convert to kmem(9).

(rmind)

2012-07-01 18:13:51 UTC MAIN commitmail json YAML

npf_state_tcp: fix for FIN retransmission and out-of-order ACK case.

(rmind)

2012-07-01 17:00:32 UTC MAIN commitmail json YAML

Remove weird markup.

(wiz)

2012-07-01 16:18:00 UTC MAIN commitmail json YAML

2012-07-01 16:17:06 UTC MAIN commitmail json YAML

forgot the "7"...

(perry)

2012-07-01 16:09:12 UTC MAIN commitmail json YAML

Add reference to rfc6056.7

(perry)

2012-07-01 04:21:10 UTC MAIN commitmail json YAML

2012-07-01 04:20:26 UTC MAIN commitmail json YAML

Add NTT DOCOMO L-02C entry.

(nonaka)

2012-06-30 23:36:20 UTC MAIN commitmail json YAML

2012-06-30 23:33:10 UTC MAIN commitmail json YAML

trap: move out info printing to trap_print() on amd64, reduce the differences
between amd64 and i386, add lowest kernel stack address.

(rmind)

2012-06-30 22:50:37 UTC MAIN commitmail json YAML

Extend the xpmap API, as described in [1]. This change is mechanical and
avoids exposing the MD phys_to_machine/machine_to_phys tables directly.
Added:

- xpmap_ptom handles PFN (pseudo physical) to MFN (machine frame number)
translations, and is under control of the domain.
- xpmap_mtop is its counterpart (MFN to PFN), and is under control of
hypervisor.

xpmap_ptom_map()      map a pseudo-phys address to a machine address
xpmap_ptom_unmap()    unmap a pseudo-phys address (invalidation)
xpmap_ptom_isvalid()  check for pseudo-phys address validity

The parameters are physical/machine addresses, like bus_dma/bus_space(9).
As x86 MFNs are tracked by u_long (Xen's choice) while machine addresses
can be 64 bits entities (PAE), use ptoa() to avoid truncation when bit
shifting by PAGE_SHIFT.

I kept the same namespace (xpmap_) to avoid code churn.

[1] http://mail-index.netbsd.org/port-xen/2009/05/09/msg004951.html

XXX will document ptoa/atop/trunc_page separately.

(jym)

2012-06-30 21:31:15 UTC MAIN commitmail json YAML

2012-06-30 15:34:02 UTC MAIN commitmail json YAML

Use 32KB/4KB for default block/fragment size on >= 128 GB partitions
for modern AFT disks.  No particular comments against PR install/46629.

(tsutsui)

2012-06-30 15:03:58 UTC MAIN commitmail json YAML

2012-06-30 12:42:37 UTC MAIN commitmail json YAML

2012-06-30 11:01:42 UTC MAIN commitmail json YAML

Add a sanity check if secsize returned from getdisksize() isn't bogus.
This prevent possible panic "panic: buf mem pool index 23" later in
vfs_bio.c:buf_mempoolidx().
(I'm not sure if it's okay for getdisksize() to assume that
partinfo taken from DIOCGPART is properly initialized
on all disk(9) devices or not)

See also:
http://mail-index.NetBSD.org/source-changes/2012/06/30/msg035298.html

(tsutsui)

2012-06-30 10:52:32 UTC MAIN commitmail json YAML

Make sure that disklabel of md(4) device is initialized
in the case where it's configured in MD md_open_hook().

Without this, msdosfs_mountfs() (which is called from msdosfs_mountroot())
will be called with uninitialized disklabel (d_secsize == 0) and
it gets "panic: buf mem pool index 23" later on atari.
This is because getdisksize() doesn't check returned d_secsize value
and msdosfs_mountfs() blindly calls bread(9) with size==0 in that case.

Should be pulled up to netbsd-6 (at least for atari).

(tsutsui)

2012-06-30 10:37:00 UTC MAIN commitmail json YAML

Add a dirty hack for atari's ancient installation ramdisk:
Forcibly configure md0, md1, and md2 devices before setroot()
for atari's traditional "auto-load from floppy on open" md_root device
which loads installation ramdisk image from floppy.
md(4) has been changed dynamically configured at first open after 5.0
and md devices won't appear in "root device:" prompt without this hack.
Tested on TT030.

Should be pulled up to netbsd-6.

(tsutsui)