02:39:34 Hello, I am still wrestling with GHC 9.8.2 via pkgin on OpenIndiana (illumos). I figured out what the issue was with the C++ lib, and temporarily copied libgcc_s.so.1 into the directory where pkgin expects it. gcc-13 installation succeeded, and GHC installed with 0 errors and 0 warnings, albeit broken. Upon running ghc, an error message is 02:39:34 immediately returned which reads, "ghc-9.8.2: internal error: timerfd_create: No such file or directory (GHC version 9.8.2 for x86_64_unknown_solaris2)". I am struggling to make sense of this 02:40:15 timerfd.h in in /usr/include/sys/ 02:43:32 josh's comments here might be a helpful lead, if you'd missed it earlier: https://log.omnios.org/illumos/2024-12-26#1735239330-910753 02:45:46 Just reviewed the log. I did miss that. Thank you 19:34:00 hiya i am brand new to illumos, how do i make network configuration persistent? 19:34:32 what distro are you using and how did you configure it initially? 19:34:58 i'm using helios, which had instructions to run `ipadm create-addr -T dhcp igb0/dhcp` 19:42:45 if /etc is persistent on it (I'm not sure offhand, but others should be able to answer then when they're around), then using dhcp should be persistent 19:42:54 or did you want to manually configure an address? 19:43:16 no i am ok with dhcp, but it didn't pick up an address after i rebooted 19:44:59 it seems like /etc is persistent if i'm reading the output of `mount` correctly... 19:53:46 snek: How did you install it? FWIW, we recommend people use OmniOS (which is quite similar) for general purpose stuff. The installable Helios media mostly exists to support engineering efforts on the Oxide rack software. 19:54:09 i followed the physical install instructions in the engvm repo 19:54:25 i'm just trying to see how far i can get with running the various oxide rack components :) 19:54:59 Fair enough! 19:55:26 When you ran "ipadm create-addr" was when you were booted from the install media 19:55:37 Or after you rebooted from the installed disk and logged in etc 19:55:43 it was after 19:55:49 though i just rebooted again and it seems to be working now 19:55:52 Great! 19:56:00 so probably pebkac of some form 19:56:20 It's possible, but I wouldn't assume. Software can always have bugs 20:34:18 i ran `pkg install cmake` and it claims to have installed it, but its not in my path... is this expected? 20:44:24 hm did i just need to add `/opt/ooce/bin` to my path? doing that for now until someone here tells me its a mistake 20:46:45 I would not be surprised if you had to do so manually there. 20:57:32 How would one go about porting a Linux or BSD NIC driver to Illumos? It is still nagging me inside that there are drivers for this newer NIC and I want to figure out how to get it working under Illumos but not well versed in driver development. 20:58:53 It's definitely harder than trying to compile the drivers and changing a few things around but if it is something I could do with some training then I would like to try it. 21:03:43 the driver interfaces are different enough that you're probably better off writing a driver from scratch using an existing illumos driver as a template, at least in the upper layers of the driver. Avoid copying code from linux but it's ok to look at a linux driver for hints on how the hardware works. 21:03:43 There are a few ways to approach it depending on your background. 21:04:32 The first thing I'd do is understand what the GLDv3 interfaces are and spend some time reading the drivers to understand the distinction between what's required to configure and use the device, what's being done for different entry points, what's DMA, etc. 21:05:43 I would take a look at the mac(9E) manual and the updated Intro(9E) manual as well (which is a bit behind online for a reason we need to track down) 21:06:07 i always wished drivers were written in a more platform-independent way when i was working on my os 😔 21:07:02 There are lots of trade offs to what I call the "common-code" approaches. 21:07:19 It ultimately means parts of code look like someone's OS and sometimes you aren't given the abstractions you need. 21:07:26 Even if they attempt to make it more library-ish. 21:14:13 Fair play. Thank you for the guidance. I will start with the manuals and you both make good points about using code from another OS for more than hints. Appreciate the help. 21:15:01 Otherwise the other appraoch is to first learn how to build the kernel on illumos and make some unrelated change. 21:15:05 So you can get some muscle memory built up. 21:15:51 That may be a better starting point for me and was my initial thought. How does one compile new modules for Illumos in the first place? 21:16:44 So I would start with https://illumos.org/docs/developers/build/. 21:16:54 And probably make a change to something that exists. 21:17:08 And prove that your change has happened on a target system (whether hardware, a VM, or something else). 21:17:32 Once you have something like that working, the incremental bit towards adding something new won't be so bad. 21:20:49 Nice! Thanks again for the help. It would be exciting to have a bunch of these minipc's running OmniOS or OpenIndiana for a...what's a word for a mini-cloud? Vapor seems like vaporware, mist perhaps?