IRC log started Sun Aug 15 00:00:00 1999 [msg(TUNES)] permlog 1999.0815 !forward.openprojects.net!! Received :irc.linux.com SERVER hogan.openprojects.net from irc.linux.com !?! okay, so what's the prob now? the code dont work hahah the iolist holds blocks of unused ports it finds the right block that would contain the port but then it screws up the size and doesnt create another block to hold unused ports above it 12:10am ok it doesnt screw up the size it doesnt create a new node for the ports after 3b4 ah found it 12:20am * eihrul/#tunes sighs. it now works it's so hard to write good APIs in C heh whats wrong trying to write up the API for my kernel and it looks ugly as hell and is not conceptually sound, that's all i dont see how C has any effect on yer api isnt a bad api the designers fault? :) not quite >>> liar [brand@p0wer.qzx.com] requested PING 934702790 684277 from #tunes shoving a pretty package over a box of shit is not necessarily easy -:- SignOff Mr_Wrong: #TUNES (Ping timeout for Mr_Wrong[adsl-63-192-213-146.dsl.snfc21.pacbell.net]) some of the stench leeks through leaks :) i find that hard to believe 12:40am the language has no effect on how crappy yer api is not really, no... or are u talking about yer syscall convention? but it's as good as anything to blame :) no... i'm talking about ym syscalls themselves the conventions are but a minor annoyance so yer blaming yer choice of syscalls on C, thats good :) im gonna blame any problems i have with brix on visual basic no... i'm blaming convention on c i'm blaming choice on myself... C is very sloppy when it comes to such well it took me A VERY LONG time to get an api that i liked for brix years i dont like my current api but i like it ALOT more than any other api i have had right now i'm struggling how to cleanly and uniformly represent address spaces and memory objects mapped into them hehe thats fun actually... it's not so much how to do that as how to present that right because the API starts to reek of featuritis at that point i know what ya mean but they're necessary features... :( thats the part i most hate about my current api i would really like to only have a couple syscalls but... how many syscalls are you at right now? let me look 12:50am if only computing languages only utilized a single region of memory in the same manner eliminating the notion of code, data, and stack :) then i'd be fine 26 user and 10 system and efficiently at that eh? i'm just ranting... crap your api up on your site? something is setting my iobitmap pointer for osp0 to 1 so my iget thinks that one exists www.qzx.com/brix/api.cgi but its not current atleast i dont think it is well it's big :) there might be 1 or 2 functins missing hmm i think that is current hmm that more current then current kreload shouldnt be on that list its part of kset now 01:00am hrmm, yep... it looks like it's suffering the same way my api is :) heh just think of it like this, it has lots of features so its flexible but not so many that the programmer is overwhelmed 36 functions are easy to memorize but then again... as i tend to hear so often in here, representing complexity with simplicity is near a sin :) and if yer not writing system components than its only 26 i guess i'll just settle for a slightly, and blatantly hacky api ugh, i hate tracking down bugs that overwrite data mmmm... memory overrun... no it only modified the iobitmap entry for the osp sides i dont make memory overrun errors :) ugh, i hate tracking down bugs that overwrite data * eihrul/#tunes grins. we've all put a jg where we meant a jge or a > where we meant a >= :) uhh no it directly modifed a single memory location 01:10am well, it's your bug... :) if i give u the source will u find it :) given enough time ugh E is so slow. i need to get off my ass and put my dual board in this box so i can switch desktops faster i use blackbox myself... i was using afterstep and it was fast, but now i have this bloated E/gnome pig why? :) there's always twm i like some of its features so im forced to use the entire thing what features? well its panel and some panel apps featuritis strikes again :) hack the panel out of gnome if it doesnt run smooth after i install my dual then i will have to change some shit with E/gnome it'd be easier to just degnomitize the panel :) ofcourse its probably a swap problem cuz afterstep and my 40 windows only used about 150meg ram and no swap and E/gnome with 10 windows uses all 192meg + about 75meg swap ouch.... i never even touch the swap 01:20am i never touched swap with afterstep could i see a dump os your ps ax? :) i need a good laugh heh this is whats funny, i was using ax4.1 with afterstep and ax used 90meg of ram and now im using xf and it only used 50meg what are both programs, respectively? :) never heard of either accelX and xfree ah hungarian notation at it's finest ugh im glad u asked for a ps dump hrmm... i'm wondering if i should have a tag field in my message passing :) i just found a coupld things running that shouldnt be portmap et al? :) sendmail and gpm ah... 3meg right there whatcha think? message tags or no tags? tag? a dword sent along with the message for arbitrary purposes of course what kinda purposes? if a process wants to use it as a short 4 byte long message it could if it wants to use it as a request number... it could what the hell, i'll do it :) i think those types of messages suck i like brix messages much more how do brix messages operate? fork/call no need to check message queues 01:30am i don't have any message queues a stinkin thread is created to handle the message then how do threads receive messages? it's synchronous they just wait :) xf doesnt use gpm does it? xfree uses it's own mouse drivers GPM is simply for console okay... i think i've succeeded in making my API somewhat less hacky but is it usable? for most purposes it's large enough wish it was smaller, but such is life a previous brix api didnt have those open/mopen/close/lookup/mlookup functions but i added them to make the system MUCH faster now all i have to do is implement all this and i found a big problem with brix today, it can have upto a 10ms delay before servicing an irq dont know how im gonna fix that that's the problem with microkernels :) they lose that uber-integrated speed no thats the problem with a feature in brix u can chain many threads to a single irq which is reminiscent of a problem common to many microkernels :) yeah... that could slow things down :) do you dispatch all the notifications before context switching? and when the irq triggers the kernel will resume all those threads but they dont get a timeslice until the current thread finishes ya ack, afk a minute... the coke i just drank is itching to get out usually u will only have 1 thread attached to an irq and it will take upto 10ms before it runs 01:40am if u have more than one then it will take 20ms before the second thread is run, 30ms for the third... interrupt chaining is evil :) hrmm, should i try implementing signals? i thought about skipping the current thread so the irq thread could resume immediately but if the current thread was a higher priority interrupt... maybe i could add a flag to the threads and set it if they are put on the irq events signals :) nah... i don't need signals :) me wonders about semaphores... ya make semaphores and events events are kewl messages do enough for that :) messages suck i can just fork off a thread to wait for messages from the kernel :) i need some kinda variables associated with objects how should i do them objects don't have variables? :) no 01:50am i thought the whole point of objects were that they were grouping of data named variables that only exist at runtime non-persistent stuff ala stack variables? :) no shared variables between different threads? ya make a heap of some sort i guess there are no processes and the osp does not have a static layout osp? object space, cr3 the memory space that threads run in u dont always have to change osp's when opening objects if u dont trust the object or just dont want it in yer osp then u open it in another. if it was already opened in another then u have no choice cuz u can have an object in two osp's simultaneously er cant ok... API at 26 functions so far :) heh down from 27 so i need some kinda named variables just enough to be on par with brix oh yer api is 26? 26 in count i have 36 but 26 to the application programmer :) maybe a compressed 64bit name and a 32bit value oh ya and half of my 10 syscom functions are only available to the startup and ofs actually... i probably need to provide reboot and shutdown syscalls :) dmabuffers is only used by some object that will allocate dma space and i don't have semaphores either no signals either :) well if u have a faulty kernel the user can make his own reboot call :) 02:00am kinda like in windows well i could just allow any privileged task to do it but actually... i couldn't it :) well the startup code uses kset to tell the kernel that it is the only object that can call reboot/shutdown i could maybe just give the boot task and only the boot task halt privileges and the only way to r/s is for the user to tell it to that way if any other process needs to shut down the system the boot task can decide policy allow the startup process to designate a process that can call it but that's a whole other syscall :) kset in brix does many nice things ah what the hell i'll make a hook for a supervisor process it tells the kernel what object will be handling the ofs who gets to use kmalloc, who to call for a keyword search... et_bool emk_supervisor_set (const et_thread); there we go :) damn those are some huge syscall names i like verbosity :) and and the nice thing about brix is that no one really has to know about the syscalls maybe it's that C++ has warped me from ever liking hungarian notation again who knows cuz brix has its own language that u are forced to use but what if someone wants to code for brix in assembly? :) they can but its not recommened cuz it breaks the nice distribution method that brix has what u code in asm will remain on yer system 02:10am it cant go into the master repository that the world will update from okay i just removed the supervisor system call :) hmm where the crap is sendmail started from? and just am making many privilege levels grep :) YA, killed gmc and my swap dipped a little :) brand 969 0.0 2.1 16644 4208 ? S Jul05 6:00 gnomepager_applet 17 MB FOR A PAGER!?!?!? well that is no longer on my panel what the hell is that pager doing my swap just made a bigger dip well it is a 3d pager featuritis :) heh hmm whats the diff between X and Xwrapper? is it just me... or do you think it's pointless to return a failure boolean in a halt () syscall? :) hehe what is halt for? it halts the system :) -:- ElGato [dave@bespin.dhs.org] has joined #tunes why? are u too lazy to have yer scheduler halt when idle? why is it that so many american tunesters are on and few international ones liar: er i mean, it shuts the system down COMPLETELY :) ElGato: u scared em off :D so halt = shutdown think i should rename? :) ya 02:20am done halt is something that should be done when u have no threads to run i went to take a nap at 2:00pm and told my brother "wake me up when you're done with the internet" to put the cpu to sleep it is now 2:20 am HAHAHA i just woke up 12 hour nap eh? :) yep when i start i don't stop obsessive compulsive napping now i've heard everything ugh, gnome restarted gmc slay it all! leave not a single bloody gnome alive! that isn't obsessive compulsive it's close enough who tought you about psycology? it's not like "if i don't nap the world is gonna end" i just over sleep who taught you how to spell? cheap shot but, of course i write at the 8th grade level heh and yer in what 12th grade? hah college grad? im going into the 9th grade suckah :D and yer STILL writing at the 8th grade level???? YES u should be writing at the going_into_9th_grade level well let this be a lesson to you when one is idle and halts, start up again when not idle liar: ohhh thanks for clarifing that eihrul: here ya go brand 32138 0.0 1.5 5144 3068 tty1 S Aug14 0:02 gnome-terminal -- brand 32139 0.0 0.2 1288 552 tty1 S Aug14 0:00 gnome-pty-helper each terminal needs a pty-helper laugh at that use xterm :) rxvt it's half as expensive i remember my 800k rxvt i had with afterstep, the rxvt with rh6 is 1.9meg debugging symbols perhaps? dunno and why x11amp needs 4 8.5meg processes is beyong me hmm... i wonder where i can get the source code to ps 02:30am why? i think it's part of bash isn't it or any other shell -rwxr-xr-x 1 root root 60656 Jul 6 16:14 /bin/ps just wanna find out how it queries the states of processes :) hmm 9meg for my slashdot panel app !sterling.openprojects.net!! Received :irc.linux.com SERVER hogan.openprojects.net from clarke.openprojects.net !?! ack brix has an info() syscall for that actually... who needs to know information about processes anyway? :) well the user might wanna see all the objects/threads running and maybe kill some 02:40am but that should all be managed by some task :) as this is a microkernel... ya * ElGato/#tunes is away: (Auto-Away after 10 mins) [BX-MsgLog On] you build system API's over the MK api :) info() doesnt dump text, some app is needed to convert the results from info() to text userland can read directly from kernel memory but then it can break if a kernel structure changes info() will always return the same values even if the kernel structures change there, i just put some hacks in for system info :) :) 29 syscalls who needs small api's anyway? :) haha would having 29 different interrupts for syscalls be kosher or overkill?:) i would use call gates and using callgates will make yer uk faster i gots to save eflags anyway so there's no benefit for just that reason why do u need to save eflags? many system calls cause context switches and i don't want to have to wait for the things to get preempted in user land 02:50am er kernel land :) what syscalls cause context switching message passing primarily does the sender wait fora reply? nope it's just a context switch + data transfer when i send a call() message it blocks the current thread and when the new thread is finished it resumes the blocked thread i might have a message_call () syscall in addition to send and receive but it would simply be a composite send/receive yer message passing is just a resume + data copy and the data copy is optional :) what is the point in passing a message if the data is optional? resume/suspend :) some times the contents of the message is irrelvent oh and what happens if a thread that is suppose to be waiting for a message is processing a message it just received? do u block the sender until the receiver goes back to waiting? yessir the sender or receiver can both configure how long they're willing to wait for transaction to complete +s 03:00am hrmm... i should probably go to sleep now well im gonna goto sleep haha cya :) -:- SignOff eihrul: #TUNES (Leaving) -:- SignOff liar: #TUNES (BRiX [http://www.qzx.com/brix] :: sleep) 03:10am Plundis? Crimson? Tril? Anyone awake? 04:30am -:- overfien [overfiend@m229.telcomplus.net] has joined #tunes y0h hey what brings you here? a few peeps from my college chill here ;p ahhh where you go to college? western wwu.edu transfering to berkley you're leaving berkeley? wtf would you want to do that? i'm going to berkley. oh ok i'm getting out of washington. to goto cali ;p :) my grandma went to berkeley i think it's a cool school i have a few friends down their.. that can hook me up wid cisco security testing jobs ahh cool heh comin down to california hehe what state u from? california :) oh hehe what part? souther (san diego) i got a summer house in sacromento.. actually its a condo "summer room" hehe ahh cool i really haven't been to central valley much fresno but that's the highest ... i was doing coding for people round that area since i was 13.. well actually i wen t to san fransisco for a day once hehe how did u like it? lots of cool homeless people adds a lot of spice lots of cigerrete smoke and too many hills though who would let you write code for them at 13? 05:30am oh sorry away from comp np sun :) wha?! unlce werked their im 14 and no body even trusts my code hehe i'm 17 now.. "college/grip of cash" one of them prodigys eh? no just didn't goto school hehe heh spent all my time coding/hacking/security shit liar is like that he's 15 and doesn't go to school other than that everyone else here are all 21+ except for sham (17) yeah i know most the people on this server r 19+ i don't get much respect :\ because of that heh think when yor their age.. u'll school the fuck out of them :D heh yor 14 what do u code in? oh well C/asm/scheme ahh tight.. i try to stay away from c now by ne chance asm for vax? or just intel? no...never seen anything but asn x86 and mac oh hmm... damn thats hella cool ;) :P when i was yor age i just coded in c soo yor already doing better then i did :) i had the distinct DISadvantage of learning c++ first now i code in java, c, pascal, asm (vax,vms,snes), cobol it screwed me up pretty bad ;) ahh you rom hack on the snes? heh i need to go get something to eat brb yeah.. or use too.. not much into it ne more bitchen heh why r u up soo early neways? u should have gone to defcon this year. www.defcon.org it fuckin rocked Q#$ best party ever. i took a nap at 2:00pm and told my brother "wake me up when you're done with te internet" i woke up at 2:00am :( ahh how olds yor bro? 21 still living at home :\ hmm.. he code also 05:40am yeah...cs at ucsd he sorta "got me into it" ahh cool hehe cs is a useless degree. awsome why you say that? you ce? was cs then switched to ce :P cuz "money wize" u make "$35,000" more supposely i'll have my bach by next spring then i'll hit up my masters hopefully transfering from berk. to M.I.T cuz i want to do some robotics you into ai at all? yeah ;p or at least getting into it. heh have u heard of a person called lowtek? nope i'm mainly into satellite communication shit or phone network stuff :D you like fone phreaking? yeah. "computers have grown to be a part of me." not fun nemore now phones/sattelites/crypto is much more intresting * ElGato/#tunes likes fone stuff :) u know yor phone shit? or u just like phone stuff. be mindful of what you talk about in here though (it's all logged) yeah i know. i know a bit about phone stuff rcmac,switches,centrex type stuff? im no expert though ahh ;p heh i have a ? what ever got u on this server? some guy told me about it on efnet like why not effnet or undernet oh ahh cool ;p where did u hang on effnet? i like this channel #nes2k, #ai, #os sometimes #pla ahh hmm im not on efnet right now i hang mainly in #!/bin/csh an #!adm an #!w00w00 an #infotrash heh #!/bin/csh weird u ever go their? nah i go to #unixsecurity sometime a lot of sys admins are there 05:50am i've never been their i need to check that out oh damn eheh its keyed keyed? ohhh yep not when i was there oh been a while r u one of the better comp people at yor school? pretty much 06:00am -:- SignOff ElGato: #TUNES (ElGato has no reason) -:- core [core@core.suntech.fr] has joined #tunes people hi 06:40am heh :) heh? :) 06:50am -:- sr [depag@phila-dialup552.nni.com] has joined #tunes hey salut, sr 07:50am -:- SignOff overfien: #TUNES (Ping timeout for overfien[m229.telcomplus.net]) abi: salut salut, sr 08:00am abi: hello que tal, sr hello hoy, sr bye abi abi: bye -:- smkl [sami@MCCL.rdyn.saunalahti.fi] has joined #tunes hey smkl hello sr what are you up to right now? hey sr, smkl :) hey salut, sr what's up? 08:10am nothing really working on clementine right now? :) sr: yep :) for a change :) sr: what are you working on? still thinking and learning i want to develop a compiler but i still have a lot to learn first sr: why? :) sr: what do you want to compile? a object-oriented language of my own design if it ever gets off the ground you'll see :) sr: no one like yours exists? sr: i hope it does.. did you look online for similar ideas? not that i know of the TUNES language review :) sr: that's a first step.. what about keyword search on altavista? ;) wow 1024x768 is so much better than 640x480 sr: no shit. my new board is faster in 1600x1200x32 bit than my old one in 800x600x16 bit, isn't that sad :) core: off the topic, but, what kind of monitor would you recommend sr: screen you mean? I have a 19" hitachi at home; but i guess anything >= 17" and <= 0.25 of pitch is good :) * sr/#tunes wonders when IA64 processors will be on the market sr: Q2 2000 or something. * sr/#tunes sr-away err -:- sr is now known as sr-away 08:20am -:- fare [fare@quatramaran.ens.fr] has joined #Tunes -:- SignOff core: #TUNES (bbl) -:- SignOff Plundis: #TUNES (Ping timeout for Plundis[chaosdev.org]) -:- SignOff Crimson: #TUNES (Ping timeout for Crimson[chaosdev.org]) -:- NetSplit: sterling.openprojects.net split from clarke.openprojects.net [10:21am] -:- BitchX+Deb1an: Press Ctrl-F to see who left Ctrl-E to change to [sterling.openprojects.net] -:- Netjoined: sterling.openprojects.net clarke.openprojects.net -:- sr-away [depag@phila-dialup552.nni.com] has joined #Tunes !sterling.openprojects.net!! Received :irc.linux.com SERVER hogan.openprojects.net from clarke.openprojects.net !?! -:- Plundis [plundis@chaosdev.org] has joined #tunes -:- Crimson [crimson@chaosdev.org] has joined #tunes * Plundis/#tunes is gone. Gone since Tue Aug 3 18:38:00 1999 * Crimson/#tunes is gone. Gone since Sat Aug 14 22:23:00 1999 -:- Mr_Wrong [seanl@adsl-63-192-213-146.dsl.snfc21.pacbell.net] has joined #tunes -:- Closing Link: TUNES[bespin.dhs.org] by clarke.openprojects.net (Ping timeout for TUNES[bespin.dhs.org]) -:- Connection closed from clarke.openprojects.net: Success -:- Connecting to port 6667 of server clarke.openprojects.net [refnum 1] -:- BitchX+Deb1an: For more information about BitchX type /about -:- Welcome to the Internet Relay Network TUNES -:- Your host is clarke.openprojects.net, running version u2.10.05.18.(ipcheck4-5) -:- This server was cobbled together Wed Apr 28 1999 at 13 24:47 EDT -:- clarke.openprojects.net u2.10.05.18.(ipcheck4-5) dioswkfcg biklmnopstv -:- [local users on irc(9)] 2% -:- [global users on irc(144)] 37% -:- [invisible users on irc(241)] 63% -:- [ircops on irc(14)] 4% -:- [total users on irc(385)] -:- [unknown connections(0)] -:- [total servers on irc(31)] (avg. 12 users per server) -:- [total channels created(120)] (avg. 3 users per channel) !clarke.openprojects.net Highest connection count: 21 (20 clients) !clarke.openprojects.net Welcome to Open Projects! You are on 4 ca 1(2) ft 14(14) tr. -:- Mode change [+f] for user TUNES -:- Mode change [+iws] for user TUNES -:- JOIN activated by "TUNES #tunes tunes@bespin.dhs.org " -:- TUNES [tunes@bespin.dhs.org] has joined #tunes -:- Topic for #TUNES: Free Reflective Computing System at http://www.tunes.org/ -:- topic set by water [Sat Aug 14 18:33:16 1999] -:- [Users(#Tunes:9)] [ TUNES ] [ Mr_Wrong ] [ Crimson ] [ Plundis ] [ sr-away ] [ fare ] [ smkl ] [ abi ] [@Tril ] -:- Channel #Tunes was created at Sun Feb 28 08:48:06 1999 -:- BitchX+Deb1an: Join to #tunes was synced in 8.011 secs!! -:- Mode change [-s] for user TUNES -:- sr-away [depag@phila-dialup552.nni.com] has left #tunes [] -:- supergirl [user4388@98A6DEA1.ipt.aol.com] has joined #Tunes -:- supergirl [user4388@98A6DEA1.ipt.aol.com] has left #Tunes [] -:- liar [brand@p0wer.qzx.com] has joined #tunes -:- eihrul [lee@usr5-ppp12.lvdi.net] has joined #tunes -:- Miellaby [sgarden@St-Brieuc-1-14.club-internet.fr] has joined #TUNES eihrul: u here? 02:00pm yep u know much about the iobitmap? i remember a lot from the manuals, but i'm not claiming to be an expert :) -:- SignOff smkl: #TUNES (Ping timeout for smkl[MCCL.rdyn.saunalahti.fi]) can the iobitmap be page mapped into the tss? or does it have to be in the physical memory following the tss it just needs to be at the offset from the end of the tss where you said it was... not quite sure however if that means physically or virtually :) i don't remember it even mentioning if it was either cuz i page map all the iobitmaps into a single tss hrmm... lemme look in manual again and see if it might have said anything but you can always count on the if-it-don't-work-it's-not-supposed-to-be-that-way principle would it need to have user read permissions? i don't think it would becuase you wouldn't want the user reading it's own TSS anyway -:- hcf [nef@me-portland-us321.javanet.com] has joined #tunes hmm, i dont think my io_alloc set the right bits in the iobitmap :) hrmm... it looks as if you might not be able to page the TSS actually :) 02:10pm WHAT??? errr... looks do not go and ruin my perfect little plan here i didn't say says :) you probably can page the TSS oops found my problem. i was writing the bits to the place where the iobitmap is mapped to, but i had disabled paging before writing :) that could suck :) but apparently, the intel manuals say jack shit about it so i'd just assume yes for now ugh it now has the bits set correctly but still gpf's when you try to do io? ya hrmm gakuk hrmmm... where in the address space to place kernel stacks? 0x181000 what if i have multiple threads running in the same address space? should i just remap the kernel stack into the same place every context switch? 02:20pm and i map the current threads stacks to 0x180000 and 0x181000 so, yes? :) yes okie, dokie... that simplifies things then yes it does and i sure hope i can map the iobitmap into the tss or it will become very complex map the iobitmap into the tss??? -:- dan [user4390@1Cust45.tnt3.krk1.da.uu.net] has joined #Tunes -:- dan [user4390@1Cust45.tnt3.krk1.da.uu.net] has left #Tunes [] the next problem becomes i would have to map the first kernel page table into the address space ya the tss is at physical/virtual memory 0xf98 and the iobitmaps are all over physical memory but i map the current iobitmap to virtual memory 0x1000 and i have the byte at 0x3000 set cuz the tss needs it to be eihrul: thats what i do liar why hardwire such things? hrmm... could the mapping of iobitmaps have to be relative to the TSS itself? my kernel page table is at 0x1000 physical, right under where the iobitmap is mapped eihrul: they are http://borg.qzx.com/bi/memory/ ah, just wondering :) why not do as linux -- let the compiler put it at whatever address, and not care about it, having the whole kernel statically mapped at 0xC0000000 or wherever fare: shhh liar: shhh yourself! how can one shh'd shh themself? this is a perfect solution, if it works -:- smkl [sami@MCCL.rdyn.saunalahti.fi] has joined #tunes "if this sentence is true, then Santa exists" 02:30pm that's sneaky (remember that a false sentence entails everything) that's why it's sneaky it's recursive not more than "this sentence is false" not more, but recursive in it's own right Hello. I'd like to contribute to the project. greetings well, come! Miellaby: what part would you like to contribute to? Well, I'm not a marvellous hacker. Perharps I could help at a low level of development. Or I could draw a 'mascot' :) why not :) but it will stay unofficial until the project at least boots :) I see miellaby: what are your proficiencies? what are those you'd like to develop? Miellaby: u can join brix liar: hey! are you stealing the attention of people coming here? fare: no :) liar: hrmm... is there any way to do things without remapping the thread's kernel stack every context switch? fare: just letting them know of the alternative projects that actually work :) eihrul: ya map the stacks into the address space but that adds some extra overhead... er atleast memory wise u could dedicate a page table for stack mappings 02:40pm it will use an extra 4k per address space and u can have upto 512 threads in an address space eihrul: Win32 use fs or gs as a pointer to thread data but that puts a limit of threads er on fare: how so? eihrul: you can have multiple LDTs, if that's a problem eihrul: it also exposes the stacks to other threads or modify the LDT and reload fs no problem with exposing stacks i dont even use fs/gs in brix hrmm... that could possibly work the user code never has to worry about segment registers but the overhead of using them would be even more than just remapping the kernel stack every context switch so maybe it's an acceptable overhead fare: how do u not see it as a problem? why remap at all? why need a separate kernel stack for every thread? why not have PCLSRing instead? PCLSR? PCLSRing *rocks* if you'd be so kind as to tell me wtf it is :) eihrul: http://tunes.org/~tcn/hack/its.html eihrul: i think fare is gonna go off on one of his "do away with hardware protection rantings :) ack.... ouch. tcn put back an old version of that page! liar: not "go away with", but "use wisely" i have to put thread states somewhere, and the kernel stack is as good a place as any 02:50pm no, that's bad. Well, yours is a problem of dynamic binding. See discussion of dynamic binding in lisp implementations. there are lots of ways to achieve it. i'm still seeing the discussion of PCLSRing, slow down :) these ways are all compromises between deep binding or shalow binding, taking advantage or not of available registers; I constate I'm not proficient enough in any topic interesting the project. I'll just say I'm a good C language human-debuger. constate? tu serais pas francais, un peu? hem oui. well, maybe you'd be interested in OTOP, then? could be easier just to reserve a global page table :) and map kernel stacks into it why have multiple kernel stacks? with PCLSRing, you needn't! it sounds like a hack to me no, it's a deep property of the system see also my paper "on the notion of implementation" in ~fare/tmp/ it gives hindsight on pclsring i said stop throwing papers at me until i've finished the first one :) eihrul: put their URLs down the queue Miel: St-Brieuc? tu serais pas breton? * fare/#Tunes is not far away from St Brieuc, either -- Henanbihen, north-east to Lamballe, actually fare: I'll study OTOP. 03:00pm Miellaby: u know anything about the iobitmap table? why need iobitmap table at all? "pee-see-loo-zer" liar: no sorry why would anyone want that kinda term associated with their os? hehe * fare/#Tunes hits liar on the head with the ITS 1.5 manual * eihrul/#tunes notices Fare getting pclsr'd right before he hits liar. * liar/#tunes kicks fare in the groin heh 03:10pm les objets en Perl utilisent aussi de la delegation, a la base 03:50pm -:- SignOff fare: #TUNES (Connection reset by pear) -:- SignOff Miellaby: #TUNES (Leaving) abi: PCLSR is see PCLSRing abi: PCLSRing is at http://www.vsf.cape.com/~emergent/pclsr.htm anyone wanna add a good defn? -:- SignOff smkl: #TUNES (User abort with 5 Ctrl-C's) 04:30pm !sterling.openprojects.net!! Received :irc.linux.com SERVER hogan.openprojects.net from forward.openprojects.net !?! -:- Beholder [Beholder@ppp-156.m2-3.sub.ican.net] has joined #tunes -:- SignOff Beholder: #TUNES (Gone...) -:- SignOff hcf: #TUNES (Leaving) -:- fare [fare@quatramaran.ens.fr] has joined #Tunes 502 xfs 0 0 2708 1636 824 S 0 0.0 0.8 0:03 xfs what is xfs? other than sgi's xfs 06:40pm -:- Closing Link: TUNES[bespin.dhs.org] by clarke.openprojects.net (Ping timeout for TUNES[bespin.dhs.org]) -:- Connection closed from clarke.openprojects.net: Success -:- Use /Server to connect to a server -:- Connecting to port 6667 of server irc.us.openprojects.net [refnum 0] -:- BitchX+Deb1an: For more information about BitchX type /about -:- Welcome to the Internet Relay Network TUNES (from clarke.openprojects.net) -:- Your host is clarke.openprojects.net, running version u2.10.05.18.(ipcheck4-5) (from clarke.openprojects.net) -:- This server was cobbled together Wed Apr 28 1999 at 13 24:47 EDT(from clarke.openprojects.net) -:- clarke.openprojects.net u2.10.05.18.(ipcheck4-5) dioswkfcg biklmnopstv -:- [local users on irc(12)] 3% -:- [global users on irc(175)] 41% -:- [invisible users on irc(253)] 59% -:- [ircops on irc(13)] 3% -:- [total users on irc(428)] -:- [unknown connections(0)] -:- [total servers on irc(31)] (avg. 13 users per server) -:- [total channels created(131)] (avg. 3 users per channel) !clarke.openprojects.net Highest connection count: 21 (20 clients) !clarke.openprojects.net Welcome to Open Projects! You are on 4 ca 1(2) ft 14(14) tr. -:- Mode change [+f] for user TUNES -:- Mode change [+iws] for user TUNES -:- JOIN activated by "TUNES #tunes tunes@bespin.dhs.org " -:- TUNES [tunes@bespin.dhs.org] has joined #tunes -:- Topic for #TUNES: Free Reflective Computing System at http://www.tunes.org/ -:- topic set by water [Sat Aug 14 18:33:16 1999] -:- [Users(#Tunes:9)] [ TUNES ] [ fare ] [ eihrul ] [ liar ] [ Mr_Wrong ] [ Crimson ] [ Plundis ] [ abi ] [@Tril ] -:- Channel #Tunes was created at Sun Feb 28 08:48:06 1999 -:- BitchX+Deb1an: Join to #tunes was synced in 4.891 secs!! -:- Mode change [-s] for user TUNES x font server 07:10pm -:- jdube [jdube@ppp32-81.gis.net] has joined #Tunes hello anyone know where I could find David Bowie MP3s? tell lazarus #debian yeah, so? -:- jdube [jdube@ppp32-81.gis.net] has left #Tunes [] hrmm... does noone read the channel topic anymore? :) 07:20pm -:- AlonzoTG [Alonzo@216-164-238-40.s294.tnt9.lnh.md.dialup.rcn.com] has joined #tunes man this is pissing me off * AlonzoTG/#tunes left clicks on liar Z liar: eh? this iobitmap oh x86 thing... ignore it... write your OS instead. =P * AlonzoTG/#tunes leaps into bed. -:- SignOff AlonzoTG: #TUNES (Have Nice Day :)) hmm how do i map io into the address space? 08:10pm -:- ]AnimaL] [jayabdal@PPPa33-ResaleNorfolk1-2R1095.saturn.bbn.com] has joined #tunes -:- overfien [overfiend@m243.telcomplus.net] has joined #Tunes y0h liar: you mean io ports? :) 08:20pm ya i know u can map some io from video cards into memory space (mmio) but can u map all io? liar what state u from? utah ahh k nm liar: but is that a feature of the card itself or the processor? i thought it was the card cuz it needs to make the io act like memory i don't remember reading anything in the intel manuals about doing stuff like that and even so, the io port address space is WAY too small to map a frame buffer into that's only 65k... eh? frame buffer isnt io then what do you mean? like dmaish stuff then? all the io ports on the video card, well newer ones, can be mapped into the address space so u can use mov instead of in/out ah, don't know anything about that at all :) the pentium manual is making it sound like the pentium can map any io port into memory hrmm, i'll look but i dont see how that is possible unless the triton chipset allows u to map it cuz u have to tell the video card where in memory to map it 08:30pm no idea then maybe i didnt understand this right but if i set iopl to 0 then cpl3 code can only use io if the port is in the iobitmap right? yeppers the io bitmap overrides the IOPL otherwise, the IOPL overrides the iobitmap it would be nice if you could use the two together :) use em together? i.e. a global iobitmap :) global? n'm :) i'm just ranting in actually, i guess it's better the way intel did it something has to be wrong with how i did this i think i'm just going to give a privileged process access to the full IO space on request.... 08:40pm hahaha i think thats what nt does but nt uses mmio or i might just make a small IO bitmap and give access to everything but the PIC it allocates 16 pages for mmio and then traps all r/w access to them and handles the io internally that is why nt io is slow you think i should bother making an IO bitmap for that? or just let them have at the timer? :) u can set iopl to 3 but then user code can use cli/sti i would just make an 8k iobitmap and set all the bits to 1 except for the pic and pit but then drivers can access other io ports and fsck things up nt lets its driver access the pit and pic it lets them access all 64k of io ports well only privileged process get can io protection as long as they are priviledged so if the process does evil things the user can just dump it or something himself :) but the average user level program can't well i require syscoms to request ach io port they want s/ach/each/ how is the user suppose to know which driver is fscking up his video card registers? who knows :) but even in linux if you request a port above 1000 or so it gives full access to the IO address space so if the user has a bad root-privileged process, it's his problem... not mine :) i think the program should register its io ports NO, it is yer problem dude... it's not like i'm expecting someone to use this system :) u need to make a system that solves all the users problems i'll add that as a later complication if such happens but for now... i'm not really going to have third party drivers or rather, worry about them :) maybe in the 2.0 release, but until then, no :) well im pushing brix to replace all existing oses so i cant make comprimises like that i'm just doing mine for fun so i can u shouldnt be u should be doing it to make an impact on the computing world but i won't and chances are you won't :) oh i will but atleast i'm setting my standards low so i won't be disappointed when it doesn't happen im a persistent little fscker if that was an attempt at a pun, it sucked :) 08:50pm eh? "*persistent* little fscker" what about it i dunno, it just sucked... pun-wise menas i wont give up until what i want happens but it also is a pun :) unless you stamp "Microsoft" on brix and put it into a shiny box with a picture of a window... you're not going to revolutionize computing for the masses the masses use their computer once a month, and even then to type up a letter... and brix will make it faster and easier haha... most people won't care they will and i will get ibm to market it ibm is just itching to find something to kick m$'s ass with and my grandfather use to work for ibm and has many powerful friends there i just need to get brix working before he kicks the bucket :) ibm isn't a monopoly anymore :) just get microsoft to "acquire" brix :) no well i think i found my bug 09:00pm or maybe not :) haha see... having a vaporware system is nifty because you don't have anything to debug yet heh man i have everything setup right i made half my kernel already but now i have to rewrite :) get use to it yeah but i got a neato-spiffy API so it's worth it it's much nicer than the original one i started writing for -:- Tril [dem@bespin.dhs.org] has left #Tunes [] ugh everything is setup correctly i hate times like this 09:10pm apparently not correctly enough :) it has to be the paging of the io bitmap? ya ack that would make sense though i hate intel we need better consumer CPUs or something :) that would revolutionize computing moreso than an OS for a hacky CPU oh boy i just found something and i hope to hell im right what did you find> check slashdot, nude stick figure porn :) here goes cross yer fingers DAMNIT i crossed my fingers and everything, dude i did a dump_cpu in bochs and found that the ltr still have a limit of 67h so i think i have to reload ltr after i reset the limit to 2068h bochs could just be weird or something but now bochs crashes when i do mov ax,sel_TSS ; ltr ax i've already found 1 inaccuracy with the hardware bochs: panic, ltr: doesn't point to an available TSS descriptor! ahhh the busy bit is set for it 09:20pm now to start rewriting... UGH bochs now has the correct limit for tss but it still gpf's on the out wanna go bomb intel with me? sure... but what about the people manufacturing intel clones? intel designed this fscked up architecture as i've heard before, "intel didn't design anything" they just sort of threw it together does anything use the last 105 io ports? no idea if i have to have a tss for each stupid iobitmap im sure as shit not gonna waste an additional 4k for the 104 bytes it uses wtf the bits have to be cleared to allow access? If any tested bit is set, a general-protection exception is generated. If all tested bits are clear, the I/O operation proceeds. page 15-7 of vol3 09:30pm -:- SignOff fare: #TUNES (Ping timeout for fare[quatramaran.ens.fr]) -:- fare [fare@quatramaran.ens.fr] has joined #Tunes DAMNIT THATS IT my damn code works now -:- SignOff ]AnimaL]: #TUNES (Ping timeout for ]AnimaL][PPPa33-ResaleNorfolk1-2R1095.saturn.bbn.com]) ah.... that would probably make sense why the last byte of the io bitmap has to have all bits set :) heh man 2 days wasted on this stupid iobitmap 09:40pm hrmm... disabling paging looks like a really bad thing why? because you have to disable interrupts ya get in, get out really fast nothing i do with paging disabled takes very long i'm trying to figure how to map into page tables right now :) without disabling paging hahaha u will need to map them into the address space yeah... and that's the ugly part should i allocate a page per address space? besides yer os doesnt mean shit so u can disable paging all u want and no one will care to map in page tables? :) but still... the effects of disabling paging are nasty on some processors :) what effects? the intel manual says it flushes the TLB on PPro's uhh what page? in the instruction reference for mov to debug registers 09:50pm would u happen to know the filename of that pdf? i never renamed it to meaningful words i renamed mine :) it should be the biggest one i think i found it around page 448 or so i see nothing around that page heh i had a ? if i had a vhost at tasm.com would i be able to have something like isbeing.a.good.christian.sa@tasm.com "* When modifying any of the paging flags in the control registers (PE and PG in register "CR0 and PGE, PSE, and PAE in register CR4), all TLB entries are flushed, including "global entries. ^"The following side effects are implementation specific for the Pentium. Pro processors. i could just reserve the second page table for mapping in other page tables :) damnit the p2 is a ppro yah... so do you think that might be an acceptable compromise, given the situation? :) its not suppose to flush global entries thats bull crap crap crap well, what do we do? :) we map the damn pages ack... oh well i will put that on my todo for v0.0.2 its ok right now i have nothing written yet really :) so very little to change the kernel will still run really fast on a ppro/p2 but then... 10:00pm how do i initially map the page table mapping in other page tables into it's page table? :) it's a recursive situation that will be another of those "optimizations" that will make me look like im making brix better m$ gets slower with each release while brix will get faster that means i have to map the page table in somewhere temporarily i dont have to think about that just yet :) link it to itself hrmm... how many cycles does a mov takes to the debug registers? alot ack :) 11-12 dr0-3 = 11 dr4-5 =12 6-7 is also 11 dr4-5 arent 386/486 registers that is why they take longer er... i meant control register brain fart :) which one cr3 i'm just going to context switch into it for mapping cr0=22, cr2=12, cr3=21/46, cr4=14, reading from any of them is 4 since mapping memory objects is not a performance binding situation and only happens on initial load and i'll provide a single global page entry, i guess, to boot strap the process with a page table pointing to itself :) 10:10pm KEWL, i accidentally pasted some asm to bash and it ran 'inc' -:- supergirl [user8608@ABD1A345.ipt.aol.com] has joined #Tunes -:- supergirl [user8608@ABD1A345.ipt.aol.com] has left #Tunes [] hehe but note: DON'T DO THAT AS ROOT :) -:- SignOff liar: #TUNES (Ping timeout for liar[p0wer.qzx.com]) -:- liar [brand@p0wer.qzx.com] has joined #tunes 10:20pm hrmm -:- SignOff eihrul: #TUNES (Ping timeout for eihrul[usr5-ppp12.lvdi.net]) 10:30pm -:- eihrul [lee@usr5-ppp76.lvdi.net] has joined #tunes let it be known: POWER OUTAGES SUCK crap there just went my mods to my code linux? linux is, like, elementary penguin singing hare krishna or a junkie's delight i press ctrl-o after every line i type i should have been coding in vim :) u need an apc apc? www.apc.com uninterruptible power supply well this is maybe the second power outage in a year :) we're a desert... we don't get much bad weather we have a bad power company out here lots of spikes and my the socket my computer is plugged into has a grounding problem and im too lazy to fix it so long as you got that apc :) so my computer wont stay on more than 2 seconds without my apc how much are they? the apc cant even charge so i have about 1 minute of battery power u can get the bottom model for around $70 mine was like $150-200 i have 2 computers on it i think i'll get a better monitor or something for same price :) 10:40pm what kinda monitor u got now? an old 1024x768 NEC MultiSync 3V damn it, how do i get out of "^X mode" in vim? hahah dont use vim shit dude i don't want to lose my changes a second time :) fine... i'll use xemacs or something bye-bye changes ah, swap files :) kewl, my kernel is working great and now im experiencing my first user code bugs and my nifty kernel catches em all :) xemacs is actually nicer anyway... it's just so slow i love it you have your scripting language done yet? no ah damn it... i have a really nasty race condition that i don't know how to solve :) without disabling interrupts completely, anyway what when creating a task if the syscall gets preempted and some other task destroys it dangling pointer or rather, when some other task destroys it's parent crap i never thought of that oh wait, ya i did thats why i have cli around them :) and brix doesnt have parents 10:50pm well i have another working release of brix its bigger than the last release and does the same thing on the outside :) how do i turn off autoformating in emacs? :) dont use emacs i use pico ah i'll just go back to vim then :) 11:00pm damn... some of this code looks down-right hacky in C damn my newline() doesnt work newline are evil anyway +s but brix works thats all that matters 11:10pm and my hardware cursor code is working but not correctly -:- SignOff Mr_Wrong: #TUNES (leaving) 11:20pm -:- SignOff overfien: #TUNES (Ping timeout for overfien[m243.telcomplus.net]) gah... why am i even bothering to make my code portable? :) 11:40pm gah... i'm just going to code this shit in assembly :) i hate having to declare variables! 11:50pm what kinda computer u got? any 386's? [msg(TUNES)] newlog 1999.0816 IRC log ended Mon Aug 16 00:00:00 1999