Re: [9fans] Using proportional fonts in Acme for Programming

2009-08-16 Thread Daniel Lyons


On Aug 14, 2009, at 12:28 PM, Roman V. Shaposhnik r...@sun.com wrote:

I looked at it for a while and came with a realization that it could
be just a tad heavier than what I need for most of the stuff I do.  
Plus

I'm not sure how to port it to Plan9 without first porting the JVM.


I actually meant to create a new Plan 9-specific Lisp variant, perhaps  
stealing some of Clojure's new ideas. Especially with respect to  
parallelism, the standard library and a few other things. I like that  
I can call into Java libs from Clojure but that's not the most  
interesting thing about it to me.


Another thing which would be cool would be something like scsh.

--
Daniel Lyons
 



Re: [9fans] USB Input Devices Support

2009-08-16 Thread erik quanstrom
 Hi everyone,
 
 I previously sent in a post, but I think it was completely overlooked due to
 the heated discussions at the time.  I have previously corresponded with
 Russ Cox and Eric re: the problems I am having getting a plan9 boot on the
 mac-minis that I am using.
 
 Has anyone successfully installed plan9 using only USB input devices
 (keyboard/mouse)?  I have no serial ports on all of my machines.  Any
 pointers any of you could suggest is greatly appreciated.
 
 Thanks for your time,
 AJ Sherbondy

assuming that usb is your only problem, there's one
obvious but solvable problem.  the install cd's 9load
needs kbd input to boot.  this could be solved by
adding a menu timeout to the bootflop plan9.ini.

there are probablly other problems that aren't so
obvious.  but fixing this (which you can do without
a running plan 9 installation) would probablly get you far.

- erik



[9fans] vac errors after updating to latest p9p archive

2009-08-16 Thread Fernan Bolando
Hi all

Anybody seen this error before
create bsize 8192 psize 8180
vacfsopen 271cb9c9fdc75030ff368bc938ee419e1dbb4bb2
openscore 8192 psize 8160 dsize 8192
vtcachebumpblock: no free blocks in vtCacheAbort trap

I just updated to august 16 version. I am running vac through crontab
under openbsd

regards
fernan

-- 
http://www.fernski.com



Re: [9fans] vac errors after updating to latest p9p archive

2009-08-16 Thread Fernan Bolando
On Mon, Aug 17, 2009 at 12:10 AM, Fernan Bolandofernanbola...@mailc.net wrote:
 Hi all

 Anybody seen this error before
 create bsize 8192 psize 8180
 vacfsopen 271cb9c9fdc75030ff368bc938ee419e1dbb4bb2
 openscore 8192 psize 8160 dsize 8192
 vtcachebumpblock: no free blocks in vtCacheAbort trap

 I just updated to august 16 version. I am running vac through crontab
 under openbsd

 regards
 fernan

oops
seeing that I posted this blindly anybody can now gain access to my files.


-- 
http://www.fernski.com



Re: [9fans] Dell E4300?

2009-08-16 Thread erik quanstrom
there's a new ftp://ftp.quanstro.net/other/9atom.iso.bz2

 It has on-board SATA hd, SATA cd-rom, etc.  I tried quanstro's 9atom.iso, and 
 with the SATA controller in AHCI mode, it'll start booting, but hangs at:
 
 4 = 818807+1020832+474972=2314611
 entry: f0100020
 
 Plan 9

okay.  i allowed the kernel to use the e820 scan
that 9load-e820 uses instead of using reamode
itself.  this may not help, but it's a good guess,
anway.  your machine appears to be crashing
during the e820 scan.

also,

 I also tried booting from Erik's atom iso, but don't get very far. eg:
 PBS1
 Plan 9 from Bell Labs
 ELCR: 0CA0
 pcirouting: south bridge 10de, 0260 not found
 aoepnp(nil)
 found 11 e820 entries
 Boot devices: fd0 fd1
 boot from:
 
 It doesn't detect IDE controller, so no local disk/CD-ROM to boot from.

fixed.  sorry.

- erik



Re: [9fans] Dell E4300?

2009-08-16 Thread Benjamin Huntsman
there's a new ftp://ftp.quanstro.net/other/9atom.iso.bz2

The second part of your reply appears to not be directed to this issue, but 
something similar.  I don't remember writing that.
Anyway, we're getting much further, but the boot process still dies:

...
pat: 0107040600070406
ELCR: 0C08
pcirouting: BIOS workaround: PCI.0.29.0 at pin 1 link 4 irq 7 - 3
pcirouting: BIOS workaround: PCI.0.29.1 at pin 2 link 5 irq 1 - 11
pcirouting: BIOS workaround: PCI.0.29.7 at pin 1 link 4 irq 7 - 3
pcirouting: BIOS workaround: PCI.0.26.0 at pin 1 link 4 irq 7 - 3
pcirouting: BIOS workaround: PCI.0.26.1 at pin 2 link 5 irq 1 - 11
pcirouting: BIOS workaround: PCI.0.27.0 at pin 1 link 5 irq 1 - 11
#l0: i82567: 1000Mbps port 0xF6AE irq 10 tu 1514: 002170b7a113
sdata: blind probe 1f0
sdata: blind probe 170
#S/sdE: ahci ich port 0xe0020800: ss 1 ncs 31 coal 1 mport 3 led 1 clo 1 ems 1
#S/sdE: ich: sata-II with 4 ports
3536M memory: 256M kernel data, 3280M user, 3905M swap
root is from (il, tcp, local)[local!bootdev/data]:
sdE0: LLBA 488,397,168 sectors
  ST9250421ASG DE14 5TH05P1L [newdrive]
sdE1: LBA 0 sectors
  TSSTcorp DVD+/-RW TS-U633A D200  [newdrive]
boot: can't connect to file server: '#S/sdD0' file does not exist
panic: boot process died: unknown
panic: boot process died: unknown
dumpstack disabled
cpo0: exiting


This is when attempting to use the boot Plan 9 from this CD option.
Booting into the install Plan 9... option loads the installer.  I'm installing
now and will post the results.

Thanks again!!

-Ben
winmail.dat

[9fans] Blogger tools

2009-08-16 Thread matt
When the time came to choose a blogging platform I chose blogger because 
a few other 9fans had done the same and I thought great, blogger's UI 
is annoying enough that someone will make some plan9 tools


Two years later, that someone is me.

A bunch of shell scripts that wrap around some python, and my optional 
shell script driven fs


/n/sources/contrib/maht/blogger

You'll need bichued's python which is now a contrib the day after I 
worked out how to install it from source but the product of  that was 
wanting better blogging tools :


Matt





Re: [9fans] Dell E4300?

2009-08-16 Thread Benjamin Huntsman
I'm installing now and will post the results.

Okay, the install works perfectly, and I'm up and running!
Many thanks!

I recall reading that the CD is otherwise identical to the stock
version.  So, if I recompile the kernel, it'll break, right?  What
utterances do I need to enter in order to rebuild the kernel as it
appears on the 9atom cd?

Thanks again!!

-Ben
winmail.dat

Re: [9fans] Dell E4300?

2009-08-16 Thread erik quanstrom
 I recall reading that the CD is otherwise identical to the stock
 version.  So, if I recompile the kernel, it'll break, right?  What
 utterances do I need to enter in order to rebuild the kernel as it
 appears on the 9atom cd?

the short answer is that you can't, exactly — yet.

here's the original post, which should answer your questions.

http://9fans.net/archive/2009/08/359

interestingly, googling for this with
site:9fans.net/archive/2009/08 PAT
returns nothing.

- erik



[9fans] vga and vmware

2009-08-16 Thread Tim Newsham

When booting plan9 in vmware the graphics seem to work fine up
to 1024x768x8, but higher resolutions cause a panic trying to
write to a non-existant address.  (Didnt map enough memory for
the screen maybe?)  It seems to put the card in the right mode
and even print out the stack trace onto the highres screen.
Anyone know whats going on here?

-
panic: kernel fault: bad address pc=0xf01eb43e addr=0xe03c
panic: kernel fault: bad address pc=0xf01eb43e addr=0xe03c

acid points to libmemdraw/line.c:351

at 1024x768x aux/vga -p says:
vga-attr: vid=0x15AD
vga-attr: did=0x0405
vga misc E3
vga feature  00
vga sequencer03 01 0F 00 0A
vga crt  A3 7F 88 9A 86 1A 24 FD - 00 60 00 00 00 00 00 00
 03 29 FF 80 60 03 04 A3 - FF
vga graphics 00 00 00 00 00 50 05 0F - FF
vga attribute00 01 02 03 04 05 06 07 - 08 09 0A 0B 0C 0D 0E 0F
 41 FF 0F 00 00
vga virtual 0 0
vga panning off
vga vm a b  0 3489660928
vga apz 134217728
vga linear  1
vmware ID9002
vmware Enable0001
vmware Width 0400
vmware Height0300
vmware MaxWidth  0938
vmware MaxHeight 06ea
vmware Depth 0018
vmware Bpp   0020
vmware PseudoColor   
vmware RedMask   00ff
vmware GreenMask ff00
vmware BlueMask  00ff
vmware Bpl   1000
vmware FbStart   d000
vmware FbOffset  
vmware FbMaxSize 0800
vmware FbSize0030
vmware Cap   001fc3e2
vmware MemStart  d800
vmware MemSize   0020
vmware ConfigDone0001
vmware Sync  0001
vmware Busy  
vmware GuestID   5010
vmware CursorID  0001
vmware CursorX   02bf
vmware CursorY   00bd
vmware CursorOn  0001
vmware HostBpp   0020
vmware chan  x8r8g8b8
vmware depth 32
vmware linear


Tim Newsham
http://www.thenewsh.com/~newsham/



Re: [9fans] laptop install woes

2009-08-16 Thread Jamie Gavahan
On Sat, Aug 15, 2009 at 20:12, mattmaht-9f...@maht0x0r.net wrote:

 This is pretty much a show-stopper for me.  I guess it's time to find a
 new
 laptop with supported hardware.



 or a usb ethernet device


That is a good point.  I looked at what usb/ether supports and bought
an Arkview USB-G1000.

http://www.arkview.com/eshop/goods.php?id=29

It's a USB 2.0 adapter with the Asix A88178 controller.
If it's of interest, I'll let everyone know how it works.

- jamie



[9fans] copying a venti

2009-08-16 Thread Steve Simon
I am trying to copy my venti from an old server to a new one,
currently I am using somthing along the lines of:

venti/rdarenas  /tmp/arena; venti/wrarenas /tmp/arena

Which is progressing, admittedly very slowly. I had this problem
before and Russ suggested that perhaps my bloom filter was non
operational.

Is there anything more to setting up a bloom filter on a venti
beyond adding a bloom /dev/sdC0/bloom to the venti config and
formatting the partion with venti/fmtbloom before starting venti
for the first time?

Also, I have since discoverd the venti/copy command which
looks to be exactly what I should be using, but how do I generate
a score to copy the whole venti tree?

Thanks,

-Steve



Re: [9fans] vga and vmware

2009-08-16 Thread Devon H. O'Dell
2009/8/16 Tim Newsham news...@lava.net:
 When booting plan9 in vmware the graphics seem to work fine up
 to 1024x768x8, but higher resolutions cause a panic trying to
 write to a non-existant address.  (Didnt map enough memory for
 the screen maybe?)  It seems to put the card in the right mode
 and even print out the stack trace onto the highres screen.
 Anyone know whats going on here?

For what it's worth, I'm getting essentially the same in ESXi with
anything over 640x480x8

--dho



[9fans] 9fans.net/archive/ google index

2009-08-16 Thread hiro
 interestingly, googling for this with
        site:9fans.net/archive/2009/08 PAT
 returns nothing.

I've seen these kind of problems a lot. I have looked around, I
searched for any misconfigured robot file, but not having found any I
am left wondering.
Why doesn't google index our archive? Even very old posts are often
note found with google's search. Anybody have an idea?



Re: [9fans] vga and vmware

2009-08-16 Thread Tim Newsham

When booting plan9 in vmware the graphics seem to work fine up
to 1024x768x8, but higher resolutions cause a panic trying to

[...]

panic: kernel fault: bad address pc=0xf01eb43e addr=0xe03c
panic: kernel fault: bad address pc=0xf01eb43e addr=0xe03c


/dev/vgactl says 0xe000 has 0x3c mapped.  Enough for
1024x768x4 bytes but not enoug hfor 1280x1024x4 bytes.  I
patched vgavmware.c line 179 to allocate 2*vmrd(vm, Rfbsize)
instead of vmrd(vm, Rfbsize) and now I'm able to go into 1280x1024x8
mode.  This is obviously just a hack, I don't know what a
real solution would be (is it possible that the hardware register
returns a different size after changing the mode?)

Tim Newsham
http://www.thenewsh.com/~newsham/



Re: [9fans] HP: Printing with the Illiterate

2009-08-16 Thread Akshat Kumar
Too bad I didn't initially try this, but
if I send a print right after the timeout,
I can get the whole print. The next
time I want to print, however, I have
to go through the same thing. So,
a wasted paper for every print.

Would still be great to not have the
issue at all.


ak



Re: [9fans] Dell E4300?

2009-08-16 Thread erik quanstrom
 boot: can't connect to file server: '#S/sdD0' file does not exist
 panic: boot process died: unknown
 panic: boot process died: unknown
 dumpstack disabled
 cpo0: exiting

fixed.  you should now be able to boot from the cd regardless
of which port you've plugged it into sdE5 should be fine.

 I recall reading that the CD is otherwise identical to the stock
 version.  So, if I recompile the kernel, it'll break, right?  What
 utterances do I need to enter in order to rebuild the kernel as it
 appears on the 9atom cd?

so, while i recommend that the contrib packages be used instead,
after some thought and a few hrs of quality time removing half-finished
bits, i packaged up the source used to build the 9atom kernels.
ftp://ftp.quanstro.net/other/kernel.mkfs.bz2
to extract to the current directory
bunzip2  kernel.mkfs.bz2 | disk/mext -d .
if anyone objects to this being out there, i'll just remove it.

off the top of my head, this kernel has the following little
bits in addition to tje contrib packages:
- jumbo frames, used with aoe (#l0/ether0/mtu), 
- /dev/cputemp on modern amd and intel processors,
- kbd led control, repluggable ps/2 mice, cec console server,
- console on non-onboard serial lines, turning serial console on/off,
- pat,
- /dev/nomp (mp irqs off), and /dev/mpirq (irqs turned on),

the kernel you build will *still* be a little different than mine
because of some changes to libauthsrv i made.  these differences
are in the patch readnvram that allow nvram to be on any sd
device.  this is particularly useful for ahci laptops that may have
sdE2 (cdrom) and sdE3 (hd).  while they could have been added
to the big array in libauthsrv.c/nvram, i found it hard to manage.

- erik