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

xen-users

[Top] [All Lists]

Re: [Xen-users] Xen and iSCSI - options and questions

To: Stefan de Konink <skinkie@xxxxxxxxx>
Subject: Re: [Xen-users] Xen and iSCSI - options and questions
From: jpranevich@xxxxxxxxxxx
Date: 2008年8月20日 14:43:27 -0400 (EDT)
Cc: Stephan Seitz <s.seitz@xxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2008年8月20日 11:44:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <18514845.57981219256277477.JavaMail.root@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
----- "Stefan de Konink" <skinkie@xxxxxxxxx> wrote:
> Do you here mean that the bootloader falsely assumes that the uri is a
> file?!
>
> Stefan
I traced my problem down to: (Xen 3.2.1)
./tools/python/xen/xend/XendBootloader.py:
def bootloader(blexec, disk, dom, quiet = False, blargs = '', kernel = '',
 ramdisk = '', kernel_args = ''):
...
 if not os.access(blexec, os.X_OK):
 msg = "Bootloader isn't executable"
 log.error(msg)
 raise VmError(msg)
 if not os.access(disk, os.R_OK):
 msg = "Disk isn't accessible"
 log.error(msg)
 raise VmError(msg)
In the second os.access() check, I added additional debugging to see what it 
was trying to access. Using the iscsi://IQN url which worked on my SuSE 
install, "disk" was set to: 
'//iqn.2001-05.com.equallogic@0-8a0906-4bbfbc101-51f41f3a27647d08-jpranevich ' 
(Clearly, just the config line with iscsi: ripped off. I didn't trace the code 
to see where that happened.)
Checking the same file on the SuSE install, I noticed that it was very 
different and I found the patch that made it different. It is possible 
(likely?) that some other change in the patch may have been the "fix" since now 
that I read more thoroughly, it seems to have similar logic, but does the check 
later. (So, perhaps the switch to a local device name happens earlier in the 
process. I don't understand the flow enough and there are other changes to 
blkif and such which could be the real fix. It could have been simply fortunate 
that I picked the right patch.)
I hope this helps. I'm still having some issues, but it makes the iSCSI 
connection properly, so I'm much of the way there. 
Joe

Attachment: xen-domUloader.diff
Description: Binary data

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users 
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-users] Re: Upgrading xen from CentOS 5.0 to 5.2 , Sadique Puthen
Next by Date: Re: [Xen-users] Installing XEN on Debian Lenny/Sid x64 , Markus Hochholdinger
Previous by Thread: Re: [Xen-users] Xen and iSCSI - options and questions , Markus Hochholdinger
Next by Thread: [Xen-users] gplpv 0.9.11-pre10 BSODs , Denis Cardon
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /