Re: USING NETBSD ON LINODE?

2022-08-11 Thread Brian Buhrow
hello.  thanks so much for your reply and the link to your blog post.  
I'm almost there,
but I've run into something that seems very simple, but is currently tripping 
me up.
How do I specify "Direct Disk" as a kernel in the configuration creation or 
update step?  I'm
using something like the following to specify the configuration parameters.  
However,  this isn't working.  


/usr/pkg/bin/linode-cli linodes config-update   \
--helpers.updatedb_disabled true \
 --label nbsmtp1_bootinstall \
--kernel Direct-Disk \
--devices.sda.disk_id (a) \
--devices.sdb.disk_id (b)

I get:

Request failed: 400
0xB field  0xB reason  0xB
0xB kernel 0xB No Kernel Found 0xB



-thanks
-Brian


log1pl missing?

2022-08-11 Thread Greg Troxel

In numpy built via pip (because that's how you have to run
homeassistant), it fails with a complaint about log1pl.

POSIX says this is part of C99, and was added to POSIX in Issue 6:

  https://pubs.opengroup.org/onlinepubs/9699919799/functions/log1pl.html

The lack of it was noted 5 years ago:

  https://mail-index.netbsd.org/netbsd-users/2017/07/21/msg019960.html

libm.a on netbsd-9 has:

   T log1pf
   T log1p

and I see the same in my current destdir build (with netbsd-9 nm :-).

But math.h:

  double  log1p(double);
  float   log1pf(float);
  long double log1pl(long double);


Has anyone else been having this problem?

Any reason I shouldn't just define it and call log1p, not worrying about
those extra bits, to get around this (in my local build)?

Anyone up for doing it right?



signature.asc
Description: PGP signature


Re: A book seems to be missing here...

2022-08-11 Thread Andy Ruhl
On Wed, Aug 10, 2022 at 11:23 AM Michael Cheponis
 wrote:
>
> Was looking at no-starch press, and saw these 2 books:  
> http://culver.net/NetBSD/no-starch.jpg
>
> And I realized, you know, there seems to be a 'missing' book --- I see only 
> Absolute FreeBSD and Absolute OpenBSD.
>
> Is there any status on a  "NetBSD Book"  ?   Or is this pretty much it:  
> http://www.netbsd.org/docs/guide/en/?   (Which is great!  just not Dead 
> Trees.)

I have those. They are pretty old by now. I wondered the same thing at
the time. NetBSD still flies under the radar of most people I think.

I've got a system that's been running NetBSD for 20 years now, it just works.

Andy


Re: USING NETBSD ON LINODE?

2022-08-11 Thread atomicules

Hey Brian,

On 10-Aug-2022 19:57:02, Brian Buhrow wrote:
hello.  Is there anyone on this list using NetBSD on Linode?  I see 
some folks have done it in the past, but I don't see anything 
current.


Been running NetBSD on Linode since 2013 and have been through various 
transitions: i386 to amd64; XEN to KVM.



instructions on how to build a custom image for uploading?


My approach has always been to use the install image to install onto a 
Linode raw disk. This post is dated, but the overall technique is valid: 
https://atomicules.co.uk/2017/06/11/NetBSD-under-KVM-on-Linode.html


If you have no luck figuring it out from that I could walk through a 
fresh install and update the steps... assuming I can find the time.