Re: [9fans] Lex, Yacc, Unicode Plane 1

2010-01-28 Thread erik quanstrom
> Specifically: > > http://code.swtch.com/plan9port/changeset/3095 > http://code.swtch.com/plan9port/changeset/3102 > http://code.swtch.com/plan9port/changeset/3103 > http://code.swtch.com/plan9port/changeset/3104 > http://code.swtch.com/plan9port/changeset/3110 > http://code.swtch.com/plan9port/c

Re: [9fans] Lex, Yacc, Unicode Plane 1

2010-01-28 Thread erik quanstrom
if you're doing this in plan 9, bootstrapping the compiler is a bit of a pain. this could save some hassle: /n/sources/contrib/quanstro/8c-32bitrune these are the patches it turns out were missing /n/sources/patch/cc-32bitrune /n/sources/patch/sed-32bitrune /n/sources/patch/ed-32bitrune /n/source

Re: [9fans] Coraid funded

2010-01-30 Thread erik quanstrom
> Oh, and by the way, we need more people. Send resumes please. Any of you > google guys board with a huge company yet? :) email hir...@coraid.com - erik

Re: [9fans] Acme permission problems

2010-01-30 Thread erik quanstrom
> Essentially starting Abaco in acme gives: > > Abaco: Can't open display: initdisplay: /dev/draw/new: '/dev/draw/new': > permisson denied > > But i don't get it when i start it from a normal 9term unfortuantely, you can't do that. you can start abaco in a new window, however. - erik

Re: [9fans] entire cache is busy, 999 dirty

2010-01-31 Thread erik quanstrom
> My question is: > (a) where these messages come from? venti? fossil. (cache.c) > (b) what is the problem? > (c) how to fix? good question. are you running the latest version of fossil? if not, this could be caused by slow disk writes which could in turn be caused by the periodic bug that ci

Re: [9fans] Can't compile kernel

2010-02-01 Thread erik quanstrom
> Next step would have been, to compile a pccpuf kernel. Easy enough: > cd /sys/src/9/pc > mk 'CONF=pccpuf' > > But! instead of a kernel i get: > ../port/flags: '../port/flags' does not exist > ../boot/libboot.a8 doesn't exist: assuming it will be an archive > 8c -FTVw i8253.c > mk: n

Re: [9fans] find command reloaded

2010-02-03 Thread erik quanstrom
On Wed Feb 3 13:16:28 EST 2010, rudolf.syk...@gmail.com wrote: > Hello! > > when I do > contrib/pull quanstro/find > I get > no such replica: find > What am I doing wrong?! perhaps you haven't installed it? contrib/install quanstro/find - erik

Re: [9fans] fgb/abaco vs quanstro/abaco

2010-02-03 Thread erik quanstrom
> > What's the difference between fgb/abaco vs quanstro/abaco? > Are there any differences in used fonts? (I use fgb's and letters are > not so nice; I don't know much about fonts, though...) > > Is there a simple way of trying out both? (They have the same name, so > I guess I can't just contrib

Re: [9fans] fgb/abaco vs quanstro/abaco

2010-02-03 Thread erik quanstrom
On Wed Feb 3 14:46:34 EST 2010, ge...@plan9.bell-labs.com wrote: > Or you could just type > > abaco > > or, better, > > readweb that's true. but the original question / problem was how to look at the difference in one version of abaco vs another since they can't be installed via c

Re: [9fans] fgb/abaco vs quanstro/abaco

2010-02-04 Thread erik quanstrom
> I have just started using replica and don't know what it actually does and > when. > It's for sure I was missing the file, the file is in the sources, and > didn't get pulled. > Why? replica attempts to keep a file tree up-to-date with a master file tree, while respecting local changes. - erik

Re: [9fans] 386/bin/png works bad since recent pull

2010-02-04 Thread erik quanstrom
> correction: that's an old issue and appears even with > /n/sourcesdump/2008/0508/plan9/386/bin/png -- seems to fire up on > alpha images only. that's a known issue. i think geoff is in the process of pushing the change to libmemdraw out to sources. /n/sources/patch/sorry/memdraw32bit is the sa

Re: [9fans] fgb/abaco vs quanstro/abaco

2010-02-04 Thread erik quanstrom
On Thu Feb 4 08:45:16 EST 2010, rudolf.syk...@gmail.com wrote: > Noticed one more thing. > I now see accented characters almost fine. > The problem is with capital letters having accents over them. These > are shifted downwards and have their lowest parts cut away. E.g ČTK > (CTK with a hook over

Re: [9fans] fgb/abaco vs quanstro/abaco

2010-02-04 Thread erik quanstrom
> when I look at e.g. > page /lib/font/bit/freefont/sansbd/sansbd.18.01d6 > it doesn't look well... (some bottoms are chopped; though I don't know > what that really implies...) that there is also a problem with the baseline in the conversion of this font. that's an easy problem to fix. just fid

[9fans] return of dns woes

2010-02-04 Thread erik quanstrom
i'm seeing dns break about every 6 hrs. i can't leave the process hanging about, so i have an automated dns killer. unfortunately this results in no useful debugging information. i'll upgrade the script (following) to snap the broken processes. dennis 12060830:00 0:00 472K Await

[9fans] (no subject)

2010-02-04 Thread erik quanstrom
[lucida pala vera] Subject: abaco fonts as an experiment, i experimented with a different html font file. you can see what's there in contrib quanstro/abaco. $htmlfont must be set to point abaco at the correct font file. the font files look like this ; cat /lib/font/bit/htmlfont/vera # format:

Re: [9fans] NaN, +Inf, and -Inf, constants?

2010-02-06 Thread erik quanstrom
> One thing leading to another, I am currently centralizing constants, and > found that enums can hold doubles (which is quite nice), but I have no > way of defining NaN or Inf as a constant, is there such a way? > > Or is there a way to evaluate constant functions at compile time (eep)? NaN(2) a

Re: [9fans] kenfs question?

2010-02-06 Thread erik quanstrom
> ilock() (pc/lock.c) calls splhi() and then calls lock(). If that lock were > contended, > how would the system not stop? And on a UP system, if you're inside an > splhi() block, > why would you need to take an uncontended lock? good question. on a up system, splhi() is sufficient. on a mp s

Re: [9fans] Plan 9 on Intel P45 chipset motherboard

2010-02-06 Thread erik quanstrom
> 1. The installation of Plan 9 is not possible. I found > that the Marvell 88se61xx IDE controller is not working. > The message: > pcirouting: ignoring south bridge PCI.0.31.0 8086/3A18 the pcirouting message is likely unrelated. this is probablly a bug in the ahci driver. the ahci driver sho

Re: [9fans] kenfs question?

2010-02-06 Thread erik quanstrom
> I guess I wasn't clear; what I was asking was why it was safe to > attempt to take a lock when splhi() at all. because the rule is you can't sleep when holding a lock. - erik

Re: [9fans] In case anyone worries about block hash collision in venti

2010-02-06 Thread erik quanstrom
> Sorry, this is all bunk. You shouldn't be worried about > an accidental collision. You should be worried about > an intentional collision. Especially if your filesystem > stores data that is under the attackers control such as > email messages, web page caches, etc. So what you need > to anal

Re: [9fans] Plan 9 on Intel P45 chipset motherboard

2010-02-06 Thread erik quanstrom
>I don't think the on-board network adapter is supported (Atheros >AR81xx), I use a gigabit intel nic. I haven't really looked at the >onboard audio, I use an usb sound card. unfortunately, not (yet) supported. >I have had some problems using the box as a cpu server, as it would >freeze up from

Re: [9fans] NaN, +Inf, and -Inf, constants?

2010-02-07 Thread erik quanstrom
> On the other hand, the assignment of NaN to a double depends on the fcr. > (And on my machine, curiously changes 0x7ff0...1 to 0x7ff8...1). http://en.wikipedia.org/wiki/NaN explains the difference between a signaling nan and a quiet nan (the latter). > So if I think of enum definitions as assig

[9fans] awk and double->int overflows, and a fresh port of awk

2010-02-07 Thread erik quanstrom
speaking of NaN() and other entertainment... i fought this battle with awk a few months ago. at ahron's suggestion, i ported a current copy (as of november or so) of awk to plan 9. i just put the port up on sources for hopeful submission. i've been running this version of awk for 4 months with

Re: [9fans] In case anyone worries about block hash collision in venti

2010-02-07 Thread erik quanstrom
> OK, lets assume that the attacker has the most powerful attack > against a hash available in which he can construct a garbage > block of data (perhaps with some control of its content) that > hashes to a value of his choosing. Now he predicts some data > that is likely to be written to your file

Re: [9fans] save a link in abaco

2010-02-07 Thread erik quanstrom
> it seems to me that it is nearly impossible to snarf a longer text > from abaco. As if the pertaining buffer was really small. > Is it only I noticing this behaviour? Also I am having problems with > marking the text in abaco from time to time... exactly. the html entities are generally very sm

Re: [9fans] In case anyone worries about block hash collision in

2010-02-07 Thread erik quanstrom
On Sun Feb 7 15:22:57 EST 2010, lyn...@orthanc.ca wrote: > > You shouldn't be worried about > > an accidental collision. You should be worried about > > an intentional collision. > > Seems to me you should be worried about both. let's not get carried away. the odds of accidental collision are

Re: [9fans] NaN, +Inf, and -Inf, constants?

2010-02-07 Thread erik quanstrom
>[#2] The expression that defines the value of an enumeration >constant shall be an integer constant expression that has a >value representable as an int. the spec also doesn't allow vlong enumerations. should we remove that ability, too? - erik

Re: [9fans] post install boot routine problems on double nested system

2010-02-07 Thread erik quanstrom
> message excepts during halted boot sequence, post install reboot: > > found 9pcf > premature EOF somehow 9pcf was truncated. perhaps you're out of room in 9fat? you can boot the install cd, mount your 9fat and check. > Boot devices: fd0 sdC0!9fat > boot from: > (first I hit [enter] and the p

Re: [9fans] NaN, +Inf, and -Inf, constants?

2010-02-07 Thread erik quanstrom
> enum { > a = 1, > b = 2.4400618549L, > c = 2.44F, > d = "this is weird", > e = 1LL<<62, > } foo; > > How on earth do you switch() on it? And what's its sizeof()? why does being able to switch on any enum trump the ability to define constants without

Re: [9fans] New User with Problems

2010-02-08 Thread erik quanstrom
> I did look around and the only possible problems I could find were > that maybe since I don't have Windows it was trying to look for the > FAT file (I'm strictly an only Linux user) in which case I do not have > VMWare and I'd be curious if there is a non-DOS ISO file that could > run on a Linux

Re: [9fans] In case anyone worries about block hash collision in venti

2010-02-09 Thread erik quanstrom
> > If you are really paranoid and don't want any collisions in the next > > 10 years: don't let strangers in your venti. > > Which, to close the circle, as Tim points out, you are always doing, > each time you receive an email :-) not all email is from strangers. in mbox format, messages are co

Re: [9fans] walk and find again

2010-02-09 Thread erik quanstrom
> One usage scenario of walkfs is to implement find, du, walk, rdup and > the like. Another usage [scenario] of walkfs, with the -s option, is to add > file > indexing to a > fileserver. this seems more complicated than a straightforward non-fileserver based implementation. why do you need a f

Re: [9fans] Plan 9 on Xen 3.2.1 / 32-bit PAE Kernel / 64-bit Hypervisor

2010-02-09 Thread erik quanstrom
> I've updated /n/sources/xen/xen3 source and sample kernels with a small > mmu correction which was needed for Xen 3.4 (thanks to Peter Bosch for > tracking down the bug). Maybe this will help for your configuration too. > > How much physical RAM do you have? I'm not aware of the PAE code havin

Re: [9fans] procdata() question?

2010-02-09 Thread erik quanstrom
> If I'm writing a library and I'd like to use procdata, is there any > way to safely do so, considering that applications using the library > might be using procdata as well? Perhaps it should take a key, like > pthread_getspecific/_setspecific? since procdata(2) it is unused, cd /sys/sr

Re: [9fans] Venti r/o directory

2010-02-09 Thread erik quanstrom
> But when I unvac the resulting score with 9p9 [sic] on Debian it segfaults > because 'My Documents' is dr-xr-x-- so unvac creates a read only > directory and then tries to write into it. > [...] > > The only general purpose solution I can think of is two passes for unvac > but that doesn't s

Re: [9fans] walk and find again

2010-02-09 Thread erik quanstrom
> - walkfs can cache/reuse results from previous runs that is a bad idea. caching is just going to cause trouble. > > - no more hassle with space or other special characters in filenames what? if the underlying fs doesn't want to do spaces, you can't force it. > > - inaccessible parts of the

Re: [9fans] kenfs question?

2010-02-11 Thread erik quanstrom
> > ken fs does need to return to its mp roots. > > > > Did kenfs ever run on MP systems and use >1 CPU? yes. on the "power" mips boxes it did: http://www.fywss.com/plan9/plan9v2faq.html#smp if you spend some time with the code, you'll notice that it's designed for a fair number of processors.

[9fans] acme line wrap bug

2010-02-11 Thread erik quanstrom
acme doesn't always clear the right margin to compensate for the different amount of right-margin slop due to different character widths. in this case ">" is very wide and won't fit in the space that "n" did. so the n is mistakenly shown where it shouldn't be. between the two pngs, the text "has

Re: [9fans] acme line wrap bug

2010-02-12 Thread erik quanstrom
> > between the two pngs, the text "has gone" was cut. > > long time bug. patch? yes it is. i haven't had time yet. - erik

Re: [9fans] Two questions

2010-02-13 Thread erik quanstrom
> Q1: How do I go about checking to see if the finally installed image > sees the virtual Ethernet device for the system? (It believes it to be > a Digital Tulip style one.) there are many ways to do this. 1. cat /dev/kmesg you should get lines that start with #ln, where n is a small nonnegative

Re: [9fans] problem using a vera font in rio

2010-02-14 Thread erik quanstrom
> When I use vera/unicode.12.font for either acme or rio (see the > screenshot attached) and I write e.g. 'troff', then I move in front of > 'troff', write something there, say 'mv', 'space', and move the mouse > cursor away by clicking e.g. at the end of the line, the 't' letter of > the 'troff' w

[9fans] support for 4k sector drives

2010-02-14 Thread erik quanstrom
i modified libfis to use large sectors on drives with large physical sectors. this modification may turn up some wierd cases in prep/fdisk. libfis now speaks in terms of physical sectors and physical lbas rather than the "logical" 512 byte sectors. the nasty conversions are hidden internally. -

Re: [9fans] problem using a vera font in rio

2010-02-14 Thread erik quanstrom
> And is it just my problem I can't find the source of ttf2subf? > (It seems that although the package ttf2subf installs the 386 binary > and a man page, the sys/src/cmd/ttf2subf directory is empty...) a p9p version of ttf2subf is in /n/sources/contrib/quanstro/ttf2subf i've been able to fix the

Re: [9fans] Can't compile kernel

2010-02-14 Thread erik quanstrom
On Mon Feb 1 17:40:51 EST 2010, quans...@quanstro.net wrote: > > Next step would have been, to compile a pccpuf kernel. Easy enough: > > cd /sys/src/9/pc > > mk 'CONF=pccpuf' > > > > But! instead of a kernel i get: > > ../port/flags: '../port/flags' does not exist > > ../boot/libboot.a8

Re: [9fans] Better Safe Than Sorry (Partitioning Question)

2010-02-15 Thread erik quanstrom
> Here is an example of what I have: > > cylinder = 8225280 bytes > *p1 0 7295 (7295 cylinders, 55.88 GB) HPFS > `p2 7295 7296 (1 cylinders, 7.84 MB) PLAN9 > > I am trying the command > > d p2 > > followed by > > a p2 [7265[7296]] > > The usual response is: ?syntax error. > > General

Re: [9fans] getting crash when setting 1280x1024x8

2010-02-15 Thread erik quanstrom
> I get the following when I try to set the display to be 1280x1024x8 > monitor settings I have tried are after referring to > [http://plan9.bell-labs.com/wiki/plan9/Setting_the_right_monitor_size/ > index.html] > > multisync > > > panic: kernel fault: bad address pc=0xf0

Re: [9fans] problem using a vera font in rio

2010-02-15 Thread erik quanstrom
On Mon Feb 15 22:42:21 EST 2010, r...@swtch.com wrote: > Or you could use a non-ugly font. helvetica has the similar properties, especially in reasonable point sizes for programming. if antialiased, the fs would run together. http://www.linotype.com/526/helvetica-family.html?PHPSESSID=21f2dcac2d

Re: [9fans] problem using a vera font in rio

2010-02-15 Thread erik quanstrom
> Myself, I'm stuck with Monaco. Anti-aliased in the editor, aliased in > a terminal. at least that's better than a monacle. it seems that you can have any two of the following 1. free 2. reasonable unicode coverage 3. decent looking. 4. doesn't need antialiasing. (yes there are four.) - er

Re: [9fans] Plan9 ezine

2010-02-16 Thread erik quanstrom
> Anyone interested on being able to post articles to 9times just send > me an email and I'll create a werc editor account you can use to post > stuff. suggestion: it would be nice if blog entries, etc on ninetimes were either signed or didn't contain personal pronouns. - erik

Re: [9fans] Binary format

2010-02-17 Thread erik quanstrom
> Oh, and we also talk about fat vs. tiny libraries, etc. > Maybe you'd like to join in ;-) please remember that this isn't a linux list. - erik

Re: [9fans] Binary format

2010-02-17 Thread erik quanstrom
> > We recompile the relevant executables. The speed of kencc makes this > > much less painful than you might expect. It also happens very rarely > > on plan9 - I cannot remember the last time we had a "big" pull. > > Okay, but then (as an admin) you have to know which apps have > to be recompiled

[9fans] pineview atom

2010-02-18 Thread erik quanstrom
it seems that the pineview atom can be a great plan 9 machine. i've got a x7spa-h atom d510 motherboard with 2 x 82574 gbe, etc. it supports 4gb of memory. it "just works". could support amd64, too (dx 0x2000 indicates 64-bit support) ; aux/cpuid -n 0x8001

Re: [9fans] pineview atom

2010-02-18 Thread erik quanstrom
> of non-ECC memory, so nice terminal, bad server > > > "the probability of having at least one bit error in 4 gigabyes of > memory at sea level on planet Earth in 72 hours is over 95%." > > > http://lambda-diode.com/opinion/ecc-memory while i agree in general that ecc is a good idea, i can'

Re: [9fans] pineview atom

2010-02-18 Thread erik quanstrom
> in many cases it's all about location. Where I used to live, 7200 feet > up, it was a huge issue. Where you live, i am assuming close to sea > level, and with a small number of machines, the statistics say that > you're unlikely to see it. But I would not want to take several > thousand of your m

Re: [9fans] pineview atom

2010-02-18 Thread erik quanstrom
> There is no mechanism which directly translates bit flips > to crashes! The bad case is actually a corruption which > does *not* cause a crash, but is written to disk. How indirection? executable code being turned into illegal instructions? it's not 100% efficiency but it will translate flip

Re: [9fans] How to mount a P9 partition?

2010-02-19 Thread erik quanstrom
> This seemed to work out very fine, but I soon relised that > the content of /n/olddisk now was the filesystem on sdC0, > instead of sdD0 as one might have expected? if these are actually sata drives, without a detailed motherboard manual or creative interpretation of the silkscreening on the mot

[9fans] this made me smile

2010-02-19 Thread erik quanstrom
http://wiki.soekris.info/Which_Operating_Systems_are_supported mr. powers says: ya, baby. - erik

Re: [9fans] Vector graphics device

2010-02-19 Thread erik quanstrom
> In this model the client doesnt actually draw an image, but just > operates on an (changeable) vector graphic. Things like scaling, > resizing (even funny effects like deformed windows while moving) > all are done by the display server - the client just sees object > vectors in an continous 2D sp

Re: [9fans] pineview atom

2010-02-20 Thread erik quanstrom
> "Back in the old days", a lot of VAX-11/750's running BSD Unix > crashed because of parity errors in their TLB's. 750's running > VMS "didn't have this problem", because VMS would silently work > around it; BSD grew that code--see, for example, <2...@astrovax.uucp>. > Then bits could flip all th

Re: [9fans] Netbook Install Help

2010-02-22 Thread erik quanstrom
> Greets. > I fired up the image provided by Lucho. > When I get to the gui and go to do the partitioning, it says there is > no disk device. Apparently, it can't see my hard drive. I just unboxed > this laptop about an hour ago so I perhaps the drive is sata and it > can't see it or something? co

Re: [9fans] vtcache exhaustion

2010-02-22 Thread erik quanstrom
> I've been running a vac-based backup on a few unix systems for a while > now. A bit over a week ago, one of them started failing with this > error: > > vac: vtcachelocal: asked for block #6289076; only 6288808 > blocks > [...] > > If a new cache block must be allocated... b

Re: [9fans] Netbook Install Help

2010-02-23 Thread erik quanstrom
the attensec l1c is not supported. very sorry about that. i don't have any attensec/atheros hardware. - erik

Re: [9fans] Netbook Install Help

2010-02-23 Thread erik quanstrom
i converted your bsd pci output to something i could get a handle on: ; pci `{hget http://www.queuevonqu.com/pciconf.html | htmlfmt | awk '{print $4}' | sed 's;chip=0x()();\2/\1;g' } 8086/27ac Intel Corporation Mobile 945GME Express Memory Controller Hub 8086/27ae Intel Co

Re: [9fans] How 'bout a 9 USER site?

2010-02-23 Thread erik quanstrom
On Tue Feb 23 11:38:44 EST 2010, slawmas...@gmail.com wrote: > We've also had various newbies come in and promise to create a great, > simple site for users, but it never goes anywhere. I'd suggest looking > more closely at the Wiki, maybe creating some pages there and linking > them all from a "Fo

Re: [9fans] How 'bout a 9 USER site?

2010-02-23 Thread erik quanstrom
> Well, the problem is that by putting everything out on your own > website, it's more of a trek to get there from the Wiki, which should > basically be the first point for any Plan 9 questions. When one person > controls the site, there's a bottleneck making it more difficult for > other people to

Re: [9fans] How 'bout a 9 USER site?

2010-02-23 Thread erik quanstrom
On Tue Feb 23 14:47:01 EST 2010, davide...@cs.cmu.edu wrote: > This is pretty darn useful: > > http://www.quanstro.net/newbie-guide.pdf > > and could be extended in some of the ways you mentioned (faces, > how to find useful images such as bootable-USB, VMware, etc.). for the moment, the autho

Re: [9fans] How 'bout a 9 USER site?

2010-02-23 Thread erik quanstrom
On Tue Feb 23 19:21:38 EST 2010, lyn...@orthanc.ca wrote: > >> Is there an Amazon S3 based 9P server? Just thinking out loud... > > I thought brucee had one? > > Look in contrib? This sounds familiar. > /n/other/sources/contrib/rcbilson/s3venti - erik

Re: [9fans] Netbook Install Help

2010-02-24 Thread erik quanstrom
On Wed Feb 24 05:19:28 EST 2010, bitpusher2...@gmail.com wrote: > I must not have made the last post correctly, so i'll try again : > ( Sorry if this turns into a double post. > Anyway, these pics are the output "sitting still" after booting from > the usb stick image: > www.queuevonqu.com/9boot2.j

Re: [9fans] Netbook Install Help

2010-02-24 Thread erik quanstrom
On Wed Feb 24 10:06:05 EST 2010, bitpusher2...@gmail.com wrote: > It doesn't matter if I choose yes or no, the end result is the same. > It asks for mouse port, resolution and screen, then goes into rio. > When it comes time to partition, it says "no disk device is available, > installation cannot

Re: [9fans] Netbook Install Help

2010-02-24 Thread erik quanstrom
> > try this.  at the install prompt, type "!rc".  then at the rc prompt > > type "cat /dev/sdctl".  the output should be interesting. > > queuevonqu.com/9boot_a.jpg okay. so it sees your controller, but not the drives. there are a couple reasons this might be. - power management. perhaps the

Re: [9fans] unrecognized ethernet card

2010-02-24 Thread erik quanstrom
> 00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2) > Subsystem: Micro-Star International Co., Ltd. Device 7309 > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- i'm sorry, there's no support for nvidia ethernet. i don't know if docs are available, but the

Re: [9fans] Netbook Install Help

2010-02-25 Thread erik quanstrom
On Thu Feb 25 06:29:21 EST 2010, bitpusher2...@gmail.com wrote: > Hmm, might be slightly above my head (I don't know what a node is). > That aside, the boot loader fires up fine, and it makes it to what I > believe is near the end of the boot sequence in fact. ad0 is my hard > disk; > queuevonqu.co

Re: [9fans] Netbook Install Help

2010-02-25 Thread erik quanstrom
On Thu Feb 25 07:19:14 EST 2010, quans...@quanstro.net wrote: > On Thu Feb 25 06:29:21 EST 2010, bitpusher2...@gmail.com wrote: > > Hmm, might be slightly above my head (I don't know what a node is). > > That aside, the boot loader fires up fine, and it makes it to what I > > believe is near the en

Re: [9fans] Factotum discrepancy

2010-02-25 Thread erik quanstrom
> makes it sound like the -a option takes precedence > over cs and ndb.  But the code for _autdial() in > util.c looks for cs first and if it's there, the > -a option is ignored.  (In p9p, -a seems to be ignored > altogether.) > > Which way should it be?  I'd prefer if -a took precedence, > but if

Re: [9fans] problem using a vera font in rio

2010-02-25 Thread erik quanstrom
> i want pretty fonts in acme, but i'm not sure ttf2subf will get us > there without major work (and a new port of the freetype libraries). i've been running ttf2subf with the freetype appendage cut off. i'm using the system library directly from p9p. that seems to work better than porting the wh

Re: [9fans] plan9 kernel on genode?

2010-02-25 Thread erik quanstrom
> kernel and there doesn't need to be one. By using Genode, applications > developed for one kernel can be ported to all the other supported platforms > with a simple recompile. this sort of thing is built for a knee-jerk reaction. ... which i will happily provide. ah, the chicago crain techni

Re: [9fans] problem using a vera font in rio

2010-02-25 Thread erik quanstrom
> it could be a general solution - fontsrv just spits out > ordinary font files that you could use on plan 9. ttf2subf is only about 150 lines of code, once liberated from libfreetype. > > I am curious why the difference in rendering. in your screenshot 't', > > 'f' and 'g' look especially blurry

Re: [9fans] exec permission on plan9

2010-02-26 Thread erik quanstrom
> It appears to me (though my code may be buggy) that > the file server is expected to enforce the exec bit > in the file's modes when a file is opened with OEXEC. yes. > I would have expected rc(1) to have checked the mode and > not to have tried to exec() the file if the exec bit in the > file'

Re: [9fans] exec permission on plan9

2010-02-26 Thread erik quanstrom
is there a file named "ls" in the cifs directory? if not, wouldn't the bug be that the cifs server is allowing an open of a file that's not there? - erik

Re: [9fans] out of physical memory; no swap configured

2010-02-27 Thread erik quanstrom
On Sat Feb 27 06:49:47 EST 2010, bval...@gmail.com wrote: > Hi, > > I used Erik's 9atoms.iso to install Plan 9. When its booting, after > its asking for root partition and username, I get the error message > repeated: "out of physical memory; no swap configured". Why, oh why? memory scan went sid

[9fans] seq with hex, octal formats

2010-02-27 Thread erik quanstrom
i've attached a little program that extends seq to print sequences in hex or octal. for example, ; seq.rc -f %.4x 0x3b1 0x3b2 03b1 03b2 i did it in rc (really awk) because it was too tedious to get the details right in c. as such, formats are as in printf(2) not as in p

Re: [9fans] seq with hex, octal formats

2010-02-27 Thread erik quanstrom
very nice! one problem, ifmt can crash with the argument -f %g. fomatting %g will mean that !running to be true when calling ifmt, thus ifmt will try to va_arg a double cast to vlong when formatting an integer: /sys/src/libc/fmt/fltfmt.c:136: sprint(s1+NSIGNIF, "e%d", e-NSIGNIF+1

Re: [9fans] seq with hex, octal formats

2010-02-27 Thread erik quanstrom
On Sat Feb 27 21:08:17 EST 2010, lyn...@orthanc.ca wrote: > > using awk is still faster > > For the curious and lazy ... why is that? it is curious! it appears that the ape strtod is much faster, though it isn't quite correct: both of these are in /sys/src/libc/port/strtod.c % Time C

Re: [9fans] Interrupt saturation

2010-02-28 Thread erik quanstrom
On Sun Feb 28 04:57:09 EST 2010, lu...@proxima.alt.za wrote: > The workstation I'm using presently seems to trigger as many > interrupts as stats(1) can display, while the syscall graph is also > extremely busy. > > I presume this is anomalous. Killing the single instance of > timesync(1) does no

Re: [9fans] Magic Mouse in 9vx?

2010-02-28 Thread erik quanstrom
> doing things to 9vx seems like a bad idea compared to just having a > p9p server with the /mouse and /mousectl for the magic mouse, and then > mounting that in your 9vx /dev. > > same thing applies to drawterm, inferno, and probably glendix, which > together with 9vx and p9p is your entire aviar

[9fans] rc rune mishandling (and fix)

2010-02-28 Thread erik quanstrom
in the process of cleaning trying to get rc working with 4-byte utf-8 sequences, i noticed that rc has a few weak points when it comes to handling runes that have nothing to do with rune size. for example this script ; cat badbq #!/bin/rc nl=' ' ifs=α$nl ech

Re: [9fans] P9p on Fedora 12

2010-03-01 Thread erik quanstrom
> i can reproduce that with: > > gd...@m9363:~/plan9/src/cmd/devdraw$ 9term > 9term: initdraw: muxrpc: unexpected eof > gd...@m9363:~/plan9/src/cmd/devdraw$ you've reproduced the result, but i think the conditions are different. pavel's error was: > [pavel]$ 9term rc > usage: devdraw (don't ru

Re: [9fans] P9p on Fedora 12

2010-03-01 Thread erik quanstrom
> That is true. > But muxrpc error is also there. A consequence? > > [pavel]$ 9term rc > usage: devdraw (don't run directly) > 9term: initdraw: muxrpc: unexpected eof dennis was right. print statements are often the best way to debug a problem. why don't you temporarly hack devdraw with someth

Re: [9fans] Interrupt saturation

2010-03-01 Thread erik quanstrom
On Mon Mar 1 12:53:59 EST 2010, lu...@proxima.alt.za wrote: > > workstation only? I.e. it is not running venti? > > Thanks for the chance to follow up. I implemented quanstro's > enhancement to /proc, and this is what I get right now, some > twenty-four hours after starting up: > > 50

Re: [9fans] Interrupt saturation

2010-03-01 Thread erik quanstrom
> > looks like you just have HZ set to 1000. > > stats isn't counting on that. > > > How does one change that? i wouldn't suspect that one would want to. the higher clock rate allows more precise scheduling. the extra overhead should be unnoticable on a 2.6ghz processor, except via stats. > >

Re: [9fans] problem with installing plan9

2010-03-02 Thread erik quanstrom
> Hello, > > the day before yesterday I downloaded an iso image of Plan 9 and tried > to install it. Something went wrong, no idea what... > Can you help? > I've attached two photos of my screen. > > When I try about 2-year-old plan 9 CD, this doesn't happen... looks like biosload (or bios) is s

Re: [9fans] CD iso image and SATA CDROM on P5Q Pro

2010-03-02 Thread erik quanstrom
On Tue Mar 2 06:11:54 EST 2010, kokam...@hera.eonet.ne.jp wrote: > I'm making a fossil+venti file server using two 500GB SATA drives and > a SATA DVD, and have trouble to use the DVD drive. > > Using a iso image of a couple of days ago, it does not come up, but only > 9load from CD can run. > >

Re: [9fans] CD iso image and SATA CDROM on P5Q Pro

2010-03-02 Thread erik quanstrom
On Tue Mar 2 09:36:27 EST 2010, kokam...@hera.eonet.ne.jp wrote: > One 500GB is connected to SATA1, and another 400GB is to SATA2, and super > DVD drive > to SATA 3 port. > Then, insert with the live-CD iso disk, and then the first messages from 9load > was displayed, and at that point system ha

Re: [9fans] compiler warnings for libavl/avl.c

2010-03-02 Thread erik quanstrom
On Tue Mar 2 12:03:35 EST 2010, e...@sandien.com wrote: > > The following two subroutines are defined and not used anywhere. Should they > redefined as void or possibly removed? it's perfectly reasonable to leave code in for testing purposes that never gets called. > -int errno; > +#include >

Re: [9fans] compiler warnings for libavl/avl.c

2010-03-02 Thread erik quanstrom
> > > The following two subroutines are defined and not used anywhere. Should > > > they > > > redefined as void or possibly removed? > > > > it's perfectly reasonable to leave code in for testing purposes > > that never gets called. > > Agreed. Should the declarations be changed then to void i

Re: [9fans] problem with installing plan9

2010-03-02 Thread erik quanstrom
> On 2 March 2010 14:39, erik quanstrom wrote: > > looks like biosload (or bios) is screwing up and making further > > drive detection impossible.  if you aren't booting from > > usb, you could try 9atom. (ftp://ftp.quanstro.net/other/9atom.iso.bz2) > > > >

Re: [9fans] problem with installing plan9

2010-03-02 Thread erik quanstrom
> Any suggestion now? i'd guess the vlong divide-by-zero is caused by a sector size of 0 somewhere in the kernel. but that's a wild guess. hard to grep for that easily. try unplugging your cdrom. boot the cd. use it to edit your plan9.ini. set "*nodumpstack=0". set "*idemaxio=64". you might al

Re: [9fans] Aquarela faulting

2010-03-02 Thread erik quanstrom
> Any ideas where to start from? > Any best practices or pitfalls for this setup? perhaps the new cifs server would be better? if you're looking for this bug, it's clear that there's something out-of-order with the authentication. the server is especting some auth info, and there isn't any. i su

Re: [9fans] problem with installing plan9

2010-03-03 Thread erik quanstrom
> "bios 0: drive 0x80: 80.026,361,856 bytes, type 3" - drive 0x80 is the > hard drive, isn't it? > "biosdiskcall: int 13 op 0x42 drive 0x80 failed, ah error 0x80" > "sectread: bios failed to read 512 @ sector 0 of 0x80" - an error with > reading of the first sector of the drive 0x80 if you ca

Re: [9fans] CD iso image and SATA CDROM on P5Q Pro

2010-03-03 Thread erik quanstrom
> I don't know it relevants to this problem, however, I see a kind of messages > like: > > sb600: did 0x954f has zero bar > sb600: did 0xaa38 has zero bar should be harmless. are you running maybe an old kernel? the reason i ask is that i don't see any such print in the kernel. but it looks l

<    8   9   10   11   12   13   14   15   16   17   >