Re: CVS commit: src/sys/uvm

2010-11-25 Thread Masao Uebayashi
On Wed, Nov 24, 2010 at 11:26:39PM -0800, Matt Thomas wrote: On Nov 24, 2010, at 10:47 PM, Masao Uebayashi wrote: On Thu, Nov 25, 2010 at 05:44:21AM +, YAMAMOTO Takashi wrote: hi, On Thu, Nov 25, 2010 at 04:18:25AM +, YAMAMOTO Takashi wrote: hi, Hi, thanks for review.

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Izumi Tsutsui
Now NetBSD/pmax kernel properly boots, but init(8) still doesn't start on GXemul emulating R3000 3MAX. GXemul's trace shows it's in infinite loop of uvm_fault(): --- : trap(0x8ff3c,:,PATH_LOCALE,0x7ded1044,..) _splset_noprof(0xfc01,0x0,PATH_LOCALE,0x7ded1044,..)

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Antti Kantee
On Thu Nov 25 2010 at 14:05:28 +, Izumi Tsutsui wrote: Module Name: src Committed By: tsutsui Date: Thu Nov 25 14:05:28 UTC 2010 Modified Files: src/sys/arch/pmax/stand/common: startprog.S Log Message: Fix botch on mips64 merge: - use correct offsets to pass args to

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Izumi Tsutsui
On Thu Nov 25 2010 at 14:05:28 +, Izumi Tsutsui wrote: Module Name:src Committed By: tsutsui Date: Thu Nov 25 14:05:28 UTC 2010 Modified Files: src/sys/arch/pmax/stand/common: startprog.S Log Message: Fix botch on mips64 merge: - use

re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread matthew green
--- locore_mips1.S 8 Nov 2010 18:09:38 - 1.68 +++ locore_mips1.S 25 Nov 2010 14:15:39 - @@ -418,7 +418,7 @@ NESTED_NOPROFILE(mips1_SystemCall, CALLF sw a3, FRAME_A3(k1) lw a0, CPUVAR(CURLWP) # 1st arg is curlwp

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Antti Kantee
On Thu Nov 25 2010 at 23:39:03 +0900, Izumi Tsutsui wrote: One remaining problem (which was debugged by Alessandro Forin) is that the post-mips64 brk/sbrk syscall stubs depend on syscall retaining t0, and the kernel doesn't do that. I have this in my local tree and it makes a mips1

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Antti Kantee
On Fri Nov 26 2010 at 03:01:29 +1100, matthew green wrote: --- locore_mips1.S 8 Nov 2010 18:09:38 - 1.68 +++ locore_mips1.S 25 Nov 2010 14:15:39 - @@ -418,7 +418,7 @@ NESTED_NOPROFILE(mips1_SystemCall, CALLF sw a3, FRAME_A3(k1) lw

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Antti Kantee
On Fri Nov 26 2010 at 03:01:29 +1100, matthew green wrote: --- locore_mips1.S 8 Nov 2010 18:09:38 - 1.68 +++ locore_mips1.S 25 Nov 2010 14:15:39 - @@ -418,7 +418,7 @@ NESTED_NOPROFILE(mips1_SystemCall, CALLF sw a3, FRAME_A3(k1) lw

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Izumi Tsutsui
Actually, I'm not sure on for sure. If we define the kernel to retain t regs over syscall, there is no need to touch the syscall stubs. The problem is essentially that the old stub did this: brk: syscall la t0 _C_LABEL sw v0 0(t0) and the new one: brk: la t0 _C_LABEL

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Izumi Tsutsui
brk: syscall la t0 _C_LABEL sw v0 0(t0) and the new one: brk: la t0 _C_LABEL syscall sw v0 0(t0) sbrk.S is that case: http://cvsweb.NetBSD.org/bsdweb.cgi/src/lib/libc/arch/mips/sys/sbrk.S.diff?r1=1.16r2=1.17 --- - lw v1, _C_LABEL(__curbrk) + PTR_LA

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Antti Kantee
On Fri Nov 26 2010 at 01:50:11 +0900, Izumi Tsutsui wrote: but shouldn't we fix stub first, then discuss pros and blah of the change? Current binaries have not worked at all on MIPS1 since the last December. Like I said, I don't have strong feelings about this. If you want to fix stubs, go for

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Matt Thomas
On Nov 25, 2010, at 9:00 AM, Antti Kantee wrote: On Fri Nov 26 2010 at 01:50:11 +0900, Izumi Tsutsui wrote: but shouldn't we fix stub first, then discuss pros and blah of the change? Current binaries have not worked at all on MIPS1 since the last December. Like I said, I don't have strong

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Izumi Tsutsui
Please don't. I've changed the mips1 syscall handler to save t0-t2 just like the mips3+ handler does. What about brk.S? --- Izumi Tsutsui

Re: CVS commit: src/sys/uvm

2010-11-25 Thread Nick Hudson
On Thursday 25 November 2010 04:45:31 Masao Uebayashi wrote: Module Name: src Committed By: uebayasi Date: Thu Nov 25 04:45:30 UTC 2010 Modified Files: src/sys/uvm: uvm_page.c uvm_page.h uvm_pglist.c Log Message: Revert vm_physseg allocation changes. A report says that

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Simon Burge
Matt Thomas wrote: On Nov 25, 2010, at 9:00 AM, Antti Kantee wrote: On Fri Nov 26 2010 at 01:50:11 +0900, Izumi Tsutsui wrote: but shouldn't we fix stub first, then discuss pros and blah of the change? Current binaries have not worked at all on MIPS1 since the last December. Like I

Re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Matt Thomas
On Nov 25, 2010, at 2:20 PM, Simon Burge wrote: Matt Thomas wrote: On Nov 25, 2010, at 9:00 AM, Antti Kantee wrote: On Fri Nov 26 2010 at 01:50:11 +0900, Izumi Tsutsui wrote: but shouldn't we fix stub first, then discuss pros and blah of the change? Current binaries have not worked at

re: CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread matthew green
Well, it's necessary for libc post-mips64, but I don't think anyone will terribly scream if their not-currently-working libc remains the same. Old (4.0) userland works just fine even without that fix. sounds like we don't have to bother about fixing the recently broken stuff then. good

Re: CVS commit: src/sys/uvm

2010-11-25 Thread YAMAMOTO Takashi
[ adding cc: tech-kern@ ] hi, On Wed, Nov 24, 2010 at 11:26:39PM -0800, Matt Thomas wrote: On Nov 24, 2010, at 10:47 PM, Masao Uebayashi wrote: On Thu, Nov 25, 2010 at 05:44:21AM +, YAMAMOTO Takashi wrote: hi, On Thu, Nov 25, 2010 at 04:18:25AM +, YAMAMOTO Takashi wrote:

CVS commit: src/sys/dev/usb

2010-11-25 Thread Stephen Borrill
Module Name:src Committed By: sborrill Date: Thu Nov 25 14:16:55 UTC 2010 Modified Files: src/sys/dev/usb: usbdevs.h usbdevs_data.h Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.560 -r1.561 src/sys/dev/usb/usbdevs.h cvs rdiff -u -r1.561 -r1.562

CVS commit: src/external/mit/xorg/server/xorg-server/hw/xfree86/int10

2010-11-25 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Nov 25 16:02:02 UTC 2010 Modified Files: src/external/mit/xorg/server/xorg-server/hw/xfree86/int10: Makefile Log Message: avoid i386 compile errors due to CARD32 lossage. To generate a diff of this commit: cvs rdiff -u -r1.5

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

2010-11-25 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Thu Nov 25 16:28:18 UTC 2010 Modified Files: src/distrib/sets/lists/xcomp: mi Log Message: +fc-{query,scan}.debug To generate a diff of this commit: cvs rdiff -u -r1.118 -r1.119 src/distrib/sets/lists/xcomp/mi Please note that

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

2010-11-25 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Thu Nov 25 16:32:40 UTC 2010 Modified Files: src/distrib/sets/lists/xcomp: shl.mi Log Message: Update minor for debug libfreetype.so. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26

CVS commit: src/sys/arch/mips/mips

2010-11-25 Thread Matt Thomas
Module Name:src Committed By: matt Date: Thu Nov 25 17:53:24 UTC 2010 Modified Files: src/sys/arch/mips/mips: locore_mips1.S Log Message: Save t0-t2 on MIPS1 syscalls. To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 src/sys/arch/mips/mips/locore_mips1.S

CVS commit: src

2010-11-25 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Nov 25 17:59:03 UTC 2010 Modified Files: src/lib/librumpclient: rumpclient.c src/lib/librumpuser: rumpuser_sp.c sp_common.c src/sys/rump/include/rump: rumpuser.h src/sys/rump/librump/rumpkern: rumpcopy.c

CVS commit: src/lib/libc/sys

2010-11-25 Thread David A. Holland
Module Name:src Committed By: dholland Date: Thu Nov 25 20:53:23 UTC 2010 Modified Files: src/lib/libc/sys: stat.2 Log Message: No file system I know of reports directory sizes that are multiples of sizeof(struct dirent) except by accident. So, sync with reality. Brought

CVS commit: src/usr.bin/make

2010-11-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Nov 25 21:31:09 UTC 2010 Modified Files: src/usr.bin/make: arch.c compat.c make.c make.h targ.c Log Message: Instead of keeping around the mtime of the youngest child, keep a pointer to it, so that we can print it when we

CVS commit: src/gnu/dist/gcc4/gcc/config/pa

2010-11-25 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Nov 25 21:37:04 UTC 2010 Modified Files: src/gnu/dist/gcc4/gcc/config/pa: pa.c Log Message: Don't create weird notes section in hppa binaries. XXX maybe pa_netbsd_file_start is the proper fix. To generate a diff of this

CVS commit: src

2010-11-25 Thread Christos Zoulas
Exp $ +$NetBSD: UPDATING,v 1.216 2010/11/25 22:08:49 christos Exp $ This file (UPDATING) is intended to be a brief reference to recent changes that might cause problems in the build process, and a guide for @@ -15,6 +15,16 @@ Recent changes: ^^^ +20101125: + The latest changes

CVS commit: src/sys/uvm

2010-11-25 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Fri Nov 26 00:45:28 UTC 2010 Modified Files: src/sys/uvm: uvm_page.h Log Message: Put back VM_PAGE_TO_MD(); pointed out by skrll@, thanks. To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69 src/sys/uvm/uvm_page.h

CVS commit: xsrc/external/mit/xcalc/dist

2010-11-25 Thread matthew green
Module Name:xsrc Committed By: mrg Date: Fri Nov 26 05:41:07 UTC 2010 Update of /cvsroot/xsrc/external/mit/xcalc/dist In directory ivanova.netbsd.org:/tmp/cvs-serv20081 Log Message: initial import of xcalc 1.0.4. no real changes. Status: Vendor Tag: xorg Release Tags:

CVS commit: xsrc/external/mit/xeyes/dist

2010-11-25 Thread matthew green
Module Name:xsrc Committed By: mrg Date: Fri Nov 26 05:41:21 UTC 2010 Update of /cvsroot/xsrc/external/mit/xeyes/dist In directory ivanova.netbsd.org:/tmp/cvs-serv16700 Log Message: initial import of xeyes 1.1.1. no real changes. Status: Vendor Tag: xorg Release Tags:

CVS commit: xsrc/external/mit/xterm/dist

2010-11-25 Thread matthew green
Module Name:xsrc Committed By: mrg Date: Fri Nov 26 06:03:01 UTC 2010 Update of /cvsroot/xsrc/external/mit/xterm/dist In directory ivanova.netbsd.org:/tmp/cvs-serv1192 Log Message: initial import of xterm 267. no real changes, some minor cleanups. Status: Vendor Tag: xorg

CVS commit: xsrc/external/mit/xterm/include

2010-11-25 Thread matthew green
Module Name:xsrc Committed By: mrg Date: Fri Nov 26 06:15:18 UTC 2010 Modified Files: xsrc/external/mit/xterm/include: xtermcfg.h Log Message: merge xterm 267 xtermcfg.h To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src

2010-11-25 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Nov 25 08:18:34 UTC 2010 Modified Files: src/distrib/sets/lists/man: mi src/share/man/man8/man8.acorn32: Makefile Added Files: src/share/man/man8/man8.acorn32: nbfs.8 Log Message: Add nbfs(8) man page from Ben

CVS commit: src/sys/dev

2010-11-25 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Nov 25 08:53:31 UTC 2010 Modified Files: src/sys/dev: md.c Log Message: - Don't detach configured devices on last close. - No kmem allocation and biodone() under lock (from rm...@netbsd.org). To generate a diff of this

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

2010-11-25 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu Nov 25 09:13:37 UTC 2010 Modified Files: src/share/man/man8/man8.acorn32: nbfs.8 Log Message: New sentence, new line. Use Nx. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/share/man/man8/man8.acorn32/nbfs.8

CVS commit: src/sys/arch/acorn32/stand/lib

2010-11-25 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Nov 25 13:45:17 UTC 2010 Modified Files: src/sys/arch/acorn32/stand/lib: riscospart.c Log Message: Use partition_cyl_high and partition_cyl_low to find the RiscBSD partition. Makes nbfs somewhat work on my RiscPC. To

CVS commit: src/games/fortune/datfiles

2010-11-25 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Nov 25 13:51:26 UTC 2010 Modified Files: src/games/fortune/datfiles: netbsd Log Message: add one i saw on irc today To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/games/fortune/datfiles/netbsd Please note

CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Thu Nov 25 14:05:28 UTC 2010 Modified Files: src/sys/arch/pmax/stand/common: startprog.S Log Message: Fix botch on mips64 merge: - use correct offsets to pass args to loaded kernel in __mips_o32 case Now NetBSD/pmax kernel

CVS commit: src

2010-11-25 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Nov 25 08:18:34 UTC 2010 Modified Files: src/distrib/sets/lists/man: mi src/share/man/man8/man8.acorn32: Makefile Added Files: src/share/man/man8/man8.acorn32: nbfs.8 Log Message: Add nbfs(8) man page from Ben

CVS commit: src/sys/dev

2010-11-25 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Nov 25 08:53:31 UTC 2010 Modified Files: src/sys/dev: md.c Log Message: - Don't detach configured devices on last close. - No kmem allocation and biodone() under lock (from rm...@netbsd.org). To generate a diff of this

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

2010-11-25 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu Nov 25 09:13:37 UTC 2010 Modified Files: src/share/man/man8/man8.acorn32: nbfs.8 Log Message: New sentence, new line. Use Nx. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/share/man/man8/man8.acorn32/nbfs.8

CVS commit: src/sys/arch/acorn32/stand/lib

2010-11-25 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Nov 25 13:45:17 UTC 2010 Modified Files: src/sys/arch/acorn32/stand/lib: riscospart.c Log Message: Use partition_cyl_high and partition_cyl_low to find the RiscBSD partition. Makes nbfs somewhat work on my RiscPC. To

CVS commit: src/games/fortune/datfiles

2010-11-25 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Nov 25 13:51:26 UTC 2010 Modified Files: src/games/fortune/datfiles: netbsd Log Message: add one i saw on irc today To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/games/fortune/datfiles/netbsd Please note

CVS commit: src/sys/arch/pmax/stand/common

2010-11-25 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Thu Nov 25 14:05:28 UTC 2010 Modified Files: src/sys/arch/pmax/stand/common: startprog.S Log Message: Fix botch on mips64 merge: - use correct offsets to pass args to loaded kernel in __mips_o32 case Now NetBSD/pmax kernel

CVS commit: src/sys/dev/usb

2010-11-25 Thread Stephen Borrill
Module Name:src Committed By: sborrill Date: Thu Nov 25 14:16:25 UTC 2010 Modified Files: src/sys/dev/usb: usbdevs Log Message: Add devices for upcoming run(4). To generate a diff of this commit: cvs rdiff -u -r1.567 -r1.568 src/sys/dev/usb/usbdevs Please note that

CVS commit: src/sys/dev/usb

2010-11-25 Thread Stephen Borrill
Module Name:src Committed By: sborrill Date: Thu Nov 25 14:16:55 UTC 2010 Modified Files: src/sys/dev/usb: usbdevs.h usbdevs_data.h Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.560 -r1.561 src/sys/dev/usb/usbdevs.h cvs rdiff -u -r1.561 -r1.562

CVS commit: src/external/mit/xorg/server/xorg-server/hw/xfree86/int10

2010-11-25 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Nov 25 16:02:02 UTC 2010 Modified Files: src/external/mit/xorg/server/xorg-server/hw/xfree86/int10: Makefile Log Message: avoid i386 compile errors due to CARD32 lossage. To generate a diff of this commit: cvs rdiff -u -r1.5

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

2010-11-25 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Thu Nov 25 16:28:18 UTC 2010 Modified Files: src/distrib/sets/lists/xcomp: mi Log Message: +fc-{query,scan}.debug To generate a diff of this commit: cvs rdiff -u -r1.118 -r1.119 src/distrib/sets/lists/xcomp/mi Please note that

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

2010-11-25 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Thu Nov 25 16:32:40 UTC 2010 Modified Files: src/distrib/sets/lists/xcomp: shl.mi Log Message: Update minor for debug libfreetype.so. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26

CVS commit: src/sys/arch/mips/mips

2010-11-25 Thread Matt Thomas
Module Name:src Committed By: matt Date: Thu Nov 25 17:53:24 UTC 2010 Modified Files: src/sys/arch/mips/mips: locore_mips1.S Log Message: Save t0-t2 on MIPS1 syscalls. To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 src/sys/arch/mips/mips/locore_mips1.S

CVS commit: src

2010-11-25 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Nov 25 17:59:03 UTC 2010 Modified Files: src/lib/librumpclient: rumpclient.c src/lib/librumpuser: rumpuser_sp.c sp_common.c src/sys/rump/include/rump: rumpuser.h src/sys/rump/librump/rumpkern: rumpcopy.c

CVS commit: src/lib/libc/sys

2010-11-25 Thread David A. Holland
Module Name:src Committed By: dholland Date: Thu Nov 25 20:53:23 UTC 2010 Modified Files: src/lib/libc/sys: stat.2 Log Message: No file system I know of reports directory sizes that are multiples of sizeof(struct dirent) except by accident. So, sync with reality. Brought

CVS commit: src/usr.bin/make

2010-11-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Nov 25 21:31:09 UTC 2010 Modified Files: src/usr.bin/make: arch.c compat.c make.c make.h targ.c Log Message: Instead of keeping around the mtime of the youngest child, keep a pointer to it, so that we can print it when we

CVS commit: src/gnu/dist/gcc4/gcc/config/pa

2010-11-25 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Nov 25 21:37:04 UTC 2010 Modified Files: src/gnu/dist/gcc4/gcc/config/pa: pa.c Log Message: Don't create weird notes section in hppa binaries. XXX maybe pa_netbsd_file_start is the proper fix. To generate a diff of this

CVS commit: src

2010-11-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Nov 25 22:08:50 UTC 2010 Modified Files: src: UPDATING Log Message: Mention setenv lossage. To generate a diff of this commit: cvs rdiff -u -r1.215 -r1.216 src/UPDATING Please note that diffs are not public domain; they

CVS commit: src/sys/uvm

2010-11-25 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Fri Nov 26 00:45:28 UTC 2010 Modified Files: src/sys/uvm: uvm_page.h Log Message: Put back VM_PAGE_TO_MD(); pointed out by skrll@, thanks. To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69 src/sys/uvm/uvm_page.h

CVS commit: xsrc/external/mit/xterm/dist

2010-11-25 Thread matthew green
Module Name:xsrc Committed By: mrg Date: Fri Nov 26 06:03:01 UTC 2010 Update of /cvsroot/xsrc/external/mit/xterm/dist In directory ivanova.netbsd.org:/tmp/cvs-serv1192 Log Message: initial import of xterm 267. no real changes, some minor cleanups. Status: Vendor Tag: xorg

CVS commit: xsrc/external/mit/xterm/include

2010-11-25 Thread matthew green
Module Name:xsrc Committed By: mrg Date: Fri Nov 26 06:15:18 UTC 2010 Modified Files: xsrc/external/mit/xterm/include: xtermcfg.h Log Message: merge xterm 267 xtermcfg.h To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4