WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Xen is not working under SLES9 (Used RPMs fromxensource.

To: "Zhao, Yunfeng" <yunfeng.zhao@xxxxxxxxx>
Subject: Re: [Xen-users] Xen is not working under SLES9 (Used RPMs fromxensource.com)
From: "Alexander Dubinin" <adubinin@xxxxxxxxx>
Date: Fri, 7 Apr 2006 14:59:35 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 07 Apr 2006 15:00:09 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LnkdsvvBNnwZ59DH5OxUAlk/ZcKCWugumkh8+ujjq53D0J8R3UjN23tOBa7chDkiPJSGJpJ60n/rDM0tCBc8hjhxPQ93YWWmtizQICZsg+FqOWo2QnT43JUyDGqpFzHkzjnbZGNjssAfZqUcvvyoGlrm9WYS6oeSl52emGmkv/M=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <08B1877B2880CE42811294894F33AD5C0248B4@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <08B1877B2880CE42811294894F33AD5C0248B4@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

Sorry, have no idea what is changeset. I'm completely new with Xen.

VMX config (Grep-ed out comments and empty strings):
- Cut -
import os, re
arch = os.uname()[4]
if re.search('64', arch):
    arch_libdir = 'lib64'
else:
    arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/vmxloader"
builder='vmx'
memory = 256
name = "VMX_vm1"
acpi=0
apic=0
cpus = ""         # leave to Xen to pick
vif = [ 'type=ioemu, bridge=xenbr0' ]
disk = [ 'file:/localdisk/images/os_image.img,ioemu:hda,w' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
cdrom=[ 'file:/localdisk/boot.iso,ioemu:hdc,r' ]
sdl=0
vnc=1
vncviewer=0
ne2000=0
audio=0
- Cut -

/var/log/xend.log:
- Cut -
[2006-04-07 14:52:59 xend.XendDomainInfo] DEBUG (XendDomainInfo:177)
XendDomainInfo.create(['vm', ['name', 'VMX_vm1'], ['memory', '256'],
['vcpus', '1']
, ['cpus'], ['image', ['vmx', ['kernel',
'/usr/lib/xen/boot/vmxloader'], ['device_model',
'/usr/lib/xen/bin/qemu-dm'], ['vcpus', '1'], ['cdrom', ['file:
/localdisk/boot.iso,ioemu:hdc,r']], ['boot', 'c'], ['vnc', '1'],
['display', 'localhost:10.1']]], ['device', ['vbd', ['uname',
'file:/localdisk/images/o
s_image.img'], ['dev', 'ioemu:hda'], ['mode', 'w']]], ['device',
['vif', ['bridge', 'xenbr0'], ['type', 'ioemu']]]])
[2006-04-07 14:52:59 xend.XendDomainInfo] DEBUG (XendDomainInfo:282)
parseConfig: config is ['vm', ['name', 'VMX_vm1'], ['memory', '256'],
['vcpus', '1'
], ['cpus'], ['image', ['vmx', ['kernel',
'/usr/lib/xen/boot/vmxloader'], ['device_model',
'/usr/lib/xen/bin/qemu-dm'], ['vcpus', '1'], ['cdrom', ['file
:/localdisk/boot.iso,ioemu:hdc,r']], ['boot', 'c'], ['vnc', '1'],
['display', 'localhost:10.1']]], ['device', ['vbd', ['uname',
'file:/localdisk/images/
os_image.img'], ['dev', 'ioemu:hda'], ['mode', 'w']]], ['device',
['vif', ['bridge', 'xenbr0'], ['type', 'ioemu']]]]
[2006-04-07 14:52:59 xend.XendDomainInfo] DEBUG (XendDomainInfo:376)
parseConfig: result is {'ssidref': None, 'uuid': None, 'on_crash':
None, 'on_reboot
': None, 'image': ['vmx', ['kernel', '/usr/lib/xen/boot/vmxloader'],
['device_model', '/usr/lib/xen/bin/qemu-dm'], ['vcpus', '1'],
['cdrom', ['file:/loc
aldisk/boot.iso,ioemu:hdc,r']], ['boot', 'c'], ['vnc', '1'],
['display', 'localhost:10.1']], 'on_poweroff': None, 'cpus': None,
'name': 'VMX_vm1', 'back
end': [], 'vcpus': 1, 'cpu_weight': None, 'vcpu_avail': None,
'memory': 256, 'device': [('vbd', ['vbd', ['uname',
'file:/localdisk/images/os_image.img']
, ['dev', 'ioemu:hda'], ['mode', 'w']]), ('vif', ['vif', ['bridge',
'xenbr0'], ['type', 'ioemu']])], 'bootloader': None, 'cpu': None,
'maxmem': None}
[2006-04-07 14:52:59 xend.XendDomainInfo] DEBUG (XendDomainInfo:1151)
XendDomainInfo.construct: None 0
[2006-04-07 14:52:59 xend.XendDomainInfo] DEBUG (XendDomainInfo:1183)
XendDomainInfo.initDomain: 5 1.0
[2006-04-07 14:52:59 xend] DEBUG (image:266) args: cdrom, val:
['file:/localdisk/boot.iso,ioemu:hdc,r']
[2006-04-07 14:52:59 xend] DEBUG (image:266) args: boot, val: c
[2006-04-07 14:52:59 xend] DEBUG (image:266) args: fda, val: None
[2006-04-07 14:52:59 xend] DEBUG (image:266) args: fdb, val: None
[2006-04-07 14:52:59 xend] DEBUG (image:266) args: nic-ne2000, val: None
[2006-04-07 14:52:59 xend] DEBUG (image:266) args: enable-audio, val: None
[2006-04-07 14:52:59 xend] DEBUG (image:266) args: localtime, val: None
[2006-04-07 14:52:59 xend] DEBUG (image:266) args: serial, val: None
[2006-04-07 14:52:59 xend] DEBUG (image:266) args: std-vga, val: None
[2006-04-07 14:52:59 xend] DEBUG (image:266) args: isa, val: None
[2006-04-07 14:52:59 xend] DEBUG (image:266) args: vcpus, val: 1
[2006-04-07 14:52:59 xend] DEBUG (balloon:84) Balloon: free 737; need 258; done.
[2006-04-07 14:52:59 xend] INFO (image:133) buildDomain os=vmx dom=5 vcpus=1
[2006-04-07 14:52:59 xend] INFO (image:220) VMX device model port: 3
[2006-04-07 14:52:59 xend] DEBUG (image:224) dom            = 5
[2006-04-07 14:52:59 xend] DEBUG (image:225) image          =
/usr/lib/xen/boot/vmxloader
[2006-04-07 14:52:59 xend] DEBUG (image:226) control_evtchn = 3
[2006-04-07 14:52:59 xend] DEBUG (image:227) store_evtchn   = 1
[2006-04-07 14:52:59 xend] DEBUG (image:228) memsize        = 256
[2006-04-07 14:52:59 xend] DEBUG (image:229) vcpus          = 1
[2006-04-07 14:52:59 xend] DEBUG (image:230) acpi           = 0
[2006-04-07 14:52:59 xend] DEBUG (image:231) apic           = 0
[2006-04-07 14:52:59 xend] DEBUG (image:409) vmx shutdown watch registered
[2006-04-07 14:52:59 xend] INFO (image:352) spawning device models:
/usr/lib/xen/bin/qemu-dm ['/usr/lib/xen/bin/qemu-dm', '-d', '5', '-p',
'3', '-m', '2
56', '-cdrom', "['file:/localdisk/boot.iso,ioemu:hdc,r']", '-boot',
'c', '-vcpus', '1', '-domain-name', 'VMX_vm1', '-hda',
'/localdisk/images/os_image.i
mg', '-macaddr', '00:16:3e:55:27:75', '-bridge', 'xenbr0', '-nics',
'1', '-vnc', '-k', 'en-us', '-vncport', '5905']
[2006-04-07 14:52:59 xend] INFO (image:354) device model pid: 19589
[2006-04-07 14:52:59 xend.XendDomainInfo] DEBUG (XendDomainInfo:666)
Storing VM details: {'ssidref': '0', 'uuid':
'7f8b7b5e-c406-cd23-c6f4-78959ceaa8b3'
, 'on_reboot': 'restart', 'start_time': '1144446779.86',
'on_poweroff': 'destroy', 'name': 'VMX_vm1', 'vcpus': '1',
'vcpu_avail': '1', 'memory': '256',
'on_crash': 'restart', 'image': "(vmx (kernel
/usr/lib/xen/boot/vmxloader) (device_model /usr/lib/xen/bin/qemu-dm)
(vcpus 1) (cdrom ('file:/localdisk/bo
ot.iso,ioemu:hdc,r')) (boot c) (vnc 1) (display localhost:10.1))",
'maxmem': '256'}
[2006-04-07 14:52:59 xend.XendDomainInfo] DEBUG (XendDomainInfo:691)
Storing domain details: {'console/port': '2', 'name': 'VMX_vm1',
'console/limit': '
1048576', 'vm': '/vm/7f8b7b5e-c406-cd23-c6f4-78959ceaa8b3', 'domid':
'5', 'cpu/0/availability': 'online', 'memory/target': '262144',
'store/ring-ref': '
123023', 'store/port': '1'}
[2006-04-07 14:52:59 xend] DEBUG (image:432) vmx_shutdown fired,
shutdown reason=None
[2006-04-07 14:52:59 xend.XendDomainInfo] DEBUG (XendDomainInfo:864)
XendDomainInfo.handleShutdownWatch
[2006-04-07 14:52:59 xend] DEBUG (DevController:132) Waiting for devices vif.
[2006-04-07 14:52:59 xend] DEBUG (DevController:132) Waiting for devices usb.
[2006-04-07 14:52:59 xend] DEBUG (DevController:132) Waiting for devices vbd.
[2006-04-07 14:52:59 xend] DEBUG (DevController:132) Waiting for devices pci.
[2006-04-07 14:52:59 xend] DEBUG (DevController:132) Waiting for
devices ioports.
[2006-04-07 14:52:59 xend] DEBUG (DevController:132) Waiting for devices vtpm.
[2006-04-07 14:52:59 xend] INFO (XendDomain:360) Domain VMX_vm1 (5) unpaused.
- Cut -

Command output:
- Cut -
# xm create -c vm1
Using config file "/etc/xen/vm1".
Started domain VMX_vm1
xenconsole: Could not read tty from store: No such file or directory
# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      256     1 r-----   154.3
VMX_vm1                          5      256     1 -b----     0.0
- Cut -

There is nothing in dmesg about Xen
- Cut -
# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0E:0C:72:C2:F4
          inet addr:143.182.204.154  Bcast:143.182.204.255  Mask:255.255.255.0
          inet6 addr: fe80::20e:cff:fe72:c2f4/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:210410 errors:0 dropped:0 overruns:0 frame:0
          TX packets:36651 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:60798292 (57.9 Mb)  TX bytes:4453675 (4.2 Mb)

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:1042 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1042 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:87734 (85.6 Kb)  TX bytes:87734 (85.6 Kb)

peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:448801 errors:7788 dropped:0 overruns:0 frame:7788
          TX packets:36656 errors:0 dropped:0 overruns:0 carrier:0
          collisions:9427 txqueuelen:1000
          RX bytes:154174085 (147.0 Mb)  TX bytes:4646021 (4.4 Mb)
          Base address:0x2000 Memory:d0100000-d0120000

vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:36651 errors:0 dropped:0 overruns:0 frame:0
          TX packets:210411 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4453675 (4.2 Mb)  TX bytes:60798382 (57.9 Mb)

xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:170893 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:13052145 (12.4 Mb)  TX bytes:378 (378.0 b)

- Cut -

There it is.

Regards,
  Alexander Dubinin

On 4/6/06, Zhao, Yunfeng <yunfeng.zhao@xxxxxxxxx> wrote:
> Could you provide more info?
> Like the changeset,
> vmx config,
> Xend.log,
> Xm dmesg,
> ifconfig -a
> ..
>
>
> >-----Original Message-----
> >From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> >[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Alexander Dubinin
> >Sent: 2006年4月7日 10:54
> >To: xen-users@xxxxxxxxxxxxxxxxxxx
> >Subject: [Xen-users] Xen is not working under SLES9 (Used RPMs
> >fromxensource.com)
> >
> >Hi all,
> >
> >May someone assist to make XEN 3.0.1 working under SLES9.SP2?
> >I've downloaded RPMs for this version, and trying to run XEN on
> >VT-capable SDV system, and receiving following error, when trying to
> >start VMX system:
> >
> >xenconsole: Could not read tty from store: No such file or directory
> >
> >Domain coming to be started, and left in "b" state.
> >
> >And I can't connect to it over VNC as well.
> >
> >
> >--
> >Regards,
> >  Alexander Dubinin
>


--
Regards,
  Alexander Dubinin
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>