Switch to DuckDuckGo Search
   April 28, 2020  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | >


NOTICE: This channel is no longer actively logged.

Toggle Join/Part | bottom
[00:12:49] *** lgtaube <lgtaube!~lgt@213-67-21-71-no84.tbcn.telia.com> has quit IRC (Ping timeout: 264 seconds)
[00:13:09] *** idodeclare <idodeclare!~textual@cpe-76-185-177-63.satx.res.rr.com> has joined #illumos
[00:13:53] *** lgtaube <lgtaube!~lgt@45.86.203.25> has joined #illumos
[00:20:15] *** EisNerd <EisNerd!~manschwet@mail.cs-software-gmbh.de> has quit IRC (Ping timeout: 240 seconds)
[00:20:23] *** KeiraT <KeiraT!~k4ra@gateway/tor-sasl/k4ra> has quit IRC (Ping timeout: 240 seconds)
[00:20:34] *** neuroserve <neuroserve!~toens@ip-88-152-242-4.hsi03.unitymediagroup.de> has quit IRC (Ping timeout: 260 seconds)
[00:20:50] *** neuroserve <neuroserve!~toens@ip-88-152-242-4.hsi03.unitymediagroup.de> has joined #illumos
[00:21:54] *** idodeclare <idodeclare!~textual@cpe-76-185-177-63.satx.res.rr.com> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[00:27:50] *** EisNerd <EisNerd!~manschwet@mail.cs-software-gmbh.de> has joined #illumos
[00:28:56] *** KeiraT <KeiraT!~k4ra@gateway/tor-sasl/k4ra> has joined #illumos
[00:42:34] *** phyre <phyre!~phyre___@78.30.23.107> has quit IRC (Remote host closed the connection)
[01:13:03] *** KeiraT <KeiraT!~k4ra@gateway/tor-sasl/k4ra> has quit IRC (Ping timeout: 240 seconds)
[01:13:08] *** EisNerd <EisNerd!~manschwet@mail.cs-software-gmbh.de> has quit IRC (Read error: Connection reset by peer)
[01:14:12] *** KeiraT <KeiraT!~k4ra@gateway/tor-sasl/k4ra> has joined #illumos
[01:14:12] *** EisNerd <EisNerd!~manschwet@mail.cs-software-gmbh.de> has joined #illumos
[01:21:45] *** richlowe <richlowe!~richlowe@2605:a000:160c:8b5b:e03f:a4ff:fe79:5bc3> has joined #illumos
[01:23:45] *** clapont <clapont!~clapont@unaffiliated/clapont> has quit IRC (Ping timeout: 240 seconds)
[01:26:08] *** clapont <clapont!~clapont@unaffiliated/clapont> has joined #illumos
[01:35:46] *** ypankov <ypankov!~ypankov@5.138.234.111> has quit IRC (Ping timeout: 260 seconds)
[01:39:04] *** idodeclare <idodeclare!~textual@cpe-76-185-177-63.satx.res.rr.com> has joined #illumos
[01:46:33] *** jimklimov <jimklimov!~jimklimov@ip-86-49-254-26.net.upcbroadband.cz> has joined #illumos
[02:01:55] <andyf> @pmooney - you can point them to https://github.com/omniosorg/omnios-extra/blob/master/build/virtualbox/patches/hma.patch
[02:02:50] <andyf> Without bhyve in tree I think that's all they would need in addition to the KVM updates
[02:03:54] <andyf> (ah, they'll need to take the #if OOCEVER >= 151029 block there
[02:12:44] <pmooney> andyf: great, thanks
[02:13:29] <pmooney> I'll include a URL to that in addition to the commit they'll need for illumos-kvm.
[02:20:30] *** freakazoid0223 <freakazoid0223!~matt@pool-96-227-117-103.phlapa.fios.verizon.net> has quit IRC (Ping timeout: 260 seconds)
[02:22:38] *** freakazoid0223 <freakazoid0223!~matt@pool-96-227-117-103.phlapa.fios.verizon.net> has joined #illumos
[02:27:19] *** jimklimov <jimklimov!~jimklimov@ip-86-49-254-26.net.upcbroadband.cz> has quit IRC (Read error: Connection reset by peer)
[02:28:35] *** jimklimov <jimklimov!~jimklimov@ip-86-49-254-26.net.upcbroadband.cz> has joined #illumos
[02:35:02] *** hadfl_ <hadfl_!~hadfl@omniosce.ee.ethz.ch> has quit IRC (Ping timeout: 260 seconds)
[02:35:23] *** hadfl <hadfl!~hadfl@omniosce.ee.ethz.ch> has joined #illumos
[02:37:17] *** dopplergange <dopplergange!~dop@193.37.255.40> has quit IRC (Ping timeout: 256 seconds)
[02:38:26] *** dopplergange <dopplergange!~dop@46-227-69-22.static.obenetwork.net> has joined #illumos
[02:51:08] *** idodeclare <idodeclare!~textual@cpe-76-185-177-63.satx.res.rr.com> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[02:56:03] *** arnoldoree <arnoldoree!~arnoldore@2001:d08:2181:da18:f1ee:e398:642d:4edb> has joined #illumos
[03:01:43] *** idodeclare <idodeclare!~textual@cpe-76-185-177-63.satx.res.rr.com> has joined #illumos
[03:08:10] *** ypankov <ypankov!~ypankov@5.138.234.111> has joined #illumos
[03:24:50] *** varna_ <varna_!~varna@125.118.107.210> has joined #illumos
[03:27:40] *** varna <varna!~varna@115.192.35.212> has quit IRC (Ping timeout: 246 seconds)
[03:28:19] *** btibble <btibble!~brantibbl@c-69-94-200-89.hs.gigamonster.net> has quit IRC (Ping timeout: 260 seconds)
[03:36:55] *** ldepandis <ldepandis!~ldepandis@unaffiliated/ldepandis> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[03:40:49] *** btibble <btibble!~brantibbl@c-69-94-200-89.hs.gigamonster.net> has joined #illumos
[03:47:45] *** idodeclare <idodeclare!~textual@cpe-76-185-177-63.satx.res.rr.com> has quit IRC (Ping timeout: 240 seconds)
[03:48:15] *** jcea <jcea!~Thunderbi@2001:bc8:2ecd:caed:7670:6e00:7670:6e00> has quit IRC (Quit: jcea)
[03:48:58] *** ypankov <ypankov!~ypankov@5.138.234.111> has quit IRC (Remote host closed the connection)
[03:49:52] *** idodeclare <idodeclare!~textual@cpe-76-185-177-63.satx.res.rr.com> has joined #illumos
[03:55:55] *** idodeclare <idodeclare!~textual@cpe-76-185-177-63.satx.res.rr.com> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[04:33:32] *** arnoldoree <arnoldoree!~arnoldore@2001:d08:2181:da18:f1ee:e398:642d:4edb> has quit IRC (Ping timeout: 244 seconds)
[04:47:51] *** arnoldoree <arnoldoree!~arnoldore@113.210.186.134> has joined #illumos
[06:07:32] *** idodeclare <idodeclare!~textual@cpe-76-185-177-63.satx.res.rr.com> has joined #illumos
[06:08:31] *** idodeclare <idodeclare!~textual@cpe-76-185-177-63.satx.res.rr.com> has quit IRC (Client Quit)
[07:02:43] *** catalinbostan <catalinbostan!~textual@95.77.171.190> has joined #illumos
[07:05:01] *** clapont <clapont!~clapont@unaffiliated/clapont> has quit IRC (Ping timeout: 246 seconds)
[07:05:14] *** neuroserve <neuroserve!~toens@ip-88-152-242-4.hsi03.unitymediagroup.de> has quit IRC (Ping timeout: 260 seconds)
[07:06:56] *** clapont <clapont!~clapont@unaffiliated/clapont> has joined #illumos
[07:13:31] *** kahiru <kahiru!~quassel@ip-89-102-207-18.net.upcbroadband.cz> has quit IRC (Ping timeout: 250 seconds)
[07:13:33] *** kahiru_ <kahiru_!~quassel@ip-89-102-207-18.net.upcbroadband.cz> has joined #illumos
[07:20:21] *** BOKALDO <BOKALDO!~BOKALDO@81.198.20.102> has joined #illumos
[07:55:38] *** jubal <jubal!~jubal@230-2-237-24.gci.net> has quit IRC (Ping timeout: 260 seconds)
[08:08:23] *** phyre <phyre!~phyre___@78.30.23.107> has joined #illumos
[08:23:41] *** btibble <btibble!~brantibbl@c-69-94-200-89.hs.gigamonster.net> has quit IRC (Quit: Leaving)
[08:30:16] *** neuroserve <neuroserve!~toens@ip-95-222-232-201.hsi15.unitymediagroup.de> has joined #illumos
[08:44:38] *** clapont <clapont!~clapont@unaffiliated/clapont> has quit IRC (Ping timeout: 260 seconds)
[08:45:58] *** clapont <clapont!~clapont@unaffiliated/clapont> has joined #illumos
[08:48:41] *** andy_js <andy_js!~andy@90.218.209.121> has joined #illumos
[08:55:35] *** aszeszo <aszeszo!~aszeszo@unaffiliated/aszeszo> has joined #illumos
[08:58:39] *** ldepandis <ldepandis!~ldepandis@unaffiliated/ldepandis> has joined #illumos
[08:58:46] *** aszeszo <aszeszo!~aszeszo@unaffiliated/aszeszo> has quit IRC (Remote host closed the connection)
[09:01:13] <Agnar> moin
[09:27:58] *** jimklimov <jimklimov!~jimklimov@ip-86-49-254-26.net.upcbroadband.cz> has quit IRC (Ping timeout: 260 seconds)
[09:32:38] *** jimklimov <jimklimov!~jimklimov@78.80.224.132> has joined #illumos
[10:07:25] <sjorge> Moin
[10:07:43] *** ptribble <ptribble!~ptribble@cpc92716-cmbg20-2-0-cust138.5-4.cable.virginm.net> has joined #illumos
[10:11:10] *** man_u <man_u!~manu@89-92-19-81.hfc.dyn.abo.bbox.fr> has joined #illumos
[10:18:13] *** man_u <man_u!~manu@89-92-19-81.hfc.dyn.abo.bbox.fr> has quit IRC (Ping timeout: 264 seconds)
[10:36:27] *** man_u <man_u!~manu@fob.gandi.net> has joined #illumos
[10:48:22] *** Mer|inDMC <Mer|inDMC!~merlin@163.172.186.44> has quit IRC (Ping timeout: 256 seconds)
[10:52:13] <andyf> Morning - does anyone have an openindiana installation handy and could try installing cpu/mc ?
[10:59:21] <Agnar> andyf: sure
[11:01:07] <andyf> On omnios, it makes "add_drv" segfault
[11:01:16] <andyf> I'm guessing because of the number of IDs there
[11:01:55] <Agnar> Creating Plan (Solver setup): |
[11:01:58] <Agnar> ;)
[11:02:13] <Agnar> will I see the segfault in pkg's output?
[11:02:39] <andyf> You will see driver (imcstub) install failed with return code -11
[11:04:39] <wilbury> moin
[11:05:09] <wilbury> andyf: openindiana only in bhyve container, not on bare metal here. does that also count?
[11:06:59] <andyf> Should do :)
[11:08:46] <Agnar> driver (imcstub) install failed with return code -11
[11:09:01] <Agnar> yes, segfaults
[11:09:03] <andyf> Ok, thanks for testing - I'll look at fixing it
[11:14:42] <wilbury> same in virtual env
[11:40:25] *** copec <copec!~copec@schrodbox.unaen.org> has quit IRC (Ping timeout: 264 seconds)
[11:47:41] *** copec <copec!~copec@schrodbox.unaen.org> has joined #illumos
[12:01:18] *** wacki <wacki!~wacki@i577B08E2.versanet.de> has joined #illumos
[12:08:34] *** minus <minus!~minus@2001:41d0:e:35b::1> has quit IRC (Quit: Bye)
[12:12:09] *** roryrjb_ <roryrjb_!rory@gateway/vpn/privateinternetaccess/roryrjb> has joined #illumos
[12:12:19] *** minus <minus!~minus@2001:41d0:e:35b::1> has joined #illumos
[12:12:28] *** roryrjb_ <roryrjb_!rory@gateway/vpn/privateinternetaccess/roryrjb> has quit IRC (Client Quit)
[12:24:31] *** ldepandis <ldepandis!~ldepandis@unaffiliated/ldepandis> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[12:26:16] *** tsoome_ <tsoome_!~tsoome@91.209.240.229> has quit IRC (Read error: Connection reset by peer)
[12:27:21] *** tsoome_ <tsoome_!~tsoome@148-52-235-80.sta.estpak.ee> has joined #illumos
[12:32:01] *** fgudin <fgudin!fgudin@sdf-eu.org> has quit IRC (Ping timeout: 264 seconds)
[12:38:26] *** fgudin <fgudin!fgudin@sdf-eu.org> has joined #illumos
[12:48:22] *** clapont <clapont!~clapont@unaffiliated/clapont> has quit IRC (Ping timeout: 246 seconds)
[12:50:10] *** clapont <clapont!~clapont@unaffiliated/clapont> has joined #illumos
[12:51:42] *** ldepandis <ldepandis!~ldepandis@unaffiliated/ldepandis> has joined #illumos
[12:54:29] <andyf> Thanks both, I'll have a fix up for review shortly
[13:22:08] <ptribble> why doesn't it fail on e1000g, which has even more aliases?
[13:24:13] <andyf> Good question
[13:26:08] <andyf> It's a buffer overrun, so maybe just lucky..
[13:27:36] <andyf> I just uninstalled and re-installed e1000g and it failed in the same way
[13:28:07] <Agnar> bwahahaha
[13:28:36] <andyf> Now I'll check driver_aliases in a default omnios installation....
[13:29:13] <andyf> The thing is, IPS does not consider it a fatal error
[13:29:25] <andyf> so it's entirely possible that it has not been working properly at all
[13:29:41] <toastersonerson1> I was about to say add_drv probably never gets called for e1000g as it is by default on the ISO image which gets built by distro-constructor
[13:30:08] <andyf> still, how does `grep -c e1000g /etc/driver_aliases` look?
[13:30:13] <toastersonerson1> and distro-constructor uses IPS with -R switch
[13:30:24] <andyf> ahh.. yes, of course, thanks.
[13:30:35] <toastersonerson1> 220
[13:31:01] <andyf> The -R will explain it
[13:31:15] <toastersonerson1> no need to run add_srv for alternate root :)
[13:31:23] <toastersonerson1> *add_drv
[13:35:51] *** jamtorus <jamtorus!~quassel@s91904423.blix.com> has joined #illumos
[13:37:01] *** clapont <clapont!~clapont@unaffiliated/clapont> has quit IRC (Ping timeout: 246 seconds)
[13:39:06] *** jellydonut <jellydonut!~quassel@s91904423.blix.com> has quit IRC (Ping timeout: 260 seconds)
[13:41:06] <jlevon> /join #hugo
[13:41:08] <jlevon> oops
[13:54:09] *** clapont <clapont!~clapont@unaffiliated/clapont> has joined #illumos
[14:01:58] *** clapont <clapont!~clapont@unaffiliated/clapont> has quit IRC (Ping timeout: 260 seconds)
[14:40:48] *** gh34 <gh34!~textual@cpe-184-58-181-106.wi.res.rr.com> has joined #illumos
[14:48:31] *** clapont <clapont!~clapont@unaffiliated/clapont> has joined #illumos
[14:52:44] *** jcea <jcea!~Thunderbi@2001:bc8:2ecd:caed:7670:6e00:7670:6e00> has joined #illumos
[15:01:09] *** clapont <clapont!~clapont@unaffiliated/clapont> has quit IRC (Ping timeout: 265 seconds)
[15:11:06] *** BrownBear <BrownBear!~BrownBear@107.175.247.247> has quit IRC (Ping timeout: 244 seconds)
[15:12:56] *** clapont <clapont!~clapont@unaffiliated/clapont> has joined #illumos
[15:13:11] *** BrownBear <BrownBear!~BrownBear@107.175.247.247> has joined #illumos
[15:21:29] *** clapont <clapont!~clapont@unaffiliated/clapont> has quit IRC (Ping timeout: 258 seconds)
[15:28:22] *** clapont <clapont!~clapont@unaffiliated/clapont> has joined #illumos
[15:41:06] *** phyre <phyre!~phyre___@78.30.23.107> has quit IRC (Remote host closed the connection)
[15:42:18] *** BOKALDO <BOKALDO!~BOKALDO@81.198.20.102> has quit IRC (Quit: Leaving)
[15:44:10] *** clapont <clapont!~clapont@unaffiliated/clapont> has quit IRC (Ping timeout: 260 seconds)
[15:48:47] <andyf> LeftWing: I forgot to add to my comments on the boot banner stuff...
[15:48:56] <andyf> looks like we /almost/ got custr in the kernel there :D
[15:56:41] <jimklimov> update to my yesterday's woes... the promised 8hr disk scan finished recently; was at under 2min remaining for 11hrs
[15:57:46] <jimklimov> otherwise, the "UFS Explorer Professional" seems a decent tool for people like me stuck on Windows - it does even read ZFS. But is very late in the game to say I gotta cash up to restore files over 768Kb in size.
[15:58:14] <jimklimov> still, it gave me the partition sizing I needed to restore the pool natively - in the end I rememberguessed that wrong ;)
[15:58:54] <jimklimov> boo to linux `fdisk` that (I assume) created the fat32 header when I only asked it to define a partition table
[15:59:26] *** roryrjb <roryrjb!~rory@209.250.250.222> has quit IRC (Ping timeout: 258 seconds)
[16:01:02] *** clapont <clapont!~clapont@unaffiliated/clapont> has joined #illumos
[16:01:24] *** roryrjb <roryrjb!~rory@209.250.250.222> has joined #illumos
[16:02:22] <jimklimov> fwiw, my main hiccup was assuming the disk had GPT partitioning, and that forced the first partition to start at 2048 sectors
[16:02:44] <jimklimov> in fact the ZFS started at 256 sectors, so it had to be MBR
[16:04:41] <jimklimov> I am still at a loss how it could lose partitioning though
[16:05:34] <jimklimov> there was some re-plugging between OSes so it rewrite devid's for the vdev, but that shouldabeen constrained tot he zfs labels
[16:09:18] <andyf> so you have it imported again?
[16:09:50] <jimklimov> seems recognized, is scrubbing now
[16:10:01] <jimklimov> I assume one or two of the labels can be botched
[16:10:16] <jimklimov> but should get rewritten with the intact ones after some TXGs
[16:13:55] <jimklimov> at least I guessed where it ends (disk end) I assume, so zdb now reports all 4 labels
[16:14:19] <jimklimov> maybe the original partition was a bit smaller and it went up on label 2 of 4 though, not sure
[16:14:43] <andyf> Good news though :)
[16:15:06] <jimklimov> yep :)
[16:16:26] <LeftWing> andyf: I got half way to custr before realising that I would have to change it all, because it uses errno
[16:16:54] <LeftWing> So, instead we have an initial sketch of what I think is a more ergonomic API anyway
[16:17:24] <LeftWing> And which we could flesh out more completely eventually and replace custr
[16:17:35] <jimklimov> colleagues made a nice api some time ago... lots of fancy C++ and exceptions for everything improper
[16:17:56] <jimklimov> uncaught. So disk overflows from SIGABRTed coredumps when it hits the fan
[16:23:01] *** clapont <clapont!~clapont@unaffiliated/clapont> has quit IRC (Ping timeout: 264 seconds)
[16:24:34] <jimklimov> in modern `zpool scrub` stats, what is scanned vs issued? > 238G scanned at 200M/s, 16.5G issued at 13.9M/s, 1.09T total
[16:25:03] <jimklimov> is it physical vs logical (compression, snap, dedup) data size-orth?
[16:25:12] <jimklimov> (worth)
[16:25:34] *** copec <copec!~copec@schrodbox.unaen.org> has quit IRC (Ping timeout: 240 seconds)
[16:27:52] <jimklimov> and also, in `zpool list` the DEDUP value covers all pool data, or only for blocks/datasets marked as deduped-when-written?
[16:29:06] <jimklimov> it is heartwarming to see 16.49x dedup ratio, but it was only enabled on a test zoneroot area and impacts under a gig of data on the 2tb backup pool :)
[16:32:49] *** psarria <psarria!~psarria@235.red-83-37-188.dynamicip.rima-tde.net> has joined #illumos
[16:34:38] *** clapont <clapont!~clapont@unaffiliated/clapont> has joined #illumos
[16:35:28] *** kahiru_ <kahiru_!~quassel@ip-89-102-207-18.net.upcbroadband.cz> has quit IRC (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
[16:35:53] *** kahiru <kahiru!~quassel@ip-89-102-207-18.net.upcbroadband.cz> has joined #illumos
[16:45:11] *** Kurlon <Kurlon!~Kurlon@cpe-67-253-136-97.rochester.res.rr.com> has quit IRC (Remote host closed the connection)
[16:45:49] *** Kurlon <Kurlon!~Kurlon@167-48.gwi.net> has joined #illumos
[16:47:55] *** jamtorus is now known as jellydonut
[16:56:32] *** BOKALDO <BOKALDO!~BOKALDO@81.198.20.102> has joined #illumos
[17:12:42] *** catalinbostan <catalinbostan!~textual@95.77.171.190> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)
[17:21:03] *** idodeclare <idodeclare!~textual@cpe-76-185-177-63.satx.res.rr.com> has joined #illumos
[17:31:55] *** arnoldoree <arnoldoree!~arnoldore@113.210.186.134> has quit IRC (Quit: Leaving)
[17:47:38] *** TheGreekOwl <TheGreekOwl!~Arkomeda@2a02:587:4874:d500:69f1:5548:4980:af2d> has joined #illumos
[17:53:10] *** idodeclare <idodeclare!~textual@cpe-76-185-177-63.satx.res.rr.com> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[17:53:56] *** idodeclare <idodeclare!~textual@cpe-76-185-177-63.satx.res.rr.com> has joined #illumos
[17:56:14] *** jubal <jubal!~jubal@230-2-237-24.gci.net> has joined #illumos
[18:01:47] *** idodeclare <idodeclare!~textual@cpe-76-185-177-63.satx.res.rr.com> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[18:02:29] *** idodeclare <idodeclare!~textual@cpe-76-185-177-63.satx.res.rr.com> has joined #illumos
[18:07:37] <tsoome> MUTEX_DEFAULT or MUTEX_ADAPTIVE or does not matter at all?
[18:09:51] <LeftWing> tsoome: See the comment in sys/mutex.h ?
[18:10:05] <tsoome> yes, i know they are identical
[18:10:31] <tsoome> :) so it is more about visual effect:)
[18:10:35] <LeftWing> It suggests people specify MUTEX_DEFAULT
[18:10:57] <LeftWing> Unless you're writing a driver that's trying to keep to the DDI, at which point you would say MUTEX_DRIVER ultimately
[18:11:40] <LeftWing> I think MUTEX_DEFAULT is clearer than MUTEX_ADAPTIVE when you don't really care
[18:11:50] <LeftWing> Like, when you just want it to work
[18:12:04] <tsoome> well, there is also statement "The basic mutex type is MUTEX_ADAPTIVE, which is expected to be used
[18:12:05] <tsoome> 42 * in almost all of the kernel."
[18:12:36] <LeftWing> Yes, I think that's trying to say that most mutexes end up being adaptive these days because of the way we do interrupt threads and manage priorities
[18:12:56] <LeftWing> That is, that in general DEFAULT becomes ADAPTIVE in practice
[18:13:33] <LeftWing> If we were to add a different type later on, we might change the DEFAULT that you get to use it
[18:13:50] <tsoome> yep. ok. Still that comment is not *that* clear. but it does make sense to use MUTEX_DEFAULT
[18:13:58] <tsoome> :D
[18:14:00] <LeftWing> We could certainly improve the comment
[18:14:12] <LeftWing> But I *think* that is what it is trying to say
[18:14:33] <LeftWing> One imagines rmustacc and richlowe have thoughts about this sort of thing
[18:14:34] <andyf> That's how I read it too
[18:15:37] <tsoome> I think, what needs to be updated is man: mutex_init() initializes a mutex. It is an error to initialize a mutex
[18:15:37] <tsoome> more than once. The type argument should be set to MUTEX_DRIVER.
[18:15:45] <tsoome> :D
[18:16:08] <pmooney> the NULL -> MUTEX_ADAPTIVE seemed fine to me for bulk clean-up work
[18:16:11] <LeftWing> Well in the context of a DDI-conforming driver, MUTEX_DRIVER is the right thing to specify
[18:16:33] <pmooney> like if you're looking for wsdiff-testable results for minimum overhead
[18:16:35] * pmooney shrugs
[18:16:49] <tsoome> Yes, except the manual does not tell this is specifically for driver.
[18:16:59] <tsoome> (even if we do know)
[18:17:53] <tsoome> pmooney yes, but as always, there is "but" :)
[18:19:26] <tsoome> going from NULL to MUTEX_ADAPTIVE is safe:) even if the MUTEX_DEFAULT should be more correct.
[18:19:50] <pmooney> yup
[18:20:00] <pmooney> (I'm in agreement)
[18:20:33] *** copec <copec!~copec@schrodbox.unaen.org> has joined #illumos
[18:21:36] <LeftWing> Looking at the code for mutex_init() MUTEX_DEFAULT appears safe too
[18:22:01] <LeftWing> If it were not, it seems DEBUG bits wouldn't work today
[18:23:34] <rmustacc> MUTEX_ADAPTIVE is only safe in this particular case because there's no IPL being set.
[18:23:37] <rmustacc> It's not always safe.
[18:23:39] <tsoome> yea, anyhow, it makes sense to use MUTEX_DEFAULT :)
[18:26:16] <rmustacc> Sounds like I should try and improve the comments and manual page here?
[18:26:33] <rmustacc> The reality is that the implementation actually only does the auto-determination for drivers based on IPL.
[18:26:42] <rmustacc> Which ironically, is actually the behavior we'd want for more parts of the system, imho.
[18:26:49] <tsoome> especially manual, i think.
[18:28:19] <rmustacc> Well, the manual is written for device driver writeres.
[18:28:20] <rmustacc> *writers
[18:28:36] <rmustacc> I can try to add some language there, but I think in general using MUTEX_DRIVER and an ipl makes some amount of sense.
[18:28:39] <rmustacc> But I'll see what I can do.
[18:30:00] <rmustacc> Though there's a lot of things I keep saying I'll do, so someone shoudl probably remind me when I forget, haha.
[18:30:07] <tsoome> :D
[18:31:04] <gitomat> [illumos-gate] 12595 restructure digest crypto-tests -- Patrick Mooney <pmooney at pfmooney dot com>
[18:37:58] *** BH23 <BH23!~BH23@santoroj.plus.com> has quit IRC (Remote host closed the connection)
[18:39:13] *** BH23 <BH23!~BH23@santoroj.plus.com> has joined #illumos
[18:46:46] *** ldepandis <ldepandis!~ldepandis@unaffiliated/ldepandis> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)
[18:49:35] *** jubal <jubal!~jubal@230-2-237-24.gci.net> has quit IRC (Quit: jubal)
[19:12:43] *** objdump <objdump!~objdump@c-73-110-89-40.hsd1.in.comcast.net> has joined #illumos
[19:13:07] *** objdump <objdump!~objdump@c-73-110-89-40.hsd1.in.comcast.net> has quit IRC (Client Quit)
[19:14:35] *** objdump <objdump!~objdump@c-73-110-89-40.hsd1.in.comcast.net> has joined #illumos
[19:15:58] *** ovi <ovi!~sh42@178.251.69.48> has quit IRC (Ping timeout: 260 seconds)
[19:30:14] *** man_u <man_u!~manu@fob.gandi.net> has quit IRC (Ping timeout: 240 seconds)
[19:37:57] <gitomat> [illumos-gate] 12528 expand hypervisor management API -- Patrick Mooney <pmooney at pfmooney dot com>
[19:37:58] <gitomat> [illumos-gate] 12529 want exclusive hma registration -- Andy Fiddaman <omnios at citrus-it dot co.uk>
[19:38:14] <pmooney> (flag day email sent)
[19:48:42] *** jimklimov <jimklimov!~jimklimov@78.80.224.132> has quit IRC (Ping timeout: 260 seconds)
[19:48:54] *** copec <copec!~copec@schrodbox.unaen.org> has quit IRC (Ping timeout: 240 seconds)
[19:50:11] *** lystra <lystra!~lystra@d53-64-11-169.nap.wideopenwest.com> has quit IRC (Ping timeout: 265 seconds)
[19:51:07] *** lystra <lystra!~lystra@d53-64-11-169.nap.wideopenwest.com> has joined #illumos
[19:55:48] *** jimklimov <jimklimov!~jimklimov@ip-86-49-254-26.net.upcbroadband.cz> has joined #illumos
[19:56:18] <LeftWing> Thanks, Patrick!
[19:58:42] *** tsoome__ <tsoome__!~tsoome@91.209.240.229> has joined #illumos
[20:01:14] *** tsoome_ <tsoome_!~tsoome@148-52-235-80.sta.estpak.ee> has quit IRC (Ping timeout: 260 seconds)
[20:02:11] *** alanc <alanc!~alanc@inet-hqmc01-o.oracle.com> has quit IRC (Remote host closed the connection)
[20:02:41] *** alanc <alanc!~alanc@inet-hqmc01-o.oracle.com> has joined #illumos
[20:04:04] *** objdump <objdump!~objdump@c-73-110-89-40.hsd1.in.comcast.net> has quit IRC ()
[20:05:51] *** jellydonut <jellydonut!~quassel@s91904423.blix.com> has quit IRC (Quit: No Ping reply in 180 seconds.)
[20:11:04] *** jellydonut <jellydonut!~quassel@s91904423.blix.com> has joined #illumos
[20:38:40] *** clapont <clapont!~clapont@unaffiliated/clapont> has quit IRC (Ping timeout: 244 seconds)
[20:41:22] *** clapont <clapont!~clapont@unaffiliated/clapont> has joined #illumos
[20:43:16] *** dopplergange <dopplergange!~dop@46-227-69-22.static.obenetwork.net> has quit IRC (Quit: ZNC 1.7.5 - https://znc.in)
[20:44:08] *** dopplergange <dopplergange!~dop@46-227-69-22.static.obenetwork.net> has joined #illumos
[20:58:38] *** Riastradh <Riastradh!~riastradh@netbsd/developer/riastradh> has quit IRC (Remote host closed the connection)
[21:04:52] *** BOKALDO <BOKALDO!~BOKALDO@81.198.20.102> has quit IRC (Quit: Leaving)
[21:13:09] *** Riastradh <Riastradh!~riastradh@netbsd/developer/riastradh> has joined #illumos
[21:14:00] *** tsoome__ <tsoome__!~tsoome@91.209.240.229> has quit IRC (Read error: Connection reset by peer)
[21:15:39] *** tsoome_ <tsoome_!~tsoome@148-52-235-80.sta.estpak.ee> has joined #illumos
[21:16:45] *** neuroserve <neuroserve!~toens@ip-95-222-232-201.hsi15.unitymediagroup.de> has quit IRC (Ping timeout: 240 seconds)
[21:25:27] *** jimklimov <jimklimov!~jimklimov@ip-86-49-254-26.net.upcbroadband.cz> has quit IRC (Read error: Connection reset by peer)
[21:25:51] *** jimklimov <jimklimov!~jimklimov@ip-86-49-254-26.net.upcbroadband.cz> has joined #illumos
[21:34:34] *** Riastradh <Riastradh!~riastradh@netbsd/developer/riastradh> has quit IRC (Remote host closed the connection)
[21:34:50] *** btibble <btibble!~brantibbl@69.94.200.89> has joined #illumos
[21:35:19] *** ypankov <ypankov!~ypankov@85.174.207.217> has joined #illumos
[21:40:10] *** tsoome__ <tsoome__!~tsoome@91.209.240.229> has joined #illumos
[21:40:42] *** tsoome_ <tsoome_!~tsoome@148-52-235-80.sta.estpak.ee> has quit IRC (Ping timeout: 260 seconds)
[21:41:51] *** slx86 <slx86!~Thunderbi@92-110-137-173.cable.dynamic.v4.ziggo.nl> has joined #illumos
[21:42:35] *** slx86 <slx86!~Thunderbi@92-110-137-173.cable.dynamic.v4.ziggo.nl> has quit IRC (Client Quit)
[21:47:55] <wilbury> so i aimed to do some kernel coding exercise, wanting to port nmdm driver-like functionality from freebsd. but the very first thing that i've run into is "bad module linkage". the structures seem to be initialized correctly, though.
[21:48:07] <wilbury> any hints? yes, i've been looking at other driver sources.
[21:49:33] *** qyliss <qyliss!~qyliss@NixOS/user/qyliss> has quit IRC (Quit: bye)
[21:51:48] *** qyliss <qyliss!~qyliss@NixOS/user/qyliss> has joined #illumos
[21:57:02] *** ngchk1 <ngchk1!~ngchk1@b2b-92-50-91-166.unitymedia.biz> has quit IRC (Ping timeout: 260 seconds)
[22:03:49] <rmustacc> wilbury: Can you share what you have?
[22:03:56] <wilbury> rmustacc: yes
[22:03:58] <wilbury> sec
[22:04:07] <rmustacc> Probalby going to be easier to advise based on inspection.
[22:04:49] <wilbury> yeah, very likely. let me put it somewhere
[22:05:10] <rmustacc> Sure, whatever's most convenient.
[22:08:07] <wilbury> http://freebsd-stable.builder.wilbury.net/webrev/f/nmdm.c
[22:08:39] <wilbury> most of functions are only stubs, the ones of interest are _init, _fini and _info
[22:09:31] <rmustacc> I presume mod_install() is failing?
[22:09:46] <wilbury> yes
[22:09:56] <wilbury> Apr 28 21:55:02 oi1 genunix: [ID 880841 kern.warning] WARNING: mod_install: bad module linkage data
[22:09:59] <wilbury> Apr 28 21:55:02 oi1 nmdm: [ID 861574 kern.notice] NOTICE: nmdm exit mod_install with 6
[22:10:16] <wilbury> built against matching kernel sources (bldenv ...)
[22:12:20] <rmustacc> This is a psuedo-device driver right? You have a corresponding driver.conf to say it's a parent of psuedo right? Though I'm not sure that matters at this phase.
[22:12:43] <wilbury> ah! no i don't have driver.conf!
[22:13:03] <wilbury> let me check if that helps
[22:13:36] <rmustacc> I don't think it should make a difference, but some of that is required for psuedo-device drivers.
[22:14:08] <rmustacc> All you should need is a line like:
[22:14:19] <wilbury> yes, i know what i need
[22:14:20] <wilbury> :-)
[22:14:24] <rmustacc> name="nmdm" parent="pseudo" instance=0
[22:14:27] <rmustacc> OK.
[22:15:38] *** clapont <clapont!~clapont@unaffiliated/clapont> has quit IRC (Ping timeout: 260 seconds)
[22:16:12] <wilbury> did not help.
[22:16:24] <wilbury> running non-debug build now, if that matters.
[22:16:27] <rmustacc> Nothing immediately stands out in your code.
[22:16:30] <rmustacc> Shouldn't.
[22:16:37] <rmustacc> I'd just use DTrace to narrow in on what's going on then.
[22:17:02] <wilbury> yes. i've also got that idea, also checked sources, went unto mod_getctl()
[22:17:44] <rmustacc> Ah, that's where it's failing?
[22:18:10] <wilbury> "bad module linkage data" is from that function
[22:18:15] <wilbury> cmn_err(CE_WARN, "mod_install: bad module linkage data");
[22:18:22] <rmustacc> OK, you're a bit ahead of me.
[22:22:37] *** clapont <clapont!~clapont@unaffiliated/clapont> has joined #illumos
[22:23:50] <rmustacc> Presumably at that point, krtld was happy with it, otherwise it wouldn't have loaded it.
[22:24:51] <rmustacc> And loading the module before we called _init, should have appened it to the module list.
[22:25:58] <rmustacc> Nothing stands out to me from a code perspective.
[22:26:08] <rmustacc> In terms of what's there.
[22:26:44] *** Riastradh <Riastradh!~riastradh@netbsd/developer/riastradh> has joined #illumos
[22:26:53] <rmustacc> It sounds like you're building this in the context of an illumos-gate workspace and not off to the side, so it's unlikely that any of the compiler flags or sizing would lead to this being a mismatched bitness or similar. Which I'd expect krtld to barf on.
[22:27:54] <rmustacc> But it almost seems like nothing called modadd() to append it to the list of global modules, which is weird.
[22:29:33] <wilbury> yes, i put Makefile tweaked from different module with corrected names/paths
[22:30:15] <wilbury> and yes, i build it from within illumos-gate workspace
[22:30:49] <wilbury> i took Makefile from some audio driver
[22:31:56] <wilbury> http://freebsd-stable.builder.wilbury.net/webrev/f/Makefile.txt
[22:33:32] <wilbury> fwiw http://freebsd-stable.builder.wilbury.net/webrev/f/nmdm1.txt
[22:57:25] *** copec <copec!~copec@schrodbox.unaen.org> has joined #illumos
[23:13:25] *** kovert <kovert!~kovert@204.141.173.249> has quit IRC (Ping timeout: 264 seconds)
[23:14:33] *** wacki <wacki!~wacki@i577B08E2.versanet.de> has quit IRC (Quit: Leaving.)
[23:16:52] *** kovert <kovert!~kovert@204.141.173.249> has joined #illumos
[23:25:10] <wilbury> rmustacc: one small detail: add_drv instead of modload helped :-) silly me.
[23:33:35] *** andy_js <andy_js!~andy@90.218.209.121> has quit IRC (Quit: andy_js)
[23:34:57] <rmustacc> wilbury: Oh, you had never called add_drv.
[23:35:08] <rmustacc> OK, well, I'm glad that's sorted.
[23:36:11] <wilbury> oh, the docs on the web are are *a tiny bit* outdated in some places
[23:36:36] <rmustacc> Feel free to file bugs and we'll improve the illumos docs there.
[23:36:42] <wilbury> like, quiesce in dev_ops is not documented
[23:37:39] <rmustacc> Yeah. Honestly, most of my energy there is improving manual pages versus online docs.
[23:37:42] <rmustacc> But we should get there.
[23:38:00] <rmustacc> Presumably this was from writing device drivers?
[23:38:22] <rmustacc> If so, mind filing issues that you find on https://github.com/illumos/illumos-docbooks?
[23:38:58] <wilbury> if i don't forget...
[23:39:37] *** ptribble <ptribble!~ptribble@cpc92716-cmbg20-2-0-cust138.5-4.cable.virginm.net> has quit IRC (Quit: Leaving)
[23:39:52] *** gh34 <gh34!~textual@cpe-184-58-181-106.wi.res.rr.com> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)
top

   April 28, 2020  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | >