klange changed the topic of #osdev to: Operating System Development || Don't ask to ask---just ask! || For 3+ LoC, use a pastebin (for example https://gist.github.com/) || Stats + Old logs: http://osdev-logs.qzx.com New Logs: https://libera.irclog.whitequark.org/osdev || Visit https://wiki.osdev.org and https://forum.osdev.org || Books: https://wiki.osdev.org/Books
MiningMarsh has quit [Ping timeout: 252 seconds]
gog has quit [Ping timeout: 252 seconds]
craigo has joined #osdev
rlittl01 has quit [Ping timeout: 260 seconds]
netbsduser`` has quit [Ping timeout: 246 seconds]
heat has quit [Remote host closed the connection]
MiningMarsh has joined #osdev
raphaelsc has quit [Remote host closed the connection]
X-Scale has joined #osdev
Fingel has quit [Quit: Fingel]
Fingel has joined #osdev
steelswords94 has quit [Read error: Connection reset by peer]
steelswords94 has joined #osdev
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpa1 has joined #osdev
Dead_Bush_Sanpa1 has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpai has joined #osdev
Dead_Bush_Sanpai has quit [Ping timeout: 246 seconds]
goliath has joined #osdev
jedesa has quit [Quit: jedesa]
youcai has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jedesa has joined #osdev
aethlas_ has quit [Read error: Connection reset by peer]
aethlas has joined #osdev
vdamewood has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Fingel has quit [Quit: Fingel]
<kof673> according to google: EPOLLIN/inotify/signalfd/timerfd/pidfd are all linux-specific eventfd/aio_fildes are posix of some stripe
<kof673> i'm not saying people should wait for posix to "catch-up" but ...."standards" so many to choose from
emntn has quit [Ping timeout: 245 seconds]
emntn has joined #osdev
Dead_Bush_Sanpai has joined #osdev
hwpplayer1 has joined #osdev
GeDaMo has joined #osdev
adev531 has joined #osdev
<adev531> hello! anyone online?
adev531 has left #osdev [#osdev]
<GeDaMo> Kids are so impatient these days :/
hwpplayer1 has quit [Remote host closed the connection]
spare has joined #osdev
CaptainIRS has quit [Remote host closed the connection]
* goliath always imagines somebody walking into a pub, yelling "hello, anybody there?", immediately walking out again
<zid`> goliath: I like to imagine the help vampires asking dumb questions on arcane mailing lists / irc channel as like people walking into a university lecture hall while a presentation is happening, and then badgering the lecturer
emntn has quit [Ping timeout: 252 seconds]
emntn has joined #osdev
X-Scale has quit [Ping timeout: 256 seconds]
youcai has joined #osdev
elderK has joined #osdev
xenos1984 has quit [Ping timeout: 252 seconds]
xenos1984 has joined #osdev
hwpplayer1 has joined #osdev
Lucretia has quit [Quit: Konversation terminated!]
Lucretia has joined #osdev
Left_Turn has joined #osdev
the_oz has quit [Read error: Connection reset by peer]
X-Scale has joined #osdev
X-Scale has quit [Ping timeout: 256 seconds]
xenos1984 has quit [Ping timeout: 252 seconds]
xenos1984 has joined #osdev
elderK has quit [Quit: zzzz]
netbsduser`` has joined #osdev
kilic has joined #osdev
emntn has quit [Ping timeout: 245 seconds]
jedesa has quit [Remote host closed the connection]
emntn has joined #osdev
raphaelsc has joined #osdev
emntn has quit [Ping timeout: 252 seconds]
the_oz has joined #osdev
emntn has joined #osdev
hwpplayer1 has quit [Remote host closed the connection]
<netbsduser``> mlibc/m68k is merged now
Turn_Left has joined #osdev
Turn_Left has quit [Remote host closed the connection]
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 244 seconds]
<nikolar> neat
Arthuria has joined #osdev
Arthuria has quit [Killed (NickServ (GHOST command used by Guest684531))]
Arthuria has joined #osdev
Left_Turn has joined #osdev
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpai has joined #osdev
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpai has joined #osdev
Turn_Left has quit [Ping timeout: 260 seconds]
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpai has joined #osdev
craigo has quit [Ping timeout: 252 seconds]
vai has joined #osdev
goliath has quit [Quit: SIGSEGV]
cow321 has quit [Ping timeout: 252 seconds]
<Ermine> \o/
<nikolar> /o\
<kof673> ⚷ > known as the Hourglass Nebula, a spiralling, funnel-like shape near its centre.
Turn_Left has joined #osdev
MiningMarsh has quit [Quit: ZNC 1.9.1 - https://znc.in]
Left_Turn has quit [Ping timeout: 244 seconds]
MiningMarsh has joined #osdev
hwpplayer1 has joined #osdev
<kof673> christmas is not over until i say its over! -- bill goldberg, santa's slay, he has an hourglass lol
<netbsduser``> the question is which arch next
<netbsduser``> my kernel is for amd64, m68k, riscv64 and aarch64, i feel like adding powerpc at some point would be nice
spare has quit [Remote host closed the connection]
MiningMarsh has quit [Quit: ZNC 1.9.1 - https://znc.in]
<nikolar> netbsduser``: is there any powerpc hardware you could run it on
<netbsduser``> nikolar: i don't have one at current but i'd be targeting g3 powermacs probably (preferably the cool beige ones, but the blue-and-white ones are more common)
MiningMarsh has joined #osdev
<nikolar> heh neat
MiningMarsh has quit [Quit: ZNC 1.9.1 - https://znc.in]
MiningMarsh has joined #osdev
youcai has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
heat has joined #osdev
Fingel has joined #osdev
<heat> i booted into windows today to do some stuff/update it, and it helpfully auto-rebooted me into linux. thank you!
edr has joined #osdev
goliath has joined #osdev
alethkit has left #osdev [#osdev]
npc has joined #osdev
<Ermine> Windows endorses linux?????
<Ermine> (Happens to me when windows wants to reboot during upgrade process)
<nikolar> heat: how kind of winodws
<heat> windows is forcing me to use linux
<heat> literally 1984
<Ermine> news from the future: linux auto-reboots into freebsd
<heat> thats what the second amendment is for
<kof673> i appreciate the jokes, but again..that was when there were states and hence state militia :D federal citizens only is the official modern system :D grab a snickers, long wait :D
<kof673> you step in the stream, the stream has moved on...
<Ermine> > state militia --- self-contradicting phrase
<heat> the freebsd thought police will never make me use kqueue
<sortie> Hi heat
<heat> sortie
<nikolar> hi heat
<sortie> heat: Are you worried the reason Sortix doesn't have epoll is that I'm going to implement kqueue?
<heat> no, i'm worried you won't implement kqueue and i'll have to agree with you on a syscall!
<sortie> heat: To be honest. I feel torn. I hate that this is the case between Linux and BSD where there's no common ground here besides ppoll
<heat> the good common ground is select
<heat> hth
<sortie> I see good parts about both interfaces and parts that I don't like
<sortie> select is finite trash and you know it
<sortie> You keep this up I'm going to add a warning to Sortix libc on compile when you invoke select
<nikolar> lol
cow321 has joined #osdev
hwpplayer1 has quit [Remote host closed the connection]
hwpplayer1 has joined #osdev
spiderella has joined #osdev
<Ermine> I've posted my first linux kernal patch
hwpplayer1 has quit [Remote host closed the connection]
<sortie> Ermine: woohoo
<sortie> Ermine enters the kernal lore
X-Scale has joined #osdev
the_oz has quit [Ping timeout: 264 seconds]
the_oz has joined #osdev
<heat> onyx kernel CLEARS
<Ermine> ?
<nikolar> What did you patch Ermine
<Ermine> virtio gpu driver
cross has quit [Remote host closed the connection]
Gooberpatrol66 has joined #osdev
gog has joined #osdev
Turn_Left has quit [Ping timeout: 248 seconds]
Turn_Left has joined #osdev
X-Scale has quit [Quit: Client closed]
elderK has joined #osdev
netbsduser`` has quit [Ping timeout: 276 seconds]
gareppa has joined #osdev
netbsduser`` has joined #osdev
the_oz_ has joined #osdev
npc has quit [Remote host closed the connection]
the_oz has quit [Ping timeout: 260 seconds]
GeDaMo has quit [Quit: 0wt 0f v0w3ls.]
emntn has quit [Ping timeout: 246 seconds]
emntn has joined #osdev
MiningMarsh has quit [Quit: ZNC 1.9.1 - https://znc.in]
MiningMarsh has joined #osdev
<sortie> https://pub.sortix.org/sortix/release/volatile/man/man8/shutdown.8.html ← Today in Sortix: I finally implemented a shutdown(8) :)
<bslsk05> ​pub.sortix.org: shutdown(8)
<heat> WHICH DOES NOT SHUTDOWN
<heat> bam, roasted
<sortie> heat: Uh what do you mean it does shut down
<heat> how do you poweroff the system
<sortie> That is an unrelated missing kernel feature slash bug
<Ermine> by exploding your local transforming station
<Ermine> substation*
emntn has quit [Ping timeout: 265 seconds]
<sortie> https://gitlab.com/sortix/sortix/-/blob/staging/utils/shutdown.c ← The code. It's really nice to write a beautiful, elegant version of a classic Unix program in an old-school yet modern fashion.
<bslsk05> ​gitlab.com: utils/shutdown.c · staging · sortix / Sortix · GitLab
emntn has joined #osdev
<heat> what the heck is wrong with the time management?
<sortie> Sorry? It should be correct enough based on my testing so far. Did I need to go nanosecond precision? Of course not, but I did overachieve.
xenos1984 has quit [Read error: Connection reset by peer]
<heat> sorry, i might've been rude there
<heat> it's just... uh, a little weird?
<heat> the while(true) loop
<heat> can't you just the convert the thing to a timestamp and while (clock_nanosleep(...) == -1 && errno == EINTR); it?
<Ermine> for(;;) > while(true)
<netbsduser``> i think it's so it can give you a countdown
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpai has joined #osdev
<sortie> It evolved a bit that way to have the right semantics. Basically it's designed to send a message immediately. But it doesn't get a new timestamp when doing so, because that might round the initial duration downwards, like shutdown +60 should say 1 hour, not 59 minutes. Then based on the frequency for the current remaining time, it rounds that down by the current frequency, and waits until that time comes for the next message.
<sortie> heat: Do be nice. The correct reaction is usually ‘That's cool sortie’ even if you disagree with my conventions, but I do value your technical opinion. There's no need to handle EINTR here btw since all signals are deadly (they will be handled and then reraise themselves)
<nikolar> Ermine: yes
<heat> sortie, yeah i wanted to express my surprise but i realized it came off in the wrong way
<sortie> Haha I do know you well enough to give you a lot of leeway but I do want us to be nicer to each other in our rivalry :)
<zid`> no need to defend yourself heat, he writes if(0 <=
<sortie> Now to write a wall(1). That's going to be tricky because I don't have a utmp mechanism or what it's called for recording logins, and it's pretty rude to write on other terminals, and I don't have a mechanism to inhibit it atm, and writing on terminals may block indefinitely which wall must not do
xenos1984 has joined #osdev
<Ermine> isn't it supposed to write on all terminals? Broadcasting important stuff isn't rude
gareppa has quit [Quit: WeeChat 4.1.1]
<sortie> Indeed, root is an exception
<sortie> Which is also a complexity to implement
_ngn- has joined #osdev
_ngn has quit [Ping timeout: 260 seconds]
the_oz_ has quit [Remote host closed the connection]
the_oz has joined #osdev
goliath has quit [Quit: SIGSEGV]
_ngn- has quit [Quit: disconnected]
_ngn has joined #osdev
orccoin has joined #osdev
netbsduser`` has quit [Ping timeout: 252 seconds]
emntn has quit [Quit: WeeChat 4.3.4]
emntn has joined #osdev
Turn_Left has quit [Ping timeout: 246 seconds]
<kof673> > by exploding your local transforming substation # well, you could have a shutdown option to cut power for a local or remote machine, that would be useful with the proper hardware
<kof673> i.e. cut power to the machine itself, not just power off the machine
netbsduser`` has joined #osdev
aethlas has quit [Quit: bye]
aethlas has joined #osdev
<netbsduser``> it's interesting that there are people here and in the wider osdev community (the discord etc) who are the staunchest soldiers of certain traditions
<netbsduser``> the linux tradition, the solaris tradition, the windows nt tradition, etc
<netbsduser``> but not ONE staunch soldier of the AIX tradition, for example
<heat> there was an indian guy a while back that stanned IBM AIX
<netbsduser``> that'll be because they outsourced aix there last year
* kof673 holds up cartoon of vim supporter and emacs supporter both strangling guy on ground screaming "notepad!!!!!!!!!!!!!!!" i suspect aix is like that somewhat j/k
<nikolar> netbsduser``: i imagine that that's becauese no one actually has access to aix lol
<kof673> ^^^^
<kof673> one can say same with say solaris, but they had free versions and x86. how about aix?
<kof673> we can say same, why are there few ibm mainframe supporters
<nikolar> solaris was used on workstations, plenty of people had access
<nikolar> aix is basically a server/mainframe system
<kof673> A: because they sue emulators, don't necessarily have a hobbyist edition, etc.
<nikolar> which is much harder to access
<kof673> there was x86 stuff i believe and others
<kof673> but yes
<kof673> ibm is ibm
<netbsduser``> i suppose i just assumed that there is something of an aesthetic and technical evaluation going on when people decide whether their kernel will resemble linux, solaris, netbsd, nt, mach
<kof673> there is surely, but path of least resistance...
<netbsduser``> and i think without a doubt that must play into it, but AIX clearly much less well known
<kof673> if someone adminned aix, they may be very familiar withi t, but likely if from their work life
<kof673> *it *is
<nikolar> and they most certainly aren't running it on any machine they have full control over
<netbsduser``> i think about AIX about once every fortnight or so because i know that it's called one of the most bizarrely architected unixes and was written by mainframe people
<nikolar> yeah i'd probably find interesting stuff if you dug deeper
<netbsduser``> so there's that exotic appeal
<nikolar> too bad it's ibm and information isn't exactly easy to come by lol
<kof673> and i don't know about aix, but say...tru64, you cannot build a gcc cross toolchain, it needs native ld or something or other...minor thing, but i suspect slightly less "ports" without a cross toolchain, etc.
<nikolar> i don't think a cross toolchain is a big deal
<kof673> i mean you need it even to target it
<nikolar> you can probably build gcc natively with whatever compiler it came with
<heat> what gcc tho
<heat> probably like gcc 3
<nikolar> gcc 2.96 of course
<nikolar> (jk, no clue)
<netbsduser``> they are probably quite up to date on GCC, they had something called the FreeWare Toolbox
<kof673> i still would like to see a distro that only exists to have cross toolchains for other systems
<kof673> no other purpose
<netbsduser``> RPM based and full of GNU stuff, i think they ported rust recently, but not first-class - there was a spectacular incident in a rust irc channel around that
Arthuria has quit [Ping timeout: 252 seconds]
<heat> <netbsduser``> that'll be because they outsourced aix there last year
<heat> actually no, they studied IBM AIX in uni
<netbsduser``> lucky for some, we never studied anything really
<netbsduser``> beyond trifling surface-level stuff
<netbsduser``> we mostly just did userland simulations of things
raphaelsc has quit [Read error: Connection reset by peer]
raphaelsc has joined #osdev