Re: File sharing over virtio-9p

2019-10-24 Thread Ryota Ozaki
On Fri, Oct 25, 2019 at 2:38 PM Valery Ushakov wrote: > > On Fri, Oct 25, 2019 at 12:56:43 +0900, Ryota Ozaki wrote: > > > > @@ -72,7 +74,7 @@ serverconnect(const char *addr, unsigned short port) > > > [...] > > > + err(1, "setsockopt(SO_NOSIGPIPE)"); > > > > > > I'd just trim it down to

Re: File sharing over virtio-9p

2019-10-24 Thread Michael van Elst
ozaki.ry...@gmail.com (Ryota Ozaki) writes: >> @@ -72,7 +74,7 @@ serverconnect(const char *addr, unsigned short port) >> + err(1, "setsockopt(SO_NOSIGPIPE)"); >> +err(1, "open(%s)", path); >I prefer more informative messages. Why do you want to trim them? Usually the error gi

Re: current kernel crashes while building userland

2019-10-24 Thread Riccardo Mottola
Hi Manuel, Manuel Bouyer wrote: System panicked: trap Backtrace from time of crash is available. crash> bt _KERNEL_OPT_NARCNET() at 0 ?() at c68067793ea0 vpanic() at vpanic+0x161 panic() at panic+0x3c trap() at trap+0xb55 --- trap (number 6) --- compat_90_sys_fstatvfs1() at compat_90_sys_fs

Re: File sharing over virtio-9p

2019-10-24 Thread Valery Ushakov
On Fri, Oct 25, 2019 at 12:56:43 +0900, Ryota Ozaki wrote: > > @@ -72,7 +74,7 @@ serverconnect(const char *addr, unsigned short port) > > [...] > > + err(1, "setsockopt(SO_NOSIGPIPE)"); > > > > I'd just trim it down to "SO_NOSIGPIPE". > > > > +err(1, "open(%s)", path); > > > > Di

Re: File sharing over virtio-9p

2019-10-24 Thread Ryota Ozaki
On Fri, Oct 25, 2019 at 3:30 AM Valery Ushakov wrote: > > On Thu, Oct 24, 2019 at 13:32:59 +0900, Ryota Ozaki wrote: > > > I've prepared complete patches ready to commit: > > https://www.netbsd.org/~ozaki-r/tweak-MAKEDEV.diff > > https://www.netbsd.org/~ozaki-r/vio9p.diff > > https://www.net

daily CVS update output

2019-10-24 Thread NetBSD source update
Updating src tree: P src/compat/arm/oabi/bsd.oabi.mk P src/distrib/sets/join.awk P src/distrib/sets/regpkg P src/doc/CHANGES P src/external/bsd/libarchive/include/config_netbsd.h P src/external/bsd/nvi/dist/common/conv.c P src/external/bsd/smbfs/dist/lib/smb/nls.c P src/external/gpl2/gettext/incl

Re: current kernel crashes while building userland

2019-10-24 Thread Christos Zoulas
In article <29de16f3-bbd0-5d3e-46d8-0c0965b16...@libero.it>, Riccardo Mottola wrote: >Hi Michael, > >Michael van Elst wrote: >> You should be able to analyse the files with the crash(8) tool >> and report the panic message and backtrace. > > >System panicked: trap >Backtrace from time of crash is

Re: current kernel crashes while building userland

2019-10-24 Thread Michael van Elst
On Thu, Oct 24, 2019 at 10:42:21PM +0200, Riccardo Mottola wrote: > Hi Michael, > > Michael van Elst wrote: > > You should be able to analyse the files with the crash(8) tool > > and report the panic message and backtrace. > > compat_90_sys_fstatvfs1() at compat_90_sys_fstatvfs1 fstatvfs() was c

Re: current kernel crashes while building userland

2019-10-24 Thread Manuel Bouyer
On Thu, Oct 24, 2019 at 10:42:21PM +0200, Riccardo Mottola wrote: > Hi Michael, > > Michael van Elst wrote: > > You should be able to analyse the files with the crash(8) tool > > and report the panic message and backtrace. > > > System panicked: trap > Backtrace from time of crash is available.

Re: current kernel crashes while building userland

2019-10-24 Thread Riccardo Mottola
Hi Michael, Michael van Elst wrote: You should be able to analyse the files with the crash(8) tool and report the panic message and backtrace. System panicked: trap Backtrace from time of crash is available. crash> bt _KERNEL_OPT_NARCNET() at 0 ?() at c68067793ea0 vpanic() at vpanic+0x161

Re: current kernel crashes while building userland

2019-10-24 Thread Michael van Elst
riccardo.mott...@libero.it (Riccardo Mottola) writes: >in /var/crash however I find the two gzipped files, too big to post >public here. Each crash has its own. You should be able to analyse the files with the crash(8) tool and report the panic message and backtrace. Another possibility is to p

Re: current kernel crashes while building userland

2019-10-24 Thread Robert Swindells
Riccardo Mottola wrote: >I upgraded to 9.99.17 22nd October. I built kernel + modules, rebooted. >on amd64 > >Then I started a distribution build... and after some hours, the machine >resets. >I restarted again (without doing an update build)... and it reboots again. > >I just find the machine

Re: Tar extract behaviour changed

2019-10-24 Thread Valery Ushakov
On Thu, Oct 24, 2019 at 05:26:41 +0200, Martin Husemann wrote: > Deal with this properly in sysinst would mean: > > 1) run a script like: > rm -f /tmp/list > for s in *.${suffix} > do >for dir in $( tar tvf "$s" | egrep '^d' | awk '{ print $9}' ) >do > readlink "$dir" && echo "$di

current kernel crashes while building userland

2019-10-24 Thread Riccardo Mottola
Hi, I upgraded to 9.99.17 22nd October. I built kernel + modules, rebooted. on amd64 Then I started a distribution build... and after some hours, the machine resets. I restarted again (without doing an update build)... and it reboots again. I just find the machine rebooted, I can't read any m

Re: File sharing over virtio-9p

2019-10-24 Thread Valery Ushakov
On Thu, Oct 24, 2019 at 13:32:59 +0900, Ryota Ozaki wrote: > I've prepared complete patches ready to commit: > https://www.netbsd.org/~ozaki-r/tweak-MAKEDEV.diff > https://www.netbsd.org/~ozaki-r/vio9p.diff > https://www.netbsd.org/~ozaki-r/vio9p-configs.diff > https://www.netbsd.org/~ozak

Re: Tar extract behaviour changed

2019-10-24 Thread Joerg Sonnenberger
On Thu, Oct 24, 2019 at 06:56:57AM +0700, Robert Elz wrote: > Date:Wed, 23 Oct 2019 23:30:47 +0200 > From:Joerg Sonnenberger > Message-ID: <20191023213047.ga73...@bec.de> > > | (1) Abuse of symlinks to shuffle the tree somewhere else. IMO whoever > | wants to do t