9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: John Floren <john@jfloren.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Plan9 and the real hardware
Date: Sun, 14 Aug 2011 12:28:05 -0700	[thread overview]
Message-ID: <CAL4LZygrJetvMjkqOY1uP_j4QLWKz7nmJM1nuJh6A4Be_2rzsA@mail.gmail.com> (raw)
In-Reply-To: <20110814150828.E40EF6F443@smtp.hushmail.com>

On Sun, Aug 14, 2011 at 8:08 AM, Bernd Maier <bema@hush.com> wrote:
> I spend this weekend a lot of time in trying to get Plan9 to work
> on real hardware.
>
> My experience:
>
> I started with the plan9.iso. No look so far because the ahci
> driver
> seems not to be in the install kernel. 9load seems to find my disks
>
> but when I choose 1 (Install Plan9) there is only the CDROM drive
> there.
> When I choose 2 (Boot Plan9) the disks are there.
>
> I switched then to 9atom because there are a lot of information in
> this mailing list about 9atom. So boot from cdrom works fine. This
> time I do not need to switch from sdD0 to sdC0 but the keyboard
> freeze
> sometimes. I was using PS/2 keyboard and mouse. So I switched to
> usb
> mouse and usb keyboard and all works fine.
>
> There was a issue after installation when I compiled the CPU-
> kernel.
> This takes about 15 minutes and the maschine had a very hight load.
>
> After booting wiht the new CPU kernel I did the compile again and
> it
> worked in a few seconds (after a mk clean). I have no idea about
> this
> issue but now all seems to be well.
>
> Actually I am using a very old AMD motherboard:
>
>  (ASUS M2A-VM - http://www.asus.com/Motherboards/AMD_AM2/M2AVM/)
>
> because all other boards in my home lab does not worked with plan9.
>
> So I would like to ask for a recommendation for an new motherboard?
>
> However I am happy to have a plan9 an real hardware now.
>
> -Bernd
>

I've run into this problem myself. You can solve it, but it is kind of hackish.

Basically, boot the CD using option 2 (boot into Plan 9, not install).
Then, use the scripts in /sys/lib/dist/pc/inst to do the installation
manually. I recall that by doing the correct bindings you can then
simply run inst/textonly, but I can't remember which bindings are
necessary. IIRC, I did something like this:

ramfs
mkdir /tmp/bin
cp /sys/lib/dist/cmd/*.c /tmp/bin/
cd /tmp/bin
compile each .c file into the appropriately-named binary
bind -a /tmp/bin /bin
bind -a /sys/lib/dist/pc/ /bin
inst/textonly

That's all I can remember, but you may find a missing link or two. You
can also go through and do all the steps by hand by reading the
scripts in /sys/lib/dist/pc/inst and executing the commands manually
based on what you want. So, for instance, if you want a fossil+venti
server, you'd run disk/fdisk and disk/part to set up fossil and venti
partitions yourself, then you'd format fossil and venti, write a
config to fossil, start fossil, copy the files, create an appropriate
plan9.ini, etc. This option will be very difficult if you are not
familiar with Plan 9 and don't know how a regular installation will
typically proceed.


Oh, and regarding the "issue" after compiling the CPU kernel--was this
your first boot after installing? After you initially make a
fossil+venti system, on the first boot it will spend some time syncing
fossil to venti. This will take anywhere between a few minutes (best
case) and a few hours (if you have old hardware and don't have DMA and
RWM turned on).

Good luck!


John



  parent reply	other threads:[~2011-08-14 19:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-14 15:08 Bernd Maier
2011-08-14 16:32 ` David du Colombier
2011-08-14 19:28 ` John Floren [this message]
2011-08-14 17:10 Bernd Maier
2011-08-14 17:43 ` David du Colombier
2011-08-14 19:07 ` erik quanstrom
2011-08-15  6:50 Bernd Maier
2011-08-15  7:05 Bernd Maier
2011-08-15 14:37 ` erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAL4LZygrJetvMjkqOY1uP_j4QLWKz7nmJM1nuJh6A4Be_2rzsA@mail.gmail.com \
    --to=john@jfloren.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).