[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Trying to install ubuntu 10.04 on centos 5.5 w/ xen4.0



On 6/27/2010 4:23 AM, Fajar A. Nugraha wrote:
On Sat, Jun 26, 2010 at 2:46 AM, Donny Brooks<dbrooks@xxxxxxxxxxxxxxxx>  wrote:
vif = [ 'bridge=br2' ]
I added the extra line with the UUID and such and was able to boot the domu.
However it had no networking other than just localhost. So I also couldn't
install any other software.
Do you have a "br2" on your domU? Is it the correct bridge?
Usually it's easier to just start with using virb0, whicih provides
NAT Network with DHCP. It should just work.
Another alternative is to run "ifconfig -a" on domU and see if there's
an ethernet device showing. If not, try "lsmod" and "modprobe
xen_netfront". If you already have an ethernet device on domU, it's
simply a matter of configuring it as usual.

I finally got it reinstalled and have gotten back to the networking deal. Just incase I missed something in the config, when I do a "virsh edit ubuntu-pv" I get this:

<domain type='xen'>
<name>ubuntu-pv</name>
<uuid>2b2afc62-631f-bddf-6cdb-2a0d2a61275d</uuid>
<memory>2097152</memory>
<currentMemory>2097152</currentMemory>
<vcpu>1</vcpu>
<bootloader></bootloader>
<os>
<type>linux</type>
<kernel>/etc/xen/ubuntu-kernel/vmlinuz-2.6.32-22-server</kernel>
<initrd>/etc/xen/ubuntu-kernel/initrd.img-2.6.32-22-server</initrd>
<cmdline>ro root=UUID=f0c8b6eb-3ca5-49d4-b02c-f8de4fea801b quiet splash</cmdline>
</os>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<disk type='block' device='disk'>
<driver name='phy'/>
<source dev='/dev/domuvg/ubuntu-pv'/>
<target dev='xvda' bus='xen'/>
</disk>
<interface type='bridge'>
<mac address='00:16:3e:cd:98:dd'/>
<source bridge='br2'/>
<script path='/etc/xen/scripts/vif-bridge'/>
<target dev='vif-1.0'/>
</interface>
<console type='pty'>
<target port='0'/>
</console>
</devices>
</domain>

And when I do the above commands you said try I get this:

root@ubuntu:~# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@ubuntu:~# ifconfig -a
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@ubuntu:~# lsmod
Module                  Size  Used by
xen_blkfront           10665  4
root@ubuntu:~# modprobe xen_netfront
FATAL: Could not load /lib/modules/2.6.32-22-server/modules.dep: No such file or directory
root@ubuntu:~#


I think I should be ok if I can just get ethernet working. Actually need 2 ethernet devices on one of the ubuntu domu's if possible but that should be easy once the first is setup. Any pointers? I am so used to things just working on my home xen machine but it is running on an ubuntu 8.04 dom0 with Xen version 3.2.1-rc1-pre.



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.