Re: [9fans] openat()

2024-04-05 Thread Gorka Guardiola
On Fri, Apr 5, 2024, 23:49 Alyssa M via 9fans <9fans@9fans.net> wrote: > Are you thinking narrowly about "What changes to the Plan 9 kernel would > you make to emulate the Linux openat() system call" or more generally about > "How would you design a facility for plan 9 that provides an equivalent

Re: [9fans] openat()

2024-04-05 Thread Gorka Guardiola
Hmm sorry. Now I see what you want. Not to rewalk. You can use the chan of the dirfd and walk just the remainder cloning it and creating a new one. That way the openat provides the guarantees you want. On Fri, Apr 5, 2024, 22:15 Gorka Guardiola wrote: > I mean, if you want a new syscall

Re: [9fans] openat()

2024-04-05 Thread Gorka Guardiola
I mean, if you want a new syscall jus copy or call the implementation of these. On Fri, Apr 5, 2024, 22:12 Gorka Guardiola wrote: > ¿Isn't that fd2path, strcat and open? > Or am I misunderstanding something? > > On Fri, Apr 5, 2024, 21:51 ron minnich wrote: > >> One

Re: [9fans] openat()

2024-04-05 Thread Gorka Guardiola
¿Isn't that fd2path, strcat and open? Or am I misunderstanding something? On Fri, Apr 5, 2024, 21:51 ron minnich wrote: > One of the folks I worked with, when we pulled a big chunk of plan 9 into > akaros, commented that he had implemented openat on akaros. > > I don't want this to turn into a d

Re: [9fans] Codebase navigation and using tags files in acme

2021-08-19 Thread Gorka Guardiola
I am guessing: https://github.com/google/codesearch/blob/master/cmd/csearch/csearch.go On Thu, Aug 19, 2021, 13:44 Maurizio Boriani wrote: > > Rob Pike writes: > > > % cat bin/cf > > #!/bin/sh > > > > csearch -n -f '\.go$' '^func (\([^)]+\) )?'$1'\(' > > thanks a lot! But... what's csearch? >

Re: [9fans] Transfer of Plan 9 to the Plan 9 Foundation

2021-03-23 Thread Gorka Guardiola
Really great work. Thanks for putting in the time to make this possible. G. On Tue, Mar 23, 2021 at 2:07 PM wrote: > We are thrilled to announce that Nokia has transferred the copyright of > Plan 9 to the Plan 9 Foundation. This transfer applies to all of the > Plan 9 from Bell Labs code, from

Re: [9fans] Sad news.

2020-09-28 Thread Gorka Guardiola
Yes, very sad. Condolences to the family. On Mon, Sep 28, 2020, 20:33 Dan Cross wrote: > I just got word that Andrey has passed away. :-( > > I'm sorry, I don't have any further details right now, but wanted to let > folks know. > > - Dan C. > --

Re: [9fans] Jim McKie

2020-06-24 Thread Gorka Guardiola
Very sad news. He will be sorely missed. On Thu, Jun 25, 2020, 02:36 Charles Forsyth wrote: > I am sorry to say that Jim McKie (jmk) died suddenly on 16 June. > https://www.ippolitofuneralhomes.com/obituaries/James-B-McKie?obId=15111702&fbclid=IwAR3d7aHZXEOhYz-ciOrQPh-W1eMw-_8MHiCUdeKOxzLBEI6VGH

Re: [9fans] Plan 9 64-bit?

2018-12-29 Thread Gorka Guardiola
Not that I know of. People moved on to other projects afaik. On Sat, Dec 29, 2018, 14:09 Mayuresh Kathe Yes, that's the one, thanks for that pointer Gorka, many thanks indeed. > Anyone still working on "Nix Mark IV"? > > On 2018-12-29 06:26 PM, Gorka Guardiola wrote: >

Re: [9fans] Plan 9 64-bit?

2018-12-29 Thread Gorka Guardiola
Is it nix you are asking about? http://lsub.org/ls/nix.html On Sat, Dec 29, 2018, 13:44 Mayuresh Kathe I can't remember the name of the person, but he used to work for a > European research lab and had made a 64-bit version of an operating > system derived from Plan 9. That operating system had s

Re: [9fans] usb serial on raspberry pi (again)

2016-12-13 Thread Gorka Guardiola
On Mon, Dec 12, 2016 at 9:39 PM, Richard Miller <9f...@hamnavoe.com> wrote: > Oops, pressed the wrong button - that reply was intended for > Steve Simon and not the whole of 9fans. Oh well, if anybody > else wants to rummage through the usbdwc driver too, they > are welcome. > Thanks, because I

Re: [9fans] usb disk - no partitions?

2015-07-21 Thread Gorka Guardiola
Last time I looked at it did not. You would use some other fs (partfs, for example) for that. G. On Tue, Jul 21, 2015 at 10:51 AM, Steve Simon wrote: > the usb disk driver does not seem to support partitions, > Am I doing somthing wrong, or is that just how it is? > > e.g. > > cherry% l

Re: [9fans] New /prog idea

2014-05-05 Thread Gorka Guardiola
There was a proc box in the original Plan B of which there were different version in the descendants (for files too) and which permitted things similar to what you want. See http://lsub.org/ls/export/man.1e.ps (page 31) and http://lsub.org/ls/export/ubiterm.icps05.pdf Later, Andrey and Ron did so

Re: [9fans] more serial questions

2014-03-25 Thread Gorka Guardiola
I didn't add that, your guess is as good as mine. G. > On Mar 25, 2014, at 1:12 AM, erik quanstrom wrote: > > i'm just asking questions, because i don't have the experience the author > clearly has. > > i'm looking at this comment > >/* > * if we encounter a long run of contin

Re: [9fans] usb/serial control open

2014-03-23 Thread Gorka Guardiola
>> >> And setonce needs to live in the interface, and it needs to be locked, etc. > > another idea: since this is only needed by some hardware. and then only in > init. > why not make it the responsibility of such hardware to do this in the init > fn. then the problem can be addressed without an

Re: [9fans] usb/serial control open

2014-03-23 Thread Gorka Guardiola
On Sun, Mar 23, 2014 at 8:47 PM, Gorka Guardiola wrote: > > if(!setonce){ > setonce = 1; > serialctl(p, "l8 i1"); /* default line parameters */ > } And setonce needs to live in the interface, and it needs to be locked, etc. G.

Re: [9fans] usb/serial control open

2014-03-23 Thread Gorka Guardiola
> What do you return on read if you don´t know the state? > For some devices if you don´t set the state, you have no idea. > You can do it in read, but it seemed more intuitive in open at the > time, (and you don´t > set the state on every read). > What I meant, is if you write then read, the read

Re: [9fans] usb/serial control open

2014-03-23 Thread Gorka Guardiola
> > so if i do this > > echo l7>/dev/eiaU6/eiaUctl > cat /dev/eiaU6/eiaUctl > > that's two opens, isn't it? then isn't l reset to 8 by the second > open? > It has been a while and I don´t have the code at hand now, but once it is at a known state, it shouldn´t set it again, that i

Re: [9fans] usb/serial control open

2014-03-23 Thread Gorka Guardiola
On Sun, Mar 23, 2014 at 7:09 PM, erik quanstrom wrote: > it seems odd to me that opening the ctl file would > reset some serial parameters. wouldn't it be better > to leave them alone? > What do you return on read if you don´t know the state? For some devices if you don´t set the state, you have

Re: [9fans] usb serial driver

2014-03-17 Thread Gorka Guardiola
On Mon, Mar 17, 2014 at 3:35 PM, arisawa wrote: > Thank you Gorka, > > I made a mistake. > The usage of 9front is different from that of Bell-labs. > It seems FT232R is OK, but PL2303HX has a problem. > > term% cat /lib/ndb/consoledb > group=sys Yes, I see. FTDI is better supported, because I ha

Re: [9fans] usb serial driver

2014-03-16 Thread Gorka Guardiola
Isn't it a variant of the version (almost) supported? There were sone issues at fast speed, but I believe it is there in the distro. G. > On Mar 16, 2014, at 6:40 AM, arisawa wrote: > > Hello, > > Anyone has a driver for FT232R or PL2303HX? > Or working on those drivers? > > Kenji Arisawa >

Re: [9fans] Accessing Mac OS Extended drives

2014-03-07 Thread Gorka Guardiola
This would probably make for a nice GSoC project (even if, for the purposes of the project is a read only, without all the bells and whistles, version of HFS+). It is documented for example here: http://dubeiko.com/development/FileSystems/HFSPLUS/tn1150.html#BTrees On Fri, Mar 7, 2014 at 9:54 AM,

Re: [9fans] 9front pegs CPU on VMware

2013-12-19 Thread Gorka Guardiola
On Thu, Dec 19, 2013 at 4:19 PM, erik quanstrom wrote: > for those without much mwait experience, mwait is a kernel-only primitive > (as per the instructions) that pauses the processor until a change has been > made in some range of memory. the size is determined by probing the h/w, > but think c

Re: [9fans] 9front pegs CPU on VMware

2013-12-19 Thread Gorka Guardiola
> > > Latency is worse than using mwait because you are sleeping unconditionally. > Mwait does not prevent you from getting the interrupt to schedule. > > By this I mean that mwait unblocks on interrupt. You could do something like (you do exponential backoff calling sleep or sleep/wakeup in the k

Re: [9fans] 9front pegs CPU on VMware

2013-12-19 Thread Gorka Guardiola Muzquiz
> On 17 Dec 2013, at 12:00, cinap_len...@felloff.net wrote: > > thats a surprising result. by dog pile lock you mean the runq spinlock no? > I guess it depends on the HW, but I don´t find that so surprising. You are looping sending messages to the coherency fabric, which gets congested as a r

Re: [9fans] gdbfs

2013-12-19 Thread Gorka Guardiola Muzquiz
¿Have you taken a look at the jtag tar in my contrib? It is described here http://lsub.org/ls/export/jtag.pdf I don´t know enough about the RealView ICE, but if you write the right module for whatever drives the serial communications maybe you can drive the jtag directly. I don´t know if that would

Re: [9fans] Closed nix development is an insult

2013-09-07 Thread Gorka Guardiola
On Sat, Sep 7, 2013 at 3:56 PM, Aram Hăvărneanu wrote: > > we got not a single cent for nix. As far as lsub is concerned, > > it's been a free time effort. > > You are seriously misrepresenting nix and/or yourself. > > From http://lsub.org: > "Nix is joint work of Laboratorio de Sistemas with B

Re: [9fans] plan9 iso image cont.

2013-06-28 Thread Gorka Guardiola
On Fri, Jun 28, 2013 at 11:26 PM, Terry Wendt wrote: > K3b actually said 721.7 GB. As in Gigabytes. > Yes, 720GB/360MB is 2K. The size complains are fixed by my patch. I can't generate an image now, but that problem should be fixed for the future. In any case, I don't think it affects the images

Re: [9fans] plan9 iso image

2013-06-28 Thread Gorka Guardiola
I created the patch mkisovolsize. G.

Re: [9fans] plan9 iso image

2013-06-28 Thread Gorka Guardiola
Agh, now I see it, I thought the units was the same, but it was actually 2K the difference. > 360.9 MB but the declared volume size ^^^ > as 721.7 GB. ^^^ So all is explained. Ok, I'll create a patch. G. On Fri, Jun 28, 2013 at 10:13 PM, Gork

Re: [9fans] plan9 iso image

2013-06-28 Thread Gorka Guardiola
So, the proposed change would be to take out the *Blocksize from the last parameter of setvolsize in the calls. Can someone test it with, say... k3b and see if it improves something? I still don't understand why it would report a *2 difference... G.

Re: [9fans] plan9 iso image

2013-06-28 Thread Gorka Guardiola
more. Unless I am not seeing something... G. On Fri, Jun 28, 2013 at 8:57 PM, Gorka Guardiola wrote: > http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-119.pdf > > page 19: > > > Volume Space Size (BP 81 to 88) > This field shall specify as a 32-bit nu

Re: [9fans] plan9 iso image

2013-06-28 Thread Gorka Guardiola
http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-119.pdf page 19: Volume Space Size (BP 81 to 88) This field shall specify as a 32-bit number the number of Logical Blocks in which the Volume Space of the volume is recorded. This field shall be recorded according to 7.3.3.

Re: [9fans] plan9 iso image

2013-06-28 Thread Gorka Guardiola
> > the blocks 2M aligned you should be fine with most modern BIOSes. > > I meant 2K aligned. On Fri, Jun 28, 2013 at 7:50 PM, Terry Wendt wrote: > If its any help, when I select 9atom.nboot.iso within K3b to burn to > disc, it reports the filesize as 360.9 MB but the declared volume size > as

Re: [9fans] plan9 iso image

2013-06-28 Thread Gorka Guardiola
On Fri, Jun 28, 2013 at 8:13 PM, Gorka Guardiola wrote: > > > > On Fri, Jun 28, 2013 at 7:38 PM, wrote: > >> On Fri, Jun 28, 2013 at 12:40:46PM -0400, erik quanstrom wrote: >> > >> > this iso uses the tradition >> > Emulation goes hand in hand

Re: [9fans] plan9 iso image

2013-06-28 Thread Gorka Guardiola
On Fri, Jun 28, 2013 at 7:38 PM, wrote: > On Fri, Jun 28, 2013 at 12:40:46PM -0400, erik quanstrom wrote: > > > > this iso uses the traditional el-torito method. unfortunately, > > the installer is size-constrained (1.44MB) and doesn't support usb. > > > > FWIW (I implemented El-Torito support f

Re: [9fans] plan9 iso image

2013-06-28 Thread Gorka Guardiola
On Fri, Jun 28, 2013 at 7:19 PM, erik quanstrom wrote: > > Wouldn't surprise me, but it seems to work for me. If anyone has a > > more detailed explanation of what is wrong where, I'll take a look at > > it. > > we're now writing the nwa to disk. this calculation appears to be > incorrect. > her

Re: [9fans] plan9 iso image

2013-06-28 Thread Gorka Guardiola
> these are two, unrelated issues. > > the .iso size issue should not be a big deal. there appears to be some > accounting that's off for cd-roms in the plan 9 iso burning software. > (mk9660(8)). > Wouldn't surprise me, but it seems to work for me. If anyone has a more detailed explanation o

Re: [9fans] plan9 iso image

2013-06-28 Thread Gorka Guardiola
On Jun 28, 2013, at 6:27 PM, Terry Wendt wrote: > I've downloaded the plan9.iso image twice from > http://plan9.bell-labs.com/plan9/download.html > > Once about two weeks ago, once today. Both times I extracted the > plan9.iso.bz2 file to plan9.iso. Both times I burned the image to a > cd, and

Re: [9fans] Installing Go

2013-05-16 Thread Gorka Guardiola
You have a script called all.rc which does the work. G. On Fri, May 17, 2013 at 12:31 AM, lamg wrote: > Anyone has installed Go, the source code has Makefiles and bash > scripts for building, it doesn´t seem to be for plan9. > > -- - curiosity sKilled the cat

Re: [9fans] Installing Go

2013-05-16 Thread Gorka Guardiola
Sorry, you also need to get the tip (use hg to get the latest without saying you want a release) In arm you will need lucio´s patch. On Fri, May 17, 2013 at 12:32 AM, Gorka Guardiola wrote: > You have a script called all.rc which does the work. > > G. > > > > On Fri, May

Re: [9fans] vncv sw cursor trail

2013-05-07 Thread Gorka Guardiola
On Tue, May 7, 2013 at 4:10 PM, erik quanstrom wrote: > On Tue May 7 05:03:57 EDT 2013, yari...@gmail.com wrote: > > When using vncv on a terminal with software cursor (vesa, rpi) the > > mouse cursor leaves a trail. This seem to be caused by the fact that > > vncv loads picture updates with loa

Re: [9fans] Go Plan9 ARM Dreamplug

2013-04-15 Thread Gorka Guardiola
On Mon, Apr 15, 2013 at 10:31 AM, kernel panic wrote: > go is using switch on vlongs. support for this was backported to plan9 c > compiler > some time ago. just update the compilers from sources. > > > Last time I checked (like a week ago) it did not work with 5c. G.

Re: [9fans] Go Plan9 ARM Dreamplug

2013-04-15 Thread Gorka Guardiola
1:12 AM, Christopher Nielsen > wrote: > >> I'll give that a shot and see if I get different results. It'll have to >> be some time tomorrow though. What concerns me is that the error says it >> can't find opnames.h when it clearly exists. >&g

Re: [9fans] Go Plan9 ARM Dreamplug

2013-04-15 Thread Gorka Guardiola
This is a known problem with 5c. It cannot switch on vlong. As a stopgap, you can change the types of the things being switched on to integer (type, if I remember right). G. On Mon, Apr 15, 2013 at 9:00 AM, Christopher Nielsen wrote: > After a little work, I have a Plan 9 dev environment setup

Re: [9fans] mk and transitive dependencies (was: gcc not an option for Plan9)

2013-03-25 Thread Gorka Guardiola
On Mar 25, 2013, at 11:40 AM, Bence Fábián wrote: > mk doesn't parses '#include' directives in C and even if it did, it wouldn't > help. > I think that's what hes referring to. Yes.

Re: [9fans] mk and transitive dependencies (was: gcc not an option for Plan9)

2013-03-25 Thread Gorka Guardiola
On Mar 25, 2013, at 11:33 AM, hiro <23h...@gmail.com> wrote: > > what does "understand" mean in that context? > I would think if this is all done automagically with go it would need > to follow even more general rules, no? No, they are concrete and specialized for go (the language). Go (the tool)

Re: [9fans] mk and transitive dependencies (was: gcc not an option for Plan9)

2013-03-25 Thread Gorka Guardiola
> anybody care to explain what is the limitation of mk here? can't wrap my head > around it... It only knows about the rules you give it. It does not understand the real dependencies in your software. Also, because of this you tend to give it general rules which are not always right. There are

Re: [9fans] gcc not an option for Plan9

2013-03-23 Thread Gorka Guardiola
On Sat, Mar 23, 2013 at 8:23 PM, ron minnich wrote: > I'll happily pay the price of bigger binaries for things such as the %v > format. > > I don't write hello, world that often, or even care about its size when I do. Hello world was just an example, please don't make a straw man out of it. If y

Re: [9fans] gcc not an option for Plan9

2013-03-23 Thread Gorka Guardiola
On Sat, Mar 23, 2013 at 6:15 PM, Rob Pike wrote: > Much of which is symbols. Plus, a a simple computer has gigs of memory. > > Yes, it's remarkable how much bigger programs are now than they were > 20 years ago, but 20 years ago the same things were being said. I > understand your objection - I re

Re: [9fans] gcc not an option for Plan9

2013-03-23 Thread Gorka Guardiola
> > ah. i thought you were saying that it was an order of magnitude > larger than the unix version of go. > > by the way, does this scale with lines of go code, or is it just > that the trivial go executable is megs? A simple hello world is megs. G.

Re: [9fans] gcc not an option for Plan9

2013-03-23 Thread Gorka Guardiola
>> Binaries are one order of magnitude larger and the go tool & part of the >> runtime code are, well…. > > sorry to be dense. larger than what? C

Re: [9fans] usb serial

2013-03-21 Thread Gorka Guardiola
> typing doesn't work at all. > > before i go charging off learning about the prolific serial, > has anyone gone a round or two with this type of hardware? > any clues on what i should be looking for? I have one which I used to write the code and used as my sole console to the machine I was deb

Re: [9fans] Can you pass the Advanced Namespace Test?

2013-03-16 Thread Gorka Guardiola
> > This is something you will have to get used to. Ideas, whether > good or bad, usually take a very long time to attract much attention. Indeed. Take the pleasure from making cool stuff. Eventually someone will notice (or not). But if you had fun while doing it, it was worth it. G.

Re: [9fans] cold boot installation of Plan 9 on a eeepc 701 :(

2013-02-23 Thread Gorka Guardiola
On Feb 21, 2013, at 2:49 PM, erik quanstrom wrote: > iirc, 9boot doesn't use floppy emulation, but > it might then need cdfs. i haven't tried this, > so someone who has should speak up. :-) It does not have a floppy. You do not need cdfs for loading. The mbr is in the first sector like in a ha

Re: [9fans] multi-processor support

2013-02-21 Thread Gorka Guardiola
Have you ticked? Enable the IO APIC

Re: [9fans] usb serial bug

2013-02-14 Thread Gorka Guardiola
With the Ein fix, it works again with the Trendnet TU-S9 which reports: vid 0x067b did 0x2303 which is prolific. G.

Re: [9fans] usb serial bug

2013-02-14 Thread Gorka Guardiola
Yes, I am looking into it and just saw this. G. On Feb 14, 2013, at 8:24 PM, Richard Miller <9f...@hamnavoe.com> wrote: > I said: > >>> The current Plan 9 usb architecture perpetuates the confusion by >>> referring to them both with one name epN.1, but you still have to open >>> them both indepe

Re: [9fans] acid on linux; easiest-to-set-up virtual machine

2013-01-25 Thread Gorka Guardiola
On Jan 25, 2013, at 9:32 PM, Gorka Guardiola wrote: > In the standard plan 9, e820 scan. When disabled, a vesa bug which 9front > circunvents with realemu. This fits also the description given. Going to real mode is broken in the standard plan 9 in virtualbox. G.

Re: [9fans] acid on linux; easiest-to-set-up virtual machine

2013-01-25 Thread Gorka Guardiola
In the standard plan 9, e820 scan. When disabled, a vesa bug which 9front circunvents with realemu. On Jan 25, 2013, at 8:46 PM, James Chapman wrote: > It hangs during booting. > > The same as this I think: > > https://forums.virtualbox.org/viewtopic.php?f=4&t=52431 > > > On Jan 25, 2013,

Re: [9fans] Spanish hyphenation in troff

2013-01-18 Thread Gorka Guardiola
In other words, forget my previous recommendation, hyphenation only seems to work for ascii. Or, alternatively, this is an opportunity for you to reimplement n8.c for UTF8 support. G.

Re: [9fans] Spanish hyphenation in troff

2013-01-18 Thread Gorka Guardiola
On Fri, Jan 18, 2013 at 3:14 PM, trebol wrote: > Thanks Gorka, but I've tried that with > ftp.ctan.org/pub/tex/language/hyphenation/eshyph.tex > and all I've is: > > assertion failed: file n8.c:543 > > I'm new to plan9, so I'm a little lost. Sorry if this is an > obvious/common task. > > trebol.

Re: [9fans] build iso's plan9 for amd64, atom, arm, powerpc

2013-01-03 Thread Gorka Guardiola
> (it boot in 32 bit mode after all...). > Actually 16 bit mode...

Re: [9fans] build iso's plan9 for amd64, atom, arm, powerpc

2013-01-03 Thread Gorka Guardiola
On Wed, Jan 2, 2013 at 9:11 PM, John Floren wrote: > What I think people are trying to say is that this doesn't really make > a lot of sense. The AMD64 system doesn't have any installer work done > for it at all--I think it's not far off, but to the best of my > knowledge nobody has built a CDROM

Re: [9fans] file server design documentation

2012-12-21 Thread Gorka Guardiola
I normally use a combination of running iostats and ramfs with debugging and reading again and again intro(5). HTH. G. On Dec 21, 2012, at 7:23 PM, steve wrote: > hi, > > I writing another non-disc file server after a gap of a few years > and am making mistakes. > > is there a written spec

Re: [9fans] Logitech m310 mouse issues

2012-12-07 Thread Gorka Guardiola
On Dec 7, 2012, at 1:37 PM, Richard Miller <9f...@hamnavoe.com> wrote: > I think the problem may be incorrect handling of the default "boot protocol" > for the usb mouse. If so, I have a new kernel which should fix it. Please > could you try this: By your previous description it is not really t

Re: [9fans] C++

2012-11-23 Thread Gorka Guardiola
On Thu, Nov 22, 2012 at 11:32 PM, Winston Kodogo wrote: > > But, let the record show, C++ has been scientifically shown to be an > unbelievably crap and monstrously complex language, even though I earn > my daily bread by using it. I was a contemporary of Dr Stroustrup when > he was spending his t

Re: [9fans] iwp9 2013

2012-11-21 Thread Gorka Guardiola
On Wed, Nov 21, 2012 at 10:14 AM, Brantley Coile wrote: > Or from the seventh floor of our 100+ year old building. > Is that considered old? I mean my house is 100+ year old, but I consider it newish. I guess it depends on the continent :-). G.

Re: [9fans] rc vs sh

2012-10-25 Thread Gorka Guardiola
On Oct 25, 2012, at 5:08 PM, hiro <23h...@gmail.com> wrote: > can someone tell me how to speed up poweroff on ubuntu? Pull the cable and or battery. G.

Re: [9fans] sheevaplug SD card driver

2012-10-18 Thread Gorka Guardiola
On Thu, Oct 18, 2012 at 2:42 PM, Richard Miller <9f...@hamnavoe.com> wrote: > As a side effect of the raspberry pi work, I've produced an SD card > driver for the sheevaplug (and presumably other kirkwood platforms). > It's in two sections: the top layer does the card protocol and is > identical be

Re: [9fans] usbether

2012-09-29 Thread Gorka Guardiola
On 29/09/2012, at 23:25, Richard Miller <9f...@hamnavoe.com> wrote: That's the asix driver: the raspberry pi adapter has an SMSC LAN95xx, see /n/sources/contrib/miller/usb/ether/smsc.c for my driver which reads up to 37*512=18944 bytes at a time. And is it really doing it? I mean it asks for ma

Re: [9fans] usbether

2012-09-29 Thread Gorka Guardiola
On Sat, Sep 29, 2012 at 8:01 PM, Richard Miller <9f...@hamnavoe.com> wrote: > Almost: it's a pipeline of one thread reading a buffer full of packets, > splitting it up, and sending a packet at a time to a second thread, which > writes them to the kernel packet ethernet interface, which stores them

Re: [9fans] usbether

2012-09-29 Thread Gorka Guardiola
On Sat, Sep 29, 2012 at 6:16 PM, Richard Miller <9f...@hamnavoe.com> wrote: > So, has anyone had success using usbether to connect a plan 9 system > to the outside world? I am hoping someone can give me an encouraging > report. I'm a bit worried that it's a fundamental problem with the > plan 9 u

Re: [9fans] tcp!

2012-08-22 Thread Gorka Guardiola
I had this problem several years ago with an adsl router (9fans archive may know about this). There was a bug in my adsl router (which seems to be common, I have seen it since more than once) that dropped ethernet frames of size greater than 1480 (someone counted a header twice probably). Linux

Re: [9fans] empty *

2012-06-14 Thread Gorka Guardiola
On Thu, Jun 14, 2012 at 4:46 PM, erik quanstrom wrote: >> cpu%  echo hola | grep '*' >> grep: *: syntax error >> cpu%  echo hola | grep '' >> grep: empty pattern >> >> >> grep '*' and grep '' should still be the same, shouldn't they? > > yes, but does it matter? Probably not. G.

Re: [9fans] empty *

2012-06-14 Thread Gorka Guardiola
On Thu, Jun 14, 2012 at 4:00 PM, wrote: > On Thu, Jun 14, 2012 at 09:44:25AM -0400, erik quanstrom wrote: >> > > nope, that's not right.  * starting a pattern escapes the whole string. >> > > this is unique to grep. > > I guess this is surprising because with a POSIX grep(1), if I read the > desc

Re: [9fans] empty *

2012-06-14 Thread Gorka Guardiola
On Thu, Jun 14, 2012 at 3:33 PM, erik quanstrom wrote: > On Thu Jun 14 04:29:51 EDT 2012, pau...@gmail.com wrote: >> While playing with grep, I was suprised by grep '*\.c' not giving >> an error (* is missing an operand). Arguably * applied to empty > > nope, that's not right.  * starting a patter

Re: [9fans] empty *

2012-06-14 Thread Gorka Guardiola
On Thu, Jun 14, 2012 at 11:32 AM, Peter A. Cejchan wrote: > This is from manpage, but I not sure what _exactly_ it means, and whether it > applies to your problem: >   Care should be taken when using the shell metacharacters >   $*[^|()=\ and newline in pattern; it is safest to enc

[9fans] empty *

2012-06-14 Thread Gorka Guardiola
While playing with grep, I was suprised by grep '*\.c' not giving an error (* is missing an operand). Arguably * applied to empty can match empty, but surprisingly enough, Acme's edit behaves differently. And even grep is not consistent (grep '*' is different than grep '' whereas both should be an

Re: [9fans] Heresy alert, Zerox -> Clone

2012-06-08 Thread Gorka Guardiola
> > Yes, which makes one wonder about type systems in programming languages and > if they're any better than documented conventions of I/O.  (i think they may > not be, but they serve some documentation purposes all their own) > I think type systems have their use but do not help much at the borde

Re: [9fans] Governance question???

2012-05-16 Thread Gorka Guardiola
On Wed, May 16, 2012 at 2:30 AM, wrote: >> but refers to the Latin motto "Nemo me impune lacessit"! > > Sorry, off topis. > What does this Latin motto mean? > I have no Latin based culture... > > Kenji -- still learning octopus and inferno☺ > > It means (loosely translated) no-one provokes me wi

Re: [9fans] rc behavior with rfork

2012-05-16 Thread Gorka Guardiola
> On the otherhand, putting any command in the chain makes the behavior > disappear. > > cpu% @{rfork e; echo hi} |cat > /env/hi cpu% cat /env/hi hi > > My question is, is this intensional?  It feels as if there is a > leakage here of the rfork when its effect is felt beyond the braces, > and it fe

Re: [9fans] Governance question???

2012-05-14 Thread Gorka Guardiola
2012/5/14 Bruce Ellis : > Ah - Bund Deutscher Fußball-Lehrer - of course! > Nein, british defense film library. G.

Re: [9fans] AMD64 system

2012-04-25 Thread Gorka Guardiola
> > The main one is this: I have a 64-bit machine, and I'll be damned if > my programs won't use every last one of them (^_~) > We are going to be grateful to you saving yourself by writing drivers... G.

Re: [9fans] Summary of acme chords

2012-04-25 Thread Gorka Guardiola
On Wed, Apr 25, 2012 at 9:34 PM, andrey mirtchovski wrote: >>  http://alltom.com/files/misc/chords.png > > a suggestion? > > http://i.imgur.com/hjFJa.png > I really like this graphics and with the text they are even better. G.

Re: [9fans] known working wifi cards

2012-03-22 Thread Gorka Guardiola
> thinking about patching a Linux driver module to record everything it > does and every command it receives; snooping with driver help. > Wireshark can snoop usb traffic. It is easy and gives you all the information you probably need. There is also a similar thing for windows. Can't remember the

Re: [9fans] fossil deadlock

2012-03-22 Thread Gorka Guardiola
On Mar 22, 2012, at 12:57 PM, Richard Miller <9f...@hamnavoe.com> wrote: > Thanks to detective work by Rod at hemiola and David du Colombier, > I've been able to find & fix the long-standing deadlock in fossil's > snapshot code. > > Patch is fossil-snap-deadlock. Kudos to you all!! G.

Re: [9fans] usb/wacom

2012-02-28 Thread Gorka Guardiola
On Feb 29, 2012, at 4:32 AM, Tristan <9p...@imu.li> wrote: > > oh, and you'll need to somehow inhibit kb from automatically managing it. > (and as kb doesn't understand so called report numbers...) This is most probably my fault. I did cut some corners trying not to implemenent a generic report

Re: [9fans] p9p troff/ps problem, comparison with heirloom

2011-11-11 Thread Gorka Guardiola
On Nov 11, 2011, at 8:06 PM, Rudolf Sykora wrote: > screen prints wrongly. Furthermore, now page displays different things > than gv. > > I hoped that with postscript one can achieve the same results > everywhere, but it actually seems difficult... When this happens to me, normally it is becaus

Re: [9fans] how to connect an usb drive

2011-10-24 Thread Gorka Guardiola
make sure you see it: usb/probe ls /dev/sdU* if it is not there (your usbd does not have disk support built in) run usb/disk if it is a fat, you can run usbfat: to directly mount it if not, take a look at it (it is a script) and usb(4) to understand how things work. G.

Re: [9fans] radar

2011-10-07 Thread Gorka Guardiola
> > very interesting.  how do i tie this list to some place to grab images?  i'm > particularly interested in non-us sites.  i want to know of the rains in > spain. > It does not fall mainly in the plain... Sorry, could not resist. G.

Re: [9fans] usb jtag

2011-10-03 Thread Gorka Guardiola
On Sun, Oct 2, 2011 at 8:52 PM, erik quanstrom wrote: > should the ctl file contain text?  i get something that looks like it should > be a directory, but it's not.  the manual page doesn't say what should be > in the jtag file. > Jtagxx is a directory. jtag is a connection to the jtag. ctl is ig

Re: [9fans] Announcing Inferno for Android phones

2011-09-23 Thread Gorka Guardiola
Turn safe search on first. http://www.amokbuy.com/928-wank-e5-wifi-mobile-phone.html On Fri, Sep 23, 2011 at 3:55 PM, Brian L. Stuart wrote: >> >> The Wank E5 was AU$50. >> >> Why is it that I can't quite summon up the courage to do a >> google search for "wank phone"? > > Because it will cost y

[9fans] iwp9 wip submission deadline

2011-09-15 Thread Gorka Guardiola
I just wanted to remind everyone that the iwp9's works in progress submission deadline (1 Oct) is approaching fast. Also, if anyone is interested in giving a Plan 9/inferno related tutorial please contact us at iwp9trou...@lsub.org.

Re: [9fans] usbuhci bug

2011-09-01 Thread Gorka Guardiola
On Thu, Sep 1, 2011 at 6:35 PM, erik quanstrom wrote: >> > 5.  try to slay and restart usb/serial ... no joy there. > > i should have been more clear.  restarting usb/serial worked > fine.  the interrupt problem didn't go away. > Hmm, but the old usb/serial dies/is killed?. Because it is a very d

Re: [9fans] usbuhci bug

2011-09-01 Thread Gorka Guardiola
Can you send me off-list usb/serial -dd output. At least so I know what device we are talking about :-). On Sep 1, 2011, at 5:44 PM, erik quanstrom wrote: > speaking of usb ... > > using a serial-to-usb converter and usb/serial, i've been able to > put my terminal into an unusable state on a f

Re: [9fans] iwp9 Madrid accomodation

2011-08-30 Thread Gorka Guardiola
- Curiosity sKilled the cat G. On Aug 31, 2011, at 12:55 AM, y > Gorka, > > Thanks for the information. > > But something just keeps bugging me a bit as I distinctly remember > you offering up your place for everyone during dinner at Elysian > Brewing Company. Sure it was at a brewery, but y

Re: [9fans] iwp9 Madrid accomodation

2011-08-30 Thread Gorka Guardiola
Sorry for that. The IWP9 is going to be in Fuenlabrada, here: http://maps.google.com/maps/place?q=urjc,+fuenlabrada&hl=en&cid=1418018212807024302 It is a small city in the outkirts of Madrid, so for nightlife, I would recommend staying in downtown Madrid. This places are cheap, all have wifi or

Re: [9fans] jtag programmers

2011-07-26 Thread Gorka Guardiola
On Tue, Jul 26, 2011 at 11:25 PM, Gorka Guardiola wrote: > On Tue, Jul 26, 2011 at 9:46 PM, erik quanstrom wrote: >> can someone point me at a list of plan9 usb/serial compatable >> jtag programmers? >> > > As far as I know, ft2232 chips and their variants may work,

Re: [9fans] jtag programmers

2011-07-26 Thread Gorka Guardiola
On Tue, Jul 26, 2011 at 9:46 PM, erik quanstrom wrote: > can someone point me at a list of plan9 usb/serial compatable > jtag programmers? > As far as I know, ft2232 chips and their variants may work, but I have only tried it with the Sheeva plug. The ft2232 serial chip inside the sheeva can dri

  1   2   3   >