Switch to DuckDuckGo Search
   September 9, 2019
< | 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

Toggle Join/Part | bottom
[00:16:05] *** merzo <merzo!~merzo@128-20-133-95.pool.ukrtel.net> has joined #illumos
[00:23:08] *** merzo <merzo!~merzo@128-20-133-95.pool.ukrtel.net> has quit IRC (Ping timeout: 244 seconds)
[00:25:02] <debdrup> rmustacc: I think I'm just going to assume that it is, since it seems like the sort of thing that you crazy folks would do (and I mean that in the most respectful way possible) ;)
[00:38:45] *** merzo <merzo!~merzo@93-46-133-95.pool.ukrtel.net> has joined #illumos
[00:47:28] <AmyMalik> debdrup: it's an IRCD motd
[00:52:02] <debdrup> AmyMalik: sorry, not sure I follow. I was talking about something different above.
[00:54:23] <AmyMalik> debdrup: I'm not sure I follow anything
[00:54:40] <AmyMalik> but when he spoke about SCTP, he was probably talking about credibilitygap.png
[01:29:45] *** amrfrsh <amrfrsh!~Thunderbi@95.174.67.172> has quit IRC (Quit: amrfrsh)
[03:02:47] *** danmcd <danmcd!~danmcd@static-71-174-113-16.bstnma.fios.verizon.net> has joined #illumos
[03:06:59] *** danmcd <danmcd!~danmcd@static-71-174-113-16.bstnma.fios.verizon.net> has left #illumos
[03:07:02] *** danmcd <danmcd!~danmcd@static-71-174-113-16.bstnma.fios.verizon.net> has joined #illumos
[03:07:06] *** danmcd <danmcd!~danmcd@static-71-174-113-16.bstnma.fios.verizon.net> has left #illumos
[03:07:34] *** danmcd <danmcd!~danmcd@static-71-174-113-16.bstnma.fios.verizon.net> has joined #illumos
[03:07:50] <danmcd> ping?
[03:08:29] <jbk> ?
[03:08:59] <danmcd> Good. My work MBP is out for repair. Wanna make sure work@personal-MBP is moving bits.
[03:09:06] <jbk> ahh
[03:09:14] <danmcd> Battery bloat!
[03:12:30] <jbk> eek
[03:12:34] <jbk> my personal mbp had that
[03:17:36] <AmyMalik> has anyone ever installed illumos on a mac?
[03:20:00] *** ed209 <ed209!~ed209@165.225.128.67> has quit IRC (Remote host closed the connection)
[03:20:07] *** ed209 <ed209!~ed209@165.225.128.67> has joined #illumos
[03:34:29] *** pjanus <pjanus!~pjanus@113.110.228.186> has joined #illumos
[03:37:53] *** pjanus <pjanus!~pjanus@113.110.228.186> has quit IRC (Remote host closed the connection)
[03:38:20] *** pjanus <pjanus!~pjanus@113.110.228.186> has joined #illumos
[03:42:23] *** pjanus <pjanus!~pjanus@113.110.228.186> has quit IRC (Remote host closed the connection)
[03:42:51] *** pjanus <pjanus!~pjanus@113.110.228.186> has joined #illumos
[04:01:34] *** idodeclare <idodeclare!~textual@cpe-76-185-177-63.satx.res.rr.com> has joined #illumos
[04:13:45] *** pjanus_ <pjanus_!~pjanus@113.110.228.186> has joined #illumos
[04:16:43] *** pjanus <pjanus!~pjanus@113.110.228.186> has quit IRC (Ping timeout: 245 seconds)
[04:38:52] *** idodeclare <idodeclare!~textual@cpe-76-185-177-63.satx.res.rr.com> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[04:47:39] *** baojg <baojg!~baojg@162.243.44.213> has quit IRC (Remote host closed the connection)
[04:48:01] *** baojg <baojg!~baojg@162.243.44.213> has joined #illumos
[04:50:06] *** idodeclare <idodeclare!~textual@cpe-76-185-177-63.satx.res.rr.com> has joined #illumos
[05:46:48] *** AmyMalik is now known as MelMalik
[06:02:42] *** jcea <jcea!~Thunderbi@2001:41d0:1:8a82:7670:6e00:7670:6e00> has quit IRC (Quit: jcea)
[06:39:08] *** mnowak_ <mnowak_!~mnowak_@94.142.238.232> has quit IRC (Quit: Leaving)
[06:44:06] *** mnowak_ <mnowak_!~mnowak_@94.142.238.232> has joined #illumos
[06:55:19] *** AllanJude <AllanJude!~allan@freebsd/developer/AllanJude> has quit IRC (Ping timeout: 246 seconds)
[06:59:20] *** AllanJude <AllanJude!~allan@freebsd/developer/AllanJude> has joined #illumos
[07:49:13] *** merzo <merzo!~merzo@93-46-133-95.pool.ukrtel.net> has quit IRC (Ping timeout: 246 seconds)
[07:58:22] *** clapont <clapont!~clapont@unaffiliated/clapont> has quit IRC (Ping timeout: 245 seconds)
[08:00:14] *** clapont <clapont!~clapont@unaffiliated/clapont> has joined #illumos
[08:03:03] *** jellydonut <jellydonut!~quassel@s91904423.blix.com> has joined #illumos
[08:13:07] *** nexgen2 <nexgen2!~nexgen@144.172.68.147> has joined #illumos
[08:33:02] *** clapont <clapont!~clapont@unaffiliated/clapont> has quit IRC (Read error: Connection reset by peer)
[08:36:50] *** Qatz <Qatz!~DB@2601:187:8400:5::83c> has quit IRC (Ping timeout: 252 seconds)
[08:39:45] *** merzo <merzo!~merzo@195.20.130.10> has joined #illumos
[08:46:40] *** tsoome <tsoome!~tsoome@148-52-235-80.sta.estpak.ee> has quit IRC (Quit: tsoome)
[08:51:18] *** nexgen3 <nexgen3!~nexgen@144.172.68.147> has joined #illumos
[08:51:54] *** nexgen2 <nexgen2!~nexgen@144.172.68.147> has quit IRC (Ping timeout: 268 seconds)
[08:52:26] *** alanc <alanc!~alanc@129.157.69.38> has quit IRC (Remote host closed the connection)
[08:52:54] *** alanc <alanc!~alanc@129.157.69.38> has joined #illumos
[08:53:09] *** amrfrsh <amrfrsh!~Thunderbi@131.234.43.140> has joined #illumos
[09:02:22] *** amrfrsh <amrfrsh!~Thunderbi@131.234.43.140> has quit IRC (Ping timeout: 246 seconds)
[09:04:17] *** nexgen3 <nexgen3!~nexgen@144.172.68.147> has quit IRC (Remote host closed the connection)
[09:20:04] *** Lirion <Lirion!~m00se@wikimedia-commons/Lirion> has quit IRC (Quit: echo 16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlb xq |dc)
[09:25:38] *** yuripv <yuripv!~yuripv@109.70.144.150> has joined #illumos
[09:30:55] *** amrfrsh <amrfrsh!~Thunderbi@131.234.43.140> has joined #illumos
[09:32:16] *** tsoome <tsoome!~tsoome@148-52-235-80.sta.estpak.ee> has joined #illumos
[09:36:00] *** amrfrsh <amrfrsh!~Thunderbi@131.234.43.140> has quit IRC (Quit: amrfrsh)
[09:44:20] *** merzo <merzo!~merzo@195.20.130.10> has quit IRC (Ping timeout: 258 seconds)
[09:44:30] *** yuripv <yuripv!~yuripv@109.70.144.150> has quit IRC (Remote host closed the connection)
[09:46:16] *** jellydonut <jellydonut!~quassel@s91904423.blix.com> has quit IRC (Quit: jellydonut)
[09:52:31] *** andy_js <andy_js!~andy@94.12.192.123> has joined #illumos
[09:52:39] *** yuripv <yuripv!~yuripv@109.70.144.150> has joined #illumos
[09:53:56] *** dopplergange <dopplergange!~dop@98.142.220.42> has quit IRC (Ping timeout: 258 seconds)
[10:02:55] *** andy_js <andy_js!~andy@94.12.192.123> has quit IRC (Read error: Connection timed out)
[10:08:56] *** Lirion <Lirion!~m00se@wikimedia-commons/Lirion> has joined #illumos
[10:33:40] *** man_u <man_u!~manu@manu2.gandi.net> has joined #illumos
[10:36:32] *** man_u <man_u!~manu@manu2.gandi.net> has quit IRC (Client Quit)
[10:39:34] *** man_u <man_u!~manu@manu2.gandi.net> has joined #illumos
[10:46:37] *** amrfrsh <amrfrsh!~Thunderbi@131.234.43.140> has joined #illumos
[10:56:30] *** andy_js <andy_js!~andy@94.12.192.123> has joined #illumos
[10:56:53] *** MelMalik is now known as Reinhilde
[10:57:52] *** amrfrsh <amrfrsh!~Thunderbi@131.234.43.140> has quit IRC (Ping timeout: 246 seconds)
[11:10:45] *** merzo <merzo!~merzo@185.39.197.205> has joined #illumos
[11:17:07] *** amrfrsh <amrfrsh!~Thunderbi@131.234.43.140> has joined #illumos
[11:20:34] *** amrfrsh <amrfrsh!~Thunderbi@131.234.43.140> has quit IRC (Client Quit)
[11:28:32] *** amrfrsh <amrfrsh!~Thunderbi@131.234.43.140> has joined #illumos
[11:43:10] *** amrfrsh <amrfrsh!~Thunderbi@131.234.43.140> has quit IRC (Quit: amrfrsh)
[11:50:22] *** nexgen2 <nexgen2!~nexgen@144.172.68.147> has joined #illumos
[12:09:07] *** Qatz <Qatz!~DB@2601:187:8400:5::83c> has joined #illumos
[12:19:38] *** nexgen2 <nexgen2!~nexgen@144.172.68.147> has quit IRC (Ping timeout: 245 seconds)
[12:20:00] *** ed209 <ed209!~ed209@165.225.128.67> has quit IRC (Remote host closed the connection)
[12:20:03] *** pjanus_ <pjanus_!~pjanus@113.110.228.186> has quit IRC (Quit: Leaving)
[12:20:07] *** ed209 <ed209!~ed209@165.225.128.67> has joined #illumos
[12:34:49] *** merzo <merzo!~merzo@185.39.197.205> has quit IRC (Read error: Connection reset by peer)
[12:35:05] *** merzo <merzo!~merzo@185.39.197.205> has joined #illumos
[13:17:38] *** Reinhilde is now known as Bradyon
[13:17:55] *** Bradyon is now known as Reinhilde
[13:42:37] *** amrfrsh <amrfrsh!~Thunderbi@190.2.145.106> has joined #illumos
[13:54:22] *** Kurlon_ <Kurlon_!~Kurlon@cpe-67-253-141-249.rochester.res.rr.com> has quit IRC (Remote host closed the connection)
[14:22:49] *** idodeclare <idodeclare!~textual@cpe-76-185-177-63.satx.res.rr.com> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[14:32:37] *** dopplergange <dopplergange!~dop@213.183.57.27> has joined #illumos
[14:42:08] *** Kurlon <Kurlon!~Kurlon@static-65-175-143-234.nh.cpe.atlanticbb.net> has joined #illumos
[14:43:49] *** gh34 <gh34!~textual@cpe-184-58-181-106.wi.res.rr.com> has joined #illumos
[14:49:51] *** Kurlon <Kurlon!~Kurlon@static-65-175-143-234.nh.cpe.atlanticbb.net> has quit IRC (Remote host closed the connection)
[15:05:56] *** tsoome <tsoome!~tsoome@148-52-235-80.sta.estpak.ee> has quit IRC (Quit: tsoome)
[15:20:28] *** idodeclare <idodeclare!~textual@cpe-76-185-177-63.satx.res.rr.com> has joined #illumos
[15:26:24] *** leoric <leoric!~alp@pyhalov.cc.rsu.ru> has joined #illumos
[15:26:59] *** leoric <leoric!~alp@pyhalov.cc.rsu.ru> has quit IRC (Client Quit)
[15:27:08] *** leoric <leoric!~alp@pyhalov.cc.rsu.ru> has joined #illumos
[15:32:13] *** idodeclare <idodeclare!~textual@cpe-76-185-177-63.satx.res.rr.com> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[15:32:47] *** jellydonut <jellydonut!~quassel@s91904426.blix.com> has joined #illumos
[15:41:17] *** MilkmanDan <MilkmanDan!~dan@wilug/expat/MilkmanDan> has quit IRC (Ping timeout: 245 seconds)
[15:43:40] *** MilkmanDan <MilkmanDan!~dan@wilug/expat/MilkmanDan> has joined #illumos
[16:07:03] *** Kurlon <Kurlon!~Kurlon@bidd-pub-03.gwi.net> has joined #illumos
[16:33:25] *** mutin-sa <mutin-sa!~s-mutin@85.234.114.134> has quit IRC (Read error: Connection reset by peer)
[16:33:51] *** mutin-sa <mutin-sa!~s-mutin@85.234.114.134> has joined #illumos
[16:40:42] *** tsoome <tsoome!~tsoome@148-52-235-80.sta.estpak.ee> has joined #illumos
[16:41:54] *** mackbw <mackbw!32ca7a42@50-202-122-66-static.hfc.comcastbusiness.net> has joined #illumos
[16:44:01] *** jcea <jcea!~Thunderbi@2001:41d0:1:8a82:7670:6e00:7670:6e00> has joined #illumos
[16:47:15] *** atrius <atrius!~atrius@2600:1700:22d1:518:20e3:a38f:6e3c:783e> has quit IRC (Ping timeout: 250 seconds)
[16:52:09] *** atrius <atrius!~atrius@99-160-139-232.lightspeed.nsvltn.sbcglobal.net> has joined #illumos
[17:01:28] *** rzezeski <rzezeski!uid151901@gateway/web/irccloud.com/x-otdwfrkoqzxncvjg> has joined #illumos
[17:11:15] *** nexgen2 <nexgen2!~nexgen@144.172.68.147> has joined #illumos
[17:14:15] *** mackbw <mackbw!32ca7a42@50-202-122-66-static.hfc.comcastbusiness.net> has quit IRC (Remote host closed the connection)
[17:29:33] *** jcea <jcea!~Thunderbi@2001:41d0:1:8a82:7670:6e00:7670:6e00> has quit IRC (Remote host closed the connection)
[17:48:19] <KungFuJesus> tsoome: I have pam_krb5 seemingly working correctly. The debug flag is enabled, it shows me grabbing the kerberos ticket and creating it in /tmp, however after logging in, the ticket is absent from /tmp
[17:48:27] <KungFuJesus> is there a way to make pam keep that kerberos ticket around?
[18:00:58] <KungFuJesus> The only pertinent log message I'm seeing is kmd get failed
[18:08:35] *** clapont <clapont!~clapont@unaffiliated/clapont> has joined #illumos
[18:19:14] *** awordnot <awordnot!~awordnot@c-73-210-60-203.hsd1.il.comcast.net> has quit IRC (Ping timeout: 268 seconds)
[18:21:42] <clapont> hi everyone!
[18:21:50] *** jlevon <jlevon!~jlevon@movementarian.org> has quit IRC (Quit: Coyote finally caught me)
[18:22:58] *** DrLou <DrLou!~DrLou@c-73-33-92-169.hsd1.nj.comcast.net> has quit IRC (Ping timeout: 245 seconds)
[18:23:43] *** awordnot <awordnot!~awordnot@c-73-210-60-203.hsd1.il.comcast.net> has joined #illumos
[18:24:26] *** jlevon <jlevon!~jlevon@movementarian.org> has joined #illumos
[18:27:37] *** DrLou <DrLou!~DrLou@c-73-33-92-169.hsd1.nj.comcast.net> has joined #illumos
[18:31:07] *** wacki <wacki!~wacki@i577B8B58.versanet.de> has joined #illumos
[18:31:49] *** DrLou <DrLou!~DrLou@c-73-33-92-169.hsd1.nj.comcast.net> has quit IRC (Ping timeout: 246 seconds)
[18:34:54] *** wacki1 <wacki1!~wacki@i577B8B58.versanet.de> has joined #illumos
[18:34:54] *** wacki <wacki!~wacki@i577B8B58.versanet.de> has quit IRC (Read error: Connection reset by peer)
[18:35:11] *** wacki1 <wacki1!~wacki@i577B8B58.versanet.de> has left #illumos
[18:35:47] *** wacki <wacki!~wacki@i577B8B58.versanet.de> has joined #illumos
[18:43:47] *** MilkmanDan <MilkmanDan!~dan@wilug/expat/MilkmanDan> has quit IRC (Ping timeout: 245 seconds)
[18:46:00] *** man_u <man_u!~manu@manu2.gandi.net> has quit IRC (Ping timeout: 258 seconds)
[18:46:46] *** MilkmanDan <MilkmanDan!~dan@wilug/expat/MilkmanDan> has joined #illumos
[18:48:56] *** nexgen2 <nexgen2!~nexgen@144.172.68.147> has quit IRC (Quit: Leaving)
[18:49:37] *** Kurlon <Kurlon!~Kurlon@bidd-pub-03.gwi.net> has quit IRC (Ping timeout: 245 seconds)
[18:59:08] *** gwr <gwr!~gwr@151.203.114.175> has joined #illumos
[19:09:27] *** Kurlon <Kurlon!~Kurlon@bidd-pub-03.gwi.net> has joined #illumos
[19:13:22] *** MilkmanDan <MilkmanDan!~dan@wilug/expat/MilkmanDan> has quit IRC (Ping timeout: 245 seconds)
[19:14:13] *** merzo <merzo!~merzo@185.39.197.205> has quit IRC (Ping timeout: 245 seconds)
[19:14:38] *** awordnot <awordnot!~awordnot@c-73-210-60-203.hsd1.il.comcast.net> has quit IRC (Ping timeout: 245 seconds)
[19:15:29] *** MilkmanDan <MilkmanDan!~dan@wilug/expat/MilkmanDan> has joined #illumos
[19:22:00] *** Yogurt <Yogurt!~Yogurt@104-7-67-228.lightspeed.sntcca.sbcglobal.net> has joined #illumos
[19:48:01] *** awordnot <awordnot!~awordnot@c-73-210-60-203.hsd1.il.comcast.net> has joined #illumos
[20:10:33] *** jcea <jcea!~Thunderbi@2001:41d0:1:8a82:7670:6e00:7670:6e00> has joined #illumos
[20:11:17] *** awordnot <awordnot!~awordnot@c-73-210-60-203.hsd1.il.comcast.net> has quit IRC (Ping timeout: 245 seconds)
[20:14:27] *** yuripv_ <yuripv_!~yuripv@109.70.144.150> has joined #illumos
[20:14:27] *** yuripv <yuripv!~yuripv@109.70.144.150> has quit IRC (Read error: Connection reset by peer)
[20:18:00] *** wacki <wacki!~wacki@i577B8B58.versanet.de> has quit IRC (Read error: Connection reset by peer)
[20:19:34] *** awordnot <awordnot!~awordnot@c-73-210-60-203.hsd1.il.comcast.net> has joined #illumos
[20:29:04] *** awordnot <awordnot!~awordnot@c-73-210-60-203.hsd1.il.comcast.net> has quit IRC (Ping timeout: 246 seconds)
[20:33:14] *** awordnot <awordnot!~awordnot@c-73-210-60-203.hsd1.il.comcast.net> has joined #illumos
[20:34:02] *** wacki <wacki!~wacki@i577B8B58.versanet.de> has joined #illumos
[20:40:56] *** Yogurt <Yogurt!~Yogurt@104-7-67-228.lightspeed.sntcca.sbcglobal.net> has quit IRC ()
[20:44:33] *** wacki <wacki!~wacki@i577B8B58.versanet.de> has left #illumos
[20:45:22] *** wacki <wacki!~wacki@i577B8B58.versanet.de> has joined #illumos
[20:45:29] *** wacki <wacki!~wacki@i577B8B58.versanet.de> has left #illumos
[21:10:25] *** Yogurt <Yogurt!~Yogurt@104-7-67-228.lightspeed.sntcca.sbcglobal.net> has joined #illumos
[21:19:09] *** baojg <baojg!~baojg@162.243.44.213> has quit IRC (Remote host closed the connection)
[21:58:56] *** merzo <merzo!~merzo@93-46-133-95.pool.ukrtel.net> has joined #illumos
[22:08:59] *** debdrup <debdrup!~debdrup@nerdheaven.ws> has left #illumos
[22:13:07] *** _Joes_ <_Joes_!~BH23@santoroj.plus.com> has joined #illumos
[22:20:01] *** ed209 <ed209!~ed209@165.225.128.67> has quit IRC (Remote host closed the connection)
[22:20:08] *** ed209 <ed209!~ed209@165.225.128.67> has joined #illumos
[22:21:31] *** jellydonut <jellydonut!~quassel@s91904426.blix.com> has quit IRC (Quit: jellydonut)
[22:24:55] *** Yogurt <Yogurt!~Yogurt@104-7-67-228.lightspeed.sntcca.sbcglobal.net> has quit IRC (Remote host closed the connection)
[22:25:14] *** Yogurt <Yogurt!~Yogurt@104-7-67-228.lightspeed.sntcca.sbcglobal.net> has joined #illumos
[22:25:17] *** Yogurt <Yogurt!~Yogurt@104-7-67-228.lightspeed.sntcca.sbcglobal.net> has quit IRC (Remote host closed the connection)
[22:26:10] *** user888 <user888!~user888@pool-96-242-225-247.nwrknj.fios.verizon.net> has joined #illumos
[22:35:01] *** mackbw <mackbw!493d113c@73.61.17.60> has joined #illumos
[22:49:29] *** Kurlon_ <Kurlon_!~Kurlon@bidd-pub-04.gwi.net> has joined #illumos
[22:52:22] <mackbw> I have a question / problem - not necessarily related to illumos, but it's STREAMS SVR4 driver issue, and someone here may be able to help - at least more so than in the regular Unix/Linux forums.
[22:52:36] <mackbw> If anyone is willing?
[22:52:40] *** Kurlon <Kurlon!~Kurlon@bidd-pub-03.gwi.net> has quit IRC (Ping timeout: 244 seconds)
[22:54:00] *** Kurlon_ <Kurlon_!~Kurlon@bidd-pub-04.gwi.net> has quit IRC (Ping timeout: 258 seconds)
[22:58:42] *** Yogurt <Yogurt!~Yogurt@c-73-189-45-147.hsd1.ca.comcast.net> has joined #illumos
[22:58:48] <Reinhilde> people are probably willing but you're gonna have to idle for a very long time
[23:01:01] <mackbw> Thanks Reinhilde. I've been stubborn trying to add an ioctl (TIOCMGET) function to an old serial driver and have come this far... willing to see if anyone can help / explain why things aren't working as I think they should.
[23:01:41] <Reinhilde> I am just a user. I don't speak SVR4 kernel dev.
[23:02:30] <jbk> on illumos?
[23:03:40] *** Yogurt <Yogurt!~Yogurt@c-73-189-45-147.hsd1.ca.comcast.net> has quit IRC (Ping timeout: 264 seconds)
[23:04:01] <mackbw> Unfortunately no - but after looking around, there aren't too many *nix installations that use STREAMS left, especially one that have someone that can talk on driver source.
[23:06:16] <jbk> you can ask, but there's no guarantees that the interfaces haven't changed
[23:06:24] <jbk> worst that happens is no one will know the answer :P
[23:08:43] <mackbw> I'm sure they have - it's AT&T SVR4... but here it goes:
[23:09:45] *** gh34 <gh34!~textual@cpe-184-58-181-106.wi.res.rr.com> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)
[23:12:44] <mackbw> I have a serial driver (source)... and it works... but it lacks a TIOCMGET routine. Looking at the driver, it seems simple enough. The driver processes TCGETA, and TCGETS, I should be able to use one of those routines to create a response for TIOCMGET. The only difference would be that the ioctl call hands a pointer to at termio or termios
[23:12:45] <mackbw> structure to those TCGET calls respectively - for TIOCMGET, I just need an address for a single unsigned long.
[23:13:45] <mackbw> case TCGETS: { /* immediate parm retrieve */ register struct termios *cb; if (mp->b_cont) /* Bad user supplied parameter */ freemsg(mp->b_cont); if (!(bp1 = allocb(sizeof(struct termios), BPRI_MED))) { putbq(q, mp); bufcall(sizeof(struct termios), BPRI_MED, getoblk, (long)tp); return; } mp->b_cont = bp1; cb =
[23:13:45] <mackbw> (struct termios *)mp->b_cont->b_rptr; cb->c_iflag = tp->t_iflag; cb->c_oflag = tp->t_oflag; cb->c_cflag = tp->t_cflag; mp->b_cont->b_wptr += sizeof(struct termios); mp->b_datap->db_type = M_IOCACK; iocbp->ioc_count = sizeof(struct termios); putnext(RD(q), mp); break; }
[23:13:53] <jbk> can you pastebin/gist that instead?
[23:14:27] <mackbw> ok, never done that... pastebin/gist ...
[23:15:31] <mackbw> found pastebin
[23:19:32] <mackbw> https://pastebin.com/b6p4q7cS
[23:21:26] <mackbw> So I copied the TCGETS to TIOCMGET and changed the struct termios references into int. I wrote a little test program, nothing. Doesn't even change the value of the int that I pass it.
[23:23:21] <mackbw> (I also had to change the qlpuioc to refer the TIOCMGET call to qlsrvioc just as the TCGET requests are) So I've put in printf statements to see if it makes it into the routine, which it does.
[23:27:50] <mackbw> Wondering what I'm doing wrong, or if other things are working at all, I write a test program to test TCGETS... seems to work, but the only value I get back in the termios structure is the c_cflag value. Wasn't surprising, it was the only value I set going in. Not thinking anything was wrong, I decide to test my TIOCMGET call with the termios
[23:27:50] <mackbw> structure and arbitrarily assign values to the various termios flags. Same problem, whatever value I send in, comes back unchanged.
[23:28:17] <jbk> are you sure 'ql' is valid at that point
[23:29:25] <jbk> and if the fields of it are in fact always 0 or 1?
[23:30:09] <mackbw> ql should be, but I've also tried just passing back an arbitrary number there without luck.
[23:33:27] <mackbw> ql is of type ql_t which is a structure which contains two other structures, a couple of chars and ints. carrier and rts are always just a 0 or 1.
[23:34:42] <jbk> it looks reasonable https://grok.elemental.org/source/xref/illumos-joyent/usr/src/uts/common/io/asy.c?r=9b4d666e#3658 is how we do it, which looks similar enough (we write the value to an mblk_t)
[23:35:00] <jbk> unless there's something happening after the switch statement that's not happening in your case
[23:35:29] <mackbw> So I tried just assigning arbitrary values to each of the flags in TCGETS, but only one of the three flags in the structure come back with the value.
[23:38:22] <jbk> unfortunately, i'm not sure how you'd debug that on SVR4
[23:38:36] <jbk> though i will say i'm impressed it's still being used :)
[23:38:51] <mackbw> mblk_t *mp; and mblk_t bp1;
[23:39:10] <jbk> last time I saw it was running on a macias (sp) unit that was used for playing voice prompts on a phone switch
[23:39:42] *** Kurlon <Kurlon!~Kurlon@cpe-67-253-141-249.rochester.res.rr.com> has joined #illumos
[23:40:49] <mackbw> so same structures.... I'm just wondering where I'm missing the handoff. Or how the handoff at the stream head occurs.
[23:43:44] <mackbw> I tried looking at the address of the variable that I've handed in and then print out the address in the driver. Of course they are different. Doesn't surprise me (maybe wrongly), I presume there has to be some copying / address differences between user space and kernel space.
[23:44:26] *** andy_js <andy_js!~andy@94.12.192.123> has quit IRC (Quit: andy_js)
[23:48:00] <Reinhilde> is solaris the most unix-like of the unixes
[23:48:07] <richlowe> no
[23:48:18] <richlowe> Not sure any of them are, really, at this point.
[23:48:41] <mackbw> I guess, what it meant by unix-like?
[23:49:08] <LeftWing> To be like Seventh Edition would be to avoid features or error handling
[23:49:13] <jbk> mackbw: that's generally the case -- then the ioctl returns, something's going to copy it into the userland pointer that was passed in the ioctl
[23:49:19] <jbk> err when
[23:51:48] <richlowe> LeftWing: there's some code directly from 32V left in bin/sh at least.
[23:52:32] <richlowe> but if "unix-like" means similar to an AT&T release, we're 30+ years out from the last of those.
[23:52:39] <LeftWing> Right
[23:52:44] <richlowe> (which is also what makes whatever mackbw is doing most intriguing)
[23:53:19] <mackbw> Looking at the man page, of course it is vague about the third arg, saying the type of arg depends on the particular control request. Wondering if there is some specific code in ioctl that filters this.
[23:53:55] <richlowe> just means the thing is the size of a word, and whatever the ioctl is deals with it
[23:54:09] <richlowe> might be a pointer it'll copyin, might be an integer
[23:55:08] <richlowe> I don't think we do anything more clever with the encoding.
[23:55:25] <copec> Is there a good place where the SVR4 package format is documented?
[23:56:32] <rmustacc> mackbw: So STREAMS ioctls work a bit differently from modern ioctl handling and the terminal ones themselves are a bit more different.
[23:56:56] <rmustacc> The kernels know about some of the types of ioctls that can be issued for STREAMS devices and handles them in what's called a 'transparent' mode.
[23:57:02] <mackbw> copec: I'm not sure, but maybe USL book "Programmer's Guide: System Services and Application Packaging Tools"
[23:57:06] <rmustacc> Meaning it will try and copy things in and around for you
[23:57:13] <richlowe> oh my, we actually do
[23:57:29] <copec> thanks mackbw
[23:57:30] <rmustacc> Traditionally with an ioctl, you don't have anything copy it into the kernel space for you.
[23:57:45] <rmustacc> With STREAMS ioctls this means that you have to send messages back up to the stream head to do copying dances.
[23:58:20] <rmustacc> However, if it is a transparent ioctl, then the kernel will have done that for you and hopefully you can't do anything about it for better or worse.
[23:59:09] <rmustacc> mackbw: If you haven't seen it, you might find the STREAMS programming guide from the past useful: https://docs.oracle.com/cd/E19253-01/816-4855/816-4855.pdf
[23:59:38] <rmustacc> Since you're dealing with SVR4, it'll be a bit different from what's documented there, but that's probably the closest we're going to be able to get you.
top

   September 9, 2019
< | 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