9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Stanley Lieber" <stanley.lieber@gmail.com>
To: ericvh@gmail.com
Cc: 9fans@9fans.net
Subject: Re: [9fans] recent plan9.iso on hosted kvm/qemu
Date: Wed,  2 Mar 2011 04:12:48 -0600	[thread overview]
Message-ID: <288e83061e963edf1c2aa45b26729934@EXAMPLE> (raw)
In-Reply-To: <10045_2495_16663b8cca278b776372dbc44b36387b57580924_7@arpnetwork>

To recap:

I'm attempting to install Plan 9 from a recent .iso on a hosted KVM/qemu
account. Both the Bell Labs and 9atom installers die here:

http://farm6.static.flickr.com/5098/5468343552_28695be1dd_o.png

I've managed to obtain the host's KVM config file, in libvirtd XML format:

<domain type='kvm' id='100'>
  <name>user-2</name>
  <uuid>REDACTED</uuid>
  <memory>786432</memory>
  <currentMemory>786432</currentMemory>
  <vcpu>1</vcpu>
  <os>
    <type arch='x86_64' machine='pc'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
  </features>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/bin/kvm</emulator>
    <disk type='block' device='disk'>
      <source dev='/dev/vol1/user-2'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <disk type='file' device='cdrom'>
      <source file='/home/user/ISO/plan9.iso'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
    </disk>
    <interface type='ethernet'>
      <mac address='52:54:00:27:34:07'/>
      <script path='/home/kvm-admin/scripts/attach-tap-to-vlan.sh'/>
      <target dev='tap0-407'/>
      <model type='e1000'/>
    </interface>
    <serial type='tcp'>
      <source mode='bind' host='127.0.0.1' service='8081'/>
      <protocol type='telnet'/>
      <target port='0'/>
    </serial>
    <console type='tcp'>
      <source mode='bind' host='127.0.0.1' service='8081'/>
      <protocol type='telnet'/>
      <target port='0'/>
    </console>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='5981' autoport='no' listen=''/>
  </devices>
</domain>

The actual KVM command is:

/usr/bin/kvm -S -M pc -m 768 -smp 1 -name user-2 -uuid 101ff6a0-206b-012e-09d2-525400972102 -monitor pty -boot c -drive file=/dev/vol1/user-2,if=ide,index=0,boot=on -drive file=/home/user/ISO/plan9.iso,if=ide,media=cdrom,index=2 -net nic,macaddr=52:54:00:27:34:07,vlan=0,model=e1000 -net tap,ifname=tap0-407,script=/home/kvm-admin/scripts/attach-tap-to-vlan.sh,vlan=0 -serial telnet:127.0.0.1:8081,server,nowait -parallel none -usb -vnc :81,password

Does anything here look obviously incorrect?

The hosting sevice is interested in offering Plan 9 services, so once
we get this working it may well be of use to others.

-sl




       reply	other threads:[~2011-03-02 10:12 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <10045_2495_16663b8cca278b776372dbc44b36387b57580924_6@arpnetworks.tenderapp>
     [not found] ` <10045_2495_16663b8cca278b776372dbc44b36387b57580924_5@arpnetworks.tenderapp>
     [not found]   ` <10045_2495_16663b8cca278b776372dbc44b36387b57580924_4@arpnetworks.tenderapp>
     [not found]     ` <10045_2495_16663b8cca278b776372dbc44b36387b57580924_3@arpnetworks.tenderapp>
     [not found]       ` <10045_2495_16663b8cca278b776372dbc44b36387b57580924_2@arpnetworks.tenderapp>
     [not found]         ` <10045_2495_16663b8cca278b776372dbc44b36387b57580924_7@arpnetwork>
2011-03-02 10:12           ` Stanley Lieber [this message]
2011-03-01 19:49             ` a z
2011-03-02 14:53               ` Stanley Lieber
2011-03-03 15:20               ` Stanley Lieber
2011-03-06  6:45                 ` Jack
2011-03-06 14:09                   ` erik quanstrom
2011-03-06 16:00                     ` Jack
2011-03-06 17:15                       ` erik quanstrom
2011-03-06 19:36                       ` Stanley Lieber
2011-03-06 19:41                         ` erik quanstrom
2011-03-06 20:42                           ` Stanley Lieber
2011-03-07  3:32                           ` Stanley Lieber
2011-03-07  3:45                             ` erik quanstrom
2011-03-07  4:04                               ` Stanley Lieber
2011-03-07 15:11                                 ` Jack Norton
2011-03-07 16:24                                   ` erik quanstrom
2011-03-07 17:04                                     ` Stanley Lieber
2011-03-07 17:11                                       ` erik quanstrom
2011-03-07 23:27                                     ` Federico G. Benavento
2011-03-08  5:37                                       ` Stanley Lieber
2011-03-08 14:40                                         ` Jack Norton
2011-03-09  9:41                                           ` Stanley Lieber
2011-03-07 18:06                               ` Jack Norton
2011-03-01 20:13 erik quanstrom
  -- strict thread matches above, loose matches on Subject: below --
2011-02-24 13:40 Stanley Lieber
2011-02-24 19:57 ` Eric Van Hensbergen

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=288e83061e963edf1c2aa45b26729934@EXAMPLE \
    --to=stanley.lieber@gmail.com \
    --cc=9fans@9fans.net \
    --cc=ericvh@gmail.com \
    /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).