Re: [9fans] No Boot from installCD on IBM xserver 305

2009-05-22 Thread Mathieu L.
> and as these are blades you have no chance to plug in a > supported PCI NIC. Hello, I don't know if that's relevant but I had no problem pluging in a supported PCI NIC card in my IBM eserver 325, after I found out the default (broadcom too I think) one was not supported. 3.4.0: net 02.00.0

Re: [9fans] new usb implementation

2009-05-26 Thread Mathieu L.
Brilliant, that will come in handy. Thanks a lot. Mathieu --- Begin Message --- I've just pushed out to sources a new USB implementation, courtesy of nemo, who debugged and repaired our old UHCI and OHCI drivers, wrote a new EHCI driver for USB 2, converted the user-mode drivers in /bin/usb and t

[9fans] error while building p9p

2009-06-16 Thread Mathieu L.
Hello, just in case it hasn't been reported yet, I get this error when installing plan9port, I've just pulled with hg. 9c vcat.c vcat.c:50: error: too many arguments to function ‘vtcachealloc’ Thanks a lot for the improvement to page, btw. Mathieu

Re: [9fans] p9p vac issue

2009-06-22 Thread Mathieu L.
Indeed, this works for me as well. I've just migrated the arenas, bloom and isect to another machine with a p9p tree from mid February and I had no problem unvacing my data there. And for what it's worth, checkindex on that machine didn't report any problem while it did on the machine with the rece

Re: [9fans] p9p vac issue

2009-06-22 Thread Mathieu L.
if you can't get an old one from swtch.com, I can tar this mid-february tree I have - or rather only the necessary parts - and serve it to you if you want. Mathieu --- Begin Message --- 2009/6/22 Mathieu L. > Indeed, this works for me as well. > I've just migrated the arenas,

[9fans] dial and buffer overflow

2009-07-04 Thread Mathieu L.
Hello all, I have this piece of code that looks like this: for (int i=0; i<5 ; i++){ for (int j=0; jsha1list)[i][j]); print("\n"); } print("addr called: %s\n",netmkaddr(address, "tcp", port)); ctlfd = dial(netmkaddr(address, "tcp",

Re: [9fans] dial and buffer overflow

2009-07-04 Thread Mathieu L.
Thanks for the answer Erik. [...] > the extra () around tor->sha1list are confusing. Noted, thanks, they're gone. I suck at remembering operators precedence so I usually add a few parentheses to be on the safe side. > it is more likely that you have some allocation > error in your code. neither

[9fans] btfs, a BitTorrent client (attempt)

2009-07-16 Thread Mathieu L.
Hello 9fans, So I'm following the ericvh school and I'm "releasing" that, because I for one badly need the peer review. However, the program is doing very little at the moment and it should really be considered as some sort of alpha version. The code is neither efficient nor elegant and it defin

Re: [9fans] btfs, a BitTorrent client (attempt)

2009-07-16 Thread Mathieu L.
and of course I forgot to attach the .torrent, so here it is: http://smgl.fr.eu.org/lejatorn/plan9/btfs.torrent --- Begin Message --- Hello 9fans, So I'm following the ericvh school and I'm "releasing" that, because I for one badly need the peer review. However, the program is doing very little a

Re: [9fans] Using cwfs

2009-08-24 Thread Mathieu L.
> > if you are simply left with a directory that's been > > deleted. maybe something else is going on? > > Perhaps. The harddisk is a FreeAgent Seagate, > connected via USB. It used to go into sleep mode > every 15 minutes and I would often have to restart > cwfs - this is probably cause for a lo

[9fans] dial and time out

2009-09-10 Thread Mathieu L.
Hello 9fans, I have a bunch of threads, simply scheduled with yield() at the moment (I'll use alt later on), and each of them is calling dial() at some point. I don't want the other threads to wait for "too long" when one of them is blocked on a dial() that will eventually time out. So I was thin

Re: [9fans] dial and time out

2009-09-10 Thread Mathieu L.
it seemed safer at first if I didn't have to worry about the procs preempting each other (and appart from that dial() bottleneck, I don't need them to), that's why I started with threads. I was thinking of sticking to threads and not using procs until I really do need them. But yeah, no real good r

Re: [9fans] dial and time out

2009-09-10 Thread Mathieu L.
Yes, I did mean thread, and I hadn't realized this would kill all the threads. I'll try with ioproc then, thanks for the example. Mathieu --- Begin Message --- If you really mean thread and not proc, then what you suggest won't work. You can't kill a thread that's in the OS without killing the pr

Re: [9fans] 9vx as a perfect proto environment

2009-09-26 Thread Mathieu L.
I've definitely seen it on linux. I'm using 9vx as my primary development platform, and even though it's fantastic to have a Plan 9 environment so easily setup and integrated to the host OS, it has its limits. For example it will crash if your badly written program tries to read on a hanged up con

Re: [9fans] 9vx as a perfect proto environment

2009-09-30 Thread Mathieu L.
Indeed, I've just retried with the latest pull from hg and that problem is gone for me, that's brilliant. That's one less thing to worry about with 9vx, cheers for that. ☺ Mathieu --- Begin Message --- I'm using 9vx as my primary development platform, and even though it's fantastic to have a Plan