CVS commit: src/sys/fs/smbfs

2011-10-23 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun Oct 23 08:42:06 UTC 2011

Modified Files:
src/sys/fs/smbfs: smbfs_kq.c

Log Message:
VOP_GETATTR() needs a shared lock at least.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/fs/smbfs/smbfs_kq.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/i386/i386

2011-10-23 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Oct 23 13:02:32 UTC 2011

Modified Files:
src/sys/arch/i386/i386: longrun.c

Log Message:
PR #32894: protection fault trap in tmx86_get_longrun_mode

Use rdmsr_safe in tmx86_init_longrun to verify that the MSRs are present.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/i386/i386/longrun.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/man4

2011-10-23 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Sun Oct 23 13:20:59 UTC 2011

Modified Files:
src/share/man/man4: ddb.4

Log Message:
Document "show proc". Be more verbose about commands that print
information about processes especially the '>' sign (e.g. LWP is
currently running).

Bump date. Straight from Hackathon@ESPCI.


To generate a diff of this commit:
cvs rdiff -u -r1.145 -r1.146 src/share/man/man4/ddb.4

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



CVS commit: src/sys/arch/x68k/dev

2011-10-23 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Oct 23 13:21:54 UTC 2011

Modified Files:
src/sys/arch/x68k/dev: kbd.c

Log Message:
Calling psignal(9) (via EV_WAKEUP()) in interrupt handlers
could cause mutex error panic, so defer it via softint(9).
This should fix panic on heavy key strokes during running Xserver.

Should be pulled up to netbsd-5.

XXX: amiga and atari might have the similar problem?


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/x68k/dev/kbd.c

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



CVS commit: src/sys/ddb

2011-10-23 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Sun Oct 23 13:30:20 UTC 2011

Modified Files:
src/sys/ddb: db_proc.c

Log Message:
Like ddb(4) "ps/l", use '>' sign to indicate running LWPs for the /w
modifier.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/ddb/db_proc.c

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



CVS commit: src/lib/libedit

2011-10-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Oct 23 17:37:55 UTC 2011

Modified Files:
src/lib/libedit: chared.c

Log Message:
Fixed misplaced parenthesis (Nirbhay Choubey)


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/lib/libedit/chared.c

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



CVS commit: othersrc/external/bsd/iscsi/sbin/iscsid

2011-10-23 Thread Alistair G. Crooks
Module Name:othersrc
Committed By:   agc
Date:   Sun Oct 23 20:02:52 UTC 2011

Modified Files:
othersrc/external/bsd/iscsi/sbin/iscsid: Makefile

Log Message:
also build the man page for iscsid


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 othersrc/external/bsd/iscsi/sbin/iscsid/Makefile

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



CVS commit: src/libexec/ld.elf_so

2011-10-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Oct 23 21:06:08 UTC 2011

Modified Files:
src/libexec/ld.elf_so: rtld.c

Log Message:
Don't block SIGTRAP so that on architectures where the debugger needs to
be able to receive sigtrap for breakpoints to work, it can. For example
we are setting breakpoints inside dlopen(), after we've blocked the signal,
so the process keep trapping and looping over the trap instruction without
being able to send the signal. Another way would be to move the
_rtld_debug_state() calls outside the critical section...


To generate a diff of this commit:
cvs rdiff -u -r1.152 -r1.153 src/libexec/ld.elf_so/rtld.c

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



CVS commit: src/sbin

2011-10-23 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Sun Oct 23 21:11:23 UTC 2011

Added Files:
src/sbin/iscsictl: Makefile iscsic_daemonif.c iscsic_driverif.c
iscsic_globals.h iscsic_main.c iscsic_parse.c iscsic_test.c
iscsictl.8
src/sbin/iscsid: Makefile iscsid.8 iscsid.h iscsid_discover.c
iscsid_driverif.c iscsid_globals.h iscsid_lists.c iscsid_main.c
iscsid_targets.c

Log Message:
Start to move the in-kernel iSCSI initiator, kindly contributed to the
NetBSD Foundation by Wasabi Systems, from

othersrc/external/bsd/iscsi/{iscsictl,iscsid}

to

src/sbin/{iscsictl,iscsid}


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sbin/iscsictl/Makefile \
src/sbin/iscsictl/iscsic_daemonif.c src/sbin/iscsictl/iscsic_driverif.c \
src/sbin/iscsictl/iscsic_globals.h src/sbin/iscsictl/iscsic_main.c \
src/sbin/iscsictl/iscsic_parse.c src/sbin/iscsictl/iscsic_test.c \
src/sbin/iscsictl/iscsictl.8
cvs rdiff -u -r0 -r1.1 src/sbin/iscsid/Makefile src/sbin/iscsid/iscsid.8 \
src/sbin/iscsid/iscsid.h src/sbin/iscsid/iscsid_discover.c \
src/sbin/iscsid/iscsid_driverif.c src/sbin/iscsid/iscsid_globals.h \
src/sbin/iscsid/iscsid_lists.c src/sbin/iscsid/iscsid_main.c \
src/sbin/iscsid/iscsid_targets.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/iscsi

2011-10-23 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Sun Oct 23 21:15:02 UTC 2011

Added Files:
src/sys/dev/iscsi: Makefile base64.c base64.h files.iscsi iscsi.h
iscsi_globals.h iscsi_ioctl.c iscsi_ioctl.h iscsi_main.c
iscsi_pdu.h iscsi_perf.h iscsi_profile.c iscsi_profile.h
iscsi_rcv.c iscsi_send.c iscsi_test.c iscsi_test.h
iscsi_testlocal.h iscsi_text.c iscsi_utils.c

Log Message:
Start to move the in-kernel iSCSI initiator, kindly contributed to the
NetBSD Foundation by Wasabi Systems, from

othersrc/external/bsd/iscsi/sys/dev/iscsi

to

src/sys/dev/iscsi


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/dev/iscsi/Makefile src/sys/dev/iscsi/base64.c \
src/sys/dev/iscsi/base64.h src/sys/dev/iscsi/files.iscsi \
src/sys/dev/iscsi/iscsi.h src/sys/dev/iscsi/iscsi_globals.h \
src/sys/dev/iscsi/iscsi_ioctl.c src/sys/dev/iscsi/iscsi_ioctl.h \
src/sys/dev/iscsi/iscsi_main.c src/sys/dev/iscsi/iscsi_pdu.h \
src/sys/dev/iscsi/iscsi_perf.h src/sys/dev/iscsi/iscsi_profile.c \
src/sys/dev/iscsi/iscsi_profile.h src/sys/dev/iscsi/iscsi_rcv.c \
src/sys/dev/iscsi/iscsi_send.c src/sys/dev/iscsi/iscsi_test.c \
src/sys/dev/iscsi/iscsi_test.h src/sys/dev/iscsi/iscsi_testlocal.h \
src/sys/dev/iscsi/iscsi_text.c src/sys/dev/iscsi/iscsi_utils.c

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



CVS commit: src/sys/kern

2011-10-23 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Sun Oct 23 21:41:23 UTC 2011

Modified Files:
src/sys/kern: subr_workqueue.c

Log Message:
Turn a workqueue(9) name into an array in the struct workqueue, rather
than a const char *. This avoids keeping a reference to a string
owned by caller (string could be allocated on stack).


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/kern/subr_workqueue.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/man4

2011-10-23 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Sun Oct 23 22:02:45 UTC 2011

Modified Files:
src/share/man/man4: ddb.4

Log Message:
ps/l shows LWP name, not command name.


To generate a diff of this commit:
cvs rdiff -u -r1.146 -r1.147 src/share/man/man4/ddb.4

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



CVS commit: src/sbin/iscsictl

2011-10-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Oct 23 23:41:56 UTC 2011

Modified Files:
src/sbin/iscsictl: iscsic_globals.h iscsic_main.c

Log Message:
add printflike and fix the format error.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sbin/iscsictl/iscsic_globals.h \
src/sbin/iscsictl/iscsic_main.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/hdaudio

2011-10-23 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Oct 24 02:08:23 UTC 2011

Modified Files:
src/sys/dev/pci/hdaudio: hdafg.c

Log Message:
ossaudio's SNDCTL_DSP_GETOSPACE will call AUDIO_SETINFO if the block size
isn't a power of two, and since the block size is changing this tells
audio(4) to halt output, reconfigure the device, then trigger output again.

mplayer's oss driver uses SNDCTL_DSP_GETOSPACE a lot.

Instead of simply rounding to 128 bytes as required by the hardware, change
hdafg_round_blocksize to return one of 128, 256, 512, 1024, 2048, 4096,
or 8192.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/pci/hdaudio/hdafg.c

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