Re: pkgin fails to install in the install kernel

2014-11-16 Thread David Brownlee
It was using more than 640M of VM?

While I agree not having a failure reported as success would be the
top priority, the thought that it was using that much VM during
install is... scary.

What arch is this on? i386 has a set_swap() in sysinst to use
swapspace if less than 32M of ram, but amd64 does not... I suspect
that check should be made MI...


On 15 November 2014 16:15, Andy Ruhl acr...@gmail.com wrote:
 I've attached 3 screenshots. During each attempt, I was installing in a
 virtual machine. The first (that I didn't document) was a Linux KVM. This
 time was on VMWare Fusion (with screenshots). Each time I set it up with 128
 megs of memory, 512 megs of swap, and a 15 gig disk.

 The concern is not necessarily that the pkgin config process failed, it's
 that it was marked as completed afterward.

 Andy

 On Fri, Nov 14, 2014 at 3:37 PM, Andy Ruhl acr...@gmail.com wrote:

 Hello all.

 I just had something happen that I didn't capture but I will try to at
 some point.

 This is when trying to install pkgin using the install kernel just after
 the full install of sets is finished.

 During the building database phase, it issued a message something like
 killed, ran out of swap.

 But the process ended and returned to the menu. The process was marked as
 DONE.

 Seems like it should be marked failed if the process fails?

 I searched a bit and I see a few PRs but nothing specific to pkgin failing
 and then getting marked DONE. Is this a bug?

 Andy




Re: pkgin fails to install in the install kernel

2014-11-16 Thread David Brownlee
On 16 November 2014 13:50, Andy Ruhl acr...@gmail.com wrote:
 On Sun, Nov 16, 2014 at 5:49 AM, David Brownlee a...@absd.org wrote:

 It was using more than 640M of VM?

 While I agree not having a failure reported as success would be the
 top priority, the thought that it was using that much VM during
 install is... scary.

 What arch is this on? i386 has a set_swap() in sysinst to use
 swapspace if less than 32M of ram, but amd64 does not... I suspect
 that check should be made MI...

 It was amd64, specifically from here:
 ftp://nyftp.netbsd.org/pub/NetBSD-daily/netbsd-7/201411140020Z/amd64/installation/cdrom/boot.iso

OK, so that would have been more than 128M (actually from reading the
source, that would have been 128M for i386 also - see email to
tech-install@ re making set_swap() MI)

 I just tried i386 from the same build date and unfortunately there is no
 pkgin for it yet so I didn't prove what you said.

 I can test another version if that would be helpful.

If you had some space time it would be great if you could take a poke
at sysinst and add the return value checks missing in the run_program
calls that use pkgin. Otherwise I can see if I have time sometime
soon...