01:18:55 jbk: okay, I misread my own code earlier, it makes sure not to run any HW emulation if the underlying part supports it, which I verified with a local setup and some dtrace. However, that code still should have been removed as part of the unwinding of OS-6778, but it's technically not hurting anything. 01:19:19 The reason you hit this gets back to the other issue I was talking about. Where a packet is coming down with HW flags which it shouldn't have 01:22:43 hmm.. i wonder how hard it'd be to figure out what's going on with that.. it's a separate issue to the thing I'm actually trying to work on... 01:23:16 I understand, I don't know if it's a configuration people ever have: multiple NICs on same subnet with differing hardware offloads 01:23:30 I can replicate such a setup locally, so I might see if I can replicate 01:25:38 jbk: `dtrace -qn 'e1000g_retrieve_context:return { @[arg1 ? "true" : "false"] = count(); }'` 01:25:47 with the assert remove you should see that return false sometimes 01:26:12 assuming you still do the SSH over e1000g0 and do something on the terminal to warrant SSHD sending an LSO segment 01:40:42 bahamat: https://github.com/fsnotify/fsnotify/issues/12 is finally marked closed! Not sure if you still use telegraf, but if you are, perhaps improvements are finally unblocked? 02:03:28 Sweet! 02:03:52 Not at MNX, but I think Joyent still does. 02:04:24 But we do use prometheus, and it also uses fsnotify, so that'll be great for us. 08:01:03 hello 08:01:41 I tried to compile pkgconf and I got warnings saying that strdup() is not declared 08:01:47 according to this man page: 08:02:20 https://linux.die.net/man/3/strdup 08:02:26 strdup() is POSIX 08:03:00 but in string.h, I see, like other functions, no POSIX guard , but __EXTENSIONS__ 08:03:10 is it normal ? 15:30:02 [illumos-gate] 15077 ficl: make sure the loader emulator does set console -- Toomas Soome 15:31:45 vtorri: looks like you are not setting up the correct C macro guards. Extensions is a special macro being defined with C99 flag I think but people here can elaborate which one you need. 15:44:25 [illumos-gate] 15063 vmm: cast to smaller integer type 'boolean_t' from 'void *' -- Toomas Soome 15:47:38 [illumos-gate] 15027 The ls command should show SIDs instead of ephemeral IDs -- Gordon Ross 16:31:11 [illumos-gate] 15059 Update AMD microcode to 20220930 -- Andy Fiddaman 17:01:05 Are AMD CPUs still without illumos KVM/bhyve support 17:04:08 I know for certain AMD Zen and later works FINE on BHYVE using a modern build. 17:04:21 There may be more, but I'll defer to others for those details. 17:09:06 I run SmartOS on a Ryzen 5700G and BHYVE works just fine. 17:24:12 hasn't AMD support for bhyve always been there since bhyve support was added? 17:24:24 I think so. 18:03:01 Aaand soo, preferred hardware section on wiki for SmartOS AND Triton.. needs update to mention.. AMD works just fine for Bhyve..? 18:05:53 yes, even works great on my old crappy N36L 18:20:09 jperkin: I finally figured out how to bust up a JDK so that I could use the remote access card in my N36L haha 18:20:20 You have to turn of all the TLS safeties 18:21:14 jbk - yes, it's only bhyve PCI pass-through which is not available on AMD as far as I know 18:43:42 Who needs TLS safety anyway, right? 18:44:41 Gonna take a long-shot here, but does anyone have experience with AMD X470 chipsets spontaneously power-cycling after heavy SATA load (like "zpool scrub" on a 14TB mirror load)? 18:45:47 It's gotten LESS shitty with a BIOS upgrade in 2021, but it still happens 1/2 the time I think. And NO idea what's doing it. (I'm tempted to unplug it from power, re-plug, and try again, thinking it might be some insufficient BIOS-level counter.) 18:46:45 And now, with consistency, right before the powercycle: 18:46:46 ahci: [ID 517647 kern.warning] WARNING: ahci0: watchdog port 6 satapkt 0xfffffeb305ba9b18 timed out 18:49:47 jclulow: ah nice, I didn't bother getting that, is it one that needs a license to work too? 18:50:37 danmcd: let me see if we've upstreamed all of our relevant fixes yet 18:51:08 IIRC, the deadlock was fixed (though unlikely to hit that from a scrub.. taht was caused by out extensive use of 'artisinal SCSI packets' :P) 18:51:21 jbk you think it's an illumos problem? I can understand it might be because my dump device is on the very (big) drives being scrubbed. 18:51:49 there were some questionable bits with how timeout/reset handling was being done in the sata driver 18:51:59 i need to look to see the specifics 18:52:11 if they could potentially be involved 18:55:53 yeah.. i think there's a deadlock in sata_hba_event_notify.. we have a fix that farms some bits out to a taskq (it's not ideal, but better) 18:56:39 i'll try to get details in a bit once I can hopefully get this otehr stuff i'm working on finished 18:58:20 I may try and repartition my SSDs to have 128GB less unassigned space, and make those mirrored slices the "dump" pool whose only job is to be the dump device. 18:58:39 nvme? 18:58:41 (I do Weird Things with my SSDs...) 18:58:46 No, SATA. 18:59:09 Hand-me-downs that were new, but outlasted the kids' laptops they were installed in. :upside_down: 18:59:30 Pair of these: 18:59:30 0. c10t2d0 19:00:44 at least with the deadlock that I (finally) found.. one of the complications was that it locked up the sata framework enough that dumps wouldn't work to sata disks (which is arguably a bug, but haven't been able to dig into that) 19:01:00 Oof. 19:01:14 My symptoms were BLINK power gone. 19:01:27 oh that i haven't seen 19:01:30 I even put a video camera when I was able to reproduce it and NOTHING. 19:01:52 I need to restore my reddit because the only community with my mobo with any activity appears to be there. 19:02:14 https://www.asrockrack.com/general/productdetail.asp?Model=X470D4U 19:03:18 The only complaint I have is that scrubbing (and also `zfs send -r` -ing) my 14TB mirrored pool (which is slightly less than half full right now) tickles this power-flicker thing. 19:03:24 Builds don't do it. 19:03:34 (I wonder if THAT's because those write to slog?) 19:20:41 Dan is there anything in the ipmi log by chance? 19:22:21 Lemme check again, but last time(s) there weren't, just "power on". 19:30:46 A lot of AM4 boards had VRMs that only barely meet the minimum requirements for Zen3 19:34:03 I'm running Zen2, FWIW. 19:34:15 @rmustacc https://kebe.com/~danmcd/webrevs/ipmi-log.png 19:34:39 Looks like power-off pair followed by power-on pair. 19:36:29 I've got "raw data" too, but that corresponds to reading my mobo manual, so that's on me. 19:45:20 Actually, no need. The ones above match reboot times to the T. 20:01:04 [illumos-gate] 15032 SMB: Can't create a file with a NULL DACL -- Matt Barden 20:04:03 (The codes I'm seeing from the power-flicker match ones from me typing "reboot".) 20:07:30 That's unfortunate. the things that would come to mind that lead there that a colleague hit recently were due to a failing fan and thermal trip. 20:07:34 But I'd hope things like ipmi would do that. 20:09:16 "Thermal problems" *is* on my list of possibilities. My case is, unfortunately, not well suited for two disks like that to be so close to each other. I think it need a sufficiently long time to heat, though, and I've contemplated upping the fan count in there, or even replacing the case with a different one better suited to space between drives. 20:09:30 s/need/needs/ 20:10:45 There case was due to a failed fan, so that seems less likely here. 20:46:59 [illumos-gate] 15050 SMB server mishandles some SIDs -- Matt Barden 22:22:43 I have LWPs on the brain. 22:29:22 at least they're lightweight :P 22:30:16 jbk: eh 22:31:59 I specifically have the matter of "how do i make a thread-unsafe greenthreads system-thread-safe" on the brain 22:42:04 one big mutex 22:43:45 Erlang 22:43:53 * rzezeski ducks 22:44:15 that was for your arekinath 22:45:34 I feel like the BEAM answer to "how do I make it system-thread-safe" is "add more threads" 22:45:47 which is intuitively crazy but seems to somehow work 22:46:25 but also those people took too many puffs on the macro pipe 22:46:41 Rickard Green keeps your green threads safe 22:47:10 when all you have is a mailbox, everything is a message 22:47:45 jclulow, that's called a giant lock 22:48:18 arekinath, I mean... 22:48:23 Who would win in a fight, though, one giant lock or a giant pile of little locks 22:49:15 what if, hear me out, you have one giant lock to keep track of the little locks 22:49:18 the giant pile of little locks really know how to kill you dead(lock) 22:49:56 bah 22:52:11 https://en.wikipedia.org/wiki/Giant_lock 22:52:56 TIL 22:54:18 programs with giant locks are considerably shorter than programs with fine-grained locking. here is a driver in 4.4BSD. and here is the equivalent driver in Linux 22:54:27 and some system are on crusade to eliminate it, e.g. WARNING: Device "psm" is Giant locked and may be deleted before FreeBSD 14.0. 22:55:08 it's the Bananarama of concurrency primitives 22:57:48 hm 22:58:45 * danmcd shouldn't *monitor* this situation too closely. 22:59:47 I think the word you're after is supervise, danmcd 23:00:03 but you can spell it with a Z if you really want 23:00:09 the compiler will accept it 23:03:26 Sorry about that, I was dining with some philosophers earlier. (Now I have to leave... seriously.) 23:03:44 and dodge the produce? :) 23:07:00 ¿_? 23:10:05 danmcd ran off with all the forks and now the rest of us must starve 23:12:36 does that make him a Byzantine fork thief or something 23:14:37 I hear he ran off to the Island of Paxos 23:16:49 this is some concurrent programming joke I don't understand, init? 23:18:47 Diabolical algorithms: a reader-writerS lock. In this algorithm, there may only be one reader at a time, but there may be any number of writers. I can't imagine this being useful for anything except efficiently, cleanly and quickly causing severe data corruption.