On Thu, Aug 19, 2010 at 9:13 PM, Benjamin Knoth <knoth@xxxxxxxxxxx> wrote:
> Hey Emerson and all,
> same problem on boot.
> If i start Yast i only find the old network device in the list with old
> mac-adress, which i changed in the config. And the network device isn't
> available.
Since you're using SLES, have you contacted Novell support? Not all
people on this list familiar with SLES or Yast.
> If i change the network device on the config to br0, i get the follow
> error to start the vm with xm create
> Error: Device 1 (vif) could not be connected. Could not find bridge
> device br0
>
> But on a other vm the device br0 run.
Here's the basics:
- to be able to easily move domU across different dom0s (or different
versions of dom0), you'd need the domU storage, xen config file, and
(possibly) the kernel used to boot the original domU
- dom0 kernel can be used to boot domU as well. However this might
cause some problem when you change dom0's distro or version. Therefore
I highly recommend that you use kernel inside domU, and boot with
pygrub/pv-grub (which is the default behavior if you use RHEL/Centos).
- domU doesn't really care about the name of dom0's bridge, as long as
it's the same network. It does care about MAC address change.
- you should specifiy a static MAC address for each domU, which is
unique (i.e. not used by other domUs).
- it'd be easier to troubleshoot if you know where domU's config files
are. It could be on /etc/xen, or managed by xend (in which case you
should be able to see it on /var/lib/xend/domains)
- you need to know whether your domU is PV or HVM
>
> If i change it to bridge=eth0,model=rtl8139 it starts,
model is only valid for HVM. Are you using PV or HVM?
What is the bridge name on both your old and new dom0? Try running
"brctl show". Blindly changing bridge names by guessing without really
knowing what the real bridge name is might not work as expected.
Here's an example syntax to specify a static MAC address, bridge name,
and vif name:
vif = ['mac=00:16:3E:63:2E:90, bridge=br6, vifname=u-test-eth0']
> but i find only a
> loop-back device on ifconfig and in Yast i find only the old network
> device with old ip-adess and mac-adress.
Not familiar with yast. Sorry.
> I get this errors on boot.
>
> --------
>
> modprobe: FATAL: Could not load
> /lib/modules/2.6.27.45-0.1-xen/modules.dep: No such file or directory
Start by finding domU's config file, and pasting it's content. Is this
kernel located on domU or dom0? Does that directory exist on domU
(i.e. what do you have on domU's /lib/modules/)?
At first glance it looks like you're using dom0's kernel to boot domU,
but since you use a different version of dom0, the kernel booted and
the modules inside domU does not match. If that's the case, then the
quick fix would be to get the original kernel and initrd and copy it
to the new dom0, and use it to boot domU.
--
Fajar
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|