[Bug 570729] New: vscsi option does not work - no generic scsi devices in Xen
http://bugzilla.novell.com/show_bug.cgi?id=570729 http://bugzilla.novell.com/show_bug.cgi?id=570729#c0 Summary: vscsi option does not work - no generic scsi devices in Xen Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: All OS/Version: SLES 11 Status: NEW Severity: Major Priority: P5 - None Component: Xen AssignedTo: jdouglas@novell.com ReportedBy: nice@titanic.nyme.hu QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; hu-HU; rv:1.9.1.6) Gecko/20091201 SUSE/3.5.6-1.1.1 Firefox/3.5.6 Sorry for reporting a SLES bug here again, I can't get the SLES support stuff working. So, the problem is that SLES11 (and I assume openSUSE 11.1 too) doesn't have a support for generic SCSI devices. If I want to add one, this is what's happening: carrier5:/etc/xen/vm # xm scsi-attach vasa 7:0:2:0 0:0:0:0 Unexpected error: <type 'exceptions.UnboundLocalError'> Please report to xen-devel@lists.xensource.com Traceback (most recent call last): File "/usr/sbin/xm", line 10, in <module> main.main(sys.argv) File "/usr/lib64/python2.6/site-packages/xen/xm/main.py", line 2974, in main _, rc = _run_cmd(cmd, cmd_name, args) File "/usr/lib64/python2.6/site-packages/xen/xm/main.py", line 2998, in _run_cmd return True, cmd(args) File "/usr/lib64/python2.6/site-packages/xen/xm/main.py", line 2564, in xm_scsi_attach (p_hctl, block) = vscsi_util.vscsi_search_hctl_and_block(p_devname) File "/usr/lib64/python2.6/site-packages/xen/util/vscsi_util.py", line 124, in vscsi_search_hctl_and_block scsi_devices = vscsi_get_scsidevices() File "/usr/lib64/python2.6/site-packages/xen/util/vscsi_util.py", line 117, in vscsi_get_scsidevices devices.append([hctl, block, sg, scsi_id]) UnboundLocalError: local variable 'sg' referenced before assignment Adding the option "vscsi=[ '7:0:2:0, 0:0:0:0', '7:0:2:1, 0:0:0:1', '5:0:2:0, 1:0:0:0' ]" to the domU config file doesn't work either. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=570729 http://bugzilla.novell.com/show_bug.cgi?id=570729#c1 --- Comment #1 from Tamás Németh <nice@titanic.nyme.hu> 2010-01-14 20:00:29 UTC --- The reason may be that xen-tools is not compatible with linux-2.6.27 (it assumes different filenames in /sys). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=570729 http://bugzilla.novell.com/show_bug.cgi?id=570729#c2 --- Comment #2 from Tamás Németh <nice@titanic.nyme.hu> 2010-01-14 20:03:58 UTC --- I succeeded at modifying /usr/lib64/python2.6/site-packages/xen/util/vscsi_util.py in a way that xm scsi-attach seems to succeed, and even xm list shows the attached device, but still birtually nothing happens in the domU. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=570729 http://bugzilla.novell.com/show_bug.cgi?id=570729#c3 --- Comment #3 from Tamás Németh <nice@titanic.nyme.hu> 2010-01-15 09:06:20 UTC --- Wow, it's no wonder that nothing happens in the domU. There seems to be no xenscsi module, despite that CONFIG_XEN_SCSI_FRONTEND=m in /proc/config.gz. Is pvscsi entirely unsuported in SLES11? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=570729 http://bugzilla.novell.com/show_bug.cgi?id=570729#c4 --- Comment #4 from Tamás Németh <nice@titanic.nyme.hu> 2010-01-15 14:56:24 UTC --- Finally I found the xenscsi driver in the package kernel-xen-extra, but SCSI virtualization still does not work. I attached 3 scsi device to the domU (2 tapes and a medium changer), but inside the domU they appear as scsi hosts instead of targets. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com