CVS commit: [netbsd-6-0] src/doc

2012-11-29 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Nov 30 06:32:31 UTC 2012

Modified Files:
src/doc [netbsd-6-0]: CHANGES-6.0.1

Log Message:
Ticket 728.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.25 -r1.1.2.26 src/doc/CHANGES-6.0.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6-0] src/sys/arch/xen/xenbus

2012-11-29 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Nov 30 06:30:39 UTC 2012

Modified Files:
src/sys/arch/xen/xenbus [netbsd-6-0]: xenbus_xs.c

Log Message:
Pull up following revision(s) (requested by royger in ticket #728):
sys/arch/xen/xenbus/xenbus_xs.c: revision 1.23
xen: prevent adding duplicate xenwatches
When a xenstore watch triggers, the event is processed on process_msg
and if a valid handle it's found the handler is queued for execution
on the pending xen watches queue (watch_events).
This may present a problem if we trigger a xenwatch several times and
then disconnect the device. If several xenwatch events are added to
the watch_events queue and the device is disconnected afterwards, the
first processed xenwatch event will disconnect the device, remove the
watch and free all resources. This triggers a panic if there are
pending xenwatch events for that device already queued in the local
queue of the function xenwatch_thread, since when the next watch that
has the same handler tries to execute we get a panic due to the fact
that the device is already disconnected and all resources had been
freed:
xenbus_watch: 0xab7cd1d0
xbw_callback: 0x80755dd4
otherend_changed: backend/vif/1/0
backend/vif/1/0/state 6
backend/vif/1/0 -> Closed
backend/vif/1/0 -> backend_device, b_detach: 0x8075a2bf
xenbus_watch: 0xab7cd1d0
xbw_callback: 0xfc5ec02183e547a8
fatal protection fault in supervisor mode
trap type 4 code 0 rip 80756596 cs e030 rflags 10246 cr2
7f7ff7b4c020 ilevel 0 rsp a000e6d82c50
curlwp 0xaa72d580 pid 0 lid 36 lowest kstack
0xa000e6d7f000
kernel: protection fault trap, code=0
Stopped in pid 0.36 (system) at netbsd:xenwatch_thread+0xc7:call
*10(%rax
)
xenwatch_thread() at netbsd:xenwatch_thread+0xc7
ds  f
es  5987
fs  2c40
gs  1460
rdi ab7cd1d0
rsi aa5477f0
rbp a000e6d82c70
rbx ab7c14c0
rdx 2
rcx f
rax ab7cd1d0
r8  78
r9  ffef
r10 deadbeef
r11 1
r12 a000e6d82c50
r13 aa72d580
r14 aa72d580
r15 0
rip 80756596xenwatch_thread+0xc7
cs  e030
rflags  10246
rsp a000e6d82c50
ss  e02b
netbsd:xenwatch_thread+0xc7:call*10(%rax)


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.22.14.1 src/sys/arch/xen/xenbus/xenbus_xs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/doc

2012-11-29 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Nov 30 04:30:27 UTC 2012

Modified Files:
src/doc [netbsd-6]: CHANGES-6.1

Log Message:
Ticket 728 and 729.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.48 -r1.1.2.49 src/doc/CHANGES-6.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src

2012-11-29 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Nov 30 04:27:55 UTC 2012

Modified Files:
src/distrib/sets/lists/base [netbsd-6]: shl.mi
src/lib/libnpf [netbsd-6]: Makefile

Log Message:
Pull up following revision(s) (requested by christos in ticket #729):
lib/libnpf/Makefile: revision 1.4
distrib/sets/lists/base/shl.mi: revision 1.641
Install in /lib too because npfctl is linked against it.


To generate a diff of this commit:
cvs rdiff -u -r1.616.2.6 -r1.616.2.7 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.1 -r1.1.8.1 src/lib/libnpf/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/sys/arch/xen/xenbus

2012-11-29 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Nov 30 04:24:41 UTC 2012

Modified Files:
src/sys/arch/xen/xenbus [netbsd-6]: xenbus_xs.c

Log Message:
Pull up following revision(s) (requested by royger in ticket #728):
sys/arch/xen/xenbus/xenbus_xs.c: revision 1.23
xen: prevent adding duplicate xenwatches
When a xenstore watch triggers, the event is processed on process_msg
and if a valid handle it's found the handler is queued for execution
on the pending xen watches queue (watch_events).
This may present a problem if we trigger a xenwatch several times and
then disconnect the device. If several xenwatch events are added to
the watch_events queue and the device is disconnected afterwards, the
first processed xenwatch event will disconnect the device, remove the
watch and free all resources. This triggers a panic if there are
pending xenwatch events for that device already queued in the local
queue of the function xenwatch_thread, since when the next watch that
has the same handler tries to execute we get a panic due to the fact
that the device is already disconnected and all resources had been
freed:
xenbus_watch: 0xab7cd1d0
xbw_callback: 0x80755dd4
otherend_changed: backend/vif/1/0
backend/vif/1/0/state 6
backend/vif/1/0 -> Closed
backend/vif/1/0 -> backend_device, b_detach: 0x8075a2bf
xenbus_watch: 0xab7cd1d0
xbw_callback: 0xfc5ec02183e547a8
fatal protection fault in supervisor mode
trap type 4 code 0 rip 80756596 cs e030 rflags 10246 cr2
7f7ff7b4c020 ilevel 0 rsp a000e6d82c50
curlwp 0xaa72d580 pid 0 lid 36 lowest kstack
0xa000e6d7f000
kernel: protection fault trap, code=0
Stopped in pid 0.36 (system) at netbsd:xenwatch_thread+0xc7:call
*10(%rax
)
xenwatch_thread() at netbsd:xenwatch_thread+0xc7
ds  f
es  5987
fs  2c40
gs  1460
rdi ab7cd1d0
rsi aa5477f0
rbp a000e6d82c70
rbx ab7c14c0
rdx 2
rcx f
rax ab7cd1d0
r8  78
r9  ffef
r10 deadbeef
r11 1
r12 a000e6d82c50
r13 aa72d580
r14 aa72d580
r15 0
rip 80756596xenwatch_thread+0xc7
cs  e030
rflags  10246
rsp a000e6d82c50
ss  e02b
netbsd:xenwatch_thread+0xc7:call*10(%rax)


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.22.8.1 src/sys/arch/xen/xenbus/xenbus_xs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/sets/lists/tests

2012-11-29 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Nov 30 01:42:43 UTC 2012

Modified Files:
src/distrib/sets/lists/tests: mi

Log Message:
Remove the now-obsolete ipf/t_bpf.sh test


To generate a diff of this commit:
cvs rdiff -u -r1.509 -r1.510 src/distrib/sets/lists/tests/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/ipf

2012-11-29 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Nov 30 01:41:50 UTC 2012

Modified Files:
src/tests/ipf: Makefile
Removed Files:
src/tests/ipf: Atffile

Log Message:
Rather than providing a custom Atffile that requires separate
maintenance, just don't build or install the t_bpf.sh test.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r0 src/tests/ipf/Atffile
cvs rdiff -u -r1.4 -r1.5 src/tests/ipf/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/mkubootimage

2012-11-29 Thread Jeremy C. Reed
Module Name:src
Committed By:   reed
Date:   Thu Nov 29 23:23:23 UTC 2012

Added Files:
src/usr.bin/mkubootimage: mkubootimage.1

Log Message:
Add a manual for mkubootimage(1). It was missing.
It had one review on netbsd-docs@.
I didn't add the manual to the Makefile nor distrib set yet --
waiting for more review or improvements first.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/usr.bin/mkubootimage/mkubootimage.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/tic

2012-11-29 Thread Marc Balmer
Module Name:src
Committed By:   mbalmer
Date:   Thu Nov 29 23:01:16 UTC 2012

Modified Files:
src/usr.bin/tic: tic.c

Log Message:
Remove an obsolete (and incomprehensible) comment.  Discussed with and ok
Roy Marples, Joerg Sonnenberger.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.bin/tic/tic.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/ipf

2012-11-29 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Nov 29 18:54:43 UTC 2012

Modified Files:
src/tests/ipf: h_common.sh

Log Message:
fix typo in previous - missing quote


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/ipf/h_common.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2012-11-29 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Nov 29 18:48:27 UTC 2012

Modified Files:
src/sys/dev/pci: ichsmb.c

Log Message:
Add C600(and X79) SMBus devices.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/pci/ichsmb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2012-11-29 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Nov 29 18:46:15 UTC 2012

Modified Files:
src/sys/dev/pci: pcidevs.h pcidevs_data.h

Log Message:
regen.


To generate a diff of this commit:
cvs rdiff -u -r1.1135 -r1.1136 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.1134 -r1.1135 src/sys/dev/pci/pcidevs_data.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2012-11-29 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Nov 29 18:45:20 UTC 2012

Modified Files:
src/sys/dev/pci: pcidevs

Log Message:
Update SMBus devices from Document(c600-series-chipset-spec-update and
x79-express-chipset-specification-update)


To generate a diff of this commit:
cvs rdiff -u -r1.1143 -r1.1144 src/sys/dev/pci/pcidevs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb6-plus] src/sys/arch/arm/broadcom

2012-11-29 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Nov 29 18:42:06 UTC 2012

Modified Files:
src/sys/arch/arm/broadcom [matt-nb6-plus]: bcm53xx_reg.h bcm53xx_usb.c

Log Message:
Sync with HEAD.


To generate a diff of this commit:
cvs rdiff -u -r1.10.2.2 -r1.10.2.3 src/sys/arch/arm/broadcom/bcm53xx_reg.h
cvs rdiff -u -r1.2.4.2 -r1.2.4.3 src/sys/arch/arm/broadcom/bcm53xx_usb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb6-plus] src/sys/arch/arm/cortex

2012-11-29 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Nov 29 18:33:41 UTC 2012

Modified Files:
src/sys/arch/arm/cortex [matt-nb6-plus]: a9tmr.c

Log Message:
Sync with HEAD.


To generate a diff of this commit:
cvs rdiff -u -r1.3.4.2 -r1.3.4.3 src/sys/arch/arm/cortex/a9tmr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/arm/include

2012-11-29 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Nov 29 18:15:33 UTC 2012

Modified Files:
src/sys/arch/arm/include: armreg.h

Log Message:
Add inlines for SCTRL


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sys/arch/arm/include/armreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/arm/broadcom

2012-11-29 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Nov 29 17:38:27 UTC 2012

Modified Files:
src/sys/arch/arm/broadcom: bcm53xx_reg.h bcm53xx_usb.c

Log Message:
Make sure to bring the ULPI ports out of reset.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/broadcom/bcm53xx_reg.h
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/broadcom/bcm53xx_usb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/arm/cortex

2012-11-29 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Nov 29 17:36:57 UTC 2012

Modified Files:
src/sys/arch/arm/cortex: a9tmr.c

Log Message:
Make sure we enable the timer since CFE doesn't enable it by default.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/cortex/a9tmr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/ipf

2012-11-29 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Nov 29 17:22:17 UTC 2012

Modified Files:
src/tests/ipf: t_nat_exec.sh

Log Message:
Update a couple of tests to indicate that they are broken/failing because
of missing input/expected data files


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/tests/ipf/t_nat_exec.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/ipf

2012-11-29 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Nov 29 17:11:19 UTC 2012

Modified Files:
src/tests/ipf: t_filter_parse.sh

Log Message:
Now that I've created PR/47262, reference it in the tests that fail
because of the PR


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/tests/ipf/t_filter_parse.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/ipf

2012-11-29 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Nov 29 17:10:21 UTC 2012

Modified Files:
src/tests/ipf: h_common.sh

Log Message:
Add another test option for expected failures, rather than simply
skipping tests


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/ipf/h_common.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb6-plus] src/sys/compat/linux/arch/arm

2012-11-29 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Nov 29 16:31:01 UTC 2012

Modified Files:
src/sys/compat/linux/arch/arm [matt-nb6-plus]: linux_machdep.c

Log Message:
Sync with HEAD


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.29.16.1 src/sys/compat/linux/arch/arm/linux_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/sets/lists/base

2012-11-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Nov 29 16:18:35 UTC 2012

Modified Files:
src/distrib/sets/lists/base: shl.mi

Log Message:
add libpnf to /lib


To generate a diff of this commit:
cvs rdiff -u -r1.640 -r1.641 src/distrib/sets/lists/base/shl.mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libnpf

2012-11-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Nov 29 16:17:15 UTC 2012

Modified Files:
src/lib/libnpf: Makefile

Log Message:
install in /lib too because npfctl is linked against it.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libnpf/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/ipf

2012-11-29 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Nov 29 16:05:34 UTC 2012

Modified Files:
src/tests/ipf: t_bpf.sh

Log Message:
Even though this test is currently disabled, fix it so it looks for the
correct input and expected-output files for test case bpf_f1


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/ipf/t_bpf.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/crypto/dist/ipsec-tools/src

2012-11-29 Thread VANHULLEBUS Yvan
Module Name:src
Committed By:   vanhu
Date:   Thu Nov 29 15:31:25 UTC 2012

Modified Files:
src/crypto/dist/ipsec-tools/src/racoon: algorithm.c algorithm.h
cfparse.y cftoken.l crypto_openssl.c crypto_openssl.h ipsec_doi.c
ipsec_doi.h pfkey.c racoon.conf.5 strnames.c
src/crypto/dist/ipsec-tools/src/setkey: token.l

Log Message:
Added support for AES GCM 16 in phase2 negociations. Code from Christophe Carre 
/ NETASQ


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/crypto/dist/ipsec-tools/src/racoon/algorithm.c
cvs rdiff -u -r1.5 -r1.6 src/crypto/dist/ipsec-tools/src/racoon/algorithm.h
cvs rdiff -u -r1.47 -r1.48 src/crypto/dist/ipsec-tools/src/racoon/cfparse.y \
src/crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
cvs rdiff -u -r1.26 -r1.27 src/crypto/dist/ipsec-tools/src/racoon/cftoken.l
cvs rdiff -u -r1.21 -r1.22 \
src/crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
cvs rdiff -u -r1.7 -r1.8 \
src/crypto/dist/ipsec-tools/src/racoon/crypto_openssl.h
cvs rdiff -u -r1.13 -r1.14 src/crypto/dist/ipsec-tools/src/racoon/ipsec_doi.h
cvs rdiff -u -r1.58 -r1.59 src/crypto/dist/ipsec-tools/src/racoon/pfkey.c
cvs rdiff -u -r1.64 -r1.65 \
src/crypto/dist/ipsec-tools/src/racoon/racoon.conf.5
cvs rdiff -u -r1.9 -r1.10 src/crypto/dist/ipsec-tools/src/racoon/strnames.c
cvs rdiff -u -r1.17 -r1.18 src/crypto/dist/ipsec-tools/src/setkey/token.l

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/smbfs

2012-11-29 Thread Takeshi Nakayama
Module Name:src
Committed By:   nakayama
Date:   Thu Nov 29 11:58:49 UTC 2012

Modified Files:
src/sys/fs/smbfs: smbfs_node.c smbfs_vnops.c

Log Message:
- Remove redundant vput() before vgone().
- Avoid unnecessary mutex_exit() in smbfs_node_alloc().
- Set NGONE bit to from-name vnode to invalidate the smbnode cache.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/fs/smbfs/smbfs_node.c
cvs rdiff -u -r1.83 -r1.84 src/sys/fs/smbfs/smbfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man8/man8.sandpoint

2012-11-29 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Nov 29 11:34:33 UTC 2012

Modified Files:
src/share/man/man8/man8.sandpoint: altboot.8

Log Message:
New sentence, new line.
Bump date for previous.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/share/man/man8/man8.sandpoint/altboot.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man8/man8.sandpoint

2012-11-29 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Thu Nov 29 10:44:37 UTC 2012

Modified Files:
src/share/man/man8/man8.sandpoint: altboot.8

Log Message:
Mention Realtek driver bugs in the BUGS section.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/share/man/man8/man8.sandpoint/altboot.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/sysmon

2012-11-29 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Nov 29 10:29:46 UTC 2012

Modified Files:
src/sys/dev/sysmon: sysmon_envsys.c

Log Message:
Remove trailing white space(s) from name of random source.
And also, changind space(s) in the middle with '-'.
PR#47232.


To generate a diff of this commit:
cvs rdiff -u -r1.125 -r1.126 src/sys/dev/sysmon/sysmon_envsys.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/lib/libc/sys

2012-11-29 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Nov 29 09:13:44 UTC 2012

Modified Files:
src/tests/lib/libc/sys: t_kevent.c

Log Message:
Skip kqueue_unsupported_fd if the drvctl device is not present.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/lib/libc/sys/t_kevent.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.