00:01:14 twobitsahead: G'day! 00:01:57 How's it going? 00:07:53 It's been a busy day! 00:09:18 Really? 00:19:26 Yes indeed haha 00:19:33 We're doing a software release at work 00:19:52 i figured this week is probably not a great one to bug you about the pbchk changes :P 00:20:31 iximeow: From what I have seen, which is not much, they seem on the right track, but yeah, I'll circle back haha sorry 00:21:10 i'll just remember to not pbchk the wrong thing, np 00:28:00 I am interested in ways in which I might be able to contribute to illumos. Is there anything that might exist which is somewhat beginner friendly? 00:28:45 twobitsahead: I think the best way to contribute is to find something that you're personally motivated to fix! 00:29:50 That is: a bug you're hitting personally, or a missing feature you need for something, or driver for hardware that you have available to work on and test with 00:34:17 Noted, thank you 00:36:04 I have a small list of features which I noticed could possibly be useful. If memory serves me right, one was the '-r' flag for 'pkg list'. I recall that 'pkg search' had that flag but not 'pkg list'. I'll have to check my notes to confirm that this was really it 00:37:35 Admittedly, I have spent more time in the books than at the keyboard. If I run into uncharted territory and can't find the way out alone, would this place be the right one to ask for a bit of advice? 00:39:48 twobitsahead: Sure, you can always ask questions here 00:39:58 We'll do our best to answer them or to redirect you elsewhere! 00:40:20 For pkg, FWIW, that comes from a separate repository from the illumos base. It's here: https://github.com/omniosorg/pkg5 00:40:35 I added a flag there myself recently: https://github.com/omniosorg/pkg5/pull/504 02:37:03 hrm.. just by any chance does anyone have a disk (virtural or physical) w/ a GPT label that was created on linux, but could run prtvtoc against it? 02:37:11 or has tried to access it from illumos? 02:38:24 it looks like parted (among other things) will create an empty array of 128 partition entries 02:39:00 i'm just curious how illumos would handle that (p0-127? or will it ignore the trailing empty partitions) 02:49:50 I can't recall ever seeing a p100+ haha 02:50:07 But I have definitely noticed weird/unusual looking layouts in prtvtoc before 02:50:14 i'm thinking it does... but i hate assuming.. I can probably construct something 02:50:15 I just cannot remember the specifics 02:50:29 just figured if someone had something they could easily run prtvtoc against 02:50:33 that's a lot faster 03:41:57 I looked at the pkg man pages for Omni and OpenIndiana. It looks like Omni already has the -r flag for pkg list, and the man pages show that it doesn't search the remote repository 03:42:50 It looks like the OI pkg doesn't include an -r flag for pkg list 03:44:02 I looked through any mention of 'pkg list' through the files in the parent and subdirectories and didn't find where 'pkg list' is defined 03:44:19 Many mentions of it and the interface in Python, but not the piece I am looking for 03:44:33 Any ideas where it might be? 03:45:10 ^just to clarify, I am looking through the pkg5 repo from OpenIndiana 05:36:26 for my tar change, gordon suggested using I_PEEK instead of a 'peeker' thread.. testing seems to work against a fifo (from a simple test)... what I'm trying to think of is if there is a scenario (at least one plausible) where tar would be reading from something other than a regular file or a fifo (i.e. stdin is a pipe) 05:36:52 since if there isn't any, that would make I_PEEK an option 06:49:10 stdin can be any kind of fd that the person who calls fork/exec wants it to be. 06:50:42 While sure an event port isn't the case, certainly a character device or socket doesn't feel out of the question, even if a door isn't very realistic. 06:51:03 yes, but auto-detecting compression format when input on stdin is already broken, the question is would using I_PEEK instead of a thread that basically buffers the first few bytes to check be enough of an improvment to prefer scrapping the thread approach 06:52:09 and so is getting tar's stdin on something where I_PEEK doesn't work (which would be the status quo) a scenario that would be common enough 06:53:51 (at the same time, I really don't know when I'd have the time to go back and rewrite everything just because one advocate wants a specific approach) 06:55:20 but it'd at least be good to make sure the tradoffs between the two are known.. 06:56:03 Well, that's more context than I had when you asked as I don't know your tar change really. 06:57:28 so the other scenarios are likely enough that not fixing them is a problem would favor what's there 06:57:32 +if 06:57:55 but if not, then maybe going the other way is better... 06:58:29 i suspect most use where a file isn't specified is via a pipe to stdin, but then, i've been surprised before :) 09:35:04 128 partitions can be seen with illumos tools as well, but we normally truncate the list and only show first 9 (end with reserved partition number 8). 128 is coming from the fact that by specification, we are required to allocate space for that many entries in partition entry array (16k, or 128 * 128 bytes). 14:12:55 yeah, i have a situation where I actually want to increase that -- mostly to force the last usable LBA on a disk to a specific alignment in a way where tools aren't all 'hey! you've got unused space there, do you want me to use it?' 14:15:10 as at least some seem to dislike it if you just set the last usable lba value in the label to something that leaves a gap between it and the GPT entries in the backup label 15:18:21 I guess, thats why they did create this reserved partition. 15:53:01 the reserved partition is used on illumos to stash a copy of the disk id.. i think that's for disks where we have to generate an id 15:53:34 it's not used for anything else, and the fixed size won't really change the alignment 15:53:50 (granted i've had a few ideas for things that might be interesting to stash in that partition) 15:53:51 yep 16:21:08 Hello 20:02:19 Hello 20:11:07 hi 20:28:58 How's it going? 20:52:19 First, thank you all for Illumos! I feel like I have found some kind of secret treasure. That being said I tried out all of the Illumos-based distros on some new hardware and found out that it uses a newer Realtek 8125 driver. After testing the efforts of someone who patched the vendor's driver for FreeBSD I wonder how difficult it would be to port their efforts to the Illumos kernel. Is that even a reasonable approach or am I 20:52:19 getting in over my head? 21:00:37 iprog4u: I think it will take some work, but I believe anybody can do kernel work if they stick with it! 21:03:01 @jclulow I am by no means a C guru but have successfully integrated C apps into a Common Lisp app years ago. Hoping that it could be a "simple" matter of porting the success that person had with FBSD kernel over to Illumos kernel but initial searching looks like kernel dev is INVOLVED! 21:03:42 It definitely won't be a case of copying a C file into place, adjusting a couple of include paths, and then it works 21:04:21 But it also won't be like inventing a totally new thing 21:06:23 Right. Clearly not a copy pasta situation but it also looks like there is a possibility of preparing the info for some entry points and then letting the C driver junk provided by the vendor work with the hardware. 21:08:50 Where would one even begin? This? https://illumos.org/books/wdd/bookinfo.html#bookinfo ? The idea of this mini pc with 2x 2.5Gb NICs running an Illumos-based distro would open up some fun possibilities. 21:11:59 https://illumos.org/man/9E/mac is the overview for the current networking framework. 21:12:23 I don't think it's going to be just pointing things into the vendor driver per se. 21:12:33 Writing device drivers is useful background as well. 21:12:54 The challenge of no docs for the RTL8125 is definitely a factor that has slowed down support for it in the past. 21:14:57 Thank you for the direction. Figured it couldn't be super easy or else more would be doing it. Might be above my paygrade, I can parse C but not write idiomatic code. All I found was a leaked pdf for the 8125 and it definitely has a ton of info right down to electrical level. 21:15:20 Does it have the firmware docs? 21:15:33 Or really things like PCIe BAR layouts? 21:16:17 If you have specific questions, happy to answer them. I'm to blame for the mac manuals and can probably point you to some other references. 21:20:46 Oh nice! I would like to contribute somehow once I learn enough. Please forgive my massive ignorance here. Hehehe for example, how would I even determine firmware docs vs. PCIe BAR layouts? 21:21:45 There is AC and DC characteristics, Serial EEPROM Interface Timing, Differential Receiver Parameters, REFCLK Parameters. Tons of things I know nearly nothing about :) 21:22:17 Probably easier to work from something else. 21:22:22 Just to have a comparison point. 21:22:53 Like the drivers that worked for FBSD? 21:23:09 I meant easier to explain with a datasheet that has it. 21:24:20 https://www.intel.com/content/www/us/en/content-details/331520/intel-82599-10-gigabit-ethernet-controller-datasheet.html is the 82599. You want things like section 7/8/9. 21:27:14 wow you weren't kidding that there's no docs here. that's unfortunate 21:30:34 I see. Yeah seems that there is not much of anything for this chip. So lame, I was looking forward to running Illumos-based goodness on this machine. Will have to settle for other hardware for now. 21:31:47 Thank you all for getting back to me and for your work on Illumos. I want to write a post about a lab-in-a-box on OmniOS or similar. 22:11:11 it does look like our rge driver supports some of the same models as the freebsd if_re driver (just that freebsd supports additional ones the illumos rge does not -- including the 8125) 22:12:07 which suggests there might be some common bits so it _might_ be a matter of just adding some 8125 specific bits 22:12:28 though at the same time, that could also be harder than just porting the driver.. 22:13:38 https://github.com/alexdupre/rtl_bsd_drv/tree/v1.100 is the freebsd driver 22:52:30 jbk: btw. I just tried RTL8125 2.5Gbps recently which wasnt supported on OmniOS