Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-18 Thread Ethan Grammatikidis
On Thu, 17 May 2012 13:36:52 -0400
erik quanstrom quans...@labs.coraid.com wrote:

 abaco was confused about how relative urls work.
 i've attached the file i'm using (which has some
 extra differences), and here's the diff

Thanks! I'll push that to 9front if it works with their webfs.



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-18 Thread Ethan Grammatikidis
On Thu, 17 May 2012 18:20:41 -0400
erik quanstrom quans...@quanstro.net wrote:

 On Thu May 17 17:44:51 EDT 2012, 9f...@hamnavoe.com wrote:
   Besides that, my Elysian field has namespaces.
  
  +1
 
 better than angry french motorists.

I can handle angry French motorists better than I can handle how Linux
these days.



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-18 Thread Burton Samograd
 abaco was confused about how relative urls work.
 i've attached the file i'm using (which has some extra differences),
 and here's the diff

 Thanks! I'll push that to 9front if it works with their webfs.

I applied the patch to my 9front abaco source and it worked as advertised
(as in clicking on Google search result links now work).

--
Burton Samograd


This e-mail, including accompanying communications and attachments, is strictly 
confidential and only for the intended recipient. Any retention, use or 
disclosure not expressly authorised by Markit is prohibited. This email is 
subject to all waivers and other terms at the following link: 
http://www.markit.com/en/about/legal/email-disclaimer.page

Please visit http://www.markit.com/en/about/contact/contact-us.page? for 
contact information on our offices worldwide.



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-18 Thread erik quanstrom
On Fri May 18 12:30:56 EDT 2012, cinap_len...@gmx.de wrote:
 tested, commited. theres a little thing thats different with
 9front webfs. if the server doesnt return a Content-Type
 response header, the contenttype attribute file will not
 appear in the connection directory. (this is true for all
 response headers).

the web is not plan 9 compliant.

- erik



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-18 Thread Christoph Lohmann
Greetings.

On Fri, 18 May 2012 21:24:02 +0200 erik quanstrom quans...@labs.coraid.com 
wrote:
 On Fri May 18 12:30:56 EDT 2012, cinap_len...@gmx.de wrote:

 the web is not plan 9 compliant.

That's really offtopic.


Sincerely,

Christoph Lohmann




Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-17 Thread Jack Johnson
Quick tangent, is there anyone out there whose favorite environment is
non-native? Maybe 9vx or plan9ports on specific hardware? Your secret
sam port to Windows 8's Metro UI?

For all I know, plan9ports full screen on a MacBook Air is Glenda's
Elysian field. Maybe something dual-screen with Chrome on the next
monitor over. I know someone out there has a setup they've nestled
into and are slightly cringing at the thought of his or her next
machine or OS transition because right now life is good.

-Jack



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-17 Thread Charles Forsyth
Plan 9 doesn't run native on my last two notebooks (not handling wireless,
anyway), so I've been using an
older version of 9vx, which has been stable for years. I run it full
screen, on Ubuntu, mainly alternating between that and Chrome.
I'm tempted to try to get native working again for me, because I'm fed up
with Linux rolling back its ext4 file system
(by losing the journal when something goes wrong, which it has done,
silently).

On the rare occasions when I use Mac or Windows I use drawterm.

I run Plan 9 native on several server sets, though, and several ARMs.


Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-17 Thread Jack Norton

On 5/17/2012 10:41 AM, Jack Johnson wrote:

Quick tangent, is there anyone out there whose favorite environment is
non-native? Maybe 9vx or plan9ports on specific hardware? Your secret
sam port to Windows 8's Metro UI?

For all I know, plan9ports full screen on a MacBook Air is Glenda's
Elysian field. Maybe something dual-screen with Chrome on the next
monitor over. I know someone out there has a setup they've nestled
into and are slightly cringing at the thought of his or her next
machine or OS transition because right now life is good.

-Jack

All the things you describe here sound like a user interface hellscape. 
 Especially the macbook air and plan9port.  I'd rather use a slide rule 
and some cocktail napkins.
I drawterm to a few native/qemu-kvm servers and I've got a limping 
netbook that runs native.  More native to come.  I stay away from 
non-native plan9 tools.  They end up being frustrating to me.  My 
slackware installations already have unix tools.  Sometimes simplicity 
is better found using what you've got, rather than shoehorning some 
better solution into some unwilling host.


-jack



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-17 Thread Charles Forsyth
Oh. other jack's email reminds me: I have used qemu/kvm to debug x86
kernels before I run them native.
It's easier for instance than trying to run two machines on an aircraft,
though you can run two on a train.
I have got plan9ports on the notebooks, to provide some sane commands when
I have to run outside 9vx.
/bin/rc is one, but most of the GNU/Linux ones do bizarre things (using the
LANG= locale inappropriately, for a start).


Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-17 Thread Ethan Grammatikidis
On Thu, 17 May 2012 07:41:28 -0800
Jack Johnson knapj...@gmail.com wrote:

 Quick tangent, is there anyone out there whose favorite environment is
 non-native? Maybe 9vx or plan9ports on specific hardware? Your secret
 sam port to Windows 8's Metro UI?
 
 For all I know, plan9ports full screen on a MacBook Air is Glenda's
 Elysian field. Maybe something dual-screen with Chrome on the next
 monitor over. I know someone out there has a setup they've nestled
 into and are slightly cringing at the thought of his or her next
 machine or OS transition because right now life is good.

Heheh... I wouldn't say no to a MacBook Air but between 9vx and
drawterm, p9p is fast fading from my radar. I only use 9term any more
and that for the occasional locate or find command, or for git.
Sometimes I also sudo ed, but no more often than I sudo vi in an xterm.
I once found p9p acme run as root to be a great idea for configuring a
Linux system but there was a bug with win which reams the Linux pty
subsystem. I should roleplay less and get more involved with bug-fixing
and code, but I keep saying that. Also what Jack said.

Besides that, my Elysian field has namespaces. I love running one acme
(with plumber) per task, which afaik you can't do in p9p. It's not
quite the perfection of convenience, but anything I think of to improve
on it brings other inconveniences mostly related to window management.
The result is when I want to edit something non-root in Linux I
typically do so from drawterm. If it's root-owned and too large a
change for ed, I either sudo cp or (more usually) temporarily chown it.

As for usability, drawterm is a little buggy. It doesn't really like me
running a web browser and sometimes gets in a state where what's
visible doesn't correspond to what menus are appearing, but it hasn't
done that since I started shutting down the Linux box (and thus
drawterm) every day. Come to think of it 9vx actually gave me fewer
problems, but I never really tried running a web browser in it. Nothing
else in Plan 9 allocates such a large number of images as mothra and
abaco, afaik. I use abaco all the time for my roleplaying, btw, I like
it. It handles Simple Machines forums quite nicely, and most of my
comics too.



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-17 Thread Justin Bedo
 I use abaco all the time for my roleplaying, btw, I like
 it. It handles Simple Machines forums quite nicely, and most of my
 comics too.

I tried to use abaco but it doesn't seem to like google's website.
Clicking any of the results links shows a redirection error page from
google.  I haven't had any time to look into this problem yet.




Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-17 Thread Burton Samograd

 I tried to use abaco but it doesn't seem to like google's website.
 Clicking any of the results links shows a redirection error page from google.

Seconded.  Google searching is a pain using  abaco.

--
Burton Samograd



This e-mail, including accompanying communications and attachments, is strictly 
confidential and only for the intended recipient. Any retention, use or 
disclosure not expressly authorised by Markit is prohibited. This email is 
subject to all waivers and other terms at the following link: 
http://www.markit.com/en/about/legal/email-disclaimer.page

Please visit http://www.markit.com/en/about/contact/contact-us.page? for 
contact information on our offices worldwide.



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-17 Thread erik quanstrom
abaco was confused about how relative urls work.
i've attached the file i'm using (which has some
extra differences), and here's the diff

- erik

---

/n/dump/2012/0220/sys/src/cmd/abaco/urls.c:173,237 - urls.c:173,246
  void
  urlcanon(Rune *name)
  {
-   Rune *s, *t, *tail;
+   Rune *s, *e, *tail, tailr;
Rune **comp, **p, **q;
-   int rooted;
+   int n;
  
-   name = runestrchr(name, L'/')+2;
-   rooted = name[0]==L'/';
+   name = runestrstr(name, L://);
+   if(name == nil)
+   return;
+   name = runestrchr(name+3, '/');
+   if(name == nil)
+   return;
+   if(*name == L'/')
+   name++;
+ 
+   n = 0;
+   for(e = name; *e != 0; e++)
+   if(*e == L'/')
+   n++;
+   comp = emalloc((n+2)*sizeof *comp);
+ 
/*
 * Break the name into a list of components
 */
-   comp = emalloc(runestrlen(name)*sizeof *comp);
p = comp;
*p++ = name;
tail = nil;
-   for(s = name;; s++){
+   tailr = L'☺';   /* silence compiler */
+   for(s = name; *s != 0; s++){
if(*s == '?' || *s == '#'){
-   tail = s;
+   tail = s+1;
+   tailr = *s;
+   *s = 0;
break;
}
else if(*s == L'/'){
*p++ = s+1;
-   *s = '\0';
+   *s = 0;
}
-   else if(*s=='\0')
-   break;
}
-   *p=0;
+ 
/*
 * go through the component list, deleting components that are empty 
(except
-* the last component) or ., and any .. and its non-.. predecessor.
+* the last component) or ., and any .. and its predecessor.
 */
-   p=q=comp;
-   while(*p){
-   if(runestrcmp(*p, L)==0  p[1]!=0
-   || runestrcmp(*p, L.)==0)
-   p++;
-   else if(runestrcmp(*p, L..)==0  q!=comp  
runestrcmp(q[-1], L..)!=0){
-   --q;
-   p++;
-   }
+   for(p = q = comp; *p != nil; p++){
+   if(runestrcmp(*p, L) == 0  p[1] != nil
+   || runestrcmp(*p, L.) == 0)
+   continue;
+   else if(qcomp  runestrcmp(*p, L..) == 0  
runestrcmp(q[-1], L..) != 0)
+   q--;
else
-   *q++=*p++;
+   *q++ = *p;
}
-   *q = 0;
+   *q = nil;
+ 
/*
 * rebuild the path name
 */
s = name;
-   if(rooted)
-   *s++ = '/';
-   for(p = comp; *p; p++){
-   t = *p;
-   while(*t)
-   *s++ = *t++;
-   if(p[1] != 0)
-   *s++='/';
+   for(p = comp; pq; p++){
+   n = runestrlen(*p);
+   memmove(s, *p, sizeof(Rune)*n);
+   s += n;
+   if(p[1] != nil)
+   *s++ = '/';
}
+   *s = 0;
if(tail)
-   memmove(s, tail, runestrlen(tail));
-   *s = '\0';
+   runeseprint(s, e+1, %C%S, tailr, tail);
free(comp);
  }#include u.h
#include libc.h
#include draw.h
#include memdraw.h
#include thread.h
#include cursor.h
#include mouse.h
#include keyboard.h
#include frame.h
#include plumb.h
#include html.h
#include dat.h
#include fns.h

Url *
urlalloc(Runestr *src, Runestr *post, int m)
{
Url *u;

u = emalloc(sizeof(Url));
copyrunestr(u-src, src);
if(m==HPost)
copyrunestr(u-post, post);
u-method = m;
incref(u);
return u;
}

void
urlfree(Url *u)
{
if(u==nil || decref(u)  0)
return;

closerunestr(u-src);
closerunestr(u-act);
closerunestr(u-post);
closerunestr(u-ctype);
free(u);
}

Url *
urldup(Url *a)
{
Url *b;

b = emalloc(sizeof(Url));
b-method = a-method;
copyrunestr(b-src, a-src);
copyrunestr(b-act, a-act);
copyrunestr(b-post, a-post);
copyrunestr(b-ctype, a-ctype);
return b;
}

static Runestr
getattr(int conn, char *s)
{
char buf[BUFSIZE];
int fd, n;

snprint(buf, sizeof buf, %s/%d/%s, webmountpt, conn, s);
fd = open(buf, OREAD);
if(fd  0)
error(can't open attr file);

n = read(fd, buf, sizeof(buf)-1);
if(n  0)
error(can't read);

close(fd);
buf[n] = '\0';
return (Runestr){runesmprint(%s, buf), n};
}

// tired of typing http://, tired of going to google first.
void
justgoogleit(Url *u)
{
Rune *s;

s = ucvt(u-src.r+2);
free(u-src.r);
u-src.r = 
runesmprint(http://www.google.com/search?hl=enie=UTF-8q=%S;, 

Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-17 Thread Jack Norton

On 5/17/2012 12:31 PM, Justin Bedo wrote:

I use abaco all the time for my roleplaying, btw, I like
it. It handles Simple Machines forums quite nicely, and most of my
comics too.


I tried to use abaco but it doesn't seem to like google's website.
Clicking any of the results links shows a redirection error page from
google.  I haven't had any time to look into this problem yet.



This works in mothra with webfs.  I like mothra much better than abaco.
It is included in 9front, or alternatively grab it from the 9front 
google code page.  It uses 9front's webfs as well.


-Jack



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-17 Thread Justin Bedo
 This works in mothra with webfs.  I like mothra much better than abaco.
 It is included in 9front, or alternatively grab it from the 9front 
 google code page.  It uses 9front's webfs as well.

Yes I tried this, and it worked perfectly fine.  However I prefer the
abaco interface.  Is it possible to copy/paste in mothra?




Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-17 Thread sl
 Is it possible to copy/paste in mothra?

No. But it does have moth mode.

-sl



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-17 Thread Richard Miller
 Besides that, my Elysian field has namespaces.

+1




Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-17 Thread erik quanstrom
On Thu May 17 17:44:51 EDT 2012, 9f...@hamnavoe.com wrote:
  Besides that, my Elysian field has namespaces.
 
 +1

better than angry french motorists.

- erik



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-14 Thread Peter A. Cejchan
On Wed, May 9, 2012 at 4:44 PM, Vincent Zhao zhaoym1...@gmail.com wrote:
 I will buy laptop pre-installed with plan9, can my dream come true?


I have a working Thinkpad T23 with 1400x1050 video, for years. The
only trouble is that it needs a small program to restore video after
the lid was closed. Works great for me, and is not expensive today.
Best regards,

++pac



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-12 Thread cinap_lenrek
ok, i think i see now what happens. none of the usb controllers have a
PCMPintr entry in the bus. so what happens is that mpintrenable() calls
mpintrenablex() with the dummy ISA tbdf again assigning them irq 10
and 11. this succeeds with the first controller tried but fails with
following controllers sharing the same interrupt because the interrupt
was configured edge triggered for isa.

the ELCR register is 0xC00 so irq 10 and 11 should be level triggered no?

--
cinap



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-11 Thread erik quanstrom
 the multiple botch happens only when it tries isa tbdf and can probably
 ignored?
 
 i wonder why the first mpintrenablex() with the pci tbdf would fail. the
 only case where it would fail that way without leaving some other kernel
 print behind is when there is no matching pin (aintr-irq) entry in the 
 bus-aintr list no?
 
 that list is build from mp table. maybe should figure out the pin of these
 pci devices?

i'd dump the irq list next.  there's code in 9atom to present /dev/mpirq.

- erik



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-11 Thread cinap_lenrek
will do. btw, that cannot find southbridge is there forever. just
googled for PCI.255.31.7 or 255:31:7 and you get tons of results.
maybe that entry in the $PIR is just bogus/dummy?

--
cinap



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-10 Thread yang.zhao
Really? Wonderful..
Is there some docs for install Plan 9(more detail)?
x201 doesn't have a CD-ROM..
Thx.


2012/5/10 Justin Bedő c...@cua0.org

 I'm running it fine on an x201.

 On 10 May 2012 04:04, yang.zhao hckjs...@gmail.com wrote:
  Can Plan9 be installed on the Thinkpad x201i?
  Thanks.




-- 
K.I.S.S.


Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-10 Thread Justin Bedo
 Really? Wonderful..
 Is there some docs for install Plan 9(more detail)?
 x201 doesn't have a CD-ROM..

I actually used the docking station with a cdrom drive to install.  I
also needed the 9load from 9atom to get it to boot, though I'm
otherwise running a stock plan 9 from bell labs.  I tried to usb boot
out of curiosity, but it crashed during boot and as I had a working
cdrom drive I didn't put much effort into solving the problem.

I also might have been a little enthusiastic when I said fine.  The
MP tables are broken so you can't use the second core.  Other than
that the video works great as does ethernet.

There are installation instructions on the plan 9 website.

Justin




Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-10 Thread hiro
 http://en.wikipedia.org/wiki/Mini_PCI#Mini_PCI
 http://en.wikipedia.org/wiki/Pcmcia

ah. I confused mini pci express with expresscard.



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-10 Thread Charles Forsyth
On one of my Atoms I found that actually the problem (on that hardware) was
that Plan 9's memory probing was zapping one of the bytes in its tables,
preventing the second CPU from being seen. (PCMP changed to 0xCC CMP).
A recent change to pc/memory.c might have fixed that.

On 10 May 2012 09:53, Justin Bedo c...@cua0.org wrote:

 The
 MP tables are broken so you can't use the second core.



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-10 Thread tlaronde
  Really? Wonderful..
  Is there some docs for install Plan 9(more detail)?
  x201 doesn't have a CD-ROM..
 


   Installing Plan9 without a CD reader or a PXE boot.

Abstract

The Plan9 distribution is available for installation by the mean of a
bootable ISO image supposed to be burnt on a CDROM. But this image has
indeed all the pieces needed to realize an installation, without a CD
reader, or without a PXE boot.

What follows is an illustration of how to do without.

0. What was first? The egg or the goose? Well: the egg, that is some
BIOS.

In the following, the names will match the pc world; but, more or less,
there is a mapping between pc idiosynchrasies and something else
idiosynchrasies.

When a pc starts, it first initializes its hardware before giving the
hand to an user provided program---generally an operating system. But to
be able to hand over to something else, it has to know the rendez-vous
point. This BIOS entry point is a 512 bytes sector, that is a program,
and that is (for disks and like) the very first sector of the device.

On disks, it is called: MBR. It is a program with a signature (for basic
verification that it is indeed the expected program), and some data 
embedded: a partition table.

To be able to boot Plan9, the information has to be in the MBR, this
means that the first sector must be able to hand over to another program
(generally one sector size too) customized for Plan9.

Since the partition table has 4 entries, for things to work, the
MBR program must be able to read the partition table and load the
very first sector of one partition, whether because it is flagged:
ACTIVE, or because the MBR allows to select it. The only Plan9
peculiar thing in the MBR is not the program by itself (the MBR
provided by other systems will generally do the job), but a Plan9
entry in the partition table. 

Plan9 has to have a _primary_ partition (and not a secondary extended
---indirect---one that the bootstrapping blocks will not be able to
access).

Recommended reading: 9load(8).

1. Defining a Plan9 partition (MBR partition table).

As the name: partition, shall suggest, the 1 to 4 (max) primary
partitions shall realize a partition of the disk: the reunion covers the
whole disk; and there is no overlapping. One supplementary property: a
partition is declared by its type (magic number proper to the system),
its beginning and its size. This means that a partition defines a
continuous slice of sectors.

Since this partition table is what, due to hardware bootstrapping
design, is shared between different systems (multi-boot), the partition
shall declare what is each system realm in terms of space used on the
disk; and let others realms alone. (In what follows, since we will use
an already installed system to prepare for Plan9, this will be
relaxed---but as an exception and with caution.)

So the first step is to declare enough space for a Plan9 realm (for what
follows, since we do not reduce the size of the installed data and
declare 100Mb for the particular 9fat, say: 512Mb at least---this can be
reduced once you know how it works, or if you install only a terminal).
So declare a primary partition as a Plan9 : 0x39 type, with (here) at
least 512Mb. You can do that with whatever fdisk(8) is available on the
other system.

But do repeat: the Plan9 partition is a partition, that is do not have
any intersection (of data) with others. Plan9 can write whatever it
wants in its realm without risking overwriting others data.

Recommended reading: prep(8).

2. The Plan9 partition realm: its organization.

Fdisk(8) has declared a Plan9 realm. But this realm is, as far as
fdisk(8) and the MBR are concerned, just a continuous area of disks
blocks. There is no organization of the blocks; no data in the blocks.
It is a virgin (read: random) area.

So even if the Plan9 partition is declared active (or if the boot
process allows to select it), this will not magically work, since the
very first sector of the Plan9 partition is, at this moment, random
bytes, not a dedicated sector able to bootstrap Plan9.

We need so to organize a part of the realm the way Plan9 and the Plan9
bootstrapping process expects it to be.

The conditions that have to be met are the following:

1) The very beginning of the Plan9 partition coincides with the
beginning of a FAT12 or FAT16 subpartition.

2) This FAT has 2 reserved sectors: the first one is the classical FAT
sector; the second one will hold the informations about the Plan9
partition subpartionning.

3) The very first sector (of the Plan9 partition and so of the FAT too)
has a Plan9 PBS---a Plan9 bootstrapping block.

4) The volid field of the FAT first block is set with the address of
the beginning of the root dir.

5) The program 9load exists in the FAT and is the very first entry
in the root dir.

6) [Not necessary for bootstrapping] So that 5) remains true, the 9load
file must be tagged SYSTEM, so that it is not moved when updating.


Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-10 Thread erik quanstrom
 6) [Not necessary for bootstrapping] So that 5) remains true, the 9load
 file must be tagged SYSTEM, so that it is not moved when updating.

i originally read this incorrectly as from the prespective of dossrv(4);
in that case one would say ...

from the perspective of dossrv(4), the exclusive use flag tells dossrv
to try to keep the program contiguous on disk.  moving it around is
ok.

 3) The PBS [on an iso] has to bootstrap a diskette, so is not an LBA aware 
 one. On a
 disk, the Plan9 partition can be a far, far, far, far realm...

thanks to geoff's recent work, this isn't true anymore.  see mk9660(8)
and the -B flag.  i have no idea what *bsd tools would want to support this.

- erik



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-10 Thread erik quanstrom
On Thu May 10 05:06:15 EDT 2012, charles.fors...@gmail.com wrote:

 On one of my Atoms I found that actually the problem (on that hardware) was
 that Plan 9's memory probing was zapping one of the bytes in its tables,
 preventing the second CPU from being seen. (PCMP changed to 0xCC CMP).
 A recent change to pc/memory.c might have fixed that.
 

why wasn't your machine using the e820 map?

it's sort of dangerous to probe memory these days with all the magic regions.

- erik



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-10 Thread tlaronde
On Thu, May 10, 2012 at 07:47:49AM -0400, erik quanstrom wrote:
  6) [Not necessary for bootstrapping] So that 5) remains true, the 9load
  file must be tagged SYSTEM, so that it is not moved when updating.
 
 i originally read this incorrectly as from the prespective of dossrv(4);
 in that case one would say ...
 
 from the perspective of dossrv(4), the exclusive use flag tells dossrv
 to try to keep the program contiguous on disk.  moving it around is
 ok.

I'm not a DOS FS specialist but I would be cautious about this because
there may be some binaries that expect not only a file to be a
contiguous series of blocks, but to start precisely _here_.

 
  3) The PBS [on an iso] has to bootstrap a diskette, so is not an LBA aware 
  one. On a
  disk, the Plan9 partition can be a far, far, far, far realm...
 
 thanks to geoff's recent work, this isn't true anymore.  see mk9660(8)
 and the -B flag.  i have no idea what *bsd tools would want to support this.

Thanks, I will read the manpage and update the document when necessary.

-- 
Thierry Laronde tlaronde +AT+ polynum +dot+ com
  http://www.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-10 Thread erik quanstrom
  from the perspective of dossrv(4), the exclusive use flag tells dossrv
  to try to keep the program contiguous on disk.  moving it around is
  ok.
 
 I'm not a DOS FS specialist but I would be cautious about this because
 there may be some binaries that expect not only a file to be a
 contiguous series of blocks, but to start precisely _here_.

which binaries would those be?  there are only two that i can think of
pbs and dossrv.  pbs doesn't require that 9load be at a specific offset,
or the first entry.  see /sys/src/boot/pc/pbs.s

dossrv obviously doesn't care.

- erik



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-10 Thread tlaronde
On Thu, May 10, 2012 at 08:20:32AM -0400, erik quanstrom wrote:
   from the perspective of dossrv(4), the exclusive use flag tells dossrv
   to try to keep the program contiguous on disk.  moving it around is
   ok.
  
  I'm not a DOS FS specialist but I would be cautious about this because
  there may be some binaries that expect not only a file to be a
  contiguous series of blocks, but to start precisely _here_.
 
 which binaries would those be?  there are only two that i can think of
 pbs and dossrv.  pbs doesn't require that 9load be at a specific offset,
 or the first entry.  see /sys/src/boot/pc/pbs.s
 
 dossrv obviously doesn't care.

I don't speak about Plan9 utils. Since the document is how to do using
another system as a tool, I don't know if all the dos utils outside
Plan9 are like this (is there something as a DOS standard?). So I was
(I hope) careful to write only things that are true, not only under
Plan9, but under any host.

And for the binaries, I do not have in mind the Plan9 one, but the
example of GRUB: if what they call stage_1.5 is not here (the ability to
read a filesystem), the list of blocks to load is embedded in the
stage1. If one moves stage2, it is not bootable anymore.

So I'm just cautious not to say something that is only true under Plan9
and that the reader could take for granted elsewhere. Since I have in
the doc to take into account not only Plan9 in order to find a way to
install Plan9 from some OS already there.

Thanks,
-- 
Thierry Laronde tlaronde +AT+ polynum +dot+ com
  http://www.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-10 Thread Jens Staal
torsdagen den 10 maj 2012 12.19.51 skrev  tlaro...@polynum.com:
   Really? Wonderful..
   Is there some docs for install Plan 9(more detail)?
   x201 doesn't have a CD-ROM..
 
Installing Plan9 without a CD reader or a PXE boot.
 
 Abstract


Wow! Thanks. I probably need to look at this. I recently tried (and failed) to 
boot a plan9 iso via syslinux and memdisk to circumvent the issue with my 
CD/DVD reader failing at a certain point in the boot proces.

If anyone has instructions on making a bootable (install) usb for Plan9 (using 
syslinux + iso or other method), I would be very interested in this!. 
Preferrably a method that does not require Plan9 to already be installed...

Alternatively, a bootable usb (install) image that can be dd:ed to a usb would 
also work...





Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-10 Thread Jack Norton

On 5/10/2012 3:09 AM, yang.zhao wrote:

Really? Wonderful..
Is there some docs for install Plan 9(more detail)?
x201 doesn't have a CD-ROM..
Thx.


--
K.I.S.S.


The 9front bootloader can boot from a USB disk.  You can then throw a 
plan9 iso on the disk and go from there.

http://code.google.com/p/plan9front/wiki/usbboot

I'd think you would be able to use a lab's plan9 iso in place of the 
9front iso listed in that wiki. I've never tried so don't get crabby if 
it doesn't work.  It will work just fine however, as written.


-Jack



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-10 Thread cinap_lenrek
this simplifies building bootable cds.

the advantage being that your kernel doesnt need to fit
in that floppy image but can be just any file on the iso
filesystem. that way theres no need to strip debug symbols
and compress the kernel. in 9front, we use the same 9pcf
kernel on all boot media.

9load has to die.

--
cinap



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-10 Thread tlaronde
On Thu, May 10, 2012 at 02:47:21PM +0200, Jens Staal wrote:
 
 If anyone has instructions on making a bootable (install) usb for Plan9 
 (using 
 syslinux + iso or other method), I would be very interested in this!. 
 Preferrably a method that does not require Plan9 to already be installed...
 
 Alternatively, a bootable usb (install) image that can be dd:ed to a usb 
 would 
 also work...

I have written done the method I used in my context. But I think you can
customize this---the only thing to know is the layout of the Plan9
realm; once this is grasped, there is always a way to do...

Cheers,
-- 
Thierry Laronde tlaronde +AT+ polynum +dot+ com
  http://www.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-10 Thread tlaronde
On Thu, May 10, 2012 at 03:31:14PM +0200, cinap_len...@gmx.de wrote:
 
 9load has to die.

Ideally, yes. I worked, a long time ago, with GRUB and finally realized
that adding feature after feature we were just building another
kernel...
-- 
Thierry Laronde tlaronde +AT+ polynum +dot+ com
  http://www.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-10 Thread Charles Forsyth
If you're using USB, why would you bother with ISO format?

On 10 May 2012 13:57, Jack Norton j...@0x6a.com wrote:

 The 9front bootloader can boot from a USB disk.  You can then throw a
 plan9 iso on the disk and go from there.


Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-10 Thread Jack Norton

On 5/10/2012 10:15 AM, Charles Forsyth wrote:

If you're using USB, why would you bother with ISO format?

On 10 May 2012 13:57, Jack Norton j...@0x6a.com mailto:j...@0x6a.com
wrote:

The 9front bootloader can boot from a USB disk.  You can then throw
a plan9 iso on the disk and go from there.




Just pure convenience I suppose.  And by that I of course mean lazyness. 
 Chances are I've got an iso laying around and would ensure me a fresh 
install.
Well, I'm done defending that ISO idea.  6 of 1, half dozen of another I 
suppose.


-Jack



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-10 Thread Charles Forsyth
ok. I wanted to check there wasn't some horrible PC-related restriction.


Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-10 Thread David du Colombier
 If anyone has instructions on making a bootable (install) usb for
 Plan9 (using syslinux + iso or other method), I would be very
 interested in this!. Preferrably a method that does not require Plan9
 to already be installed...
 
 Alternatively, a bootable usb (install) image that can be dd:ed to a
 usb would also work...

You can easily make an bootable Plan 9 USB image by
reading the instructions in mkusbboot(8) and the
/rc/bin/mkusbboot script.

For example, this is how I do it:

http://www.9legacy.org/9legacy/doc/fossil/usb

If you want the installer, you can add the 9pcflop
image, by compiling it yourself or extracting it from
the bootdisk.img included on the Plan 9 CD image.
Then the Fossil file system could be used as an
installation source.

You can make it from Plan 9 or from Unix, using 9vx,
it doesn't matters.

I have an old (2012-01-23) Plan 9 USB image,
available here:

http://www.9legacy.org/download/plan9-usb.img.bz2

I will probably update it soon and I could add the
9pcflop installation image if you wish.

-- 
David du Colombier



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-10 Thread Iruatã Souza
On Thu, May 10, 2012 at 11:26 AM,  tlaro...@polynum.com wrote:
 On Thu, May 10, 2012 at 03:31:14PM +0200, cinap_len...@gmx.de wrote:

 9load has to die.

 Ideally, yes. I worked, a long time ago, with GRUB and finally realized
 that adding feature after feature we were just building another
 kernel...

In practice too. In fact, 9front has removed 9load since forever, and
we are much better this way.



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-10 Thread erik quanstrom
 mpintrenable: multiple botch irq 11, tbdf 500, lo 0068, n 0068 
 mpintrenable: out of choices eisa -1 isa 22 tbdf 0xc00d100 irq 11 
 intrenable: couldn't enable irq 11, tbdf 0xC00D100 for usbuhci 
 mpintrenable: multiple botch irq 11, tbdf 500, lo 0068, n 0068 
 mpintrenable: out of choices eisa -1 isa 22 tbdf 0xc00e900 irq 11 
 intrenable: couldn't enable irq 11, tbdf 0xC00E900 for usbuhci 
 mpintrenable: multiple botch irq 11, tbdf 500, lo 0068, n 0068 
 mpintrenable: out of choices eisa -1 isa 22 tbdf 0xc00ea00 irq 11 
 intrenable: couldn't enable irq 11, tbdf 0xC00EA00 for usbuhci 
 mpintrenable: multiple botch irq 11, tbdf 500, lo 0068, n 0068 
 mpintrenable: out of choices eisa -1 isa 22 tbdf 0xc00d700 irq 11 
 intrenable: couldn't enable irq 11, tbdf 0xC00D700 for usbehci 
 mpintrenable: multiple botch irq 11, tbdf 500, lo 0068, n 0068 
 mpintrenable: out of choices eisa -1 isa 22 tbdf 0xc00ef00 irq 11 
 intrenable: couldn't enable irq 11, tbdf 0xC00EF00 for usbehci 3063M memory: 
 148M kernel data, 2915M user, 3540M swap 

what's going on with this?  it looks like the same device is being considered
with various tbdfs.

- erik



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-10 Thread cinap_lenrek
0.26.0: usb  0c.03.00 8086/2834  11 4:1861 32
Intel Corporation
0.26.1: usb  0c.03.00 8086/2835  11 4:1881 32 - failed
Intel Corporation
0.26.7: usb  0c.03.20 8086/283a  11 0:fe226c00 1024 - failed
Intel Corporation 81EC1043 (?) ICH8 Enhanced USB2 Enhanced Host 
Controller
0.29.0: usb  0c.03.00 8086/2830  10 4:18a1 32
Intel Corporation
0.29.1: usb  0c.03.00 8086/2831  11 4:18c1 32 - failed
Intel Corporation
0.29.2: usb  0c.03.00 8086/2832  11 4:18e1 32 - failed 
Intel Corporation
0.29.7: usb  0c.03.20 8086/2836  11 0:fe227000 1024 - failed
Intel Corporation

--
cinap



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-10 Thread erik quanstrom
On Thu May 10 17:42:46 EDT 2012, cinap_len...@gmx.de wrote:
 0.26.0:   usb  0c.03.00 8086/2834  11 4:1861 32
   Intel Corporation
 0.26.1:   usb  0c.03.00 8086/2835  11 4:1881 32 - failed
   Intel Corporation
 0.26.7:   usb  0c.03.20 8086/283a  11 0:fe226c00 1024 - failed
   Intel Corporation 81EC1043 (?) ICH8 Enhanced USB2 Enhanced Host 
 Controller
 0.29.0:   usb  0c.03.00 8086/2830  10 4:18a1 32
   Intel Corporation
 0.29.1:   usb  0c.03.00 8086/2831  11 4:18c1 32 - failed
   Intel Corporation
 0.29.2:   usb  0c.03.00 8086/2832  11 4:18e1 32 - failed 
   Intel Corporation
 0.29.7:   usb  0c.03.20 8086/2836  11 0:fe227000 1024 - failed
   Intel Corporation

so the question is, why were they tried as ISA.0.0.0?  (that is, 0x0500)
or is the output misleading.

any chance the pin routing is messing things up?  in nix, we wildcard any
intel southbridge and apply intel remapping.  i noticed this particular board's
southbridge wasn't recognized.

from what i've seen, usb is always pci and never supports msi.  i suspect
that the standard precludes edge-triggered interrupts, but i haven't
verified this.

- erik



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-10 Thread cinap_lenrek
from reading the source, it looks like mpintrenable() just tries isa
if everything else fails:

tbdf = v-tbdf;
if(tbdf != BUSUNKNOWN  (vno = mpintrenablex(v, tbdf)) != -1)
return vno;

...
if(mpisabus != -1){
vno = mpintrenablex(v, MKBUS(BusISA, 0, 0, 0));
if(vno != -1)
return vno;
}
print(mpintrenable: out of choices eisa %d isa %d tbdf %#ux irq %d\n,
mpeisabus, mpisabus, v-tbdf, v-irq);
return -1;

the multiple botch happens only when it tries isa tbdf and can probably
ignored?

i wonder why the first mpintrenablex() with the pci tbdf would fail. the
only case where it would fail that way without leaving some other kernel
print behind is when there is no matching pin (aintr-irq) entry in the 
bus-aintr list no?

that list is build from mp table. maybe should figure out the pin of these
pci devices?

--
cinap



[9fans] I will buy laptop pre-installed with plan9!!!

2012-05-09 Thread Vincent Zhao
I will buy laptop pre-installed with plan9, can my dream come true?



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-09 Thread Burton Samograd
Along these lines, is there a recommendation for the best laptop for running 
plan9?  Ie. Native video, working Ethernet/wifi, no hassles with HW 
compatibility, etc.  One every system I've tried there's always been something 
that has gone wrong, so I'm hoping that the wisdom of this list will direct me 
towards and fully working version, even if it's not the most modern technology.

Thank you.

-Original Message-
From: 9fans-boun...@9fans.net [mailto:9fans-boun...@9fans.net] On Behalf Of 
Vincent Zhao
Sent: Wednesday, May 09, 2012 8:44 AM
To: 9fans@9fans.net
Subject: [9fans] I will buy laptop pre-installed with plan9!!!

I will buy laptop pre-installed with plan9, can my dream come true?


This e-mail, including accompanying communications and attachments, is strictly 
confidential and only for the intended recipient. Any retention, use or 
disclosure not expressly authorised by Markit is prohibited. This email is 
subject to all waivers and other terms at the following link: 
http://www.markit.com/en/about/legal/email-disclaimer.page

Please visit http://www.markit.com/en/about/contact/contact-us.page? for 
contact information on our offices worldwide.



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-09 Thread John Floren
A Thinkpad X60 or X61 works great and is very light, too.

john

On Wed, May 9, 2012 at 8:04 AM, Burton Samograd
burton.samog...@markit.com wrote:
 Along these lines, is there a recommendation for the best laptop for running 
 plan9?  Ie. Native video, working Ethernet/wifi, no hassles with HW 
 compatibility, etc.  One every system I've tried there's always been 
 something that has gone wrong, so I'm hoping that the wisdom of this list 
 will direct me towards and fully working version, even if it's not the most 
 modern technology.

 Thank you.

 -Original Message-
 From: 9fans-boun...@9fans.net [mailto:9fans-boun...@9fans.net] On Behalf Of 
 Vincent Zhao
 Sent: Wednesday, May 09, 2012 8:44 AM
 To: 9fans@9fans.net
 Subject: [9fans] I will buy laptop pre-installed with plan9!!!

 I will buy laptop pre-installed with plan9, can my dream come true?


 This e-mail, including accompanying communications and attachments, is 
 strictly confidential and only for the intended recipient. Any retention, use 
 or disclosure not expressly authorised by Markit is prohibited. This email is 
 subject to all waivers and other terms at the following link: 
 http://www.markit.com/en/about/legal/email-disclaimer.page

 Please visit http://www.markit.com/en/about/contact/contact-us.page? for 
 contact information on our offices worldwide.




Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-09 Thread sl
 A Thinkpad X60 or X61 works great and is very light, too.

I have an X61T that works great with 9front. The T61 is also
a good choice (almost identical hardware to the X61T, but with
no tablet and a 14 1280x800 screen). Some caveats:

- There are no known working Mini PCI Express wifi cards
- apm is not functional

Hardware stats on the T61:

% cd '#ec'; for(i in *){echo $i '=' `{cat $i}}
*msi = 1
bootargs = local!/dev/sdE0/fscache
bootfile = 9pccpufi
e820 =  0009d800 0010 bf6b 
0001 00013c00
monitor = vesa
mouseport = ps2intellimouse
nvram = /dev/sdE0/nvram
vgasize = 1280x800x32

% cat '#'P/archctl
cpu Xeon5000-series 1995 pge
pge on
coherence mfence
cmpswap cmpswap486
i8253set on
cache default uc
cache 0xc000 1073741824 uc
cache 0x13c00 67108864 uc
cache 0x0 4294967296 wb
cache 0x1 1073741824 wb
cache 0xbf70 1048576 uc
cache 0xbf80 8388608 uc

% cat '#'P/irqalloc
  3   0 debugpt
  7   0 mathemu
  8   0 doublefault
  9   0 mathover
 14   0 fault386
 15   0 unexpected
 16   0 matherror
 50  18 clock
 51  19 lapicerror
 63  31 lapicspurious
 72   1 kbd
 80  11 ether0
 88  11 hda
 96   6 floppy
104  11 usbuhci
112  10 usbuhci
120  14 sdC (ide)
128  10 sdE (ahci)

% cat '#'P/ioalloc
   0f dma 
  20   21 i8259.0 
  40   43 i8253   
  60   60 kbd 
  61   61 i8253.cntr2c
  64   64 kbd 
  70   71 rtc/nvr 
  80   8f dma 
  a0   a1 i8259.1 
  d0   df dma 
 1f0  1f7 atacmd  
 2b0  2df vga 
 3c0  3da vga 
 3e0  3e1 i82365.0
 3f0  3f5 floppy  
 3f6  3f6 atactl  
 3f7  3f7 floppy  
 fff  fff dummy   
1860 187f usbuhci 
1880 189f usbuhci 
18a0 18bf usbuhci 
18c0 18df usbuhci 
18e0 18ff usbuhci 

% cat '#'c/config
# pccpuf - pc cpu server with local disk
dev
root
cons
arch
pnp pci
env
pipe
proc
mnt
srv
shr
dup
rtc
ssl
tls
bridge  log
sdp thwack unthwack
cap
kprof
fs

ether   netif
ip  arp chandial ip ipv6 ipaux iproute netlog nullmedium 
pktmedium ptclbsum386 inferno

drawscreen vga vgax
mouse   mouse
kbd
vga

sd
audio   dma
floppy  dma
aoe

uart
usb

link
segdesc
devpccard
devi82365
apm apmjump
ether2000   ether8390
ether2114x  pci
ether589etherelnk3
ether79c970 pci
ether8003   ether8390
ether8139   pci
ether8169   pci ethermii
ether82543gcpci
ether82563  pci
ether82557  pci
ether83815  pci
etherdp83820pci
etherbcmpci
etherec2t   ether8390
etherelnk3  pci
etherga620  pci
etherigbe   pci ethermii
ethervgbe   pci ethermii
ethervt6102 pci ethermii
ethervt6105mpci ethermii
#   etherm10g   pci
ethersink
ethersmcdevi82365 cis
etherwavelanwavelan devi82365 cis pci
ethermedium
netdevmedium
loopbackmedium
usbuhci
usbohci
usbehci usbehcipc

audiosb16   dma
audioac97   audioac97mix
audiohda

misc
archmp  mp apic
mtrr

uarti8250
uartpci pci

sdaoe
sdide   pci sdscsi
sd53c8xxpci sdscsi
sdmylex pci sdscsi
sdiahci pci sdscsi led
sdodin  pci sdscsi led
sdvirtiopci sdscsi
sdloop

vga3dfx +cur
vgaark2000pv+cur
vgabt485=cur
vgaclgd542x +cur
vgaclgd546x +cur
vgact65545  +cur
vgacyber938x+cur
vgaet4000   +cur
vgageode+cur
vgahiqvideo +cur
vgai81x +cur
vgamach64xx +cur
vgamga2164w +cur
vgamga4xx   +cur
vganeomagic +cur
vganvidia   +cur
vgargb524   =cur
vgas3   +cur vgasavage
vgat2r4 +cur
vgatvp3020  =cur

Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-09 Thread Alexander Kapshuk

On 05/09/2012 05:44 PM, Vincent Zhao wrote:

I will buy laptop pre-installed with plan9, can my dream come true?

   

Toshiba Portege M300. Everything but wifi works as expected.




Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-09 Thread sl
Thinkpad T23 is the canonical Plan 9 laptop. Everything I've tried
on it works: apm, sound, wifi. The Actiontec 800MIP (branded WaveLAN)
wifi card it ships with actually works.

Thinkpad T42 is likewise well supported. The wifi card(s) it shipped
with did not work for me, but its Mini PCI slot is compatible with
the Actiontec 800MIP from the T23. Note: replacing the wifi card
requires completely disassembling the laptop. Many screws.

Another option for wifi is PCMCIA, which has the benefit of being
available on almost all laptops. However, I've not had great luck.
The WaveLAN PC24E-H-FC works, but exhibits abysmal performance.
Other WaveLAN PCMCIA cards I've tried have not worked at all. I'm
not certain if this owes to incompatibility or faulty hardware.
It's also possible that support for the specific PCMCIA controllers
in my various laptops is buggy.

-sl



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-09 Thread erik quanstrom
 Another option for wifi is PCMCIA, which has the benefit of being
 available on almost all laptops. However, I've not had great luck.

not so much anymore.

- erik



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-09 Thread Burton Samograd
What do you think the compatibility of getting an Actiontech 800MiP card and 
using it in an X60?  I like the form factor of the X60 plus the better specs, 
I'm just not sure if it also uses the same Mini PCI slot of the T23.

--
Burton Samograd

-Original Message-
From: 9fans-boun...@9fans.net [mailto:9fans-boun...@9fans.net] On Behalf Of 
s...@9front.org
Sent: Wednesday, May 09, 2012 10:29 AM
To: 9fans@9fans.net
Subject: Re: [9fans] I will buy laptop pre-installed with plan9!!!

Thinkpad T23 is the canonical Plan 9 laptop. Everything I've tried on it works: 
apm, sound, wifi. The Actiontec 800MIP (branded WaveLAN) wifi card it ships 
with actually works.

Thinkpad T42 is likewise well supported. The wifi card(s) it shipped with did 
not work for me, but its Mini PCI slot is compatible with the Actiontec 800MIP 
from the T23. Note: replacing the wifi card requires completely disassembling 
the laptop. Many screws.

Another option for wifi is PCMCIA, which has the benefit of being available on 
almost all laptops. However, I've not had great luck.
The WaveLAN PC24E-H-FC works, but exhibits abysmal performance.
Other WaveLAN PCMCIA cards I've tried have not worked at all. I'm not certain 
if this owes to incompatibility or faulty hardware.
It's also possible that support for the specific PCMCIA controllers in my 
various laptops is buggy.

-sl


This e-mail, including accompanying communications and attachments, is strictly 
confidential and only for the intended recipient. Any retention, use or 
disclosure not expressly authorised by Markit is prohibited. This email is 
subject to all waivers and other terms at the following link: 
http://www.markit.com/en/about/legal/email-disclaimer.page

Please visit http://www.markit.com/en/about/contact/contact-us.page? for 
contact information on our offices worldwide.



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-09 Thread Burton Samograd
Also, all I can find on ebay is the 802MiP which looks to be a wifi/modem 
combo.  Any idea if this is compatible with the 800MiP?

--
Burton Samograd

-Original Message-
From: 9fans-boun...@9fans.net [mailto:9fans-boun...@9fans.net] On Behalf Of 
Burton Samograd
Sent: Wednesday, May 09, 2012 10:40 AM
To: Fans of the OS Plan 9 from Bell Labs
Subject: Re: [9fans] I will buy laptop pre-installed with plan9!!!

What do you think the compatibility of getting an Actiontech 800MiP card and 
using it in an X60?  I like the form factor of the X60 plus the better specs, 
I'm just not sure if it also uses the same Mini PCI slot of the T23.

--
Burton Samograd

-Original Message-
From: 9fans-boun...@9fans.net [mailto:9fans-boun...@9fans.net] On Behalf Of 
s...@9front.org
Sent: Wednesday, May 09, 2012 10:29 AM
To: 9fans@9fans.net
Subject: Re: [9fans] I will buy laptop pre-installed with plan9!!!

Thinkpad T23 is the canonical Plan 9 laptop. Everything I've tried on it works: 
apm, sound, wifi. The Actiontec 800MIP (branded WaveLAN) wifi card it ships 
with actually works.

Thinkpad T42 is likewise well supported. The wifi card(s) it shipped with did 
not work for me, but its Mini PCI slot is compatible with the Actiontec 800MIP 
from the T23. Note: replacing the wifi card requires completely disassembling 
the laptop. Many screws.

Another option for wifi is PCMCIA, which has the benefit of being available on 
almost all laptops. However, I've not had great luck.
The WaveLAN PC24E-H-FC works, but exhibits abysmal performance.
Other WaveLAN PCMCIA cards I've tried have not worked at all. I'm not certain 
if this owes to incompatibility or faulty hardware.
It's also possible that support for the specific PCMCIA controllers in my 
various laptops is buggy.

-sl


This e-mail, including accompanying communications and attachments, is strictly 
confidential and only for the intended recipient. Any retention, use or 
disclosure not expressly authorised by Markit is prohibited. This email is 
subject to all waivers and other terms at the following link: 
http://www.markit.com/en/about/legal/email-disclaimer.page

Please visit http://www.markit.com/en/about/contact/contact-us.page? for 
contact information on our offices worldwide.


This e-mail, including accompanying communications and attachments, is strictly 
confidential and only for the intended recipient. Any retention, use or 
disclosure not expressly authorised by Markit is prohibited. This email is 
subject to all waivers and other terms at the following link: 
http://www.markit.com/en/about/legal/email-disclaimer.page

Please visit http://www.markit.com/en/about/contact/contact-us.page? for 
contact information on our offices worldwide.



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-09 Thread sl
 What do you think the compatibility of getting an Actiontech
 800MiP card and using it in an X60?

ThinkWiki says the X60 is Mini PCI Express, not Mini PCI.
Unfortunately, the cards are not compatible. You could try
to acquire a WaveLAN PC24E-H-FC.

-sl



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-09 Thread sl
 Also, all I can find on ebay is the 802MiP which looks to be
 a wifi/modem combo.  Any idea if this is compatible with the
 800MiP?

No idea.

-sl



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-09 Thread sl
Another possibility for wifi would be something like the
VAP11G wifi bridge dongle. These are small devices that
bridge an Ethernet port to wifi. Note: I've never actually
used one.

-sl



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-09 Thread Burton Samograd
I remember reading a while back that plan9 didn't support more than 1.7G of 
memory.  Is this still the case?

-Original Message-
From: 9fans-boun...@9fans.net [mailto:9fans-boun...@9fans.net] On Behalf Of 
s...@9front.org
Sent: Wednesday, May 09, 2012 9:57 AM
To: 9fans@9fans.net
Subject: Re: [9fans] I will buy laptop pre-installed with plan9!!!

 A Thinkpad X60 or X61 works great and is very light, too.

I have an X61T that works great with 9front. The T61 is also a good choice 
(almost identical hardware to the X61T, but with no tablet and a 14 1280x800 
screen). Some caveats:

- There are no known working Mini PCI Express wifi cards
- apm is not functional

Hardware stats on the T61:

% cd '#ec'; for(i in *){echo $i '=' `{cat $i}} *msi = 1 bootargs = 
local!/dev/sdE0/fscache bootfile = 9pccpufi
e820 =  0009d800 0010 bf6b 
0001 00013c00 monitor = vesa mouseport = ps2intellimouse 
nvram = /dev/sdE0/nvram vgasize = 1280x800x32

% cat '#'P/archctl
cpu Xeon5000-series 1995 pge
pge on
coherence mfence
cmpswap cmpswap486
i8253set on
cache default uc
cache 0xc000 1073741824 uc
cache 0x13c00 67108864 uc
cache 0x0 4294967296 wb
cache 0x1 1073741824 wb
cache 0xbf70 1048576 uc
cache 0xbf80 8388608 uc

% cat '#'P/irqalloc
  3   0 debugpt
  7   0 mathemu
  8   0 doublefault
  9   0 mathover
 14   0 fault386
 15   0 unexpected
 16   0 matherror
 50  18 clock
 51  19 lapicerror
 63  31 lapicspurious
 72   1 kbd
 80  11 ether0
 88  11 hda
 96   6 floppy
104  11 usbuhci
112  10 usbuhci
120  14 sdC (ide)
128  10 sdE (ahci)

% cat '#'P/ioalloc
   0f dma
  20   21 i8259.0
  40   43 i8253
  60   60 kbd
  61   61 i8253.cntr2c
  64   64 kbd
  70   71 rtc/nvr
  80   8f dma
  a0   a1 i8259.1
  d0   df dma
 1f0  1f7 atacmd
 2b0  2df vga
 3c0  3da vga
 3e0  3e1 i82365.0
 3f0  3f5 floppy
 3f6  3f6 atactl
 3f7  3f7 floppy
 fff  fff dummy
1860 187f usbuhci
1880 189f usbuhci
18a0 18bf usbuhci
18c0 18df usbuhci
18e0 18ff usbuhci

% cat '#'c/config
# pccpuf - pc cpu server with local disk dev
root
cons
arch
pnp pci
env
pipe
proc
mnt
srv
shr
dup
rtc
ssl
tls
bridge  log
sdp thwack unthwack
cap
kprof
fs

ether   netif
ip  arp chandial ip ipv6 ipaux iproute netlog nullmedium 
pktmedium ptclbsum386 inferno

drawscreen vga vgax
mouse   mouse
kbd
vga

sd
audio   dma
floppy  dma
aoe

uart
usb

link
segdesc
devpccard
devi82365
apm apmjump
ether2000   ether8390
ether2114x  pci
ether589etherelnk3
ether79c970 pci
ether8003   ether8390
ether8139   pci
ether8169   pci ethermii
ether82543gcpci
ether82563  pci
ether82557  pci
ether83815  pci
etherdp83820pci
etherbcmpci
etherec2t   ether8390
etherelnk3  pci
etherga620  pci
etherigbe   pci ethermii
ethervgbe   pci ethermii
ethervt6102 pci ethermii
ethervt6105mpci ethermii
#   etherm10g   pci
ethersink
ethersmcdevi82365 cis
etherwavelanwavelan devi82365 cis pci
ethermedium
netdevmedium
loopbackmedium
usbuhci
usbohci
usbehci usbehcipc

audiosb16   dma
audioac97   audioac97mix
audiohda

misc
archmp  mp apic
mtrr

uarti8250
uartpci pci

sdaoe
sdide   pci sdscsi
sd53c8xxpci sdscsi
sdmylex pci sdscsi
sdiahci pci sdscsi led
sdodin  pci sdscsi led
sdvirtiopci sdscsi
sdloop

vga3dfx +cur
vgaark2000pv+cur
vgabt485=cur
vgaclgd542x +cur
vgaclgd546x +cur
vgact65545  +cur
vgacyber938x+cur
vgaet4000   +cur
vgageode+cur
vgahiqvideo +cur
vgai81x +cur
vgamach64xx +cur
vgamga2164w +cur

Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-09 Thread erik quanstrom
plan 9 supports up to 4g of memory, depending on the
size of pci space, and 3.75g per process.

- erik



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-09 Thread Burton Samograd
 I have an X61T...

Do you mean an X61s?  I see no reference to the X61T on the ThinkWiki.

--
Burton Samograd

-Original Message-
From: 9fans-boun...@9fans.net [mailto:9fans-boun...@9fans.net] On Behalf Of 
s...@9front.org
Sent: Wednesday, May 09, 2012 9:57 AM
To: 9fans@9fans.net
Subject: Re: [9fans] I will buy laptop pre-installed with plan9!!!

 A Thinkpad X60 or X61 works great and is very light, too.

I have an X61T that works great with 9front. The T61 is also a good choice 
(almost identical hardware to the X61T, but with no tablet and a 14 1280x800 
screen). Some caveats:

- There are no known working Mini PCI Express wifi cards
- apm is not functional

Hardware stats on the T61:

% cd '#ec'; for(i in *){echo $i '=' `{cat $i}} *msi = 1 bootargs = 
local!/dev/sdE0/fscache bootfile = 9pccpufi
e820 =  0009d800 0010 bf6b 
0001 00013c00 monitor = vesa mouseport = ps2intellimouse 
nvram = /dev/sdE0/nvram vgasize = 1280x800x32

% cat '#'P/archctl
cpu Xeon5000-series 1995 pge
pge on
coherence mfence
cmpswap cmpswap486
i8253set on
cache default uc
cache 0xc000 1073741824 uc
cache 0x13c00 67108864 uc
cache 0x0 4294967296 wb
cache 0x1 1073741824 wb
cache 0xbf70 1048576 uc
cache 0xbf80 8388608 uc

% cat '#'P/irqalloc
  3   0 debugpt
  7   0 mathemu
  8   0 doublefault
  9   0 mathover
 14   0 fault386
 15   0 unexpected
 16   0 matherror
 50  18 clock
 51  19 lapicerror
 63  31 lapicspurious
 72   1 kbd
 80  11 ether0
 88  11 hda
 96   6 floppy
104  11 usbuhci
112  10 usbuhci
120  14 sdC (ide)
128  10 sdE (ahci)

% cat '#'P/ioalloc
   0f dma
  20   21 i8259.0
  40   43 i8253
  60   60 kbd
  61   61 i8253.cntr2c
  64   64 kbd
  70   71 rtc/nvr
  80   8f dma
  a0   a1 i8259.1
  d0   df dma
 1f0  1f7 atacmd
 2b0  2df vga
 3c0  3da vga
 3e0  3e1 i82365.0
 3f0  3f5 floppy
 3f6  3f6 atactl
 3f7  3f7 floppy
 fff  fff dummy
1860 187f usbuhci
1880 189f usbuhci
18a0 18bf usbuhci
18c0 18df usbuhci
18e0 18ff usbuhci

% cat '#'c/config
# pccpuf - pc cpu server with local disk dev
root
cons
arch
pnp pci
env
pipe
proc
mnt
srv
shr
dup
rtc
ssl
tls
bridge  log
sdp thwack unthwack
cap
kprof
fs

ether   netif
ip  arp chandial ip ipv6 ipaux iproute netlog nullmedium 
pktmedium ptclbsum386 inferno

drawscreen vga vgax
mouse   mouse
kbd
vga

sd
audio   dma
floppy  dma
aoe

uart
usb

link
segdesc
devpccard
devi82365
apm apmjump
ether2000   ether8390
ether2114x  pci
ether589etherelnk3
ether79c970 pci
ether8003   ether8390
ether8139   pci
ether8169   pci ethermii
ether82543gcpci
ether82563  pci
ether82557  pci
ether83815  pci
etherdp83820pci
etherbcmpci
etherec2t   ether8390
etherelnk3  pci
etherga620  pci
etherigbe   pci ethermii
ethervgbe   pci ethermii
ethervt6102 pci ethermii
ethervt6105mpci ethermii
#   etherm10g   pci
ethersink
ethersmcdevi82365 cis
etherwavelanwavelan devi82365 cis pci
ethermedium
netdevmedium
loopbackmedium
usbuhci
usbohci
usbehci usbehcipc

audiosb16   dma
audioac97   audioac97mix
audiohda

misc
archmp  mp apic
mtrr

uarti8250
uartpci pci

sdaoe
sdide   pci sdscsi
sd53c8xxpci sdscsi
sdmylex pci sdscsi
sdiahci pci sdscsi led
sdodin  pci sdscsi led
sdvirtiopci sdscsi
sdloop

vga3dfx +cur
vgaark2000pv+cur
vgabt485=cur
vgaclgd542x +cur
vgaclgd546x +cur
vgact65545  +cur
vgacyber938x+cur
vgaet4000   +cur
vgageode+cur
vgahiqvideo +cur
vgai81x +cur
vgamach64xx +cur
vgamga2164w +cur

Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-09 Thread sl
http://www.thinkwiki.org/wiki/Category:X61_Tablet

-sl



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-09 Thread John Floren
I've got one of those with the 1400x1050 display, it runs Plan 9 well,
looks great, and has a fantastic screen.

john

On Wed, May 9, 2012 at 12:18 PM,  s...@9front.org wrote:
 http://www.thinkwiki.org/wiki/Category:X61_Tablet

 -sl




Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-09 Thread hiro
 ThinkWiki says the X60 is Mini PCI Express, not Mini PCI.

mhm, isn't mini pci express the newer smaller slot? I have an X60 and
it has the old large slot which I think is called PCMCIA



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-09 Thread sl
  ThinkWiki says the X60 is Mini PCI Express, not Mini PCI.

 mhm, isn't mini pci express the newer smaller slot? I have an X60 and
 it has the old large slot which I think is called PCMCIA

http://en.wikipedia.org/wiki/Mini_PCI#Mini_PCI
http://en.wikipedia.org/wiki/Pcmcia

-sl



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-09 Thread yang.zhao
Can Plan9 be installed on the Thinkpad x201i?
Thanks.

2012/5/10 s...@9front.org

   ThinkWiki says the X60 is Mini PCI Express, not Mini PCI.
 
  mhm, isn't mini pci express the newer smaller slot? I have an X60 and
  it has the old large slot which I think is called PCMCIA

 http://en.wikipedia.org/wiki/Mini_PCI#Mini_PCI
 http://en.wikipedia.org/wiki/Pcmcia

 -sl




-- 
K.I.S.S.


Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-09 Thread andrey mirtchovski
 Can Plan9 be installed on the Thinkpad x201i?
 Thanks.


It works in RubeGoldberg 2.2 but will not autocompile freeway
scuzzmonkey merge svn commitshare javahunk.

// could not resist, apologies all round.



Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-09 Thread Tristan
 I will buy laptop pre-installed with plan9, can my dream come true?

I'm trying to make it. Though more a programmer's tablet than a laptop.

Take care,
Tristan