Re: [9fans] Partitioning the disk

2014-04-03 Thread erik quanstrom
fshalt(8). absolutely not needed in this case. - erik

Re: [9fans] Partitioning the disk

2014-04-03 Thread erik quanstrom
yup. i'll bet you compiled on the hard drive, and that's where the executables are. try booting without the pen drive. No sadly it isn't true. But my question is: do I need the Internet connection in order to mount atom image or can I install plan9 on my USB disk without it? i think it's

Re: [9fans] Network Error

2014-04-03 Thread erik quanstrom
I have re-installed 9atom on my Crunchbang Linux system under VirtualBox. I am now using a USB based wifi adapter which works under the Crunchbang side of things. However, under Plan 9, there is no ethernet file, as shown in the attached screenshot. My settings in VirtualBox are attached

Re: [9fans] Network Error

2014-04-03 Thread erik quanstrom
Ack, I've shut the computer down, so I can head to uni - on my Macbook now. Can I get back to you on that one please Erik? sure. the output of cat /dev/kmesg would be useful as well. - erik

Re: [9fans] Network Error

2014-04-03 Thread erik quanstrom
It might be the adapter type - I was sure I had selected the PRO/1000 MT Server, but looking at the screenshot, its the PRO/1000 T Server. I'll look into it when I get home from uni this afternoon, might just reinstall, I haven't done anything with the image yet. Erik, if I run into any

Re: [9fans] Python/Mercurial error

2014-04-03 Thread erik quanstrom
On Thu Apr 3 21:11:07 EDT 2014, vu3...@gmail.com wrote: On Thu, Apr 3, 2014 at 11:53 PM, David du Colombier 0in...@gmail.com wrote: i hope this isn't begging the obvious, but with huge masses of code, i find it helpful to hunt down the initial error message and start adding debugging code.

Re: [9fans] abaco in 9atom?

2014-04-03 Thread erik quanstrom
On Thu Apr 3 21:17:14 EDT 2014, kokam...@hera.eonet.ne.jp wrote: font problems. htmlfont? etc. The abaco codes on sources site deals it in the codes. I feel it's better to setup abaco initially. Don't mind I'm now using 'sources' site's abaco. perhaps you are mixing sources, or haven't

Re: [9fans] abaco in 9atom?

2014-04-03 Thread erik quanstrom
On Thu Apr 3 22:06:42 EDT 2014, kokam...@hera.eonet.ne.jp wrote: perhaps you are mixing sources, or haven't downloaded all the fonts. atom uses /lib/font/bit/htmlfont which maps size*face You are right. I have no /lib/font/bit/htmlfont directory, sorry. no problems. - erik

Re: [9fans] what is differece(s) between sources and atom kernel?

2014-04-03 Thread erik quanstrom
On Thu Apr 3 22:06:07 EDT 2014, kokam...@hera.eonet.ne.jp wrote: I've been considered why pc kernel dosen't work for go compiling, however pcpae kernel does. The 'sources' pc kernel works fine (from David's talk here). In the 'sources' pc kernel, there is a definition of fpssesave etc in

Re: [9fans] what is differece(s) between sources and atom kernel?

2014-04-03 Thread erik quanstrom
However, I wonder whether I need so much memory in my Plan9.☺ My machine has only 4GB memory though. if you don't have that much memory, i can't think of a downside to pae over against regular 386. also, since pae is only 18 years old, we can assert that you probablly don't have a #9 video

[9fans] nil, and the danger of zero

2014-04-03 Thread erik quanstrom
so, as it turns out, not all zeros do the same thing to the stack. pt. at least it's a simple reason why venti won't run. ; diffy -c ../boot/local.c /n/dump/2014/0403/sys/src/nix/boot/local.c:212,218 - ../boot/local.c:212,218 f[2] = tcp!127.1!8000;

Re: [9fans] nil, and the danger of zero

2014-04-03 Thread erik quanstrom
(void *)0 is certainly not the same as 0. depending on architecture and compiler, of course. it's not the compiler, it's the type model, which if anything is tied to the hardware. you just won't have this sort of problem on a 32-bit machine. which is why this code has been just like that in

Re: [9fans] Python/Mercurial error

2014-04-02 Thread erik quanstrom
On Wed Apr 2 01:20:42 EDT 2014, 0in...@gmail.com wrote: Two days ago, I've fixed the script mklibc.rc to generate the libc_plan9.h file properly on 9atom. https://codereview.appspot.com/82660044/ Please give a try and review this change to get it submitted before the Go 1.4 release. the

Re: [9fans] Partitioning the disk

2014-04-02 Thread erik quanstrom
As I cannot force plan 9 to use my sata disk, I've decided to buy a sata to usb convertor. After compiling the usb tools on 9atom, I can find my disk under /dev/sdU1.0 and now is the time to prepare the disk partitions in order to install plan 9. Disk which I want to use isn't empty (it

Re: [9fans] Partitioning the disk

2014-04-02 Thread erik quanstrom
On Wed Apr 2 17:49:51 EDT 2014, szymon.olewnic...@rid.pl wrote: if you do a pull as glenda, or alternately mount /srv/boot /n/root 9fs atom disk/mkfs -vkU -s /n/atom/plan9^`{pwd} -d . {echo +} you can then try mkusbboot -p `{echo +}. this may

[9fans] fossil memory corruption

2014-04-02 Thread erik quanstrom
small but potentially deadly diff -c /n/dump/2014/0402/sys/src/cmd/fossil/9fsys.c 9fsys.c /n/dump/2014/0402/sys/src/cmd/fossil/9fsys.c:34,40 - 9fsys.c:34,40 char* curfsys; } sbox; - static char *_argv0; + char *_argv0; #define argv0 _argv0 static char FsysAll[] = all;

Re: [9fans] fossil memory corruption

2014-04-02 Thread erik quanstrom
i should explain further, since this is sneaky. since we're calling ARGBEGIN lots of times, we hit a special case. the defn is #define ARGBEGINfor((argv0||(argv0=*argv)),argv++,argc--;\ a subsequent call to ARGBEGIN will not reset argv0, and worse, argv0 can be pointing to bogus

Re: [9fans] Python/Mercurial error

2014-04-01 Thread erik quanstrom
Ok, I'll try it. I have somewhat complicated feeling on linux's PAE kernal. Isn't ther anything wrong to run pae kernel, somthing like some application don't run on it etc. everything should run fine. - erik

Re: [9fans] oseekb dd option

2014-04-01 Thread erik quanstrom
On Tue Apr 1 04:47:27 EDT 2014, adriano.vera...@mail.com wrote: Testing an rc script under Bell and Atom I noted that Atom dd doesn't implement the oseekb option. bs=1 allows to seek at any given byte offset but, what is the impact on speedness ? And, in any case, isn't it a (IMHO

[9fans] audiohda

2014-04-01 Thread erik quanstrom
i was wondering if anyone had any ideas on this. the hda manual isn't that easy to read. :-) i have a mac pro with an audiohda chipset that works, but the gain is 0. this is because aout has no out amp (0x11 4)==0. i'm not sure if the issue is that we need to walk the widget chain until we

[9fans] mac pro install

2014-04-01 Thread erik quanstrom
wrt this On Apr 1, 2014, at 8:15 AM, erik quanstrom quans...@quanstro.net wrote: oh, the atom usb stick can be installed on a mac pro. just dd the image to a hard drive, and proceed as normal. make sure not to overwrite the install image while installing. there's no safety check

Re: [9fans] Cannot boot plan9

2014-04-01 Thread erik quanstrom
I've attached image of the result of the command. I hope that soon I will be able to attach it in plain text format :). I'm afraid that my Ethernet card is not recognised too. Can you recommend any PCI Ethernet card that is known to be working under Plan 9? anything intel gigabit+pcie.

Re: [9fans] Python/Mercurial error

2014-03-31 Thread erik quanstrom
which kernel are you running? the 386 kernel or the 386pae kernel? - erik

Re: [9fans] Acme, Edit, code and newline

2014-03-31 Thread erik quanstrom
On Mon Mar 31 11:37:51 EDT 2014, vanattenm...@gmail.com wrote: Edit , x/^[^ ]+[ ]*[^(]*\([^)]*\)[ ]*\{[ ]*\n/ s/[ ]*\{[ ]*\n/\n\{/g \ before { is not necesary. - erik

Re: [9fans] Acme, Edit, code and newline

2014-03-31 Thread erik quanstrom
\ before { is not necesary. Don't know how I got that one in there; thanks for catching it! it was in the original. - erik

Re: [9fans] Atom kernels

2014-03-31 Thread erik quanstrom
On Mon Mar 31 12:24:24 EDT 2014, adriano.vera...@mail.com wrote: I, all I'm building some Atom install kits, each customised to fit a (my very) particular need. The kernel I rebuilt don't deal with 4K disk. Mbr complains about this but it is the same on all distros usb/iso I have, and the

[9fans] usb testing

2014-03-31 Thread erik quanstrom
i've been working on fixing some usb limitations, and have found that some devices behave very strangly. (okay, that's not a suprise.) so i need some help testing against a few random devices. many thanks for Oleksandr Iakovliev for provoking the idea. if you're interested, email me off line.

Re: [9fans] Atom kernels

2014-03-31 Thread erik quanstrom
fis.c are identical, re-mk'd anyway. New libfis.a is different, and the just rebuilt kernel works. Solved ! excellent! - erik

Re: [9fans] Python/Mercurial error

2014-03-31 Thread erik quanstrom
On Mon Mar 31 21:01:35 EDT 2014, kokam...@hera.eonet.ne.jp wrote: I've been apart from Plan9 for days, then, please forgive my silly question. What is 386pae kernel, and how I can find which kernel I'm running. the 386pae kernel is in /sys/src/9/pcpae. it is the same as the pc kernel,

Re: [9fans] Python/Mercurial error

2014-03-31 Thread erik quanstrom
The fact that '9fs atom' is there means atom is completely independent distribution of Plan9? technically, atom is independent sources, but i wouldn't read anything into that. 9fs atom is just an easy way to access the source. By the way, I'm definitely running 386 kernel. you'll need to

Re: [9fans] a strange bug in grep

2014-03-30 Thread erik quanstrom
On Sat Mar 29 21:46:33 EDT 2014, cinap_len...@felloff.net wrote: very good. one question about: - x = re2or(x, rclass(ov, Runemask)); + x = re2or(x, rclass(ov, 0x)); this seems wrong for 21 bit runes (the old is also wrong i think). shouldnt that be: +

Re: [9fans] a strange bug in grep

2014-03-30 Thread erik quanstrom
i should mention a test case that's pretty interesting. this will not work without the changes to tab2[]. ; cat /tmp/cuneiform ␊ ␋ ⑑ ; grep '[^x]' /tmp/cuneiform ␊ ␋ ⑑ ; grep '[^α]' /tmp/cuneiform ␊ ␋ ⑑ ; grep '[^ℙ]' /tmp/cuneiform ␊ ␋ ⑑ ; grep '[^]' /tmp/cuneiform ␊ ␋ ⑑ - erik

Re: [9fans] a strange bug in grep

2014-03-30 Thread erik quanstrom
0xxx 110x 10mm 1110 10mm 10mm 0xxx 10mm 10mm 10mm m = tab2[i] x = ~m [...] Rune tab2[] = { 0x003f, 0x0fff, 0x3, }; makes snese? doesn't a 3-bit mask - 7 not 3? i read tab2[] as the number of possibilties for byte 1,

Re: [9fans] time waster

2014-03-30 Thread erik quanstrom
On Sun Mar 30 12:30:53 EDT 2014, misch...@9.offblast.org wrote: 9fans, i wrote a clone of the '2048' game in plan 9 c. http://9.offblast.org/stuff/2048.c 8c -FTVw 2048.c; 8l -o 2048 2048.8 it can also be run in plan9port (amd64 linux here): 9c 2048.c; 9l -o 2048 2048.o some of

Re: [9fans] a strange bug in grep

2014-03-30 Thread erik quanstrom
repeat example with 18 bit mask m=0x3 we get (p2 ~m) == 0x4 then we bust and following encoded bytes are compared in each branch separately. yup, you're right. - erik

Re: [9fans] a strange bug in grep

2014-03-29 Thread erik quanstrom
Hello, I found a strange bug in grep. some Japanese runes does not match ‘[^0-9]’. for example ‘ま' (307e) and ‘み’(307f). i can't replicate here with 9atom's fixes to grep. with the same t3 file as you've got, ; wc -l /tmp/t3 21 /tmp/t3 ; grep -v '^[0-9]'

[9fans] usb/kb parsing uninitialized memory

2014-03-28 Thread erik quanstrom
i found this playing with one of those usb hid panels. just tested with the busted apple 2005 keyboard and the newer flat apple keyboard. both worked. (the 2005 keyboard doesn't work on some h/w still due to the hub controller.) i'm going to roll this into 9atom today. unfortunately, since

Re: [9fans] bcm2835 random number generator

2014-03-28 Thread erik quanstrom
On Fri Mar 28 13:21:35 EDT 2014, ba...@bitblocks.com wrote: I have put an initial version of raspberryPi hardware RNG driver on sources. Supposedly bcm2835 uses a reverse bias transistor as a noise source (though I couldn't find anything a definitive source for this). FWIW, I ran the output

Re: [9fans] bcm2835 random number generator

2014-03-28 Thread erik quanstrom
Sorry about that! I forgot to mention that this facility was added around Jan 30, 2013. See Dom's message on page 12 on http://www.raspberrypi.org/phpBB3/viewtopic.php?f=29t=19334p=273944#p273944 Make sure you have firmware as least as recent as that. Not sure if Richard's 9pi image on

Re: [9fans] 6c CMP reg, $0 optimization

2014-03-28 Thread erik quanstrom
it seems to work fine so far. our pc64 kernel got arround 8K smaller, ghostscript got 5K smaller. it would be nice if ghostscript worked much at all on 64-bit machines. :-) - erik

Re: [9fans] 6c CMP reg, $0 optimization

2014-03-28 Thread erik quanstrom
On Sat Mar 29 00:08:06 EDT 2014, cinap_len...@felloff.net wrote: what? i'm having no issues with ghostscript on amd64. do you have issues with some specific documents? the ones in /sys/doc work fine for me. any intel datasheet, for example this one works on arm, mips - erik --- ; page

Re: [9fans] 9atom usb image

2014-03-27 Thread erik quanstrom
On Thu Mar 27 16:50:18 EDT 2014, r...@davidrhoskin.com wrote: Here's a procedure that worked for me. - download new usbinstamd64.bz2 from 9atom.org - boot it up, run through the installer - answer no to ``build full amd64 set?'' - answer no to ``halt system?'' - mount new disk's 9fat and

Re: [9fans] Plan9 on flash memory

2014-03-27 Thread erik quanstrom
On Thu Mar 27 17:25:55 EDT 2014, szymon.olewnic...@rid.pl wrote: Hi, is it safe to install Plan 9 on flash device? I'm asking about this becouse I remember that there was a problem with this on Linux becouse system saves data on the begining of the disk much more often than in the other

Re: [9fans] Python/Mercurial error

2014-03-26 Thread erik quanstrom
On Wed Mar 26 08:39:24 EDT 2014, 0in...@gmail.com wrote: You can easily fix the generated include/plan9/plan9_libc.h file by hand for now. It seems /sys/include/libc.h is slightly different on 9atom, so the include/plan9/mklibc.rc script have to be adapted. Don't forget to comment out the

Re: [9fans] Python/Mercurial error

2014-03-26 Thread erik quanstrom
Yes, you are right. I see an empty enum declaration: enum { } .. in between the extern .. tokenize.. and extern .. malloc .. declarations. I will see how this file is generated. Thank you very much. I am running 9atom and not the Bell Labs plan9. I am not sure if some structures are

Re: [9fans] usb/kb

2014-03-26 Thread erik quanstrom
On Tue Mar 25 22:22:23 EDT 2014, kokam...@hera.eonet.ne.jp wrote: The upas (your nupas) has problem with using POP3 mail reading. In your source, there is a comment regarding this. Yes, I met the same problem as your comment in sanembmsg() in mbox.c. Before trying this myself, I suppose

Re: [9fans] No regression tests

2014-03-26 Thread erik quanstrom
I regret not to have more detailed info. I suspect there is something changed in the detach primitives or so. But its only a very personal opinion. hmm. would it be too much to ask to request a ps of the processes that failed to exit? i really would just like to know what state they're in.

Re: [9fans] Regression testing

2014-03-26 Thread erik quanstrom
On Wed Mar 26 07:11:38 EDT 2014, riddler...@gmail.com wrote: Hello, I would also be quite interested in helping if people are embarking on such a project. I'm a Computer Science student and I've been using a raspberry pi trying to learn more about plan 9. Creating regression tests could

[9fans] 9atom usb image

2014-03-26 Thread erik quanstrom
i think it's time to get rid of the +usbinstamd64.bz image. the process seems to work pretty well. updates to the image will be here starting immediately: http://ftp.9atom.org/other/usbinstamd64.bz2 - erik

Re: [9fans] No regression tests

2014-03-26 Thread erik quanstrom
Here mount /srv/bcscan /n/bc gives a readable /n/bc/bcU0/data. Then the reader is unplugged bootes 120:00 0:00 336K Pread bcscan bootes 130:00 0:00 336K Rendez bcscan bootes 140:00 0:00 336K Rendez bcscan Plaese note that

Re: [9fans] No regression tests

2014-03-26 Thread erik quanstrom
I'll try, even if I don't know acid very well. What is the backtrace of a process. lstk() ? lstk() gives the details (including locals) stk() is a basic backtrace. see acid(1) or /sys/doc/acid.ps - erik

Re: [9fans] usb/kb

2014-03-26 Thread erik quanstrom
On Wed Mar 26 21:11:45 EDT 2014, kokam...@hera.eonet.ne.jp wrote: ; g sanembmsg|grep pop mbox.c:490: sanembmsg(mb, m); /* fails with pop but i want this debugging for now */ mbox.c:521: sanembmsg(mb, m); /* fails with pop but i want this debugging for now */ mbox.c:548:

Re: [9fans] 9atom usb image

2014-03-26 Thread erik quanstrom
thanks, i'll look into this. - erik

Re: [9fans] No regression tests

2014-03-25 Thread erik quanstrom
On Tue Mar 25 01:51:36 EDT 2014, adriano.vera...@mail.com wrote: A few weeks ago i wrote about an unkillable manager of usb barcode readers. That code worked perfectly for 5+ years, with absolutely no changes. IMHO the problem seems to be a change in Bell kernel sources, as under 9Atom all

Re: [9fans] more serial questions

2014-03-25 Thread erik quanstrom
I didn't add that, your guess is as good as mine. ok. That it was implemented after and I was short on time. They should. cool. i wanted to rule out some sort of odd h/w interaction. - erik

Re: [9fans] hg and golang

2014-03-25 Thread erik quanstrom
Number of plan9 installations at my tiny bedroom in a corner in India, went up from 1 to 2, 1st being a raspberry pi and now, a 9atom installation on virtualbox that I wanted to mess with, as a cpu system. hopefully i've got this correct. rc history to the rescue python may or may not work

Re: [9fans] hg and golang

2014-03-25 Thread erik quanstrom
Thank you Erik. I got an out of physical memory at this point, while in the middle of the build. I will try increasing the memory (I am running on a virtualbox instance) that's kind of odd. how much memory are you using, and can you send a screenshot? - erik

Re: [9fans] 9front: /lib/ndb/local clobbered after edit w/ sam

2014-03-25 Thread erik quanstrom
Probably the kind I would have had to buy out of the back of a van, before eBay: KingSpec KSD-PA25.6-032MS (as reported by sysinfo) I thought I could get away with it, since the Thinkpad is mainly a terminal. many thinkpads will pxe boot. - erik

Re: [9fans] hg and golang

2014-03-25 Thread Erik Quanstrom
what build error did you get. do you mind sending it along? perhaps it as caused by truncated intermediates. - erik Ramakrishnan Muthukrishnan vu3...@gmail.com wrote: On Wed, Mar 26, 2014 at 12:05 AM, erik quanstrom quans...@quanstro.net wrote: Thank you Erik. I got an out of physical

Re: [9fans] 9fans Digest, Vol 119, Issue 55

2014-03-25 Thread erik quanstrom
On Tue Mar 25 21:15:36 EDT 2014, mmhan...@gmail.com wrote: many thinkpads will pxe boot. - erik Thanks, I'll try that! I'd have probably tried already, if I didn't have bad memories of netbooting OpenBSD on 24x sparc64 machines. using dhcp to boot 100+ nodes on the same p9 network has

Re: [9fans] hg and golang

2014-03-25 Thread Erik Quanstrom
no need to recreate. - erik Ramakrishnan Muthukrishnan vu3...@gmail.com wrote: On Wed, Mar 26, 2014 at 6:04 AM, Erik Quanstrom quans...@quanstro.net wrote: what build error did you get. do you mind sending it along? perhaps it as caused by truncated intermediates. Sure, I need to rush

Re: [9fans] Remote auth server

2014-03-24 Thread erik quanstrom
But is it actually possible to have the auth server and terminal not on the same LAN? Every configuration example I've seen has all the resources on the same IP address block. yes. i used to run a single authentication server for 2 sites. you'll need to make sure the auth server is announcing

Re: [9fans] Remote auth server

2014-03-24 Thread erik quanstrom
On Mon Mar 24 10:12:19 EDT 2014, cinap_len...@felloff.net wrote: authdom isnt a hostname. its just a string. you can supply auth server ip address in plan9.ini with auth= or send it to the terminal using plan9 dhcp server (its a plan9 specific dhcp option field). it does not need to be an ip

Re: [9fans] Remote auth server

2014-03-24 Thread erik quanstrom
On Mon Mar 24 11:42:43 EDT 2014, pa...@paul7.net wrote: OK, I checked and found out that the auth server seems to announce all the needed services. In fact i use a recent 9front and it seems to have reasonable defaults regarding all this stuff. When I turn off authentication on the server

[9fans] more serial questions

2014-03-24 Thread erik quanstrom
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 continuous read * errors, do something drastic so that our caller * doesn't

Re: [9fans] KF|12, etc

2014-03-23 Thread erik quanstrom
I suspect it was meant to describe a new internal sequence of values in the 0x1x range, which wasn't thought to be used. i ment the question in terms of how to we fix it in a coordinated way. it's not just the f keys, but there are other keys that are common these days that seem useful. -

[9fans] usb/serial control open

2014-03-23 Thread erik quanstrom
it seems odd to me that opening the ctl file would reset some serial parameters. wouldn't it be better to leave them alone? static int dopen(Usbfs *fs, Fid *fid, int) { ulong path; Serialport *p; path = fid-qid.path ~fs-qid; p = fs-aux; switch(path){

Re: [9fans] usb/serial control open

2014-03-23 Thread erik quanstrom
On Sun Mar 23 14:35:52 EDT 2014, pau...@gmail.com wrote: On Sun, Mar 23, 2014 at 7:09 PM, erik quanstrom quans...@quanstro.net 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

Re: [9fans] usb/serial control open

2014-03-23 Thread erik quanstrom
On Sun Mar 23 15:56:52 EDT 2014, pau...@gmail.com wrote: On Sun, Mar 23, 2014 at 8:47 PM, Gorka Guardiola pau...@gmail.com wrote: if(!setonce){ setonce = 1; serialctl(p, l8 i1); /* default line parameters */ } And setonce needs to live in the interface, and it needs to

Re: [9fans] usb/serial control open

2014-03-23 Thread erik quanstrom
A similar idea here would be to have a default command to for default settings. When a device is opened, it is initialized with these settings. The reason I like this is because then I don't need to teach every serial IO program what setting to use (often the other end is a dumb device

Re: [9fans] usb/serial control open

2014-03-23 Thread erik quanstrom
i think it is even easier to set the state up properly with cpurc or consolefs' configuration file, and have the various programs not even care that they're talking to a serial port. Not my experience. Occasionally programs do have to care about some serial port parameters and if such

Re: [9fans] usb/serial control open

2014-03-23 Thread erik quanstrom
Init is probably the right place to do that, except I wouldn't configure interfaces I am not going to use, because, some times, they are connected to funky things (like jtag, for example). I used open to do it on-demand. I don't know if it was the right decision, but that was the rationale

[9fans] KF|12, etc

2014-03-22 Thread erik quanstrom
as i mentioned before, these definitions are puzzling: Kleft= KF|0x11, Kright= KF|0x12, these overlap with f11 and f12. since f11-f24 are all defined, wouldn't it make more sense to move Kleft, etc. out of the way? - erik

Re: [9fans] KF|12, etc

2014-03-22 Thread Erik Quanstrom
example: apple USB full sized kbd. f13 doesn't work. it has up to f18 USB does define these keys. cinap_len...@felloff.net wrote: this is hexadecimal. KF|1 .. KF|0xC - F1 .. F12. not sure tho about F13-F24. never seen a keyboard like that. -- cinap

Re: [9fans] KF|12, etc

2014-03-22 Thread erik quanstrom
also, i mix up kbd.c with /sys/include/keyboard.h. sorry. why keyboard.h uses hex is beyond me. nobody ever says press the f0xa key. kbd.c has the more sensible Home= KF|13, /* failure of vision; collides with f keys */ Up= KF|14, Pgup=

Re: [9fans] Cannot boot plan9

2014-03-21 Thread erik quanstrom
Ok, now it's working. I'm not sure why it doesn't work last time(maybe I was doing something wrong). But now I have several more questions about this image: easy for little errors to creep in when one is unsure of the details. (as i'm experiencing right now with something else.) At first it

Re: [9fans] Cannot boot plan9

2014-03-21 Thread erik quanstrom
As an aside, why don't we have an architecture like this? (From your comment, I'm assuming we don't.) I'm sure there are valid technical reasons, but to an uneducated bystander like myself, this seems to violate DRY. because at least in the case of the linux disk layers, it makes the code

Re: [9fans] Multi monitor setup

2014-03-20 Thread erik quanstrom
Ok, I understeand. So, maybe it's a good idea as a gsoc proposal. Do you think that it will be hard to implement this features in nvidia cards, using nouveau project as a reference? yes, it would be quite tedious. the line between tedious and difficult depends on how much you can keep in

[9fans] usb/kb

2014-03-20 Thread erik quanstrom
i've made some improvements to 9atom's usb/kb. they're a little extensive, so i thought i'd request some feedback before i start sending patches to sources. the code is all in atom. the reason i embarked on this was because the keypad wouldn't work, and kb didn't play nice with japanese

Re: [9fans] mulgen botch

2014-03-20 Thread erik quanstrom
On Thu Mar 20 16:20:29 EDT 2014, cinap_len...@felloff.net wrote: sorry... the code from the last mail contains an error... theres a missing regfree() in the OASMUL and OASLMUL case when hardleft is set. in any case, i'm unsure if it wouldnt be better to handle this in mulgen() instead. as this

Re: [9fans] mulgen botch

2014-03-20 Thread erik quanstrom
On Thu Mar 20 17:51:30 EDT 2014, quans...@quanstro.net wrote: On Thu Mar 20 16:20:29 EDT 2014, cinap_len...@felloff.net wrote: sorry... the code from the last mail contains an error... theres a missing regfree() in the OASMUL and OASLMUL case when hardleft is set. in any case, i'm unsure if

Re: [9fans] Multi monitor setup

2014-03-20 Thread erik quanstrom
I did hack up basic dual monitor support for the nvidia drivers, but that was a long time ago. http://9fans.net/archive/2004/09/146 cool! - erik

Re: [9fans] GSoC proposal: Alternative window system

2014-03-19 Thread erik quanstrom
On Wed Mar 19 10:14:26 EDT 2014, ara...@mgk.ro wrote: What did old Oberon have? http://en.wikipedia.org/wiki/Oberon_(operating_system) - erik

Re: [9fans] GSoC proposal: Alternative window system

2014-03-19 Thread erik quanstrom
On Wed Mar 19 11:01:54 EDT 2014, beg...@gmail.com wrote: I think Plan B / Octopus's omero does these things already. I'm still voting for touch interface we don't drive any touch hardware, so in the interest of success, i would not be interested in a gsoc project that required as step 0:

Re: [9fans] GSoC proposal: Alternative window system

2014-03-19 Thread erik quanstrom
On Wed Mar 19 11:33:58 EDT 2014, a...@9srv.net wrote: I'm still voting for touch interface Not to be pedantic, but note that there isn't any voting here. Students come up with a proposal for something they'd be interested in working on for the summer, and the prospective mentors order

Re: [9fans] GSoC proposal: Alternative window system

2014-03-19 Thread erik quanstrom
On Wed Mar 19 11:36:39 EDT 2014, a...@9srv.net wrote: we don't drive any touch hardware, so in the interest of success, i would not be interested in a gsoc project that required as step 0: identify, purchase and write driver for enabling hardware. If someone were interested in doing

Re: [9fans] GSoC: ~2 days left to apply!

2014-03-19 Thread erik quanstrom
On Wed Mar 19 13:37:24 EDT 2014, joseph.stew...@gmail.com wrote: Did the 2013 projects get put in a public place? I was especially lustful of the dis in a browser and web-drawterm. the drawterm in js and websocket project is ongoing, and the current code is part of 9atom. - erik

Re: [9fans] Cannot boot plan9

2014-03-18 Thread erik quanstrom
On Tue Mar 18 06:53:05 EDT 2014, cinap_len...@felloff.net wrote: this device is a ata controller that might just work with plan9's generic ata driver (given you add the pci id). i checked 9front sdide.c which has the pci id for the controller: case (0x03ec16)|0x10DE: /*

Re: [9fans] Cannot boot plan9

2014-03-18 Thread erik quanstrom
On Tue Mar 18 10:33:08 EDT 2014, cinap_len...@felloff.net wrote: yep. sorry, wrong assumptions on my side. i only have reports of MCP51 working, but not MCP61. i believe both work since iirc, i had a mcp61 motherboard, and used the ide interface. iirc, nvidia is not like intel. the ide

Re: [9fans] Cannot boot plan9

2014-03-18 Thread erik quanstrom
Do you think that there is a point in trying to solve it? Where should I start when I would like to fix this issue. Is it easy or rather hard task? How does the develop process looks like when doing such things? i think this is a hard question to answer. on the one hand, i don't want to be

Re: [9fans] usb serial driver

2014-03-17 Thread erik quanstrom
Erik has seen some of these problems, maybe he has fixed them? he! usb serial is my nemisis. you're welcome to try the 9atom usb/serial. it should have some corrected little bits so at least the endpoint debugging stuff isn't truncated. - erik

Re: [9fans] Cannot boot plan9

2014-03-17 Thread erik quanstrom
0.6.0 disk 01.01.8a 10de/03ec 0 4:ffa1 16 0.8.0 disk 01.01.85 10de/03f6 5 0:d401 16 1:d081 16 2:d001 16 3:cc01 16 4:c881 16 5:deefc000 4096 But I have no idea what does it means. I hope you will know. i do. this is an nvidia sata part, which is not currently

Re: [9fans] (no subject)

2014-03-16 Thread erik quanstrom
On Sat Mar 15 19:27:44 EDT 2014, jaketodd...@gmail.com wrote: Audio worked with hiro's drawterm and intel hda in 9front. since you mention the host's hardware, i'm a little confused. the host's hardware doesn't make any difference. it's drawterm's bridge between #A and the host's audio device

Re: [9fans] GSOC proposal for plan9

2014-03-16 Thread erik quanstrom
[3]. Should avoid the patent issue of the K42 system. [Yan] For this problem, I do not have any idea right now. Do we need to propose a different solution (from K42's MCS lock), but solve the same problem (do not need to pass node data structure in the parameter)? of course the simplist

Re: [9fans] Cannot boot plan9

2014-03-16 Thread erik quanstrom
On Sun Mar 16 12:06:39 EDT 2014, szymon.olewnic...@rid.pl wrote: Hi, today I've tried to boot plan9 on my computer. Sadly withou a success. I'm attaching screenshot of my computer after typing ctrl+t ctrl+t p. Do you know is going on? How can I fix it? I woud like to run Plan 9 before

Re: [9fans] sdkw - SATA drive detection broken (was ARM and u-boot)

2014-03-15 Thread erik quanstrom
Please make an announce on it, when you'll finish :) Sorry, but as i've already said, i'm a Plan 9 newbie. All the Plan 9 @ Kirkwood tutorials i've found assist only on netboot methods. Maybe someone could add USB boot part? Here for example:

Re: [9fans] sdkw - SATA drive detection broken (was ARM and u-boot)

2014-03-13 Thread erik quanstrom
I suspose what I am really asking is what doesn't work Well, the kmesg i've posted should give you an initial info. I have no possibility to test the stuff until i get local boot or will set a network/auth server for proper network boot. Ethernet works. USB controller got recognized.

Re: [9fans] sdkw - SATA drive detection broken (was ARM and u-boot)

2014-03-13 Thread erik quanstrom
I can't take root from the net, but that's my fault. How can i do USB boot? I thought that USB mass storage devices aren't supported: i've set up several machines to boot from usb, and the installer that i've been working on boots from usb. i can't tell you how to set up u-boot, but if

Re: [9fans] two nics 8139

2014-03-13 Thread erik quanstrom
ok, thanks. If the goal is to manage two separate networks, one local and the other for remote/restricted access only, its better to have 2 stacks or 2 nics under the same stack ? i don't know about better, but it's certainly easier to think about two seperate stacks. one can be certain

Re: [9fans] two nics 8139

2014-03-13 Thread erik quanstrom
On Thu Mar 13 14:53:52 EDT 2014, ba...@bitblocks.com wrote: bind -b '#l1' /net.alt bind -b '#I1' /net.alt ip/ipconfig -x /net.alt ether /net.alt/ether1 ndb/cs -x /net.alt -f /lib/ndb/external ndb/dns -sx /net.alt -f /lib/ndb/external So what do you do when you have N ethernet ports

<    3   4   5   6   7   8   9   10   11   12   >