9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] THNX
@ 2007-08-11  0:49 ron minnich
  2007-08-11 13:23 ` Francisco J Ballesteros
  2007-08-19 16:18 ` cummij
  0 siblings, 2 replies; 9+ messages in thread
From: ron minnich @ 2007-08-11  0:49 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

see: http://9grid.net/magic/webls?dir=/rminnich/src/lguest

To boot: put this on a 2G usb stick. Will it work for other sizes? I don't know.

Boot. Make sure you tell the laptop to boot usb (F12 on thinkpad to
get a set of boot devices).

You'll get a grub> prompt -- sorry, the next problem was fixed but too
late for this image.
type
configfile /boot/grub/menu.lst
Let it boot to the default (usb) image.
hit ENTER to see the modes.

You want 1024x768xlots'o'colors. It's always a different #. So far:
X60 -- 305
T60 -- 323

Notice cute little penguin{s) at upper left if you have VESA. Wait for shell.
type:
runme
/etc/init.d/syslog start &

wait for messages. Note that runme sets up a bunch of virtual
consoles. This is going to come in handy in just a minute.

type
. RUNLGUEST
wait a bit ...once you have an rc prompt, you can do this:
<ALT>F2
now we get to use Aki's fine work:
drawterm -a hanska -c hanska
You'll get a user prompt (bootes) and password (lguestgood).

Voila! you're in!

Known problems:
1. disk io is really not great. That needs to be fixed. I have screwed
it up several times, so I left it at working but slow.
2. I can't get iptables for nat to work on 2.6.2x. So the standard way
to nat out won't work. Help us someone!

That's about it -- you can use this. If somebody wants to fix up
/boot/grub/menu.lst I would appreciate it.

Also, in Aki drawterm, to move to other virtual consoles:
^T^T1 or ^T^T3 or whatever.
To kill Aki drawterm, ^T^TR (R, not r)

So you can have multiple drawterms.

I hope to put the kernel sources on sources AND 9grid.net tonight.

The network problem is fixed. Thanks to David Presotto and the other
folks at BAP9UG for solving this one. What they and I learned led to a
big improvement in the network driver.

It is actually pretty nice, and there is NO X11, NO Python on this image.

Er, um, and no browser (yet). I'm looking at one of the light ones,
AND putting inferno on here. I was going to try omero but I can't get
more than a few steps in without having it blow up on me -- I would
really love to have it however. Nemo, need to learn how to set up a
CPU server with the important bits of omero, then have a person
drawterm in and get the rest of the setup. Interested?

ron


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] THNX
  2007-08-11  0:49 [9fans] THNX ron minnich
@ 2007-08-11 13:23 ` Francisco J Ballesteros
  2007-08-12  4:53   ` ron minnich
  2007-08-19 16:18 ` cummij
  1 sibling, 1 reply; 9+ messages in thread
From: Francisco J Ballesteros @ 2007-08-11 13:23 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Nemo, need to learn how to set up a
> CPU server with the important bits of omero, then have a person
> drawterm in and get the rest of the setup. Interested?
>
> ron
>

Sure. The only problems, IIRC, are the fonts and the mount point directory.
Those must be added by hand before using it. The fonts it uses are the vera
fonts, but that is easi to change (using either the source or fontB,
fontR, fontI,
fontL, fontS env. vars). Regarding mount points, It's likely it will
try to mount itself
at /devs/$sysname^ui, running mntgen at /devs (and creating it) suffices.

You'd need commands starting with 'o' in the Plan B copy that should be both in
sources and in our web page. At least, you need omero and ox (ox is
the editor/shell
program). oplayer and oclock might be handy. look at /rc/bin/o* and at
/386/bin/o*


I'm out of town with just email
access, but I'll try to help if drop me a line with any problem you might have.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] THNX
  2007-08-11 13:23 ` Francisco J Ballesteros
@ 2007-08-12  4:53   ` ron minnich
  2007-08-12  4:54     ` Gorka Guardiola
  2007-08-12 10:36     ` Francisco J Ballesteros
  0 siblings, 2 replies; 9+ messages in thread
From: ron minnich @ 2007-08-12  4:53 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On 8/11/07, Francisco J Ballesteros <nemo@lsub.org> wrote:

> Sure. The only problems, IIRC, are the fonts and the mount point directory.

well, there is a lot of stuff going on in bns and brc etc.

What would be nice is to break it out into
MUST run on a cpu server
CAN run on a cpus server
SHOULD NOT run on a cpu server

and then
MUST run when a user cpu's in
CAN run
SHOULD not run etc.

I did the vera font creation, 'twas the least of my troubles. I really
want to try omero, but on xen and lguest, it has to work via a user
coming in via drawterm ... and it's hard for me too see what all is
going on. I'm working it out, but could use some help.

ron


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] THNX
  2007-08-12  4:53   ` ron minnich
@ 2007-08-12  4:54     ` Gorka Guardiola
  2007-08-12 10:36     ` Francisco J Ballesteros
  1 sibling, 0 replies; 9+ messages in thread
From: Gorka Guardiola @ 2007-08-12  4:54 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Oh, no, you have been taking RFC's too...

On 8/12/07, ron minnich <rminnich@gmail.com> wrote:
> On 8/11/07, Francisco J Ballesteros <nemo@lsub.org> wrote:
>
> > Sure. The only problems, IIRC, are the fonts and the mount point directory.
>
> well, there is a lot of stuff going on in bns and brc etc.
>
> What would be nice is to break it out into
> MUST run on a cpu server
> CAN run on a cpus server
> SHOULD NOT run on a cpu server
>
> and then
> MUST run when a user cpu's in
> CAN run
> SHOULD not run etc.
>
> I did the vera font creation, 'twas the least of my troubles. I really
> want to try omero, but on xen and lguest, it has to work via a user
> coming in via drawterm ... and it's hard for me too see what all is
> going on. I'm working it out, but could use some help.
>
> ron
>


-- 
- curiosity sKilled the cat


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] THNX
  2007-08-12  4:53   ` ron minnich
  2007-08-12  4:54     ` Gorka Guardiola
@ 2007-08-12 10:36     ` Francisco J Ballesteros
  2007-08-12 18:26       ` ron minnich
  1 sibling, 1 reply; 9+ messages in thread
From: Francisco J Ballesteros @ 2007-08-12 10:36 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Omero tries to exploit a full plan b environment, but can work without
one. Thus,
I'd forget about bns et al. (as long as you don't want your
environment to adapt to
new/gone machines in the environment).

Thus, to use omero I'd say that you can do either 1) or 2) below. If
you have problems
with that, or whatever, I might help more if you tell me exactly what
you did and what the
problem was.

1:  from a drawterm:

- run rio, run omero. that would be it.
(once vera fonts are there, and /devs mountpoints, I mean)

2:  from a terminal (against a CPU server):

- run omero in your terminal (you may exit from the ox, you won't be using it)
- from tthat  ns, cpu to your cpu server, and bind omero to /devs/$sysname^ui
- from that ns, in the cpu, run ox (it would open files, run commands
on the cpu server, but use
/devs/$sysname^ui to create omero panels).

Now some comments:
- vera fonts should be there, in the cpu ns
- to use a shared clipboard, /dev/snarf and /dev/sel should be rw files (we keep
them under $home/lib and bind them at /dev, for all machines for the same user).

But, in any case, if you have problems with this, when I get back in
town (one or two
weeks), I can try to reproduce all this and provide a more precise
recipe, if that's what
you want.


hth


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] THNX
  2007-08-12 10:36     ` Francisco J Ballesteros
@ 2007-08-12 18:26       ` ron minnich
  2007-08-12 18:30         ` Francisco J Ballesteros
  0 siblings, 1 reply; 9+ messages in thread
From: ron minnich @ 2007-08-12 18:26 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On 8/12/07, Francisco J Ballesteros <nemo@lsub.org> wrote:

>
> 1:  from a drawterm:
>
> - run rio, run omero. that would be it.
> (once vera fonts are there, and /devs mountpoints, I mean)

omero suicides instantly.

And what do you need in /devs?

ron


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] THNX
  2007-08-12 18:26       ` ron minnich
@ 2007-08-12 18:30         ` Francisco J Ballesteros
  0 siblings, 0 replies; 9+ messages in thread
From: Francisco J Ballesteros @ 2007-08-12 18:30 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

/devs/$sysname^ui at least.
We mount Plan B volumes at /devs, usually. Even when you
do not use Plan B, most Plan B programs still assume that.

Can you give me a stack trace of the suicide?


On 8/12/07, ron minnich <rminnich@gmail.com> wrote:
> On 8/12/07, Francisco J Ballesteros <nemo@lsub.org> wrote:
>
> >
> > 1:  from a drawterm:
> >
> > - run rio, run omero. that would be it.
> > (once vera fonts are there, and /devs mountpoints, I mean)
>
> omero suicides instantly.
>
> And what do you need in /devs?
>
> ron
>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] THNX
  2007-08-11  0:49 [9fans] THNX ron minnich
  2007-08-11 13:23 ` Francisco J Ballesteros
@ 2007-08-19 16:18 ` cummij
  2007-08-22 12:26   ` ron minnich
  1 sibling, 1 reply; 9+ messages in thread
From: cummij @ 2007-08-19 16:18 UTC (permalink / raw)
  To: 9fans

hi ron-

> see: http://9grid.net/magic/webls?dir=/rminnich/src/lguest

very nice.   i've tried this on a thinkpad t40 and it works like a charm.

i'd like to add some modules to linux (like ath_pci) and i noticed in
an earlier incarnation of this you said (about your code on sources):

> l.tgz is my hacked up 2.6.21, but most of my mods are just debug and
> not needed. 

does that mean ALL your mods?  can i just use a standard linux source
tree?  or can i somehow get the 2.6.23 source you used to make the image
on 9grid.net?

i guess what i'm really asking is what's the best way to add modules to
what you have on 9grid.

thanks for doing this, it's really great!

john cumings



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] THNX
  2007-08-19 16:18 ` cummij
@ 2007-08-22 12:26   ` ron minnich
  0 siblings, 0 replies; 9+ messages in thread
From: ron minnich @ 2007-08-22 12:26 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I will try to drop my current 2.6.23 -rc3 tree on 9grid.net today.

i am tracking linus' tree but there are still a few mods needed.

ron


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-08-22 12:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-11  0:49 [9fans] THNX ron minnich
2007-08-11 13:23 ` Francisco J Ballesteros
2007-08-12  4:53   ` ron minnich
2007-08-12  4:54     ` Gorka Guardiola
2007-08-12 10:36     ` Francisco J Ballesteros
2007-08-12 18:26       ` ron minnich
2007-08-12 18:30         ` Francisco J Ballesteros
2007-08-19 16:18 ` cummij
2007-08-22 12:26   ` ron minnich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).