Conversation with #inferno at Sat Mar 7 00:51:48 2009 on powerman-asdf@irc.freenode.net (irc) (01:01:40) Fish left the room (quit: Remote closed the connection). (01:16:31) mennis left the room (quit: Client Quit). (04:26:06) KillerX left the room (quit: ). (06:08:46) mennis [n=mennis@adsl-224-198-238.asm.bellsouth.net] entered the room. (06:09:36) mennis left the room (quit: Client Quit). (08:07:21) _adele_ [n=Adele@ool-18bae8b2.dyn.optonline.net] entered the room. (08:12:42) _adele_ left the room (quit: Client Quit). (08:13:08) _adele_ [n=Adele@ool-18bae8b2.dyn.optonline.net] entered the room. (08:17:48) _adele_ left the room (quit: Client Quit). (12:07:33) Fish [n=SPARCman@AVelizy-152-1-39-14.w82-120.abo.wanadoo.fr] entered the room. (13:40:03) Fish left the room (quit: Remote closed the connection). (13:44:09) Fish [n=SPARCman@AVelizy-152-1-39-14.w82-120.abo.wanadoo.fr] entered the room. (14:44:13) KillerX [n=anant@gentoo/developer/KillerX] entered the room. (16:44:25) mennis [n=mennis@adsl-224-198-238.asm.bellsouth.net] entered the room. (17:05:22) mennis left the room (quit: Client Quit). (17:57:41) KillerX left the room (quit: orwell.freenode.net irc.freenode.net). (17:57:41) anothy_olpc left the room (quit: orwell.freenode.net irc.freenode.net). (17:57:41) soul9 left the room (quit: orwell.freenode.net irc.freenode.net). (17:57:41) nickgr left the room (quit: orwell.freenode.net irc.freenode.net). (17:57:41) jas_ left the room (quit: orwell.freenode.net irc.freenode.net). (17:57:41) mjl- left the room (quit: orwell.freenode.net irc.freenode.net). (17:57:41) MrWGW left the room (quit: orwell.freenode.net irc.freenode.net). (17:57:42) sqweek left the room (quit: orwell.freenode.net irc.freenode.net). (17:57:42) uriel left the room (quit: orwell.freenode.net irc.freenode.net). (17:57:42) C-Keen left the room (quit: orwell.freenode.net irc.freenode.net). (17:58:26) KillerX [n=anant@gentoo/developer/KillerX] entered the room. (17:58:26) nickgr [n=nick@biolpc1792.york.ac.uk] entered the room. (17:58:26) soul9 [n=none@unaffiliated/johnnybuoy] entered the room. (17:58:26) anothy_olpc [i=none@cpe-76-189-197-62.neo.res.rr.com] entered the room. (17:58:26) sqweek [n=none@124-169-243-123.dyn.iinet.net.au] entered the room. (17:58:26) mjl- [n=none@knaagkever.ueber.net] entered the room. (17:58:26) MrWGW [n=MrWGW@74.124.206.166] entered the room. (17:58:26) jas_ [n=jas@adsl-69-215-39-41.dsl.chcgil.ameritech.net] entered the room. (17:58:26) uriel [n=uriel@li43-28.members.linode.com] entered the room. (17:58:26) C-Keen [i=ckeen@pestilenz.org] entered the room. (20:09:22) soul9 left the room (quit: Read error: 60 (Operation timed out)). (20:28:40) KillerX left the room (quit: ). (22:22:19) Fish: I tried emu on my openmoko, and it won't work (22:22:21) Fish: # /usr/inferno/Linux/arm/bin/emu (22:22:23) Fish: SYS: process faults: Illegal instruction (22:22:24) Fish: Killed (22:22:42) Fish: other programs like limbo seems to work fine (22:27:12) Fish: I will try to install gdb to debug (22:30:37) stevie77de [i=none@e178212104.adsl.alicedsl.de] entered the room. (22:32:28) Fish: Program received signal SIGILL, Illegal instruction. (22:32:30) Fish: 0x0000ae94 in executeonnewstack () (22:36:43) Fish: I think I found the patch on inferno-openmoko project (22:43:14) Fish: excellent (22:43:16) Fish: it works now :) (02:50:37) Fish left the room (quit: Read error: 54 (Connection reset by peer)). (03:08:57) stevie77de left the room (quit: ). (07:53:46) powerman: any ideas what this output of `ps` mean? (07:53:46) powerman: 888 0 inferno 0:00.0 exiting 0K [$Sys] (07:54:07) powerman: this thread hang (07:54:52) powerman: wm/deb show nothing about it, actually it even don't open 'threads' dialog box (07:56:14) powerman: I support this thread result of sh->system(nil, "os ......") but not 100% sure (07:56:19) powerman: support->suppose (11:07:25) underspecified_ [n=eric@softbank220043052007.bbtec.net] entered the room. (11:25:24) underspecified left the room (quit: Read error: 113 (No route to host)). (12:13:53) Fish [n=SPARCman@AVelizy-152-1-39-14.w82-120.abo.wanadoo.fr] entered the room. (13:44:16) KillerX [n=anant@gentoo/developer/KillerX] entered the room. (14:59:21) KillerX left the room (quit: ). (14:59:54) KillerX [n=anant@gentoo/developer/KillerX] entered the room. (15:09:10) soul9 [n=none@unaffiliated/johnnybuoy] entered the room. (17:08:37) Fish left the room (quit: Remote closed the connection). (17:50:49) KillerX left the room (quit: ). (20:38:31) powerman: please run this command few times: (20:38:31) powerman: os cat /dev/null; os cat /dev/null; os cat /dev/null; os cat /dev/null; os cat / (20:38:31) powerman: dev/null; os cat /dev/null; (20:38:51) powerman: is it hangs? (20:39:26) powerman: on my system it usually enough to run it 2-4 times before it hangs (20:39:27) mjl-: powerman-asdf: here no openbsd that works, no leftover progs (20:39:54) mjl-: works on linux debian 4.1 too (20:40:01) mjl-: i.e. no hangs/leftover progs (20:40:55) powerman: after it hangs if I rstyx/cpu to that emu I see this proc: (20:40:55) powerman: 102 0 powerman 0:00.0 exiting 0K [$Sys] (20:41:15) powerman: so, on openbsd/debian there no that bug... interesting... (20:41:33) mjl-: what are you using? (20:41:37) powerman: looks like it related to case when `os` execute command which doesn't output \n at end of line (20:41:40) powerman: gentoo linux (20:41:50) mjl-: btw, i have seen that "exiting" state in emu on plan 9 some time, when heavily using tk programs (20:41:59) mjl-: powerman-asdf: could be my linux machine is just old :) (20:42:23) powerman: yeah, I've 2.6.27-hardened-r8 on one system and 2.6.26-hardened-r9 on another (20:45:56) powerman: oops. no, \n doesn't has anything with that. `os echo` hangs too (20:46:26) mjl-: does the emu proc(s) have lingering fd's perhaps? (20:51:26) powerman: mjl-: how I can check this? (20:51:42) mjl-: lsof on linux perhaps (20:51:51) powerman: for each emu process? (20:51:53) mjl-: and lingering emu procs can be a hint too :) (20:52:21) mjl-: yeah, think so. not sure what i'ld expect the connection between the emu's to be... especially with them using os (20:52:47) powerman: right now it hangs in (20:52:47) powerman: 3845 1 powerman 0:00.0 release 79K Os[$Sys] (20:52:47) powerman: instead of 'exiting', so I've a chance to look at it in wm/deb (20:56:56) powerman: according to debugger, it hangs in Os->init() at printf at line (20:56:56) powerman: if(sys->fprint(cfd, "exec %s", str->quoted(args)) < 0) (20:57:18) powerman: looks like bug in #C :( (20:59:22) mjl-: the bug is in devcmd i guess. the write (fprint) on cfd (a devcmd ctl file?) doesn't return... (21:00:02) powerman: /cmd looks a little strange: (21:00:02) powerman: ; ls -l /cmd (21:00:02) powerman: d-r-xr-xr-x C 0 powerman powerman 0 Mar 05 18:05 /cmd/0 (21:00:02) powerman: d-r-xr-xr-x C 0 cmd powerman 0 Mar 05 18:05 /cmd/1 (21:00:02) powerman: --rw-rw-rw- C 0 cmd powerman 0 Mar 05 18:05 /cmd/clone (21:00:42) powerman: why two commands opened? (I've executed os...;os...;os...; - so only one should be opened at once I think) (21:00:54) powerman: why second one owned by user 'cmd' instead of 'powerman'? (21:01:25) powerman: ; cat /cmd/0/status (21:01:25) powerman: cmd/0 2 Done /usr/inferno echo (21:01:25) powerman: ; cat /cmd/1/status (21:01:25) powerman: cmd/1 0 Closed /usr/inferno '' (21:02:22) mjl-: i just have a dir 0 (after any number of os(1) invocations), with its status file containing the lien with Closed in it (21:07:17) powerman: lsof doesn't show anything unusual. or I unable to detect it. (21:13:54) powerman: is there way to run loop in sh for 100 times? (21:14:03) powerman: something like `seq` command in linux? (21:14:09) jas_ left the room (quit: orwell.freenode.net irc.freenode.net). (21:14:09) mjl- left the room (quit: orwell.freenode.net irc.freenode.net). (21:14:09) MrWGW left the room (quit: orwell.freenode.net irc.freenode.net). (21:14:22) powerman: for i in `{seq 1 100} {echo $i} or something like this (21:14:54) mjl- [n=none@knaagkever.ueber.net] entered the room. (21:14:54) jas_ [n=jas@adsl-69-215-39-41.dsl.chcgil.ameritech.net] entered the room. (21:14:54) MrWGW [n=MrWGW@74.124.206.166] entered the room. (21:28:10) powerman: it somehow depend on stdin (21:28:38) powerman: sh -c 'load std; for i in 1 2 3 ... {os echo -n 0}; echo done' pctl(Sys->NEWFD, 1::2::nil); before sh->system(nil, "os ..."); (02:26:08) newmanbe [n=btdn@138.74.131.25] entered the room. (06:17:47) underspecified_ left the room (quit: ). (06:37:12) powerman: I've just installed in production first inferno-based service. :) (06:37:55) powerman: It's non-critical for our service (sort of admin panel for other services), so I decide it possible to experiment with inferno on it. (06:38:17) powerman: Depending on how it will go, there will be more and more :) or less and less :( inferno in our service. (06:42:09) uriel: powerman-asdf: awesome! congrats! (06:42:15) uriel: and good luck with that (06:44:36) ***uriel is mostly finished with his man page browser app for werc, time for some sleep (06:44:55) uriel: powerman-asdf: btw, if you need a web interface to inferno man pages: http://man.cat-v.org/inferno/ (06:45:16) uriel: (it is more up to date than the one in doc.cat-v.org, and certainly more than the one in the VN site, at least last I checked it was ancient) (06:47:45) powerman: uriel: I use this one: http://powerman.name/Inferno/man/ ;) (06:48:02) powerman: I usually update it each time I update from svn. (06:51:07) newmanbe: http://powerman.name/about/terms.html (06:51:13) newmanbe: WORSE IS BETTER!! :-p (06:53:35) powerman: :) (06:56:44) powerman: newmanbe: maybe. but who say you should do whatever is better? do whatever you want, do it in way you like, and be happy. (06:58:27) powerman: as a freelancer, I just need a way to 'filter out' customers I don't wanna work with, and do this as ease and effective as possible. so, these 'terms' exists for that only reason. (07:36:08) underspecified [n=eric@isa7-dhcp-116-127.naist.jp] entered the room. (07:37:16) eno__ [n=eno@adsl-70-137-132-29.dsl.snfc21.sbcglobal.net] entered the room. (07:49:30) eno left the room (quit: Read error: 110 (Connection timed out)). (11:24:15) gualteri [n=unknown@crespins.disca.upv.es] entered the room. (12:15:31) uriel: powerman-asdf: oh, I see (sorry, was sleeping) (12:15:58) uriel: well, http://man.cat-v.org is not statically generated, it is dynamically generated from the svn tree, so should be quite up to doate ;) (12:16:12) uriel: (I got tired of running static generation scripts and fixing up the html and so on) (12:44:11) KillerX [n=anant@gentoo/developer/KillerX] entered the room. (12:48:56) soul9: anyone know this book: http://xrl.us/beir63 ? (12:49:05) soul9: is it worth it?* (12:50:06) mjl-: soul9: i've got that one (12:50:15) mjl-: i think it's pretty nice. (12:50:20) mjl-: it isn't up to date with current limbo though (12:50:24) mjl-: let me see (12:51:36) mjl-: yes, for example, it describes old-style exceptions (12:51:51) mjl-: it's a pretty good first read for learning limbo (12:52:08) mjl-: $85.00 sounds a bit much :) (12:52:26) mjl-: the author has a low-resolution draft on his website (12:58:04) C-Keen: I got mine way cheaper on choosebooks.com (13:05:35) soul9: yeah (13:05:43) soul9: i didn't plan on dropping that much (13:05:52) soul9: but this is the only limbo book i've fond... (13:05:58) soul9: C-Keen: kool, i'll check that (13:06:16) uriel: soul9: did you see the link I gave you? it is in pdf in doc.cat-v.org (13:06:24) soul9: yes (13:06:40) soul9: i have a hard time learning a serious language from pdf though (13:06:49) soul9: waaay simpler to have it in paper.. (13:07:13) soul9: uriel: but thanks, while i'm waiting for the book i'll try the pdf (13:09:18) C-Keen: soul9: I got mine for 30$ (13:09:35) C-Keen: which back then was really cheap :) (13:10:50) soul9: :-D (13:15:34) soul9: yeah, they have it for 26.55 (13:15:34) soul9: C-Keen: kudos :-) (13:15:36) C-Keen: soul9: np :) (13:21:56) uriel: soul9: well, make sure you click on the amazon link in that page then ;) (13:22:15) soul9: uriel: ☺ (13:22:18) uriel: (so i can get a comision) (13:23:46) soul9: uriel: ok, i'll buy the book that way (13:24:01) soul9: it looks like amazon has a link for the book for 25$ (13:34:05) underspecified left the room (quit: ). (14:32:33) underspecified [n=eric@softbank220043052007.bbtec.net] entered the room. (14:47:33) underspecified: soul9: did you find the book (14:47:37) underspecified: i got mine on (14:47:49) underspecified: half.com for under $20 i think (14:48:05) soul9: so you want me to deny uriel the referrer thing? ☺ (14:48:20) underspecified: of course not :\ (14:48:31) soul9: :-F (14:48:47) underspecified: just letting people know in case amazon sells out (14:48:59) underspecified: (i thought it was still $85 at the amazon) (14:49:07) soul9: err (14:49:14) soul9: i don't really understand (14:49:32) soul9: but it looks like some booksellers sell it for ~25$ on amazon (14:49:37) underspecified: oh (14:49:39) soul9: the amazon price is 85 tho (14:49:45) underspecified: the link at the top is $85 (14:49:52) soul9: yea (14:50:04) underspecified: but you're not paying that? (14:50:18) soul9: no, not 85 (14:53:10) soul9: i wouldn't pay 85$ for a book even if it was handwritten by K&R themselves (14:53:18) soul9: oh, scratch that, ofc i would (15:14:59) underspecified: lol (17:25:08) gualteri left the room (quit: "leaving"). (18:48:47) eno__ is now known as eno (18:55:56) btdn [n=btdn@138.74.131.25] entered the room. (19:09:22) newmanbe left the room (quit: Read error: 110 (Connection timed out)). (19:14:31) KillerX left the room (quit: ).