Re: ddb: show panic on page fault

2017-11-04 Thread Paul Irofti
On Sun, Nov 05, 2017 at 01:43:35AM +0100, Mark Kettenis wrote: > > Date: Sat, 4 Nov 2017 18:51:34 +0100 > > From: Martin Pieuchot > > > > On 04/11/17(Sat) 17:20, Paul Irofti wrote: > > > Hi, > > > > > > Someone, somewhere (perhaps on bugs@?) said they would like to see > > > something useful whe

Re: ddb: show panic on page fault

2017-11-04 Thread Mark Kettenis
> Date: Sat, 4 Nov 2017 18:51:34 +0100 > From: Martin Pieuchot > > On 04/11/17(Sat) 17:20, Paul Irofti wrote: > > Hi, > > > > Someone, somewhere (perhaps on bugs@?) said they would like to see > > something useful when typing show panic on a page fault'd kernel. That > > struck very close to hom

finish off pr_drain functions

2017-11-04 Thread Florian Obser
... they haven't been used since 2006. OK? (This is on top of "convert frag6 to mutex", but the order doesn't matter, the conflict is trivial) diff --git netinet/in_proto.c netinet/in_proto.c index 6efbac7da5c..2667bba6124 100644 --- netinet/in_proto.c +++ netinet/in_proto.c @@ -179,7 +179,6 @@

convert frag6 to mutex

2017-11-04 Thread Florian Obser
replace hand rolled LOCK/UNLOCK macros with a mutex like in the v4 case. While here remove the NET_LOCK. OK? diff --git frag6.c frag6.c index a5b8ae261be..390115106c5 100644 --- frag6.c +++ frag6.c @@ -34,6 +34,7 @@ #include #include #include +#include #include #include #include @@ -

Re: ddb: show panic on page fault

2017-11-04 Thread Paul Irofti
On Sat, Nov 04, 2017 at 06:51:34PM +0100, Martin Pieuchot wrote: > On 04/11/17(Sat) 17:20, Paul Irofti wrote: > > Hi, > > > > Someone, somewhere (perhaps on bugs@?) said they would like to see > > something useful when typing show panic on a page fault'd kernel. That > > struck very close to home

Re: ddb: show panic on page fault

2017-11-04 Thread Martin Pieuchot
On 04/11/17(Sat) 17:20, Paul Irofti wrote: > Hi, > > Someone, somewhere (perhaps on bugs@?) said they would like to see > something useful when typing show panic on a page fault'd kernel. That > struck very close to home so I went ahead and did it. > > The following diff shows the uvm_fault and t

ddb: show panic on page fault

2017-11-04 Thread Paul Irofti
Hi, Someone, somewhere (perhaps on bugs@?) said they would like to see something useful when typing show panic on a page fault'd kernel. That struck very close to home so I went ahead and did it. The following diff shows the uvm_fault and the first trace entry in an attempt to mimic a real show p

if.c: move SIOCG* to ifioctl_get()

2017-11-04 Thread Theo Buehler
This is a small refactoring of ifioctl() which moves the ioctls that only need a read lock into a separate function. This will simplify an upcoming diff. Index: sys/net/if.c === RCS file: /var/cvs/src/sys/net/if.c,v retrieving revisio

Re: libfuse: fuse.c uses Incorrect version macro

2017-11-04 Thread Paul Irofti
On Sat, Nov 04, 2017 at 12:39:07AM +, Helg Bredow wrote: > The fuse_version() library function incorrectly returns FUSE_USE_VERSION. > This macro is intended to be used by file systems to indicate the version of > the libfuse API to compile against. This change returns the highest version >

Re: vmd: add minimal DHCP support

2017-11-04 Thread Mike Larkin
On Thu, Nov 02, 2017 at 10:26:55PM +0100, Reyk Floeter wrote: > Hi, > > the problem got reported a few times and a similar diff was floating > around: vmd's "local interface" implements a simple auto-magic BOOTP > server, but udhcpc doesn't support BOOTP, which is the predecessor and > a valid sub

Re: [PATCH] VMD: remove debug message in proc

2017-11-04 Thread Mike Larkin
On Thu, Nov 02, 2017 at 06:13:19PM -0700, Carlos Cardenas wrote: > This debug message has served its duty for finding bugs in > shutdown related issues. > > Ok reyk@ > > diff --git usr.sbin/vmd/proc.c usr.sbin/vmd/proc.c > index afa9b223649..d223d6bcce2 100644 > --- usr.sbin/vmd/proc.c > +++ usr.