Re: [9fans] Canonical way to configure permanent remote cpu access

2012-12-10 Thread Richard Miller
My immediate concern with the PI is that it's going to get into trouble, eventually, with CF memory. The pi has no built-in flash at all; its normal non-volatile storage is a plug-in SD card. I think the wear-levelling on these is sufficient that you can run a normal fossil file system for

Re: [9fans] Logitech m310 mouse issues

2012-12-10 Thread Richard Miller
I had typo'd on my first attempts with the kbargs=-b option and that is working just great for my Logitech wireless mouse AND the wired mouse. That's good to know. I'll update the mouse driver on the 9pi image today.

Re: [9fans] Canonical way to configure permanent remote cpu access

2012-12-10 Thread Richard Miller
Does SD support the Trim request for wear-levelling? Not as far as I know. It's tempting to think about erasing freed blocks in order to aid the wear-levelling and speed up writing. But it's not easy to find the actual erase block architecture on a given card.

Re: [9fans] Canonical way to configure permanent remote cpu access

2012-12-10 Thread lucio
My immediate concern with the PI is that it's going to get into trouble, eventually, with CF memory. The pi has no built-in flash at all; its normal non-volatile storage is a plug-in SD card. I think the wear-levelling on these is sufficient that you can run a normal fossil file system for

Re: [9fans] awk split(a[1], a)

2012-12-10 Thread erik quanstrom
On Mon Dec 10 02:14:12 EST 2012, cinap_len...@gmx.de wrote: theres a bug in awk's split function. split depopules the array a, accidently freeing a[1] (y). this doesnt show up with ape's memory allocator but with plan9's pool allocator or by modifying freesymtab() to XXX out the strings

Re: [9fans] quotefmtinstall

2012-12-10 Thread erik quanstrom
Sadly, I can't buy nanodollars' worth of technology, even though it is being discarded daily in the western world by the megadollar. Even the RaspberryPI is beyond reach if you don't have the money for a raspberry pi, then you can't afford anything that will boot plan 9. so arguing that

Re: [9fans] Canonical way to configure permanent remote cpu access

2012-12-10 Thread Anthony Sorace
I think the wear-levelling on these is sufficient that you can run a normal fossil file system for quite a while before it wears out. Or, of course, just don't run a local file system at all. This is Plan 9, after all. Using the fs in the basement has worked great for me throughout. You then

[9fans] why is /dev/mousein exclusive use?

2012-12-10 Thread Richard Miller
Is there a good reason to forbid multiple processes to open the mousein device? I can't think what trouble it could cause (writes have to be atomic anyway because the driver will only parse a complete input), and it makes it awkward to debug a new mouse driver if a usb mouse is already (or has

Re: [9fans] 9vx and Go

2012-12-10 Thread Anthony Martin
lu...@proxima.alt.za once said: Yes, the tsemacquire syscall is not currently implemented in 9vx. The ticks field is also not present in the mach structure, so adding tsemacquire isn't trivial. I was hoping to get away with just adding the field, but if the comment is correct, I need at

Re: [9fans] Canonical way to configure permanent remote cpu access

2012-12-10 Thread Bakul Shah
On Mon, 10 Dec 2012 10:41:56 EST Anthony Sorace a...@9srv.net wrote: I think the wear-levelling on these is sufficient that you can run a normal fossil file system for quite a while before it wears out. Or, of course, just don't run a local file system at all. This is Plan 9, after all.

Re: [9fans] why is /dev/mousein exclusive use?

2012-12-10 Thread Anthony Martin
Richard Miller 9f...@hamnavoe.com once said: Is there a good reason to forbid multiple processes to open the mousein device? I can't think what trouble it could cause (writes have to be atomic anyway because the driver will only parse a complete input), and it makes it awkward to debug a new

Re: [9fans] why is /dev/mousein exclusive use?

2012-12-10 Thread erik quanstrom
On Mon Dec 10 11:37:12 EST 2012, 9f...@hamnavoe.com wrote: Is there a good reason to forbid multiple processes to open the mousein device? I can't think what trouble it could cause (writes have to be atomic anyway because the driver will only parse a complete input), and it makes it awkward

Re: [9fans] 9vx and Go

2012-12-10 Thread Charles Forsyth
MOVQ isn't a 32-bit instruction. On 10 December 2012 16:42, Anthony Martin al...@pbrane.org wrote: There's also a few instructions (MOVQ, EMMS, etc.)

[9fans] Raspberry Pi help

2012-12-10 Thread Adrian McMenamin
At the risk of annoying all of you happily using Plan 9 without a hitch, I wonder if anyone has a list of what hardware (ie mice, keyboards) are known to work with a Raspberry Pi? I have been able to successfully boot (two) RasPis with Plan 9, but alas all I can do is watch the clock tick forward

Re: [9fans] why is /dev/mousein exclusive use?

2012-12-10 Thread lucio
can't think of any. one can already attach 2 mice to a pc, one ps/2, and one usb. it works fine. I second that, I've had a ps2 mouse and a serial trackball working side by side. ++L

Re: [9fans] Raspberry Pi help

2012-12-10 Thread Richard Miller
I cannot get the mouse or keyboard to work (including with the 7 December kernel). See if you can get a bit more diagnostic information than just doesn't work, by editing your cmdline.txt to something like this: readparts=1 kbargs=-d ipconfig= By removing the 'user=glenda' parameter you'll

Re: [9fans] 9vx and Go

2012-12-10 Thread Anthony Martin
Charles Forsyth charles.fors...@gmail.com once said: MOVQ isn't a 32-bit instruction. It is if you're using MMX registers. Anthony

Re: [9fans] 9vx and Go

2012-12-10 Thread erik quanstrom
On Mon Dec 10 19:11:39 EST 2012, al...@pbrane.org wrote: Charles Forsyth charles.fors...@gmail.com once said: MOVQ isn't a 32-bit instruction. It is if you're using MMX registers. does 8g default to using mmx? - erik

[9fans] pi vs. older mac keyboard

2012-12-10 Thread erik quanstrom
i don't have things set up well enough to deal with this myself just yet usbotg: ep5.0 error intr 0402 [repeat] /boot/usbd: loaddevconf: bug: out of configurations in device - erik

Re: [9fans] 9vx and Go

2012-12-10 Thread Anthony Martin
erik quanstrom quans...@quanstro.net once said: On Mon Dec 10 19:11:39 EST 2012, al...@pbrane.org wrote: Charles Forsyth charles.fors...@gmail.com once said: MOVQ isn't a 32-bit instruction. It is if you're using MMX registers. does 8g default to using mmx? No. They're written using

Re: [9fans] 9vx and Go

2012-12-10 Thread Charles Forsyth
oh no, not MMX. SSE/SSE2 surely (ie, XMM)? On 11 December 2012 00:10, Anthony Martin al...@pbrane.org wrote: It is if you're using MMX registers.

Re: [9fans] 9vx and Go

2012-12-10 Thread erik quanstrom
No. They're written using BYTE instructions where needed. Currently 8g will only generate 387 style fp code but the is to eventually use SSE. See http://golang.org/issue/3912. that's not what i read. i read that it's going to be a compile-time option. surely they're not sneaking xmm in

Re: [9fans] 9vx and Go

2012-12-10 Thread Anthony Martin
erik quanstrom quans...@quanstro.net once said: No. They're written using BYTE instructions where needed. Currently 8g will only generate 387 style fp code but the is to eventually use SSE. See http://golang.org/issue/3912. that's not what i read. i read that it's going to be a

Re: [9fans] quotefmtinstall

2012-12-10 Thread hiro
hu? you can get x86s thrown after you for free. including the crt monitor and dirty model m keyboard. even a three button mouse might be there if you search the trash properly. no comparison with pi plus power adapter plus usb mouse and keyboard plus case plus hdmi plus tv also thinkpads are dead

Re: [9fans] Canonical way to configure permanent remote cpu access

2012-12-10 Thread hiro
is that allowed to tinker with terrorist arms on flight in america? On 12/10/12, Bakul Shah ba...@bitblocks.com wrote: On Mon, 10 Dec 2012 10:41:56 EST Anthony Sorace a...@9srv.net wrote: I think the wear-levelling on these is sufficient that you can run a normal fossil file system for