<GreaseMonkey>
quick Q, if i'm in a VBE mode, what would i do to return to non-VBE text mode?
nyah has quit [Ping timeout: 265 seconds]
<zid>
mode set again
<zid>
if you asked grub to do it, you're out of luck without writing your own vbe code
<GreaseMonkey>
do i need to capture the mode number using 0x4F03, or should i do what ImpulseTracker does and stick to "mov ax, 3 \ int 0x10"? (context: i'm actually trying to add support to a DOS program)
chartreuse has joined #osdev
<GreaseMonkey>
(said DOS program isn't ImpulseTracker by the way)
<zid>
yea just use the bios routine if you're in dos
<GreaseMonkey>
thanks
<zid>
3 or 7 or whatever the good text mode is
<zid>
you might be able to query it before you start up I forget
<zid>
and then restore it to what it was
ahalaney has quit [Remote host closed the connection]
Arthuria has quit [Ping timeout: 260 seconds]
mahmutov has quit [Ping timeout: 265 seconds]
AssKoala has joined #osdev
CryptoDavid has quit [Quit: Connection closed for inactivity]
smeso has quit [Quit: smeso]
johnjay has quit [Ping timeout: 252 seconds]
AssKoala has quit [Ping timeout: 265 seconds]
smeso has joined #osdev
johnjay has joined #osdev
mahmutov has joined #osdev
srjek has quit [Ping timeout: 252 seconds]
sts-q has quit [Ping timeout: 265 seconds]
pretty_dumm_guy has quit [Quit: WeeChat 3.2.1]
YuutaW has quit [Quit: WeeChat 3.2]
scoobydoo has quit [Ping timeout: 256 seconds]
AssKoala has joined #osdev
mahmutov has quit [Ping timeout: 265 seconds]
AssKoala has quit [Ping timeout: 260 seconds]
sm2n has quit [Ping timeout: 245 seconds]
nanovad has quit [Ping timeout: 252 seconds]
gioyik has joined #osdev
nanovad has joined #osdev
homura has left #osdev [#osdev]
Arthuria has joined #osdev
rorx has quit [Ping timeout: 240 seconds]
rorx has joined #osdev
Vercas has quit [Remote host closed the connection]
Vercas has joined #osdev
gioyik has quit [Quit: WeeChat 3.1]
dude12312414 has joined #osdev
dude12312414 has quit [Remote host closed the connection]
scoobydoo has joined #osdev
NeoCron has joined #osdev
fwg has joined #osdev
<klange>
Sometimes I feel like I'm banging sticks together hoping to make fire. Particularly when I'm trying to figure out NIC stuff.
<Affliction>
ah, implementing IP over smoke signals?
<Mutabah>
Thankfull, it's hard to make modern hardware smoke
<klange>
I've been messing with my e1000 drivers. I thought I had them working nicely and getting solid performance, but then they were deadlocking in VirtualBox.
<klange>
I tried to fix that, but then I was getting stalls in downloads under SMP.
chartreuse has quit [Remote host closed the connection]
<klange>
I think I've got things at a stable point now. Local connection is reasonably speedy, there's no SMP stalls, my T410 gets... 8mbps to a machine on the LAN but with essentially a fake TCP stack that's understandable... VMs are getting 100ish over SLIRP? Which is terrible, but also still understandable when I'm not really using any of the card features that make it gigabit-capable and I know the rest of the
<klange>
net stack is slow.
<klange>
I think I was handling the rx _and_ tx queue pointers wrong, but not so wrong to be completely broken. I think a change I made to interrupt handling with the NIC's "interrupt cause" and "interrupt mask" registers was also wrong.
<klange>
I am sitting here reading three different versions of the manual for this series of cards and there's just... lot of stuff they word poorly. Thanks, Intel.
<klange>
My real-world speed to the outside is still a pitiful... 500kbps down. But at least it's consistent and not crashing or corrupting anything. With no window management, no packet reordering, and no flow control...
diamondbond has joined #osdev
pretty_dumm_guy has joined #osdev
johnjay has quit [Ping timeout: 260 seconds]
johnjay has joined #osdev
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pretty_dumm_guy has quit [Ping timeout: 265 seconds]
diamondbond has quit [Read error: Connection reset by peer]
diamondbond has joined #osdev
diamondbond has quit [Read error: Connection reset by peer]
Arthuria has quit [Ping timeout: 260 seconds]
dennis95 has joined #osdev
h4zel has joined #osdev
AssKoala has joined #osdev
h4zel has quit [Quit: WeeChat 3.0.1]
fwg has quit [Quit: .oO( zzZzZzz ...]
dude12312414 has joined #osdev
fwg has joined #osdev
ahalaney has joined #osdev
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
<zid>
yea I had to just read qemu's source to get my e1000 right
<zid>
so many models means a bunch of docs, and some of them are electrical only etc
AssKoala has quit [Ping timeout: 260 seconds]
dude12312414 has joined #osdev
no-n has quit [Quit: WeeChat 2.8]
nyah has joined #osdev
<klange>
Anyway, I fixed up some things with interrupting socket operations so you can ^C some stuff that would have just ignored it, added some basic bind() support for UDP sockets at least... reorganized some of the userspace headers because I had stuff in all the wrong places...
<zid>
good work
<klange>
I wanted to get networking in Quake working but apparently that's where this source port is completely broken on anything 64-bit
<mjg>
:)
Brnocrist has quit [Ping timeout: 260 seconds]
<klange>
I tried to see if I could fix it up in Linux, got it to at least start a network game, but then it pretty quickly dies from a script error...
<zid>
might be easiest to splice two quake ports together
<zid>
one with working networking and your one with presumably, the compatible graphics/input
<klange>
This is sdlquake, it's a very... old, unmaintained source port.
<klange>
My patches to it are pretty minimal. Some fixes for windowed mode, mostly.
<zid>
ioquake or glquake or something, just steal the networking files and re-integrate them
<zid>
or figure out the differences I guess
<klange>
If I can find a maintained source port with a suitable backend, I might switch, but too many of them seem to have dropped the original software renderer.
<klange>
But, alas, low priority. Other things top my TODO list.
<klange>
Listening TCP sockets would be a good start. I have this web server I've been dying to port; it still has some other quirks...
<zid>
My vague osdev plan was just to get a webserver in the kernel running asap
<zid>
so that I could use it as a console/repl/memory viewer/blah/blah
isaacwoods has joined #osdev
Brnocrist has joined #osdev
kulernil has joined #osdev
kuler has quit [Remote host closed the connection]
novasharper has joined #osdev
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
System123 has joined #osdev
System123 has quit [Remote host closed the connection]
fwg has quit [Quit: so long and thanks for all the fish.]
AssKoala has joined #osdev
<ZetItUp>
im kinda thinking about how to handle drivers, would it be weird to allocate some arbitrary pages in kernel space and reserve them, and when i load a driver, i just push the data into a page, and when i remove it, just make the page available again, im thinking so i don't have to relocate memory when adding/removing drivers
<zid>
I mean yes, that would be weird
<j`ey>
ZetItUp: are you trying to avoid allocating memory in the kernel..?
<zid>
Just.. use your normal allocator
<zid>
Adding and removing drivers should basically never happen at runtime, for large values of never, so performance is a complete non-issue
<ZetItUp>
well i guess the time it takes to reallocating is worth it, cause you are not adding/removing drivers every tick :P
<ZetItUp>
yeah that makes sense
<zid>
It takes like.. seconds on windows
<ZetItUp>
j`ey not avoiding, was just thinking weird i guess :D
<j`ey>
ZetItUp: linux allocates at driver load soooo
<ZetItUp>
i should stop worrying about that then hehe, was thinking if it would slow down stuff alot
<zid>
My driver stuff technically sucks because I don't do TLS in kernel
<zid>
so it's 1 driver only and 1 thread, but who cares
<ZetItUp>
hehe :D
johnjay has quit [Read error: Connection reset by peer]
System123 has joined #osdev
Vercas has quit [Remote host closed the connection]
Vercas has joined #osdev
freakazoid343 has quit [Ping timeout: 252 seconds]
johnjay has joined #osdev
srjek has joined #osdev
System123 has quit [Remote host closed the connection]
freakazoid12345 has joined #osdev
xenos1984 has quit [Remote host closed the connection]
xenos1984 has joined #osdev
dennis95 has quit [Quit: Leaving]
sprock has quit [Ping timeout: 252 seconds]
nanovad has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
nanovad has joined #osdev
Oshawott has quit [Read error: Connection reset by peer]
<zid>
oh it was a waste of time to copy paste it and add .jpg manually
<zid>
I regret my decisions
<clever>
lol
<ZetItUp>
mistakes were made :D
<clever>
i always link the raw .jpg when its a single file, because people with JS disabled keep complaining :P
<GeDaMo>
I wrote a greasemonkey script that gets the direct image link from the HTML source and inserts it :P
<zid>
why *would* you link to a hosting site if you meant to link an image though, in the first place
<clever>
good point, i should just use my own server more, lol
<clever>
i need to resurrect that gallery thing i had from years ago
<clever>
its also JS free, using CSS to handle the tiling
<clever>
zid: about the only reason to keep using imgur, is that its easy to upload to from a phone
<clever>
but i think i can do scp from the phone too
<zid>
I didn't say don't use imgur?
<zid>
I said why link to the file hosting website instead of the file
<clever>
other people have said to not use imgur recently
<clever>
and i do find the site a bit dangeruous :P
mmohammadi9812 has joined #osdev
<clever>
i go there to upload one picture, and i come out an hour later with a ton of memes
<clever>
where do i buy self control? lol
<gog>
sir this is osdev
<clever>
gog: this is a problem i have, every time i upload an osdev screenshot :P
<gog>
solution: stop doing osdev
* gog
dusts her hands
tacco has joined #osdev
mmohammadi9812 has quit [Killed (NickServ (GHOST command used by mohammadi9812m!~Mohammad@2.178.201.78))]
mmohammadi9812 has joined #osdev
System123 has joined #osdev
kulernil has quit [Remote host closed the connection]
kulernil has joined #osdev
System12_ has joined #osdev
System123 has quit [Ping timeout: 265 seconds]
ahalaney has quit [Quit: Leaving]
dude12312414 has joined #osdev
mhall has quit [Quit: Connection closed for inactivity]
mniip has quit [Ping timeout: 600 seconds]
mniip has joined #osdev
devcpu has quit [Quit: leaving]
devcpu has joined #osdev
freakazoid12345 has quit [Quit: Leaving]
sprock has joined #osdev
GeDaMo has quit [Quit: Leaving.]
Vercas4 has joined #osdev
Vercas has quit [Ping timeout: 276 seconds]
Vercas4 is now known as Vercas
mniip has quit [Ping timeout: 619 seconds]
mniip has joined #osdev
System12_ has quit [Quit: Leaving...]
sm2n has joined #osdev
AssKoala has joined #osdev
Matt|home has quit [Read error: Connection reset by peer]
jimbzy has joined #osdev
AssKoala has quit [Read error: Connection reset by peer]
AssKoala has joined #osdev
YuutaW has joined #osdev
sprock has quit [Ping timeout: 252 seconds]
sprock has joined #osdev
rendman has joined #osdev
srjek has joined #osdev
<rendman>
technically i do not even think you are worth my time as so called smarter people, cause on the file is that i teach you not the other way around, you just talk bullshit as porrots about mental illness about your fiasco to sanction me, everyone remembers how it ended how all the doctors gave up on finishing me, one more move from them and they fill fucking kill everyone of them. My fanline is actually such a big one in the world , not only in estonia.
<rendman>
They were courageous to even talk to me even more to sanction me, yet more to terrorise me, and they will be courageous enough to die if they do it again.
sprock has quit [Ping timeout: 260 seconds]
dude12312414 has quit [Ping timeout: 276 seconds]
<zid>
Mutabah / klange
* Mutabah
is away (Sleep)
rendman has quit [Quit: Leaving]
dude12312414 has joined #osdev
dutch has quit [Quit: WeeChat 3.2]
<philpax_>
ah, years pass, networks change, but the reality-divorced still come to visit #osdev
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
dutch has joined #osdev
basil has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
basil has joined #osdev
basil has quit [Remote host closed the connection]
basil has joined #osdev
basil has quit [Remote host closed the connection]
basil has joined #osdev
basil is now known as basil
<Bitweasil>
Well... now the question is, *why* is the Linux kernel ftrace code filling a page with NOPs? :/
resillient has joined #osdev
<zid>
how else is it going to run a page of nops
<clever>
ive got my own fun problems
<clever>
everything was working perfectly, until i replaces my ext4 with a pre-made image from some tooling
<clever>
now the block group table is all whack, and LK cant even find an inode
CryptoDavid has joined #osdev
<kkd>
Bitweasil (Libera): only if you enable CONFIG_DYNAMIC_FTRACE, to make tracing zero overhead when disabled
<clever>
ext2_mount:124: incompat features 0x2c2
<resillient>
as much as i want to be average guy without problems nothing in my life refers to there, there is nothing to do much in the programming world, the related base circuits were done 75years ago, this is not average guy who they want to knock off and all of the sudden all powers from foreign countries having vaccation are recreuited to hold those monsters back, i did not understand it while back, but they must love me to some degree to do that, when zid is
<resillient>
in trouble no one will be going to help him like this. So just don't bully and pick up fights where you will embarrass yourself or cancel yourself, i stress out that there is nothing we did not handle, just some things are not talked about oftenly for safety reasons, and some things are not just fleshed out due to also same safety reasons as to how americans control all the substances with terror, that is why they are called controlled substances, all
<resillient>
the powers are same, it's not what you have it's what you are allowed to show or have, but you think you will commit consistent abuse to me, and hope to get away, this will not happen i can tell you that only, so better stay civil.
<kazinsal>
klange / geist: ping
resillient was kicked from #osdev by geist [resillient]
* clever
cheers
<Bitweasil>
kkd, thanks, will take a look at that. It shouldn't be doing it, but clearly something, somewhere, is wrong. :)
<Bitweasil>
CONFIG_DYNAMIC_FTRACE is set, so I'll mess with that.
<Bitweasil>
Thanks. A page of memory I expect functions in has been filled with NOPs.
<kkd>
tldr it records the locations of fentry/mcount calls during compile time, patches them out with NOPs, and patches them back in when you want to trace a function
<Bitweasil>
*nods* Though it shouldn't be blowing out an entire page+ of memory that's functions I'd like to have present.
<Bitweasil>
Anyway, will take a look and see if that helps, thanks!
* Bitweasil
wanders out.
neiumustas has joined #osdev
j00ru has quit [Ping timeout: 245 seconds]
<neiumustas>
It's all about blocking the abuse, i was not about to talk about any of what i did talk allready, but it all happened due to the fact that some went over the limit with the abuse, lot of it came to me, recent attack vector composure is all formulated due to the fact, when it happens coordinatively again against all laws, someone not on the radar would have to actually go and compromise the data, but i am not the one who is off the radar, very long
<neiumustas>
allready, if people die without any reson with such abuse against them, it needs to be held back , and honestly we have the tech to enter the weak links of the world terror systems, it is not very complex and it was done to phizer labs as well. So people in troubles are offered some methods to keep their life, if they have enough ears and internal content there is some way too always. I know what abuse means , i have felt it, everything can be halted
<neiumustas>
in your system, i am not talking wether it is allowed since obviously it isn't, it's up to you to defend yourself there. Many people can lose their mind and not keep the temper, so some help to get them more resillient is needed.
neiumustas has quit [Remote host closed the connection]
mmohammadi9812 has quit [Read error: Connection reset by peer]
pretty_dumm_guy has quit [Ping timeout: 265 seconds]
pretty_dumm_guy has joined #osdev
no-n has joined #osdev
zaquest has quit [Remote host closed the connection]