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] Installing SuSE 10.1/10.2 from yast

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Installing SuSE 10.1/10.2 from yast
From: "Jan Albrecht" <jan.albrecht@xxxxxxxxx>
Date: Wed, 11 Oct 2006 07:31:21 +0200
Delivery-date: Tue, 10 Oct 2006 22:32:03 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bGNRVQLhtZYELgxuYSHl4/1UjGFFgvqMOhurcU8nZ7otFU4RWXmLxwFDXZCob+LXUnwSDAkXWRRvsBRsflL36UcpMhLtdC8jngegtRFeXCBELrigokK16NBT4SvbjdFpjUT/TgChkiDRrqSVZDXi49/abttQ6VU3mNlRdewEbjE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <452BA413.5050703@xxxxxxx>
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: <D2575519D6CA2840B6D3E26087EA71B6CC10@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <452BA413.5050703@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

On 10/10/06, Gerd Hoffmann <kraxel@xxxxxxx> wrote:
> Because there's no way to tell it what kernel image to use, I think you
> might be stuck with the one that's RPMd in the SLES install source...

You can't ask the yast2-xen module to do that.  But kicking the
installation manually is easy once you have the kernel and the initrd:

xm create -c -f /path/to/domU/config/file \
  kernel=/your/kernel \
  ramdisk=/initrd/created/by/mkinstinitrd \
  extra="install=http://your.mirror/pub/opensuse/distribution/SL-10.1/";

You might want to add "vnc=1 vncpassword=your&secret&here" or
"textmode=1" to the kernel command line.

So would you suggest to unpack the kernel from the 10.2 CDs, build a
new kernel and mkinstinird and it "should" run? I will give it a try.

Maybe for explanation, I'm receiving these errors while trying to use
the "normal" yast way:

2006-10-11 07:24:46 xend.XendDomainInfo] DEBUG (XendDomainInfo:180)
XendDomainInfo.create(['vm', ['name', 'suse_102'], ['memory', 256],
['on_poweroff', 'destroy'], ['on_reboot', 'destroy'], ['on_crash',
'destroy'], ['vcpus', 1], ['image', ['linux', ['kernel',
'/tmp/YaST2-04953-dZdjAF/vmlinuz-2.6.18-9-xen'], ['ramdisk',
'/tmp/YaST2-04953-dZdjAF/inst-initrd'], ['ip', ':::::eth0:dhcp'],
['args', 'install=http://instserver.local/suse/mirror/i386/10.1/inst-source/
TERM=xterm textmode=1 vnc=1 ssh=1']]], ['device', ['vbd', ['uname',
'file:/XEN/suse_102/hda'], ['dev', 'hda'], ['mode', 'w']]], ['device',
['vbd', ['uname', 'file:/XEN/suse_102/hdb'], ['dev', 'hdb'], ['mode',
'w']]], ['device', ['vif', ['mac', '00:16:3e:f4:20:ad']]]])
[2006-10-11 07:24:46 xend.XendDomainInfo] DEBUG (XendDomainInfo:286)
parseConfig: config is ['vm', ['name', 'suse_102'], ['memory', 256],
['on_poweroff', 'destroy'], ['on_reboot', 'destroy'], ['on_crash',
'destroy'], ['vcpus', 1], ['image', ['linux', ['kernel',
'/tmp/YaST2-04953-dZdjAF/vmlinuz-2.6.18-9-xen'], ['ramdisk',
'/tmp/YaST2-04953-dZdjAF/inst-initrd'], ['ip', ':::::eth0:dhcp'],
['args', 'install=http://instserver.local/suse/mirror/i386/10.1/inst-source/
TERM=xterm textmode=1 vnc=1 ssh=1']]], ['device', ['vbd', ['uname',
'file:/XEN/suse_102/hda'], ['dev', 'hda'], ['mode', 'w']]], ['device',
['vbd', ['uname', 'file:/XEN/suse_102/hdb'], ['dev', 'hdb'], ['mode',
'w']]], ['device', ['vif', ['mac', '00:16:3e:f4:20:ad']]]]
[2006-10-11 07:24:46 xend.XendDomainInfo] DEBUG (XendDomainInfo:382)
parseConfig: result is {'ssidref': None, 'uuid': None, 'on_crash':
'destroy', 'on_reboot': 'destroy', 'localtime': None, 'image':
['linux', ['kernel', '/tmp/YaST2-04953-dZdjAF/vmlinuz-2.6.18-9-xen'],
['ramdisk', '/tmp/YaST2-04953-dZdjAF/inst-initrd'], ['ip',
':::::eth0:dhcp'], ['args',
'install=http://instserver.local/suse/mirror/i386/10.1/inst-source/
TERM=xterm textmode=1 vnc=1 ssh=1']], 'on_poweroff': 'destroy',
'cpus': None, 'name': 'suse_102', 'backend': [], 'cpu': None, 'vcpus':
1, 'cpu_weight': None, 'vcpu_avail': None, 'memory': 256, 'device':
[('vbd', ['vbd', ['uname', 'file:/XEN/suse_102/hda'], ['dev', 'hda'],
['mode', 'w']]), ('vbd', ['vbd', ['uname', 'file:/XEN/suse_102/hdb'],
['dev', 'hdb'], ['mode', 'w']]), ('vif', ['vif', ['mac',
'00:16:3e:f4:20:ad']])], 'bootloader': None, 'root': None,
'bootentry': None, 'maxmem': None}
[2006-10-11 07:24:46 xend.XendDomainInfo] DEBUG (XendDomainInfo:1189)
XendDomainInfo.construct: None 0
[2006-10-11 07:24:46 xend.XendDomainInfo] DEBUG (XendDomainInfo:1221)
XendDomainInfo.initDomain: 9 1.0
[2006-10-11 07:24:46 xend] DEBUG (balloon:137) Balloon: 263024 KiB
free; need 262144; done.
[2006-10-11 07:24:46 xend] INFO (image:136) buildDomain os=linux dom=9 vcpus=1
[2006-10-11 07:24:46 xend] DEBUG (image:176) dom            = 9
[2006-10-11 07:24:46 xend] DEBUG (image:177) image          =
/tmp/YaST2-04953-dZdjAF/vmlinuz-2.6.18-9-xen
[2006-10-11 07:24:46 xend] DEBUG (image:178) store_evtchn   = 1
[2006-10-11 07:24:46 xend] DEBUG (image:179) console_evtchn = 2
[2006-10-11 07:24:46 xend] DEBUG (image:180) cmdline        =
ip=:::::eth0:dhcp
install=http://instserver/suse/mirror/i386/10.1/inst-source/
TERM=xterm textmode=1 vnc=1 ssh=1
[2006-10-11 07:24:46 xend] DEBUG (image:181) ramdisk        =
/tmp/YaST2-04953-dZdjAF/inst-initrd
[2006-10-11 07:24:46 xend] DEBUG (image:182) vcpus          = 1
[2006-10-11 07:24:46 xend] DEBUG (image:183) features       =
[2006-10-11 07:24:46 xend.XendDomainInfo] ERROR (XendDomainInfo:192)
Domain construction failed
Traceback (most recent call last):
 File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 185, in create
   vm.initDomain()
 File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 1254, in initDomain
   channel_details = self.image.createImage()
 File "/usr/lib64/python2.4/site-packages/xen/xend/image.py", line
119, in createImage
   return self.createDomain()
 File "/usr/lib64/python2.4/site-packages/xen/xend/image.py", line
138, in createDomain
   result = self.buildDomain()
 File "/usr/lib64/python2.4/site-packages/xen/xend/image.py", line
191, in buildDomain
   features       = self.features)
error: (9, 'Bad file descriptor')
[2006-10-11 07:24:47 xend.XendDomainInfo] DEBUG (XendDomainInfo:1356)
XendDomainInfo.destroy: domid=9
[2006-10-11 07:24:47 xend.XendDomainInfo] DEBUG (XendDomainInfo:1364)
XendDomainInfo.destroyDomain(9)
[2006-10-11 07:24:47 xend] ERROR (xmlrpclib2:124) (9, 'Bad file descriptor')
Traceback (most recent call last):
 File "/usr/lib64/python2.4/site-packages/xen/util/xmlrpclib2.py",
line 103, in _marshaled_dispatch
   response = self._dispatch(method, params)
 File "/usr/lib64/python2.4/SimpleXMLRPCServer.py", line 406, in _dispatch
   return func(*params)
 File "/usr/lib64/python2.4/site-packages/xen/xend/server/XMLRPCServer.py",
line 63, in domain_create
   info = XendDomain.instance().domain_create(config)
 File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomain.py",
line 227, in domain_create
   dominfo = XendDomainInfo.create(config)
 File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 185, in create
   vm.initDomain()
 File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 1254, in initDomain
   channel_details = self.image.createImage()
 File "/usr/lib64/python2.4/site-packages/xen/xend/image.py", line
119, in createImage
   return self.createDomain()
 File "/usr/lib64/python2.4/site-packages/xen/xend/image.py", line
138, in createDomain
   result = self.buildDomain()
 File "/usr/lib64/python2.4/site-packages/xen/xend/image.py", line
191, in buildDomain
   features       = self.features)
error: (9, 'Bad file descriptor')

But I will try to use a 10.2 kernel.

Thanks
Jan

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