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
Goodbye_Vincent1 has quit [Remote host closed the connection]
Goodbye_Vincent1 has joined #osdev
Goodbye_Vincent1 has quit [Remote host closed the connection]
Arthuria has quit [Ping timeout: 246 seconds]
Goodbye_Vincent1 has joined #osdev
npc has joined #osdev
dgz has joined #osdev
dgz has quit [Ping timeout: 255 seconds]
Goodbye_Vincent1 has quit [Remote host closed the connection]
Goodbye_Vincent1 has joined #osdev
k_hachig_ has joined #osdev
k_hachig_ has quit [Ping timeout: 248 seconds]
k_hachig_ has joined #osdev
k_hachig_ is now known as k_hachig
heat has quit [Remote host closed the connection]
heat has joined #osdev
Goodbye_Vincent1 has quit [Remote host closed the connection]
Goodbye_Vincent1 has joined #osdev
Goodbye_Vincent1 has quit [Remote host closed the connection]
voidah has joined #osdev
Goodbye_Vincent1 has joined #osdev
Goodbye_Vincent1 has quit [Remote host closed the connection]
Goodbye_Vincent1 has joined #osdev
npc has quit [Remote host closed the connection]
npc has joined #osdev
gog has quit [Ping timeout: 252 seconds]
Goodbye_Vincent1 has quit [Remote host closed the connection]
Goodbye_Vincent1 has joined #osdev
Arthuria has joined #osdev
voidah has quit [Ping timeout: 245 seconds]
Goodbye_Vincent1 has quit [Remote host closed the connection]
Goodbye_Vincent1 has joined #osdev
lanodan has quit [Quit: WeeChat 4.3.2]
lanodan has joined #osdev
Goodbye_Vincent1 has quit [Remote host closed the connection]
Goodbye_Vincent1 has joined #osdev
Goodbye_Vincent1 has quit [Remote host closed the connection]
Goodbye_Vincent1 has joined #osdev
npc has quit [Remote host closed the connection]
Goodbye_Vincent1 has quit [Remote host closed the connection]
Goodbye_Vincent1 has joined #osdev
Goodbye_Vincent1 has quit [K-Lined]
mavhq has quit [Ping timeout: 252 seconds]
edr has quit [Quit: Leaving]
terrorjack4 has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack4 has joined #osdev
craigo has joined #osdev
mavhq has joined #osdev
mavhq has quit [Client Quit]
mavhq has joined #osdev
marcopolo2 has quit [Quit: Connection closed for inactivity]
sortie has quit [Ping timeout: 252 seconds]
heat_ has joined #osdev
heat has quit [Ping timeout: 248 seconds]
sortie has joined #osdev
mavhq has quit [Ping timeout: 248 seconds]
<heat_> ok wow perl has the worst build system i've ever seen
<heat_> it's an interactive configure, it asks you a painful amount of questions about the platform
<heat_> including "how many bits does a character have"
<Griwes> hey google, what is char_bit
<heat_> worse: "doubles must be aligned on a how-many-byte boundary?"
<heat_> anyone compiling this needs to know their ABI by heart
<Griwes> perl build system devs: not my problem lmao
linear_cannon has quit [Read error: Connection reset by peer]
Stary has quit [Quit: ZNC - http://znc.in]
CompanionCube has quit [Quit: ZNC - http://znc.in]
youcai has joined #osdev
Stary has joined #osdev
CompanionCube has joined #osdev
<kof673> well i'd be curious if it ever ran on anything not CHAR_BIT == 8 yes, it is custom but i think it has some "auto" mechanism too
kanzure has quit [Ping timeout: 252 seconds]
<kof673> i.e. for systems it already "knows" about at least
kanzure has joined #osdev
<the_oz> *beats kof673 with runes*
<kof673> well i would do that, but i don't know any such system that will have a unix-like shell....
<the_oz> it asked for a character, not a byte!
<kof673> mainframes and dsps .....
<kof673> you can cross-compile i guess :/
<the_oz> >how do you tell a configure script "well it frickin depends dunnit
heat_ has quit [Ping timeout: 248 seconds]
goliath has joined #osdev
CapEnt has quit [Ping timeout: 246 seconds]
Arthuria has quit [Ping timeout: 260 seconds]
Brnocrist has quit [Ping timeout: 246 seconds]
Brnocrist has joined #osdev
xenos1984 has quit [Quit: Leaving.]
X-Scale has quit [Quit: Client closed]
X-Scale has joined #osdev
k_hachig has quit [Ping timeout: 272 seconds]
GeDaMo has joined #osdev
veen1 has joined #osdev
mavhq has joined #osdev
mavhq has quit [Read error: Connection reset by peer]
mavhq has joined #osdev
the_oz_ has joined #osdev
hwpplayer1 has joined #osdev
the_oz has quit [Ping timeout: 248 seconds]
veen1 has quit [Ping timeout: 276 seconds]
Matt|home has quit [Ping timeout: 276 seconds]
mavhq has quit [Ping timeout: 244 seconds]
mavhq has joined #osdev
levitating has joined #osdev
levitating has quit [Ping timeout: 246 seconds]
dinkelhacker_ has joined #osdev
X-Scale has quit [Quit: Client closed]
dinkelhacker_ has quit [Quit: Client closed]
levitating has joined #osdev
levitating has quit [Ping timeout: 248 seconds]
dinkelhacker_ has joined #osdev
veen has joined #osdev
kof673 has quit [Ping timeout: 240 seconds]
dinkelhacker_ has quit [Quit: Client closed]
levitating has joined #osdev
netbsduser has joined #osdev
m5zs7k has quit [Quit: m5zs7k]
m5zs7k has joined #osdev
levitating has quit [Ping timeout: 248 seconds]
hwpplayer1 has quit [Remote host closed the connection]
dinkelhacker_ has joined #osdev
heat_ has joined #osdev
X-Scale has joined #osdev
MiningMarsh has quit [Ping timeout: 246 seconds]
X-Scale has quit [Ping timeout: 256 seconds]
MiningMarsh has joined #osdev
levitating has joined #osdev
Matt|home has joined #osdev
<heat_> https://i.imgur.com/yk8F9t8.png the roles have been reversed
<bslsk05> ​i.imgur.com <no title>
<heat_> onyx operating system kernal
<mjg> no time(1) output
<mjg> i have some suspicion why!
vinleod has joined #osdev
<heat_> it took ~20 minutes for some weird stripped down config
<mjg> how much sys motherfucker
<mjg> is the primary question
<heat_> i don't know, i didn't do time
<nikolar> did you build linux on onyx
<heat_> yes
<nikolar> now boot it
<heat_> i dont have qemu :(
<heat_> i'll do it from linux just to check
<dinkelhacker_> impressive
<nikolar> will you implement kvm
<nikolar> or some other hypervisor
<nikolar> *hypervisor api i guess
<heat_> yeah it boots woo
vdamewood has quit [Ping timeout: 260 seconds]
<heat_> i think i'm far off from implementing any kind of hypervisor support
<dinkelhacker_> very impressive :)
<heat_> thanks!
<nikolar> cool stuff heat_
<dinkelhacker_> so you ported all of the gnu compiler tools to your OS?
<heat_> i need to take this moment to say: i hate objtool and i hate elfutils
<heat_> yep
<nikolar> why's that
<heat_> elfutils requires some 3 separate packages for shit musl doesn't have
<heat_> obstack, fts, argp
<nikolar> shouldn't you hate musl then :P
<heat_> kinda? but some of things it really shouldn't depend on
<heat_> and they chose to depend on ALL of these things
<heat_> am i dealing with a random package, or am i dealing with systemd?
<nikolar> wonder why they need that anyway
<heat_> anyway all kernel build deps (perl, bison, yacc, elfutils, musl-fts, musl-obstack, argp-standalone) were also compiled natively
<heat_> cross compilation is boring and bad
<mjg> but you just did that with linux :thinkingface:
<nikolar> did you package all of that
<nikolar> or was it just `make install`
<heat_> make install
<heat_> i need to futz with rpm a bit more
<mjg> repulsive package muncher
<nikolar> lel
<heat_> something that's painfully unclear to me is how to cross-compile with rpm
<GeDaMo> "Setting up a cross-building environment is oftentimes more work than it is worth." https://jfearn.fedorapeople.org/en-US/RPM/4/html/RPM_Guide/ch19s04s02.html
<bslsk05> ​jfearn.fedorapeople.org: 19.4.2. Cross-building packages
<heat_> nah i'm pretty sure it'd be worth it in my case
levitating has quit [Remote host closed the connection]
childlikempress is now known as Mondenkind
kilic has quit [Ping timeout: 246 seconds]
kilic has joined #osdev
veen has quit [Ping timeout: 265 seconds]
obrien has joined #osdev
edr has joined #osdev
SGautam has joined #osdev
<dinkelhacker_> man... c++ is wild...
<nikolar> sure is
<nikolar> what are you looking at
<dinkelhacker_> the c++ project I recently joined at work
<nikolar> heh
<nikolar> good luck
<dinkelhacker_> While some places are okish to understand as a C guy, there are places where I am totally lost.
<dinkelhacker_> There are some A-Grade c++ wizzards that used all the tricks in the book. At least that is what it looks to me.
<dinkelhacker_> I mean the sheer amount of keywords there are...
<nikolar> don't be tricked, i bet they don't even know what they did
<nikolar> lol what keywords
<heat_> "class"
<nikolar> int class; /* c++ proofing the codebase */
<dinkelhacker_> it feels like there are many :D
<GeDaMo> Wait until you encounter templates :P
<dinkelhacker_> that's what i am looking at right now
kilic has quit [Quit: Leaving]
goliath has quit [Quit: SIGSEGV]
Left_Turn has joined #osdev
<Ermine> heat_: great job!
<heat_> we're dangerously close to year of the onyx desktop
<nikolar> yeah it will be in $YEAR_OF_LINUX_DESKTOP + 1
<sortie> heat_: I'm pretty sure it's the year of the sortix desktop but it may be coming to an end you're right
Turn_Left has joined #osdev
<heat_> sortie, the perl build system is WILD
<sortie> heat_: That's putting it mildly
veen has joined #osdev
<sortie> heat_: Friggin awful is what it is and they should be absolutely entirely ashamed of themselves
<sortie> heat_: Doing native or cross build?
<heat_> native
wgrant has quit [Ping timeout: 260 seconds]
Left_Turn has quit [Ping timeout: 265 seconds]
<heat_> it has such funny questions as "Do you really want me to use vfork? [n]"
<heat_> autoconf but you do feature detection, they just ask questions
<sortie> heat_: You'll definitely have more luck with that. I noped out of their build system and use this thing called perl-cross that is extracted on top of perl and replaces the build system with something more sensible that supports cross-compilation, but perl-cross still has a bunch of issues that I also work around
<sortie> I don't even know the normal perl build experience well, since it was so terrible
<heat_> it's really bizarre
<heat_> the default target for an OS it doesn't recognize is: sysv
<sskras> hello. I have an indirect, S.M.A.R.T. related question
<sortie> *sskras->question
<sskras> are there known hypervisors/virtual machine managers (or even emulators) that could emulate SMART for their guests?
<sskras> sortie: cheers! :)
<sortie> (I don't know, but I imagine? At least to tell the guest everything is ok.)
bauen1 has joined #osdev
<sskras> so far I found only one documented feature: it's NVMe disk model on qemu, https://qemu-project.gitlab.io/qemu/system/devices/nvme.html
<bslsk05> ​qemu-project.gitlab.io: NVMe Emulation — QEMU documentation
<sskras> but even then I am not sure it would work: https://blog.christophersmart.com/2019/12/18/kvm-guests-with-emulated-ssd-and-nvme-drives/#:~:text=device%20lacks%20SMART%20capability
<bslsk05> ​blog.christophersmart.com: KVM guests with emulated SSD and NVMe drives – Just another Linux geek
* Ermine tries to run debian 3.0
Matt|home has quit [Quit: Science is our most powerful tool, our greatest weapon, and our strongest shield. Vincere fatum.]
<sskras> Ermine: on what machine?!
<Ermine> vbox
wgrant has joined #osdev
<sskras> intriguing
FreeFull has quit []
Arthuria has joined #osdev
levitating has joined #osdev
wgrant has quit [Ping timeout: 260 seconds]
hwpplayer1 has joined #osdev
levitating has quit [Remote host closed the connection]
dinkelhacker_ has quit [Quit: Client closed]
<bslsk05> ​i.imgur.com <no title>
<nikolar> huh, i can use feh to see that without loading the full stupid imgur website
<nikolar> neat
<Ermine> I'm trying to use 'copy image link' so only image is shown
wgrant has joined #osdev
<nikolar> that doesn't work
<nikolar> you get redirected to the imgur sit
<Ermine> sometimes it works
<Ermine> at least it used to work
<nikolar> yeah used to, i think they started enforcing the garbage experience somewhat recently
<nikolar> i wonder why feh works though
<Ermine> gotta write cgi uploader so I can host crap on my vps
<Ermine> nikolar: user-agent maybe
<nikolar> maybe
<nikolar> why would they care though, if they want you to see the website and not just the image
<zid`> yea they SEO'd it
<zid`> bastards
<nikolar> indeed
<GeDaMo> imgur has been redirecting for a number of years
CapEnt has joined #osdev
<zid`> surely not
<zid`> like.. 1
<nikolar> yeah
masoudd has joined #osdev
<nikolar> now it doesn't redirect
<nikolar> wat
<heat_> it does here
<nikolar> try again in a few minutes
<bslsk05> ​pcworld/no-imgur-redirect - WebExtension to prevent redirect from i.imgur.com to imgur.com (1 forks/8 stargazers/BSD-3-Clause)
<GeDaMo> I wrote a Greasemonkey script to pull the first image out of the page a long time ago, mainly because of imgur
<zid`> greasemonkey'd cause an annoying flash though
<zid`> compared to an plugin
<nikolar> feh works for me
<nikolar> somehow
<zid`> nikolar: it's session/user-agent/referrer etc based
<zid`> otherwise the image would *never* embed
<nikolar> yeah guess so
<zid`> i.e your browser would ask for the content-type png, and it'd give back html and youd go "corrupt png lol"
<nikolar> i assume that extension won't work on manifest v3 :P
<zid`> what's that
<zid`> (it's too out of date for firefox, at least, but I thought it was funny it existed moreso than wanting to actually installing it)
<nikolar> the new api for extensions by google
<GeDaMo> Chrome thing which doesn't allow adblockers to work properly
<nikolar> basically
<nikolar> zid`: yeah fair enough
<zid`> I remember when firefox switched from npapi or whatever
<zid`> and broke everything
<zid`> I was sad
<nikolar> what i meant is that the v3 doesn't allow blanket interception of requests or something
<nikolar> so you could never do something like this
<nikolar> you can basically just give a blacklist to the browser, and a very limited number of entries
<zid`> I never liked chrome
<zid`> its address bar is *fucked*
<zid`> firefox invented the awesomebar, chrome stole it and made it way worse, woo
<nikolar> kek
<nikolar> yeah i dislike chrome too
<nikolar> i think firefox said that they'll keep the request api from v2 when they move to v3
<zid`> only benefit of chrome is that youtube is less ass in it, but we shouldn't be rewarding google for vendor lockin
<nikolar> so adblockers and stuff keep workin
<nikolar> zid`: it's only slightly less ass
<zid`> I used it for years in palemoon, now THAT was ass
<nortti> I think you could implement that extension with manifest v3, since you can inject your own header values
<nortti> however, I am not sure if some header values are "protected" – I couldn't make authorization injection work
<nikolar> yeah they really nerfed it
<Mondenkind> mjg: do you know of coccinelle? do people actually use it? how well does it work?
goliath has joined #osdev
wgrant has quit [Ping timeout: 246 seconds]
FreeFull has joined #osdev
<mjg> Mondenkind: everyone uses it and it works pretty well
<mjg> Mondenkind: except when it suddenly does not
<nikolar> who's everyone
<Mondenkind> everyone=everyone working on linux, i assume?
<Mondenkind> how much of the time does it not work?
<mjg> that i can't say
<mjg> it mostly works for me, except magically fails to adjust some cases
<mjg> so i have to grep anyway
<mjg> also it likes to fuck up some of the formatting
<mjg> kind of a weird question, the tool is around for a decade or so
<mjg> :d
Left_Turn has joined #osdev
<nikolar> i haven't heard of it before :/
<mjg> WEBDEV
<nikolar> i am not :(
<Ermine> Oh gosh, configuring old ass X is hard
<mjg> ok zoomer
<Mondenkind> mjg: _i_'m around for a decade or so
<Mondenkind> and i have never been responsible for working on linux
<Mondenkind> but it intersected with some other stuff i am interested and popped up on a google search
<nikolar> Ermine: what brought that up
Turn_Left has quit [Ping timeout: 260 seconds]
<Ermine> what
<nikolar> > Ermine | Oh gosh, configuring old ass X is hard
<zid`> why are you configuring old ass X
<Ermine> It asked me which device file corresponds to mouse
<mjg> dude
<zid`> /dev/tablet0 ofc
<mjg> Mondenkind: anyhow linux has tons of examples
<Ermine> and idk which mouse type vbox exposes
<zid`> it should be /dev/mouse btw
<zid`> if you correctly set your OS up for mouses
<Ermine> Iirc I've chosed /dev/psaux or /dev/input/mouse
<zid`> mknod something with 13 32?
<zid`> or 13,63
bauen1 has quit [Quit: Lost terminal]
<Ermine> so... kdm tried hard, but it didn't start. Caused some flickers
<nikolar> what are you doing anyway
<heat_> * Ermine tries to run debian 3.0
bauen1 has joined #osdev
xenos1984 has joined #osdev
jedesa has quit [Quit: jedesa]
jedesa has joined #osdev
wgrant has joined #osdev
_ngn has joined #osdev
<bslsk05> ​arstechnica.com: Satisfactory is officially released, officially a scary wonderful time sink | Ars Technica
\Test_User has quit [Quit: e]
\Test_User has joined #osdev
Turn_Left has joined #osdev
Arthuria has quit [Ping timeout: 276 seconds]
Left_Turn has quit [Ping timeout: 246 seconds]
steelswords has quit [Read error: Connection reset by peer]
steelswords has joined #osdev
masoudd has quit [Killed (NickServ (GHOST command used by masoudd_))]
masoudd_ has joined #osdev
masoudd_ is now known as masoudd
<Ermine> 'Not using default mode "whatever" (insufficient memory for mode)'
<nikolar> well change the mode, duh
<Ermine> it prints so for every mode out there
<Ermine> even 800x600
<nikolar> what are you trying to run anyway
<Ermine> X server ofc
<nikolar> if it's an early linux, you should probably get an emulator that's more approriate for the time
bauen1 has quit [Ping timeout: 260 seconds]
<Ermine> or use qemu instead of vbox
bauen1 has joined #osdev
<nikolar> there's 86box you should probably try too
<Ermine> qemu has cirrus if things were too bad
xenos1984 has quit [Ping timeout: 245 seconds]
xenos1984 has joined #osdev
goliath has quit [Quit: SIGSEGV]
<heat_> aight perl rpm built
<heat_> there was a funny problem where rpm autodeps automatically flagged perl as depending on itself :P
<Ermine> lul
<nikolar> nice
<nikolar> are you rawdoggin rpm or are you using dnf
veen has quit [Ping timeout: 260 seconds]
<nikolar> or whatever else was there, i am not into redhat stuff
<Ermine> I guess raw rpm
<heat_> i'm rawdogging still
<nikolar> is rpm itself so bad that people keep building stuff on top
<heat_> rpm is just a little low level for end users
<Ermine> rpm doesn't download stuff afaik
<heat_> it can't fetch packages, can't find packages - i.e rpm -i perl doesn't Just Work
<nikolar> ah ok
<heat_> you need to do wget <url> && rpm -i perl-5.40.0-1.x86_64.rpm
<heat_> and hope you have all deps
<Ermine> (which is a nice separation of concepts btw)
<nikolar> does it at least yell at you with stuff you need when you don't
<heat_> wdym
<heat_> when deps aren't satisfied? totally
<nikolar> yeah, does it tell you what you're missing i mean
<heat_> yep
<heat_> heh
<nikolar> SPEEED
<heat_> fwiw dnf is a little more involved and requires e.g rpm python bindings
<Ermine> dnf5 is in C isn't it
<nikolar> nowadays it's in python
<nikolar> no clue about older versions
<nikolar> what other package manager was built on rpm, i forgor
<heat_> yum
<nikolar> was it yum
<heat_> zypper
<nikolar> maybe those are easier than dnf
<Ermine> dnf4 is in python and they decided to rewrite it in C last time I've heard about it
<nikolar> it still is in python
<heat_> if dnf5 is in C that's pretty sweet
<nikolar> i see /usr/bin/python when i update
<nikolar> in htop
<heat_> C++ actually
<heat_> you might not dnf5
<heat_> not have*
<Ermine> fedora haven't transitioned yet
<nikolar> ah that's it probably then
<Ermine> they're delaying it for some reason
goliath has joined #osdev
<nikolar> ugh c++
<Ermine> Alt linux does apt+rpm btw
<heat_> >Note, however, that DNF5 cannot yet interface with the following programming languages:
<heat_> >C - not implemented, not a priority for any of our existing API users.
<heat_> #musl in shambles
<Ermine> sadge
<nikolar> yuck
<heat_> wdym apt+rpm?
<heat_> two package managers in the same system?
<Ermine> apt as frontend and rpm as backend iirc
<nikolar> you can do that?
<Ermine> in debian backend part is dpkg
<nikolar> sure, but i though apt and dpkg are pretty tightly coupled
<nikolar> guess not
<Ermine> either they are not or some people which like certain kinds of fun untied those
<nikolar> there you go heat, use apt lol
<heat_> i hate apt
<heat_> apt is just too damn slow
<heat_> maybe it's dpkg? i don't know, but i hate that whole stack
<nikolar> well downlading is probably the same everywhere, if i had to guess, dpkg is slow
<Ermine> Gotta say that rpm is more palatable than dpkg in term of packaging stuff
<nikolar> i haven't worked with either, so can't really judge
orccoin has joined #osdev
<heat_> >ALT Linux is a set of Russian operating systems based on RPM Package Manager
<nikolar> i just know that both are relatively slow lol, i am used to pacman's speed
<heat_> TIL comrade linux
<heat_> dnf is pretty palatably fast
<Ermine> not in my experience
<heat_> pacman throws away your data
<nikolar> how
<heat_> it doesn't install things in a safe way with proper syncs
<heat_> its whole database is a fucking directory structure
<nikolar> use a snapshotting filesystem, and you never have to worry about that
<Ermine> my tg bot's database is also a directory structure
<heat_> your telegram bot is not a system-wide package manager for a big linux distro
<Ermine> that's true
veen has joined #osdev
<nikolar> why does it matter that the database is a dir structure
<nikolar> it's still faster than both rpm and apt
<Ermine> atomicity of operation matters I guess
<heat_> databases go to ridiculous lengths to be both fast _and_ data-safe
<nikolar> snapshotting filesystem
<nikolar> you're welcome
<heat_> ext4
<heat_> you're welcome
<nikolar> everything becomes safe for free
<heat_> not really
<Ermine> NoSQLs are more scalable because they sacrifice some reliability btw
mavhq has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<nikolar> heat_: how's that
<heat_> ok with actual snapshots i guess so, cow itself won't give you everything
<nikolar> i didn't mention cow
<heat_> snapshots without cow?
<nikolar> lol i meant that the snapshots are the whole point
<heat_> Ermine, yep, mongo isn't super data-safe
<heat_> mmap and all that shit
<nikolar> cow is more for on disk consistency, rather than user data safety
<Ermine> I mean, those databases don't implement ACID semantics
<Ermine> qemu: Slirp: Failed to send packet, ret: -1
<nikolar> nice
<Ermine> old linux has trouble creating ext2 on qemu
<heat_> sure, but even e.g mmap doesn't suit itself to data safety
<heat_> it's very funny
mavhq has joined #osdev
<nikolar> wasn't there an ext3 extension (i guess), that added some cow for snapshotting
<heat_> here's a funny question: when are blocks allocated when writing to a MAP_SHARED mapping?
<heat_> option a) at write fault time option b) at writeback option c) other
<Ermine> c
<nikolar> i'd bet on c
<heat_> the real answr is option d) it depends
<nikolar> that's falls under c) otehr
<heat_> it turns out most sane widely used linux filesystems (e.g ext4) do allocation at fault time and spit out a SIGBUS if it failed (ran out of space, etc)
<heat_> old, bad filesystems (linux ext2) do it at writeback time
<Ermine> yes, mkfs.ext2 is in D state
xenos1984 has quit [Ping timeout: 248 seconds]
Matt|home has joined #osdev
<heat_> zfs does it whenever it feels like it
<heat_> i assume btrfs is similar and then completely blows up if you run out of space
<nikolar> i actually have no clue how that's implemented
<nikolar> for cow
<Ermine> btw in which linux version virtio was introduced?
orccoin has quit [Ping timeout: 244 seconds]
<heat_> no idea, you should go by qemu changelog and pick a slightly later kernel version
<Ermine> debian 3's kernel doesn't have it anyway
xenos1984 has joined #osdev
<nikolar> i think virtio didn't even become a thing until like 2017 or something
<nikolar> (that might be completely wrong, i forgor)
<heat_> 2017 is too late
<nikolar> > v1.0/ 03-Mar-2016 17:00
<nikolar> specs
<nikolar> i wasn't too far off, heh
<nikolar> nice
<heat_> yes you were
<heat_> there was a _lot_ of time before the v1 spec
<zid`> whoa virtio is that new?
<Ermine> rh6 panicked lol
<froggey> around 2010
<zid`> FRED also around 2010
<zid`> still waiting
<nikolar> kek
<heat_> version 0.12.0-rc2:
<heat_> - virtio: verify features on load (Michael S. Tsirkin)
<nikolar> what's that
<heat_> qemu-0.12.0-rc2.tar.gz 12-Dec-2009 14:39
SGautam has quit [Quit: Connection closed for inactivity]
<heat_> they _already had_ virtio in 2009 and were fixing it
<bslsk05> ​dl.acm.org: virtio: towards a de-facto standard for virtual I/O devices: ACM SIGOPS Operating Systems Review: Vol 42, No 5
<froggey> 2008
<nikolar> so it took them 8 years to standardize
<nikolar> lel
<Ermine> so 1.0 was more of a formality
<Ermine> Anyway, even windows 9x boots on qemu
<nikolar> windows 95 booted on an old laptop from an sd card
<nikolar> (the laptop was an intel atom whatever x86_64)
<Ermine> That's enough mammoth shit for today I think
<nortti> nikolar: how hot does it run? aiui win95 doesn't idle the CPU by default
<nikolar> kek no clue how to check
<nikolar> and it's been forever
<Ermine> I wonder if this is qemu's ide emulation or linux ide driver which was bad
veen1 has joined #osdev
veen has quit [Ping timeout: 246 seconds]
veen1 is now known as veen
craigo has quit [Remote host closed the connection]
netbsduser has quit [Ping timeout: 272 seconds]
netbsduser has joined #osdev
tomaw has quit [Ping timeout: 619 seconds]
tomaw_ has joined #osdev
tomaw_ is now known as tomaw
<nikolar> i wonder, where there m68k multicpu systems
<GeDaMo> I feel like I already looked that up
<GeDaMo> "CPU: 10x Motorola 68000" https://en.wikipedia.org/wiki/Aesthedes
<nikolar> i was looking more at workstation stuff
<nortti> technically speaking, the original sun workstation
<nortti> (the 68000 cannot recover properly from all errors that might be hit when using an external MMU to do demand paging. they fixed this by having the mmu halt the main CPU and handling the page fault on a second one, aiui)
<nikolar> wikipedia said that they had a custom mmu
goliath has quit [Ping timeout: 260 seconds]
goliath has joined #osdev
voidah has joined #osdev
voidah has quit [Ping timeout: 265 seconds]
veen has quit [Ping timeout: 245 seconds]
heat has joined #osdev
heat_ has quit [Ping timeout: 246 seconds]
veen has joined #osdev
marcopolo2 has joined #osdev
GeDaMo has quit [Quit: 0wt 0f v0w3ls.]
veen has quit [Ping timeout: 260 seconds]
goliath has quit [Quit: SIGSEGV]
<netbsduser> Ermine: that's what it's named for
<netbsduser> redhat package manager
<nikolar> repulsive package manager :P
<netbsduser> on block allocation at fault v.s. writeback time
<netbsduser> it's a tricky business
<netbsduser> i think reservation at fault time is one matter and allocation is another
<netbsduser> reservation as in subtract one from an in-memory count of blocks available, so that you can try to do a contiguous allocation at writeback time if there's neighbouring dirty pages
<Ermine> netbsduser: what message did you reply?
hwpplayer1 has quit [Remote host closed the connection]
vinleod is now known as vdamewood
MiningMarsh has quit [Ping timeout: 252 seconds]
Marsh has joined #osdev
Marsh is now known as MiningMarsh
X-Scale has joined #osdev
_ngn has quit [Quit: WeeChat 4.4.2]
Terlisimo has quit [Ping timeout: 252 seconds]
KitsuWhooa has quit [Ping timeout: 252 seconds]
urandom__ has quit [Ping timeout: 252 seconds]
Terlisimo has joined #osdev
KitsuWhooa has joined #osdev
X-Scale has quit [Ping timeout: 256 seconds]
urandom__ has joined #osdev
azonenberg has quit [Remote host closed the connection]
obrien has quit [Remote host closed the connection]
marcopolo2 has quit [Quit: Connection closed for inactivity]
Matt|home has quit [Ping timeout: 246 seconds]
jedesa has quit [Quit: jedesa]
X-Scale has joined #osdev
masoudd has quit [Ping timeout: 255 seconds]
jedesa has joined #osdev
<heat> netbsduser, you at least need reservation
<heat> like you _really_ dont want to catch errors asynchronously at writeback, much less errors that are very possible, like ENOSPC
Turn_Left has quit [Read error: Connection reset by peer]
Burgundy has joined #osdev
heat_ has joined #osdev
heat has quit [Ping timeout: 246 seconds]
heat_ has quit [Remote host closed the connection]
heat has joined #osdev
voidah has joined #osdev
X-Scale has quit [Ping timeout: 256 seconds]
pdziepak has quit [Ping timeout: 248 seconds]
pdziepak has joined #osdev
<heat> >The compiler now accepts the -std=f2023 option, which has been added in preparation of support of Fortran 2023. This option increases the line-length limit for source in free-form to 10000, and statements may have up to 1 million characters.
FreeFull has quit []
eck has quit [Quit: PIRCH98:WIN 95/98/WIN NT:1.0 (build 1.0.1.1190)]
eck has joined #osdev
exark has quit [Quit: quit]
exark has joined #osdev
netbsduser has quit [Ping timeout: 248 seconds]
voidah has quit [Ping timeout: 246 seconds]
<Ermine> I'd expect such limitations from one of the first programming languages
<Ermine> also fortran code was written on punchcards back then
<heat> well these limitations are a little insane no?
<heat> in C a 10k line would have to be the nastiest macro ever
<heat> and a 1 million character statement would literally be a 1MB statement. nastiest macro ever ^2
<Ermine> maybe it's weird way to lift such limitations to make them formal
<Ermine> because actually removing them would break something?