Re: CVS commit: src/sys

2020-01-03 Thread Simon Burge
Hey Jason, Jason Thorpe wrote: > > On Jan 3, 2020, at 10:11 AM, Frank Kardel wrote: > > > > Hi Jason ! > > > > Could you please check that kmem using tools can cope with the missing > > _boottime symbol. > > Hey Frank... this should fix it: > > $NetBSD: vmstat.c,v 1.231 2020/01/03 19:13

Re: CVS commit: src/sys

2020-01-03 Thread Simon Burge
Jason Thorpe wrote: > > Is it worth keeping the boottime symbol about so that a netbsd-9 vmstat > > binary will still work with a -current kernel? We could possibly wrap > > boottime with a COMPAT_90 check too?. > > Define "work". A dummy symbol would have no valid contents. I guess > if you ca

Re: CVS commit: src/sys/arch/amd64

2020-01-03 Thread Emmanuel Dreyfus
On Tue, Dec 31, 2019 at 09:32:05AM +0100, Maxime Villard wrote: > I think max-page-size=0x1000 is the right thing to do, but someone needs to > verify that the resulting binary is correct and that the resulting in-memory > layout is correct too. Attached is an updated patch with this approach. I t

Re: CVS commit: src/sys

2020-01-03 Thread Jason Thorpe
> On Jan 3, 2020, at 5:08 PM, Simon Burge wrote: > > Hey Jason, > > Jason Thorpe wrote: > >>> On Jan 3, 2020, at 10:11 AM, Frank Kardel wrote: >>> >>> Hi Jason ! >>> >>> Could you please check that kmem using tools can cope with the missing >>> _boottime symbol. >> >> Hey Frank... this

Re: CVS commit: src/sys

2020-01-03 Thread Frank Kardel
Great. works again. Frank On 01/03/20 20:14, Jason Thorpe wrote: On Jan 3, 2020, at 10:11 AM, Frank Kardel wrote: Hi Jason ! Could you please check that kmem using tools can cope with the missing _boottime symbol. Hey Frank... this should fix it: $NetBSD: vmstat.c,v 1.231 2020/

Re: CVS commit: src/sys/arch/zaurus/conf

2020-01-03 Thread Martin Husemann
On Sat, Jan 04, 2020 at 03:42:20AM +0900, Izumi Tsutsui wrote: > The problem is caused by sys/arch/arm/conf/Makefile.arm. > It defines "COPTS+= -mapcs-frame" in recent rev 1.52 > > http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/arm/conf/Makefile.arm#rev1.52 > but MI sys/conf/Makefile.kern.inc d

re: CVS commit: src/sys

2020-01-03 Thread matthew green
Frank Kardel writes: > Hi Jason ! > > Could you please check that kmem using tools can cope with the missing > _boottime symbol. > > E.g.: > > # vmstat -s > vmstat: undefined symbols: _boottime > # > > This renders vmstat currently broken. > > Best regards ah, i wondered if this would happen

Re: CVS commit: src/sys

2020-01-03 Thread Jason Thorpe
> On Jan 3, 2020, at 10:11 AM, Frank Kardel wrote: > > Hi Jason ! > > Could you please check that kmem using tools can cope with the missing > _boottime symbol. Hey Frank... this should fix it: $NetBSD: vmstat.c,v 1.231 2020/01/03 19:13:54 thorpej Exp $ -- thorpej

Re: CVS commit: src/sys/arch/zaurus/conf

2020-01-03 Thread Izumi Tsutsui
I wrote: > > The missing COPTS was an accident or fallout from some other changes? > > Isn't it specified in -current? The problem is caused by sys/arch/arm/conf/Makefile.arm. It defines "COPTS+= -mapcs-frame" in recent rev 1.52 http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/arm/conf/Makefile.

Re: CVS commit: src/sys

2020-01-03 Thread Frank Kardel
Hi Jason ! Could you please check that kmem using tools can cope with the missing _boottime symbol. E.g.: # vmstat -s vmstat: undefined symbols: _boottime # This renders vmstat currently broken. Best regards Frank On 01/02/20 16:42, Jason R Thorpe wrote: Module Name:src Committed

Re: CVS commit: src/sys/arch/zaurus/conf

2020-01-03 Thread Izumi Tsutsui
> > - zbsdmod.o has 5MB buffers to store a copied kernel binary > > - zbsdmod.o reads a kernel from the 5MB buffer and loads sections > > into the target addresses > > > > https://nxr.netbsd.org/xref/src/sys/arch/zaurus/stand/zbsdmod/zbsdmod.c?r=1.12#94 > > Ah ok - thanks for explanation. So t

Re: CVS commit: src/sys/arch/zaurus/conf

2020-01-03 Thread Martin Husemann
On Fri, Jan 03, 2020 at 07:36:34PM +0900, Izumi Tsutsui wrote: > - zbsdmod.o has 5MB buffers to store a copied kernel binary > - zbsdmod.o reads a kernel from the 5MB buffer and loads sections > into the target addresses > > https://nxr.netbsd.org/xref/src/sys/arch/zaurus/stand/zbsdmod/zbsdmod.

Re: CVS commit: src/sys/arch/zaurus/conf

2020-01-03 Thread Izumi Tsutsui
martin@ wrote: > Module Name: src > Committed By: martin > Date: Fri Jan 3 10:01:07 UTC 2020 > > Modified Files: > src/sys/arch/zaurus/conf: Makefile.zaurus.inc ldscript.zaurus > > Log Message: > Drop CTF sections from this size restricted kernel (especially as the > size check i